Automatic date update in version.in
[binutils-gdb.git] / sim / frv / model.c
blob30a6baddb316607f8784a74c46166e8848edb57b
1 /* Simulator model support for frvbf.
3 THIS FILE IS MACHINE GENERATED WITH CGEN.
5 Copyright (C) 1996-2023 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, write to the Free Software Foundation, Inc.,
21 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
25 #define WANT_CPU frvbf
26 #define WANT_CPU_FRVBF
28 #include "sim-main.h"
30 /* The profiling data is recorded here, but is accessed via the profiling
31 mechanism. After all, this is information for profiling. */
33 #if WITH_PROFILE_MODEL_P
35 /* Model handlers for each insn. */
37 static int
38 model_frv_add (SIM_CPU *current_cpu, void *sem_arg)
40 #define FLD(f) abuf->fields.sfmt_addcc.f
41 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42 const IDESC * UNUSED idesc = abuf->idesc;
43 int cycles = 0;
45 int referenced = 0;
46 int UNUSED insn_referenced = abuf->written;
47 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
49 return cycles;
50 #undef FLD
53 static int
54 model_frv_sub (SIM_CPU *current_cpu, void *sem_arg)
56 #define FLD(f) abuf->fields.sfmt_addcc.f
57 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58 const IDESC * UNUSED idesc = abuf->idesc;
59 int cycles = 0;
61 int referenced = 0;
62 int UNUSED insn_referenced = abuf->written;
63 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
65 return cycles;
66 #undef FLD
69 static int
70 model_frv_and (SIM_CPU *current_cpu, void *sem_arg)
72 #define FLD(f) abuf->fields.sfmt_addcc.f
73 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74 const IDESC * UNUSED idesc = abuf->idesc;
75 int cycles = 0;
77 int referenced = 0;
78 int UNUSED insn_referenced = abuf->written;
79 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
81 return cycles;
82 #undef FLD
85 static int
86 model_frv_or (SIM_CPU *current_cpu, void *sem_arg)
88 #define FLD(f) abuf->fields.sfmt_addcc.f
89 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90 const IDESC * UNUSED idesc = abuf->idesc;
91 int cycles = 0;
93 int referenced = 0;
94 int UNUSED insn_referenced = abuf->written;
95 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
97 return cycles;
98 #undef FLD
101 static int
102 model_frv_xor (SIM_CPU *current_cpu, void *sem_arg)
104 #define FLD(f) abuf->fields.sfmt_addcc.f
105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
106 const IDESC * UNUSED idesc = abuf->idesc;
107 int cycles = 0;
109 int referenced = 0;
110 int UNUSED insn_referenced = abuf->written;
111 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
113 return cycles;
114 #undef FLD
117 static int
118 model_frv_not (SIM_CPU *current_cpu, void *sem_arg)
120 #define FLD(f) abuf->fields.sfmt_scutss.f
121 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
122 const IDESC * UNUSED idesc = abuf->idesc;
123 int cycles = 0;
125 int referenced = 0;
126 int UNUSED insn_referenced = abuf->written;
127 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
129 return cycles;
130 #undef FLD
133 static int
134 model_frv_sdiv (SIM_CPU *current_cpu, void *sem_arg)
136 #define FLD(f) abuf->fields.sfmt_addcc.f
137 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
138 const IDESC * UNUSED idesc = abuf->idesc;
139 int cycles = 0;
141 int referenced = 0;
142 int UNUSED insn_referenced = abuf->written;
143 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
145 return cycles;
146 #undef FLD
149 static int
150 model_frv_nsdiv (SIM_CPU *current_cpu, void *sem_arg)
152 #define FLD(f) abuf->fields.sfmt_addcc.f
153 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
154 const IDESC * UNUSED idesc = abuf->idesc;
155 int cycles = 0;
157 int referenced = 0;
158 int UNUSED insn_referenced = abuf->written;
159 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
161 return cycles;
162 #undef FLD
165 static int
166 model_frv_udiv (SIM_CPU *current_cpu, void *sem_arg)
168 #define FLD(f) abuf->fields.sfmt_addcc.f
169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
170 const IDESC * UNUSED idesc = abuf->idesc;
171 int cycles = 0;
173 int referenced = 0;
174 int UNUSED insn_referenced = abuf->written;
175 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
177 return cycles;
178 #undef FLD
181 static int
182 model_frv_nudiv (SIM_CPU *current_cpu, void *sem_arg)
184 #define FLD(f) abuf->fields.sfmt_addcc.f
185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
186 const IDESC * UNUSED idesc = abuf->idesc;
187 int cycles = 0;
189 int referenced = 0;
190 int UNUSED insn_referenced = abuf->written;
191 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
193 return cycles;
194 #undef FLD
197 static int
198 model_frv_smul (SIM_CPU *current_cpu, void *sem_arg)
200 #define FLD(f) abuf->fields.sfmt_smulcc.f
201 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
202 const IDESC * UNUSED idesc = abuf->idesc;
203 int cycles = 0;
205 int referenced = 0;
206 int UNUSED insn_referenced = abuf->written;
207 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
209 return cycles;
210 #undef FLD
213 static int
214 model_frv_umul (SIM_CPU *current_cpu, void *sem_arg)
216 #define FLD(f) abuf->fields.sfmt_smulcc.f
217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
218 const IDESC * UNUSED idesc = abuf->idesc;
219 int cycles = 0;
221 int referenced = 0;
222 int UNUSED insn_referenced = abuf->written;
223 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
225 return cycles;
226 #undef FLD
229 static int
230 model_frv_smu (SIM_CPU *current_cpu, void *sem_arg)
232 #define FLD(f) abuf->fields.sfmt_smass.f
233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
234 const IDESC * UNUSED idesc = abuf->idesc;
235 int cycles = 0;
237 int referenced = 0;
238 int UNUSED insn_referenced = abuf->written;
239 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
241 return cycles;
242 #undef FLD
245 static int
246 model_frv_smass (SIM_CPU *current_cpu, void *sem_arg)
248 #define FLD(f) abuf->fields.sfmt_smass.f
249 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
250 const IDESC * UNUSED idesc = abuf->idesc;
251 int cycles = 0;
253 int referenced = 0;
254 int UNUSED insn_referenced = abuf->written;
255 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
257 return cycles;
258 #undef FLD
261 static int
262 model_frv_smsss (SIM_CPU *current_cpu, void *sem_arg)
264 #define FLD(f) abuf->fields.sfmt_smass.f
265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
266 const IDESC * UNUSED idesc = abuf->idesc;
267 int cycles = 0;
269 int referenced = 0;
270 int UNUSED insn_referenced = abuf->written;
271 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
273 return cycles;
274 #undef FLD
277 static int
278 model_frv_sll (SIM_CPU *current_cpu, void *sem_arg)
280 #define FLD(f) abuf->fields.sfmt_addcc.f
281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
282 const IDESC * UNUSED idesc = abuf->idesc;
283 int cycles = 0;
285 int referenced = 0;
286 int UNUSED insn_referenced = abuf->written;
287 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
289 return cycles;
290 #undef FLD
293 static int
294 model_frv_srl (SIM_CPU *current_cpu, void *sem_arg)
296 #define FLD(f) abuf->fields.sfmt_addcc.f
297 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
298 const IDESC * UNUSED idesc = abuf->idesc;
299 int cycles = 0;
301 int referenced = 0;
302 int UNUSED insn_referenced = abuf->written;
303 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
305 return cycles;
306 #undef FLD
309 static int
310 model_frv_sra (SIM_CPU *current_cpu, void *sem_arg)
312 #define FLD(f) abuf->fields.sfmt_addcc.f
313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
314 const IDESC * UNUSED idesc = abuf->idesc;
315 int cycles = 0;
317 int referenced = 0;
318 int UNUSED insn_referenced = abuf->written;
319 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
321 return cycles;
322 #undef FLD
325 static int
326 model_frv_slass (SIM_CPU *current_cpu, void *sem_arg)
328 #define FLD(f) abuf->fields.sfmt_addcc.f
329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
330 const IDESC * UNUSED idesc = abuf->idesc;
331 int cycles = 0;
333 int referenced = 0;
334 int UNUSED insn_referenced = abuf->written;
335 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
337 return cycles;
338 #undef FLD
341 static int
342 model_frv_scutss (SIM_CPU *current_cpu, void *sem_arg)
344 #define FLD(f) abuf->fields.sfmt_scutss.f
345 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
346 const IDESC * UNUSED idesc = abuf->idesc;
347 int cycles = 0;
349 int referenced = 0;
350 int UNUSED insn_referenced = abuf->written;
351 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
353 return cycles;
354 #undef FLD
357 static int
358 model_frv_scan (SIM_CPU *current_cpu, void *sem_arg)
360 #define FLD(f) abuf->fields.sfmt_addcc.f
361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
362 const IDESC * UNUSED idesc = abuf->idesc;
363 int cycles = 0;
365 int referenced = 0;
366 int UNUSED insn_referenced = abuf->written;
367 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
369 return cycles;
370 #undef FLD
373 static int
374 model_frv_cadd (SIM_CPU *current_cpu, void *sem_arg)
376 #define FLD(f) abuf->fields.sfmt_cswap.f
377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
378 const IDESC * UNUSED idesc = abuf->idesc;
379 int cycles = 0;
381 int referenced = 0;
382 int UNUSED insn_referenced = abuf->written;
383 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
385 return cycles;
386 #undef FLD
389 static int
390 model_frv_csub (SIM_CPU *current_cpu, void *sem_arg)
392 #define FLD(f) abuf->fields.sfmt_cswap.f
393 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
394 const IDESC * UNUSED idesc = abuf->idesc;
395 int cycles = 0;
397 int referenced = 0;
398 int UNUSED insn_referenced = abuf->written;
399 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
401 return cycles;
402 #undef FLD
405 static int
406 model_frv_cand (SIM_CPU *current_cpu, void *sem_arg)
408 #define FLD(f) abuf->fields.sfmt_cswap.f
409 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
410 const IDESC * UNUSED idesc = abuf->idesc;
411 int cycles = 0;
413 int referenced = 0;
414 int UNUSED insn_referenced = abuf->written;
415 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
417 return cycles;
418 #undef FLD
421 static int
422 model_frv_cor (SIM_CPU *current_cpu, void *sem_arg)
424 #define FLD(f) abuf->fields.sfmt_cswap.f
425 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
426 const IDESC * UNUSED idesc = abuf->idesc;
427 int cycles = 0;
429 int referenced = 0;
430 int UNUSED insn_referenced = abuf->written;
431 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
433 return cycles;
434 #undef FLD
437 static int
438 model_frv_cxor (SIM_CPU *current_cpu, void *sem_arg)
440 #define FLD(f) abuf->fields.sfmt_cswap.f
441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
442 const IDESC * UNUSED idesc = abuf->idesc;
443 int cycles = 0;
445 int referenced = 0;
446 int UNUSED insn_referenced = abuf->written;
447 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
449 return cycles;
450 #undef FLD
453 static int
454 model_frv_cnot (SIM_CPU *current_cpu, void *sem_arg)
456 #define FLD(f) abuf->fields.sfmt_cswap.f
457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
458 const IDESC * UNUSED idesc = abuf->idesc;
459 int cycles = 0;
461 int referenced = 0;
462 int UNUSED insn_referenced = abuf->written;
463 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
465 return cycles;
466 #undef FLD
469 static int
470 model_frv_csmul (SIM_CPU *current_cpu, void *sem_arg)
472 #define FLD(f) abuf->fields.sfmt_clddu.f
473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
474 const IDESC * UNUSED idesc = abuf->idesc;
475 int cycles = 0;
477 int referenced = 0;
478 int UNUSED insn_referenced = abuf->written;
479 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
481 return cycles;
482 #undef FLD
485 static int
486 model_frv_csdiv (SIM_CPU *current_cpu, void *sem_arg)
488 #define FLD(f) abuf->fields.sfmt_cswap.f
489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
490 const IDESC * UNUSED idesc = abuf->idesc;
491 int cycles = 0;
493 int referenced = 0;
494 int UNUSED insn_referenced = abuf->written;
495 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
497 return cycles;
498 #undef FLD
501 static int
502 model_frv_cudiv (SIM_CPU *current_cpu, void *sem_arg)
504 #define FLD(f) abuf->fields.sfmt_cswap.f
505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
506 const IDESC * UNUSED idesc = abuf->idesc;
507 int cycles = 0;
509 int referenced = 0;
510 int UNUSED insn_referenced = abuf->written;
511 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
513 return cycles;
514 #undef FLD
517 static int
518 model_frv_csll (SIM_CPU *current_cpu, void *sem_arg)
520 #define FLD(f) abuf->fields.sfmt_cswap.f
521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
522 const IDESC * UNUSED idesc = abuf->idesc;
523 int cycles = 0;
525 int referenced = 0;
526 int UNUSED insn_referenced = abuf->written;
527 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
529 return cycles;
530 #undef FLD
533 static int
534 model_frv_csrl (SIM_CPU *current_cpu, void *sem_arg)
536 #define FLD(f) abuf->fields.sfmt_cswap.f
537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
538 const IDESC * UNUSED idesc = abuf->idesc;
539 int cycles = 0;
541 int referenced = 0;
542 int UNUSED insn_referenced = abuf->written;
543 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
545 return cycles;
546 #undef FLD
549 static int
550 model_frv_csra (SIM_CPU *current_cpu, void *sem_arg)
552 #define FLD(f) abuf->fields.sfmt_cswap.f
553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
554 const IDESC * UNUSED idesc = abuf->idesc;
555 int cycles = 0;
557 int referenced = 0;
558 int UNUSED insn_referenced = abuf->written;
559 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
561 return cycles;
562 #undef FLD
565 static int
566 model_frv_cscan (SIM_CPU *current_cpu, void *sem_arg)
568 #define FLD(f) abuf->fields.sfmt_cswap.f
569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
570 const IDESC * UNUSED idesc = abuf->idesc;
571 int cycles = 0;
573 int referenced = 0;
574 int UNUSED insn_referenced = abuf->written;
575 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
577 return cycles;
578 #undef FLD
581 static int
582 model_frv_addcc (SIM_CPU *current_cpu, void *sem_arg)
584 #define FLD(f) abuf->fields.sfmt_addcc.f
585 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
586 const IDESC * UNUSED idesc = abuf->idesc;
587 int cycles = 0;
589 int referenced = 0;
590 int UNUSED insn_referenced = abuf->written;
591 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
593 return cycles;
594 #undef FLD
597 static int
598 model_frv_subcc (SIM_CPU *current_cpu, void *sem_arg)
600 #define FLD(f) abuf->fields.sfmt_addcc.f
601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
602 const IDESC * UNUSED idesc = abuf->idesc;
603 int cycles = 0;
605 int referenced = 0;
606 int UNUSED insn_referenced = abuf->written;
607 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
609 return cycles;
610 #undef FLD
613 static int
614 model_frv_andcc (SIM_CPU *current_cpu, void *sem_arg)
616 #define FLD(f) abuf->fields.sfmt_addcc.f
617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
618 const IDESC * UNUSED idesc = abuf->idesc;
619 int cycles = 0;
621 int referenced = 0;
622 int UNUSED insn_referenced = abuf->written;
623 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
625 return cycles;
626 #undef FLD
629 static int
630 model_frv_orcc (SIM_CPU *current_cpu, void *sem_arg)
632 #define FLD(f) abuf->fields.sfmt_addcc.f
633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
634 const IDESC * UNUSED idesc = abuf->idesc;
635 int cycles = 0;
637 int referenced = 0;
638 int UNUSED insn_referenced = abuf->written;
639 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
641 return cycles;
642 #undef FLD
645 static int
646 model_frv_xorcc (SIM_CPU *current_cpu, void *sem_arg)
648 #define FLD(f) abuf->fields.sfmt_addcc.f
649 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
650 const IDESC * UNUSED idesc = abuf->idesc;
651 int cycles = 0;
653 int referenced = 0;
654 int UNUSED insn_referenced = abuf->written;
655 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
657 return cycles;
658 #undef FLD
661 static int
662 model_frv_sllcc (SIM_CPU *current_cpu, void *sem_arg)
664 #define FLD(f) abuf->fields.sfmt_addcc.f
665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
666 const IDESC * UNUSED idesc = abuf->idesc;
667 int cycles = 0;
669 int referenced = 0;
670 int UNUSED insn_referenced = abuf->written;
671 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
673 return cycles;
674 #undef FLD
677 static int
678 model_frv_srlcc (SIM_CPU *current_cpu, void *sem_arg)
680 #define FLD(f) abuf->fields.sfmt_addcc.f
681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
682 const IDESC * UNUSED idesc = abuf->idesc;
683 int cycles = 0;
685 int referenced = 0;
686 int UNUSED insn_referenced = abuf->written;
687 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
689 return cycles;
690 #undef FLD
693 static int
694 model_frv_sracc (SIM_CPU *current_cpu, void *sem_arg)
696 #define FLD(f) abuf->fields.sfmt_addcc.f
697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
698 const IDESC * UNUSED idesc = abuf->idesc;
699 int cycles = 0;
701 int referenced = 0;
702 int UNUSED insn_referenced = abuf->written;
703 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
705 return cycles;
706 #undef FLD
709 static int
710 model_frv_smulcc (SIM_CPU *current_cpu, void *sem_arg)
712 #define FLD(f) abuf->fields.sfmt_smulcc.f
713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
714 const IDESC * UNUSED idesc = abuf->idesc;
715 int cycles = 0;
717 int referenced = 0;
718 int UNUSED insn_referenced = abuf->written;
719 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
721 return cycles;
722 #undef FLD
725 static int
726 model_frv_umulcc (SIM_CPU *current_cpu, void *sem_arg)
728 #define FLD(f) abuf->fields.sfmt_smulcc.f
729 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
730 const IDESC * UNUSED idesc = abuf->idesc;
731 int cycles = 0;
733 int referenced = 0;
734 int UNUSED insn_referenced = abuf->written;
735 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
737 return cycles;
738 #undef FLD
741 static int
742 model_frv_caddcc (SIM_CPU *current_cpu, void *sem_arg)
744 #define FLD(f) abuf->fields.sfmt_caddcc.f
745 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
746 const IDESC * UNUSED idesc = abuf->idesc;
747 int cycles = 0;
749 int referenced = 0;
750 int UNUSED insn_referenced = abuf->written;
751 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
753 return cycles;
754 #undef FLD
757 static int
758 model_frv_csubcc (SIM_CPU *current_cpu, void *sem_arg)
760 #define FLD(f) abuf->fields.sfmt_caddcc.f
761 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
762 const IDESC * UNUSED idesc = abuf->idesc;
763 int cycles = 0;
765 int referenced = 0;
766 int UNUSED insn_referenced = abuf->written;
767 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
769 return cycles;
770 #undef FLD
773 static int
774 model_frv_csmulcc (SIM_CPU *current_cpu, void *sem_arg)
776 #define FLD(f) abuf->fields.sfmt_csmulcc.f
777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
778 const IDESC * UNUSED idesc = abuf->idesc;
779 int cycles = 0;
781 int referenced = 0;
782 int UNUSED insn_referenced = abuf->written;
783 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
785 return cycles;
786 #undef FLD
789 static int
790 model_frv_candcc (SIM_CPU *current_cpu, void *sem_arg)
792 #define FLD(f) abuf->fields.sfmt_caddcc.f
793 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
794 const IDESC * UNUSED idesc = abuf->idesc;
795 int cycles = 0;
797 int referenced = 0;
798 int UNUSED insn_referenced = abuf->written;
799 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
801 return cycles;
802 #undef FLD
805 static int
806 model_frv_corcc (SIM_CPU *current_cpu, void *sem_arg)
808 #define FLD(f) abuf->fields.sfmt_caddcc.f
809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
810 const IDESC * UNUSED idesc = abuf->idesc;
811 int cycles = 0;
813 int referenced = 0;
814 int UNUSED insn_referenced = abuf->written;
815 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
817 return cycles;
818 #undef FLD
821 static int
822 model_frv_cxorcc (SIM_CPU *current_cpu, void *sem_arg)
824 #define FLD(f) abuf->fields.sfmt_caddcc.f
825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
826 const IDESC * UNUSED idesc = abuf->idesc;
827 int cycles = 0;
829 int referenced = 0;
830 int UNUSED insn_referenced = abuf->written;
831 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
833 return cycles;
834 #undef FLD
837 static int
838 model_frv_csllcc (SIM_CPU *current_cpu, void *sem_arg)
840 #define FLD(f) abuf->fields.sfmt_caddcc.f
841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
842 const IDESC * UNUSED idesc = abuf->idesc;
843 int cycles = 0;
845 int referenced = 0;
846 int UNUSED insn_referenced = abuf->written;
847 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
849 return cycles;
850 #undef FLD
853 static int
854 model_frv_csrlcc (SIM_CPU *current_cpu, void *sem_arg)
856 #define FLD(f) abuf->fields.sfmt_caddcc.f
857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
858 const IDESC * UNUSED idesc = abuf->idesc;
859 int cycles = 0;
861 int referenced = 0;
862 int UNUSED insn_referenced = abuf->written;
863 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
865 return cycles;
866 #undef FLD
869 static int
870 model_frv_csracc (SIM_CPU *current_cpu, void *sem_arg)
872 #define FLD(f) abuf->fields.sfmt_caddcc.f
873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
874 const IDESC * UNUSED idesc = abuf->idesc;
875 int cycles = 0;
877 int referenced = 0;
878 int UNUSED insn_referenced = abuf->written;
879 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
881 return cycles;
882 #undef FLD
885 static int
886 model_frv_addx (SIM_CPU *current_cpu, void *sem_arg)
888 #define FLD(f) abuf->fields.sfmt_addcc.f
889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
890 const IDESC * UNUSED idesc = abuf->idesc;
891 int cycles = 0;
893 int referenced = 0;
894 int UNUSED insn_referenced = abuf->written;
895 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
897 return cycles;
898 #undef FLD
901 static int
902 model_frv_subx (SIM_CPU *current_cpu, void *sem_arg)
904 #define FLD(f) abuf->fields.sfmt_addcc.f
905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
906 const IDESC * UNUSED idesc = abuf->idesc;
907 int cycles = 0;
909 int referenced = 0;
910 int UNUSED insn_referenced = abuf->written;
911 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
913 return cycles;
914 #undef FLD
917 static int
918 model_frv_addxcc (SIM_CPU *current_cpu, void *sem_arg)
920 #define FLD(f) abuf->fields.sfmt_addcc.f
921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
922 const IDESC * UNUSED idesc = abuf->idesc;
923 int cycles = 0;
925 int referenced = 0;
926 int UNUSED insn_referenced = abuf->written;
927 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
929 return cycles;
930 #undef FLD
933 static int
934 model_frv_subxcc (SIM_CPU *current_cpu, void *sem_arg)
936 #define FLD(f) abuf->fields.sfmt_addcc.f
937 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
938 const IDESC * UNUSED idesc = abuf->idesc;
939 int cycles = 0;
941 int referenced = 0;
942 int UNUSED insn_referenced = abuf->written;
943 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
945 return cycles;
946 #undef FLD
949 static int
950 model_frv_addss (SIM_CPU *current_cpu, void *sem_arg)
952 #define FLD(f) abuf->fields.sfmt_addcc.f
953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
954 const IDESC * UNUSED idesc = abuf->idesc;
955 int cycles = 0;
957 int referenced = 0;
958 int UNUSED insn_referenced = abuf->written;
959 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
961 return cycles;
962 #undef FLD
965 static int
966 model_frv_subss (SIM_CPU *current_cpu, void *sem_arg)
968 #define FLD(f) abuf->fields.sfmt_addcc.f
969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
970 const IDESC * UNUSED idesc = abuf->idesc;
971 int cycles = 0;
973 int referenced = 0;
974 int UNUSED insn_referenced = abuf->written;
975 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
977 return cycles;
978 #undef FLD
981 static int
982 model_frv_addi (SIM_CPU *current_cpu, void *sem_arg)
984 #define FLD(f) abuf->fields.sfmt_swapi.f
985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
986 const IDESC * UNUSED idesc = abuf->idesc;
987 int cycles = 0;
989 int referenced = 0;
990 int UNUSED insn_referenced = abuf->written;
991 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
993 return cycles;
994 #undef FLD
997 static int
998 model_frv_subi (SIM_CPU *current_cpu, void *sem_arg)
1000 #define FLD(f) abuf->fields.sfmt_swapi.f
1001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1002 const IDESC * UNUSED idesc = abuf->idesc;
1003 int cycles = 0;
1005 int referenced = 0;
1006 int UNUSED insn_referenced = abuf->written;
1007 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1009 return cycles;
1010 #undef FLD
1013 static int
1014 model_frv_andi (SIM_CPU *current_cpu, void *sem_arg)
1016 #define FLD(f) abuf->fields.sfmt_swapi.f
1017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1018 const IDESC * UNUSED idesc = abuf->idesc;
1019 int cycles = 0;
1021 int referenced = 0;
1022 int UNUSED insn_referenced = abuf->written;
1023 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1025 return cycles;
1026 #undef FLD
1029 static int
1030 model_frv_ori (SIM_CPU *current_cpu, void *sem_arg)
1032 #define FLD(f) abuf->fields.sfmt_swapi.f
1033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1034 const IDESC * UNUSED idesc = abuf->idesc;
1035 int cycles = 0;
1037 int referenced = 0;
1038 int UNUSED insn_referenced = abuf->written;
1039 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1041 return cycles;
1042 #undef FLD
1045 static int
1046 model_frv_xori (SIM_CPU *current_cpu, void *sem_arg)
1048 #define FLD(f) abuf->fields.sfmt_swapi.f
1049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1050 const IDESC * UNUSED idesc = abuf->idesc;
1051 int cycles = 0;
1053 int referenced = 0;
1054 int UNUSED insn_referenced = abuf->written;
1055 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1057 return cycles;
1058 #undef FLD
1061 static int
1062 model_frv_sdivi (SIM_CPU *current_cpu, void *sem_arg)
1064 #define FLD(f) abuf->fields.sfmt_swapi.f
1065 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1066 const IDESC * UNUSED idesc = abuf->idesc;
1067 int cycles = 0;
1069 int referenced = 0;
1070 int UNUSED insn_referenced = abuf->written;
1071 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1073 return cycles;
1074 #undef FLD
1077 static int
1078 model_frv_nsdivi (SIM_CPU *current_cpu, void *sem_arg)
1080 #define FLD(f) abuf->fields.sfmt_swapi.f
1081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1082 const IDESC * UNUSED idesc = abuf->idesc;
1083 int cycles = 0;
1085 int referenced = 0;
1086 int UNUSED insn_referenced = abuf->written;
1087 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1089 return cycles;
1090 #undef FLD
1093 static int
1094 model_frv_udivi (SIM_CPU *current_cpu, void *sem_arg)
1096 #define FLD(f) abuf->fields.sfmt_swapi.f
1097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1098 const IDESC * UNUSED idesc = abuf->idesc;
1099 int cycles = 0;
1101 int referenced = 0;
1102 int UNUSED insn_referenced = abuf->written;
1103 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1105 return cycles;
1106 #undef FLD
1109 static int
1110 model_frv_nudivi (SIM_CPU *current_cpu, void *sem_arg)
1112 #define FLD(f) abuf->fields.sfmt_swapi.f
1113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1114 const IDESC * UNUSED idesc = abuf->idesc;
1115 int cycles = 0;
1117 int referenced = 0;
1118 int UNUSED insn_referenced = abuf->written;
1119 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1121 return cycles;
1122 #undef FLD
1125 static int
1126 model_frv_smuli (SIM_CPU *current_cpu, void *sem_arg)
1128 #define FLD(f) abuf->fields.sfmt_smuli.f
1129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1130 const IDESC * UNUSED idesc = abuf->idesc;
1131 int cycles = 0;
1133 int referenced = 0;
1134 int UNUSED insn_referenced = abuf->written;
1135 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1137 return cycles;
1138 #undef FLD
1141 static int
1142 model_frv_umuli (SIM_CPU *current_cpu, void *sem_arg)
1144 #define FLD(f) abuf->fields.sfmt_smuli.f
1145 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1146 const IDESC * UNUSED idesc = abuf->idesc;
1147 int cycles = 0;
1149 int referenced = 0;
1150 int UNUSED insn_referenced = abuf->written;
1151 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1153 return cycles;
1154 #undef FLD
1157 static int
1158 model_frv_slli (SIM_CPU *current_cpu, void *sem_arg)
1160 #define FLD(f) abuf->fields.sfmt_swapi.f
1161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1162 const IDESC * UNUSED idesc = abuf->idesc;
1163 int cycles = 0;
1165 int referenced = 0;
1166 int UNUSED insn_referenced = abuf->written;
1167 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1169 return cycles;
1170 #undef FLD
1173 static int
1174 model_frv_srli (SIM_CPU *current_cpu, void *sem_arg)
1176 #define FLD(f) abuf->fields.sfmt_swapi.f
1177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1178 const IDESC * UNUSED idesc = abuf->idesc;
1179 int cycles = 0;
1181 int referenced = 0;
1182 int UNUSED insn_referenced = abuf->written;
1183 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1185 return cycles;
1186 #undef FLD
1189 static int
1190 model_frv_srai (SIM_CPU *current_cpu, void *sem_arg)
1192 #define FLD(f) abuf->fields.sfmt_swapi.f
1193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1194 const IDESC * UNUSED idesc = abuf->idesc;
1195 int cycles = 0;
1197 int referenced = 0;
1198 int UNUSED insn_referenced = abuf->written;
1199 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1201 return cycles;
1202 #undef FLD
1205 static int
1206 model_frv_scani (SIM_CPU *current_cpu, void *sem_arg)
1208 #define FLD(f) abuf->fields.sfmt_swapi.f
1209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1210 const IDESC * UNUSED idesc = abuf->idesc;
1211 int cycles = 0;
1213 int referenced = 0;
1214 int UNUSED insn_referenced = abuf->written;
1215 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1217 return cycles;
1218 #undef FLD
1221 static int
1222 model_frv_addicc (SIM_CPU *current_cpu, void *sem_arg)
1224 #define FLD(f) abuf->fields.sfmt_addicc.f
1225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1226 const IDESC * UNUSED idesc = abuf->idesc;
1227 int cycles = 0;
1229 int referenced = 0;
1230 int UNUSED insn_referenced = abuf->written;
1231 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1233 return cycles;
1234 #undef FLD
1237 static int
1238 model_frv_subicc (SIM_CPU *current_cpu, void *sem_arg)
1240 #define FLD(f) abuf->fields.sfmt_addicc.f
1241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1242 const IDESC * UNUSED idesc = abuf->idesc;
1243 int cycles = 0;
1245 int referenced = 0;
1246 int UNUSED insn_referenced = abuf->written;
1247 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1249 return cycles;
1250 #undef FLD
1253 static int
1254 model_frv_andicc (SIM_CPU *current_cpu, void *sem_arg)
1256 #define FLD(f) abuf->fields.sfmt_addicc.f
1257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1258 const IDESC * UNUSED idesc = abuf->idesc;
1259 int cycles = 0;
1261 int referenced = 0;
1262 int UNUSED insn_referenced = abuf->written;
1263 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1265 return cycles;
1266 #undef FLD
1269 static int
1270 model_frv_oricc (SIM_CPU *current_cpu, void *sem_arg)
1272 #define FLD(f) abuf->fields.sfmt_addicc.f
1273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1274 const IDESC * UNUSED idesc = abuf->idesc;
1275 int cycles = 0;
1277 int referenced = 0;
1278 int UNUSED insn_referenced = abuf->written;
1279 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1281 return cycles;
1282 #undef FLD
1285 static int
1286 model_frv_xoricc (SIM_CPU *current_cpu, void *sem_arg)
1288 #define FLD(f) abuf->fields.sfmt_addicc.f
1289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1290 const IDESC * UNUSED idesc = abuf->idesc;
1291 int cycles = 0;
1293 int referenced = 0;
1294 int UNUSED insn_referenced = abuf->written;
1295 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1297 return cycles;
1298 #undef FLD
1301 static int
1302 model_frv_smulicc (SIM_CPU *current_cpu, void *sem_arg)
1304 #define FLD(f) abuf->fields.sfmt_smulicc.f
1305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1306 const IDESC * UNUSED idesc = abuf->idesc;
1307 int cycles = 0;
1309 int referenced = 0;
1310 int UNUSED insn_referenced = abuf->written;
1311 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1313 return cycles;
1314 #undef FLD
1317 static int
1318 model_frv_umulicc (SIM_CPU *current_cpu, void *sem_arg)
1320 #define FLD(f) abuf->fields.sfmt_smulicc.f
1321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1322 const IDESC * UNUSED idesc = abuf->idesc;
1323 int cycles = 0;
1325 int referenced = 0;
1326 int UNUSED insn_referenced = abuf->written;
1327 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1329 return cycles;
1330 #undef FLD
1333 static int
1334 model_frv_sllicc (SIM_CPU *current_cpu, void *sem_arg)
1336 #define FLD(f) abuf->fields.sfmt_addicc.f
1337 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1338 const IDESC * UNUSED idesc = abuf->idesc;
1339 int cycles = 0;
1341 int referenced = 0;
1342 int UNUSED insn_referenced = abuf->written;
1343 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1345 return cycles;
1346 #undef FLD
1349 static int
1350 model_frv_srlicc (SIM_CPU *current_cpu, void *sem_arg)
1352 #define FLD(f) abuf->fields.sfmt_addicc.f
1353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1354 const IDESC * UNUSED idesc = abuf->idesc;
1355 int cycles = 0;
1357 int referenced = 0;
1358 int UNUSED insn_referenced = abuf->written;
1359 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1361 return cycles;
1362 #undef FLD
1365 static int
1366 model_frv_sraicc (SIM_CPU *current_cpu, void *sem_arg)
1368 #define FLD(f) abuf->fields.sfmt_addicc.f
1369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1370 const IDESC * UNUSED idesc = abuf->idesc;
1371 int cycles = 0;
1373 int referenced = 0;
1374 int UNUSED insn_referenced = abuf->written;
1375 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1377 return cycles;
1378 #undef FLD
1381 static int
1382 model_frv_addxi (SIM_CPU *current_cpu, void *sem_arg)
1384 #define FLD(f) abuf->fields.sfmt_addicc.f
1385 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1386 const IDESC * UNUSED idesc = abuf->idesc;
1387 int cycles = 0;
1389 int referenced = 0;
1390 int UNUSED insn_referenced = abuf->written;
1391 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1393 return cycles;
1394 #undef FLD
1397 static int
1398 model_frv_subxi (SIM_CPU *current_cpu, void *sem_arg)
1400 #define FLD(f) abuf->fields.sfmt_addicc.f
1401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1402 const IDESC * UNUSED idesc = abuf->idesc;
1403 int cycles = 0;
1405 int referenced = 0;
1406 int UNUSED insn_referenced = abuf->written;
1407 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1409 return cycles;
1410 #undef FLD
1413 static int
1414 model_frv_addxicc (SIM_CPU *current_cpu, void *sem_arg)
1416 #define FLD(f) abuf->fields.sfmt_addicc.f
1417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1418 const IDESC * UNUSED idesc = abuf->idesc;
1419 int cycles = 0;
1421 int referenced = 0;
1422 int UNUSED insn_referenced = abuf->written;
1423 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1425 return cycles;
1426 #undef FLD
1429 static int
1430 model_frv_subxicc (SIM_CPU *current_cpu, void *sem_arg)
1432 #define FLD(f) abuf->fields.sfmt_addicc.f
1433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1434 const IDESC * UNUSED idesc = abuf->idesc;
1435 int cycles = 0;
1437 int referenced = 0;
1438 int UNUSED insn_referenced = abuf->written;
1439 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1441 return cycles;
1442 #undef FLD
1445 static int
1446 model_frv_cmpb (SIM_CPU *current_cpu, void *sem_arg)
1448 #define FLD(f) abuf->fields.sfmt_smulcc.f
1449 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1450 const IDESC * UNUSED idesc = abuf->idesc;
1451 int cycles = 0;
1453 int referenced = 0;
1454 int UNUSED insn_referenced = abuf->written;
1455 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1457 return cycles;
1458 #undef FLD
1461 static int
1462 model_frv_cmpba (SIM_CPU *current_cpu, void *sem_arg)
1464 #define FLD(f) abuf->fields.sfmt_smulcc.f
1465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1466 const IDESC * UNUSED idesc = abuf->idesc;
1467 int cycles = 0;
1469 int referenced = 0;
1470 int UNUSED insn_referenced = abuf->written;
1471 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1473 return cycles;
1474 #undef FLD
1477 static int
1478 model_frv_setlo (SIM_CPU *current_cpu, void *sem_arg)
1480 #define FLD(f) abuf->fields.sfmt_setlo.f
1481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1482 const IDESC * UNUSED idesc = abuf->idesc;
1483 int cycles = 0;
1485 int referenced = 0;
1486 int UNUSED insn_referenced = abuf->written;
1487 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1489 return cycles;
1490 #undef FLD
1493 static int
1494 model_frv_sethi (SIM_CPU *current_cpu, void *sem_arg)
1496 #define FLD(f) abuf->fields.sfmt_sethi.f
1497 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1498 const IDESC * UNUSED idesc = abuf->idesc;
1499 int cycles = 0;
1501 int referenced = 0;
1502 int UNUSED insn_referenced = abuf->written;
1503 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1505 return cycles;
1506 #undef FLD
1509 static int
1510 model_frv_setlos (SIM_CPU *current_cpu, void *sem_arg)
1512 #define FLD(f) abuf->fields.sfmt_setlos.f
1513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1514 const IDESC * UNUSED idesc = abuf->idesc;
1515 int cycles = 0;
1517 int referenced = 0;
1518 int UNUSED insn_referenced = abuf->written;
1519 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1521 return cycles;
1522 #undef FLD
1525 static int
1526 model_frv_ldsb (SIM_CPU *current_cpu, void *sem_arg)
1528 #define FLD(f) abuf->fields.sfmt_addcc.f
1529 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1530 const IDESC * UNUSED idesc = abuf->idesc;
1531 int cycles = 0;
1533 int referenced = 0;
1534 int UNUSED insn_referenced = abuf->written;
1535 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1537 return cycles;
1538 #undef FLD
1541 static int
1542 model_frv_ldub (SIM_CPU *current_cpu, void *sem_arg)
1544 #define FLD(f) abuf->fields.sfmt_addcc.f
1545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1546 const IDESC * UNUSED idesc = abuf->idesc;
1547 int cycles = 0;
1549 int referenced = 0;
1550 int UNUSED insn_referenced = abuf->written;
1551 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1553 return cycles;
1554 #undef FLD
1557 static int
1558 model_frv_ldsh (SIM_CPU *current_cpu, void *sem_arg)
1560 #define FLD(f) abuf->fields.sfmt_addcc.f
1561 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1562 const IDESC * UNUSED idesc = abuf->idesc;
1563 int cycles = 0;
1565 int referenced = 0;
1566 int UNUSED insn_referenced = abuf->written;
1567 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1569 return cycles;
1570 #undef FLD
1573 static int
1574 model_frv_lduh (SIM_CPU *current_cpu, void *sem_arg)
1576 #define FLD(f) abuf->fields.sfmt_addcc.f
1577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1578 const IDESC * UNUSED idesc = abuf->idesc;
1579 int cycles = 0;
1581 int referenced = 0;
1582 int UNUSED insn_referenced = abuf->written;
1583 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1585 return cycles;
1586 #undef FLD
1589 static int
1590 model_frv_ld (SIM_CPU *current_cpu, void *sem_arg)
1592 #define FLD(f) abuf->fields.sfmt_addcc.f
1593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1594 const IDESC * UNUSED idesc = abuf->idesc;
1595 int cycles = 0;
1597 int referenced = 0;
1598 int UNUSED insn_referenced = abuf->written;
1599 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1601 return cycles;
1602 #undef FLD
1605 static int
1606 model_frv_ldbf (SIM_CPU *current_cpu, void *sem_arg)
1608 #define FLD(f) abuf->fields.sfmt_cldbfu.f
1609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1610 const IDESC * UNUSED idesc = abuf->idesc;
1611 int cycles = 0;
1613 int referenced = 0;
1614 int UNUSED insn_referenced = abuf->written;
1615 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1617 return cycles;
1618 #undef FLD
1621 static int
1622 model_frv_ldhf (SIM_CPU *current_cpu, void *sem_arg)
1624 #define FLD(f) abuf->fields.sfmt_cldbfu.f
1625 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1626 const IDESC * UNUSED idesc = abuf->idesc;
1627 int cycles = 0;
1629 int referenced = 0;
1630 int UNUSED insn_referenced = abuf->written;
1631 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1633 return cycles;
1634 #undef FLD
1637 static int
1638 model_frv_ldf (SIM_CPU *current_cpu, void *sem_arg)
1640 #define FLD(f) abuf->fields.sfmt_cldbfu.f
1641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1642 const IDESC * UNUSED idesc = abuf->idesc;
1643 int cycles = 0;
1645 int referenced = 0;
1646 int UNUSED insn_referenced = abuf->written;
1647 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1649 return cycles;
1650 #undef FLD
1653 static int
1654 model_frv_ldc (SIM_CPU *current_cpu, void *sem_arg)
1656 #define FLD(f) abuf->fields.sfmt_ldcu.f
1657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1658 const IDESC * UNUSED idesc = abuf->idesc;
1659 int cycles = 0;
1661 int referenced = 0;
1662 int UNUSED insn_referenced = abuf->written;
1663 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1665 return cycles;
1666 #undef FLD
1669 static int
1670 model_frv_nldsb (SIM_CPU *current_cpu, void *sem_arg)
1672 #define FLD(f) abuf->fields.sfmt_addcc.f
1673 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1674 const IDESC * UNUSED idesc = abuf->idesc;
1675 int cycles = 0;
1677 int referenced = 0;
1678 int UNUSED insn_referenced = abuf->written;
1679 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1681 return cycles;
1682 #undef FLD
1685 static int
1686 model_frv_nldub (SIM_CPU *current_cpu, void *sem_arg)
1688 #define FLD(f) abuf->fields.sfmt_addcc.f
1689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1690 const IDESC * UNUSED idesc = abuf->idesc;
1691 int cycles = 0;
1693 int referenced = 0;
1694 int UNUSED insn_referenced = abuf->written;
1695 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1697 return cycles;
1698 #undef FLD
1701 static int
1702 model_frv_nldsh (SIM_CPU *current_cpu, void *sem_arg)
1704 #define FLD(f) abuf->fields.sfmt_addcc.f
1705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1706 const IDESC * UNUSED idesc = abuf->idesc;
1707 int cycles = 0;
1709 int referenced = 0;
1710 int UNUSED insn_referenced = abuf->written;
1711 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1713 return cycles;
1714 #undef FLD
1717 static int
1718 model_frv_nlduh (SIM_CPU *current_cpu, void *sem_arg)
1720 #define FLD(f) abuf->fields.sfmt_addcc.f
1721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1722 const IDESC * UNUSED idesc = abuf->idesc;
1723 int cycles = 0;
1725 int referenced = 0;
1726 int UNUSED insn_referenced = abuf->written;
1727 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1729 return cycles;
1730 #undef FLD
1733 static int
1734 model_frv_nld (SIM_CPU *current_cpu, void *sem_arg)
1736 #define FLD(f) abuf->fields.sfmt_addcc.f
1737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1738 const IDESC * UNUSED idesc = abuf->idesc;
1739 int cycles = 0;
1741 int referenced = 0;
1742 int UNUSED insn_referenced = abuf->written;
1743 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1745 return cycles;
1746 #undef FLD
1749 static int
1750 model_frv_nldbf (SIM_CPU *current_cpu, void *sem_arg)
1752 #define FLD(f) abuf->fields.sfmt_cldbfu.f
1753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1754 const IDESC * UNUSED idesc = abuf->idesc;
1755 int cycles = 0;
1757 int referenced = 0;
1758 int UNUSED insn_referenced = abuf->written;
1759 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1761 return cycles;
1762 #undef FLD
1765 static int
1766 model_frv_nldhf (SIM_CPU *current_cpu, void *sem_arg)
1768 #define FLD(f) abuf->fields.sfmt_cldbfu.f
1769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1770 const IDESC * UNUSED idesc = abuf->idesc;
1771 int cycles = 0;
1773 int referenced = 0;
1774 int UNUSED insn_referenced = abuf->written;
1775 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1777 return cycles;
1778 #undef FLD
1781 static int
1782 model_frv_nldf (SIM_CPU *current_cpu, void *sem_arg)
1784 #define FLD(f) abuf->fields.sfmt_cldbfu.f
1785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1786 const IDESC * UNUSED idesc = abuf->idesc;
1787 int cycles = 0;
1789 int referenced = 0;
1790 int UNUSED insn_referenced = abuf->written;
1791 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1793 return cycles;
1794 #undef FLD
1797 static int
1798 model_frv_ldd (SIM_CPU *current_cpu, void *sem_arg)
1800 #define FLD(f) abuf->fields.sfmt_smulcc.f
1801 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1802 const IDESC * UNUSED idesc = abuf->idesc;
1803 int cycles = 0;
1805 int referenced = 0;
1806 int UNUSED insn_referenced = abuf->written;
1807 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1809 return cycles;
1810 #undef FLD
1813 static int
1814 model_frv_lddf (SIM_CPU *current_cpu, void *sem_arg)
1816 #define FLD(f) abuf->fields.sfmt_clddfu.f
1817 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1818 const IDESC * UNUSED idesc = abuf->idesc;
1819 int cycles = 0;
1821 int referenced = 0;
1822 int UNUSED insn_referenced = abuf->written;
1823 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1825 return cycles;
1826 #undef FLD
1829 static int
1830 model_frv_lddc (SIM_CPU *current_cpu, void *sem_arg)
1832 #define FLD(f) abuf->fields.sfmt_lddcu.f
1833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1834 const IDESC * UNUSED idesc = abuf->idesc;
1835 int cycles = 0;
1837 int referenced = 0;
1838 int UNUSED insn_referenced = abuf->written;
1839 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1841 return cycles;
1842 #undef FLD
1845 static int
1846 model_frv_nldd (SIM_CPU *current_cpu, void *sem_arg)
1848 #define FLD(f) abuf->fields.sfmt_smulcc.f
1849 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1850 const IDESC * UNUSED idesc = abuf->idesc;
1851 int cycles = 0;
1853 int referenced = 0;
1854 int UNUSED insn_referenced = abuf->written;
1855 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1857 return cycles;
1858 #undef FLD
1861 static int
1862 model_frv_nlddf (SIM_CPU *current_cpu, void *sem_arg)
1864 #define FLD(f) abuf->fields.sfmt_clddfu.f
1865 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1866 const IDESC * UNUSED idesc = abuf->idesc;
1867 int cycles = 0;
1869 int referenced = 0;
1870 int UNUSED insn_referenced = abuf->written;
1871 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1873 return cycles;
1874 #undef FLD
1877 static int
1878 model_frv_ldq (SIM_CPU *current_cpu, void *sem_arg)
1880 #define FLD(f) abuf->fields.sfmt_smulcc.f
1881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1882 const IDESC * UNUSED idesc = abuf->idesc;
1883 int cycles = 0;
1885 int referenced = 0;
1886 int UNUSED insn_referenced = abuf->written;
1887 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1889 return cycles;
1890 #undef FLD
1893 static int
1894 model_frv_ldqf (SIM_CPU *current_cpu, void *sem_arg)
1896 #define FLD(f) abuf->fields.sfmt_cstdfu.f
1897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1898 const IDESC * UNUSED idesc = abuf->idesc;
1899 int cycles = 0;
1901 int referenced = 0;
1902 int UNUSED insn_referenced = abuf->written;
1903 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1905 return cycles;
1906 #undef FLD
1909 static int
1910 model_frv_ldqc (SIM_CPU *current_cpu, void *sem_arg)
1912 #define FLD(f) abuf->fields.sfmt_stdcu.f
1913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1914 const IDESC * UNUSED idesc = abuf->idesc;
1915 int cycles = 0;
1917 int referenced = 0;
1918 int UNUSED insn_referenced = abuf->written;
1919 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1921 return cycles;
1922 #undef FLD
1925 static int
1926 model_frv_nldq (SIM_CPU *current_cpu, void *sem_arg)
1928 #define FLD(f) abuf->fields.sfmt_smulcc.f
1929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1930 const IDESC * UNUSED idesc = abuf->idesc;
1931 int cycles = 0;
1933 int referenced = 0;
1934 int UNUSED insn_referenced = abuf->written;
1935 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1937 return cycles;
1938 #undef FLD
1941 static int
1942 model_frv_nldqf (SIM_CPU *current_cpu, void *sem_arg)
1944 #define FLD(f) abuf->fields.sfmt_cstdfu.f
1945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1946 const IDESC * UNUSED idesc = abuf->idesc;
1947 int cycles = 0;
1949 int referenced = 0;
1950 int UNUSED insn_referenced = abuf->written;
1951 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1953 return cycles;
1954 #undef FLD
1957 static int
1958 model_frv_ldsbu (SIM_CPU *current_cpu, void *sem_arg)
1960 #define FLD(f) abuf->fields.sfmt_cldsbu.f
1961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1962 const IDESC * UNUSED idesc = abuf->idesc;
1963 int cycles = 0;
1965 int referenced = 0;
1966 int UNUSED insn_referenced = abuf->written;
1967 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1969 return cycles;
1970 #undef FLD
1973 static int
1974 model_frv_ldubu (SIM_CPU *current_cpu, void *sem_arg)
1976 #define FLD(f) abuf->fields.sfmt_cldsbu.f
1977 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1978 const IDESC * UNUSED idesc = abuf->idesc;
1979 int cycles = 0;
1981 int referenced = 0;
1982 int UNUSED insn_referenced = abuf->written;
1983 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
1985 return cycles;
1986 #undef FLD
1989 static int
1990 model_frv_ldshu (SIM_CPU *current_cpu, void *sem_arg)
1992 #define FLD(f) abuf->fields.sfmt_cldsbu.f
1993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
1994 const IDESC * UNUSED idesc = abuf->idesc;
1995 int cycles = 0;
1997 int referenced = 0;
1998 int UNUSED insn_referenced = abuf->written;
1999 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2001 return cycles;
2002 #undef FLD
2005 static int
2006 model_frv_lduhu (SIM_CPU *current_cpu, void *sem_arg)
2008 #define FLD(f) abuf->fields.sfmt_cldsbu.f
2009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2010 const IDESC * UNUSED idesc = abuf->idesc;
2011 int cycles = 0;
2013 int referenced = 0;
2014 int UNUSED insn_referenced = abuf->written;
2015 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2017 return cycles;
2018 #undef FLD
2021 static int
2022 model_frv_ldu (SIM_CPU *current_cpu, void *sem_arg)
2024 #define FLD(f) abuf->fields.sfmt_cldsbu.f
2025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2026 const IDESC * UNUSED idesc = abuf->idesc;
2027 int cycles = 0;
2029 int referenced = 0;
2030 int UNUSED insn_referenced = abuf->written;
2031 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2033 return cycles;
2034 #undef FLD
2037 static int
2038 model_frv_nldsbu (SIM_CPU *current_cpu, void *sem_arg)
2040 #define FLD(f) abuf->fields.sfmt_cldsbu.f
2041 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2042 const IDESC * UNUSED idesc = abuf->idesc;
2043 int cycles = 0;
2045 int referenced = 0;
2046 int UNUSED insn_referenced = abuf->written;
2047 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2049 return cycles;
2050 #undef FLD
2053 static int
2054 model_frv_nldubu (SIM_CPU *current_cpu, void *sem_arg)
2056 #define FLD(f) abuf->fields.sfmt_cldsbu.f
2057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2058 const IDESC * UNUSED idesc = abuf->idesc;
2059 int cycles = 0;
2061 int referenced = 0;
2062 int UNUSED insn_referenced = abuf->written;
2063 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2065 return cycles;
2066 #undef FLD
2069 static int
2070 model_frv_nldshu (SIM_CPU *current_cpu, void *sem_arg)
2072 #define FLD(f) abuf->fields.sfmt_cldsbu.f
2073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2074 const IDESC * UNUSED idesc = abuf->idesc;
2075 int cycles = 0;
2077 int referenced = 0;
2078 int UNUSED insn_referenced = abuf->written;
2079 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2081 return cycles;
2082 #undef FLD
2085 static int
2086 model_frv_nlduhu (SIM_CPU *current_cpu, void *sem_arg)
2088 #define FLD(f) abuf->fields.sfmt_cldsbu.f
2089 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2090 const IDESC * UNUSED idesc = abuf->idesc;
2091 int cycles = 0;
2093 int referenced = 0;
2094 int UNUSED insn_referenced = abuf->written;
2095 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2097 return cycles;
2098 #undef FLD
2101 static int
2102 model_frv_nldu (SIM_CPU *current_cpu, void *sem_arg)
2104 #define FLD(f) abuf->fields.sfmt_cldsbu.f
2105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2106 const IDESC * UNUSED idesc = abuf->idesc;
2107 int cycles = 0;
2109 int referenced = 0;
2110 int UNUSED insn_referenced = abuf->written;
2111 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2113 return cycles;
2114 #undef FLD
2117 static int
2118 model_frv_ldbfu (SIM_CPU *current_cpu, void *sem_arg)
2120 #define FLD(f) abuf->fields.sfmt_cldbfu.f
2121 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2122 const IDESC * UNUSED idesc = abuf->idesc;
2123 int cycles = 0;
2125 int referenced = 0;
2126 int UNUSED insn_referenced = abuf->written;
2127 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2129 return cycles;
2130 #undef FLD
2133 static int
2134 model_frv_ldhfu (SIM_CPU *current_cpu, void *sem_arg)
2136 #define FLD(f) abuf->fields.sfmt_cldbfu.f
2137 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2138 const IDESC * UNUSED idesc = abuf->idesc;
2139 int cycles = 0;
2141 int referenced = 0;
2142 int UNUSED insn_referenced = abuf->written;
2143 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2145 return cycles;
2146 #undef FLD
2149 static int
2150 model_frv_ldfu (SIM_CPU *current_cpu, void *sem_arg)
2152 #define FLD(f) abuf->fields.sfmt_cldbfu.f
2153 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2154 const IDESC * UNUSED idesc = abuf->idesc;
2155 int cycles = 0;
2157 int referenced = 0;
2158 int UNUSED insn_referenced = abuf->written;
2159 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2161 return cycles;
2162 #undef FLD
2165 static int
2166 model_frv_ldcu (SIM_CPU *current_cpu, void *sem_arg)
2168 #define FLD(f) abuf->fields.sfmt_ldcu.f
2169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2170 const IDESC * UNUSED idesc = abuf->idesc;
2171 int cycles = 0;
2173 int referenced = 0;
2174 int UNUSED insn_referenced = abuf->written;
2175 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2177 return cycles;
2178 #undef FLD
2181 static int
2182 model_frv_nldbfu (SIM_CPU *current_cpu, void *sem_arg)
2184 #define FLD(f) abuf->fields.sfmt_cldbfu.f
2185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2186 const IDESC * UNUSED idesc = abuf->idesc;
2187 int cycles = 0;
2189 int referenced = 0;
2190 int UNUSED insn_referenced = abuf->written;
2191 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2193 return cycles;
2194 #undef FLD
2197 static int
2198 model_frv_nldhfu (SIM_CPU *current_cpu, void *sem_arg)
2200 #define FLD(f) abuf->fields.sfmt_cldbfu.f
2201 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2202 const IDESC * UNUSED idesc = abuf->idesc;
2203 int cycles = 0;
2205 int referenced = 0;
2206 int UNUSED insn_referenced = abuf->written;
2207 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2209 return cycles;
2210 #undef FLD
2213 static int
2214 model_frv_nldfu (SIM_CPU *current_cpu, void *sem_arg)
2216 #define FLD(f) abuf->fields.sfmt_cldbfu.f
2217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2218 const IDESC * UNUSED idesc = abuf->idesc;
2219 int cycles = 0;
2221 int referenced = 0;
2222 int UNUSED insn_referenced = abuf->written;
2223 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2225 return cycles;
2226 #undef FLD
2229 static int
2230 model_frv_lddu (SIM_CPU *current_cpu, void *sem_arg)
2232 #define FLD(f) abuf->fields.sfmt_clddu.f
2233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2234 const IDESC * UNUSED idesc = abuf->idesc;
2235 int cycles = 0;
2237 int referenced = 0;
2238 int UNUSED insn_referenced = abuf->written;
2239 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2241 return cycles;
2242 #undef FLD
2245 static int
2246 model_frv_nlddu (SIM_CPU *current_cpu, void *sem_arg)
2248 #define FLD(f) abuf->fields.sfmt_clddu.f
2249 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2250 const IDESC * UNUSED idesc = abuf->idesc;
2251 int cycles = 0;
2253 int referenced = 0;
2254 int UNUSED insn_referenced = abuf->written;
2255 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2257 return cycles;
2258 #undef FLD
2261 static int
2262 model_frv_lddfu (SIM_CPU *current_cpu, void *sem_arg)
2264 #define FLD(f) abuf->fields.sfmt_clddfu.f
2265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2266 const IDESC * UNUSED idesc = abuf->idesc;
2267 int cycles = 0;
2269 int referenced = 0;
2270 int UNUSED insn_referenced = abuf->written;
2271 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2273 return cycles;
2274 #undef FLD
2277 static int
2278 model_frv_lddcu (SIM_CPU *current_cpu, void *sem_arg)
2280 #define FLD(f) abuf->fields.sfmt_lddcu.f
2281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2282 const IDESC * UNUSED idesc = abuf->idesc;
2283 int cycles = 0;
2285 int referenced = 0;
2286 int UNUSED insn_referenced = abuf->written;
2287 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2289 return cycles;
2290 #undef FLD
2293 static int
2294 model_frv_nlddfu (SIM_CPU *current_cpu, void *sem_arg)
2296 #define FLD(f) abuf->fields.sfmt_clddfu.f
2297 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2298 const IDESC * UNUSED idesc = abuf->idesc;
2299 int cycles = 0;
2301 int referenced = 0;
2302 int UNUSED insn_referenced = abuf->written;
2303 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2305 return cycles;
2306 #undef FLD
2309 static int
2310 model_frv_ldqu (SIM_CPU *current_cpu, void *sem_arg)
2312 #define FLD(f) abuf->fields.sfmt_cstdu.f
2313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2314 const IDESC * UNUSED idesc = abuf->idesc;
2315 int cycles = 0;
2317 int referenced = 0;
2318 int UNUSED insn_referenced = abuf->written;
2319 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2321 return cycles;
2322 #undef FLD
2325 static int
2326 model_frv_nldqu (SIM_CPU *current_cpu, void *sem_arg)
2328 #define FLD(f) abuf->fields.sfmt_cstdu.f
2329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2330 const IDESC * UNUSED idesc = abuf->idesc;
2331 int cycles = 0;
2333 int referenced = 0;
2334 int UNUSED insn_referenced = abuf->written;
2335 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2337 return cycles;
2338 #undef FLD
2341 static int
2342 model_frv_ldqfu (SIM_CPU *current_cpu, void *sem_arg)
2344 #define FLD(f) abuf->fields.sfmt_cstdfu.f
2345 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2346 const IDESC * UNUSED idesc = abuf->idesc;
2347 int cycles = 0;
2349 int referenced = 0;
2350 int UNUSED insn_referenced = abuf->written;
2351 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2353 return cycles;
2354 #undef FLD
2357 static int
2358 model_frv_ldqcu (SIM_CPU *current_cpu, void *sem_arg)
2360 #define FLD(f) abuf->fields.sfmt_stdcu.f
2361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2362 const IDESC * UNUSED idesc = abuf->idesc;
2363 int cycles = 0;
2365 int referenced = 0;
2366 int UNUSED insn_referenced = abuf->written;
2367 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2369 return cycles;
2370 #undef FLD
2373 static int
2374 model_frv_nldqfu (SIM_CPU *current_cpu, void *sem_arg)
2376 #define FLD(f) abuf->fields.sfmt_cstdfu.f
2377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2378 const IDESC * UNUSED idesc = abuf->idesc;
2379 int cycles = 0;
2381 int referenced = 0;
2382 int UNUSED insn_referenced = abuf->written;
2383 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2385 return cycles;
2386 #undef FLD
2389 static int
2390 model_frv_ldsbi (SIM_CPU *current_cpu, void *sem_arg)
2392 #define FLD(f) abuf->fields.sfmt_swapi.f
2393 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2394 const IDESC * UNUSED idesc = abuf->idesc;
2395 int cycles = 0;
2397 int referenced = 0;
2398 int UNUSED insn_referenced = abuf->written;
2399 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2401 return cycles;
2402 #undef FLD
2405 static int
2406 model_frv_ldshi (SIM_CPU *current_cpu, void *sem_arg)
2408 #define FLD(f) abuf->fields.sfmt_swapi.f
2409 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2410 const IDESC * UNUSED idesc = abuf->idesc;
2411 int cycles = 0;
2413 int referenced = 0;
2414 int UNUSED insn_referenced = abuf->written;
2415 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2417 return cycles;
2418 #undef FLD
2421 static int
2422 model_frv_ldi (SIM_CPU *current_cpu, void *sem_arg)
2424 #define FLD(f) abuf->fields.sfmt_swapi.f
2425 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2426 const IDESC * UNUSED idesc = abuf->idesc;
2427 int cycles = 0;
2429 int referenced = 0;
2430 int UNUSED insn_referenced = abuf->written;
2431 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2433 return cycles;
2434 #undef FLD
2437 static int
2438 model_frv_ldubi (SIM_CPU *current_cpu, void *sem_arg)
2440 #define FLD(f) abuf->fields.sfmt_swapi.f
2441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2442 const IDESC * UNUSED idesc = abuf->idesc;
2443 int cycles = 0;
2445 int referenced = 0;
2446 int UNUSED insn_referenced = abuf->written;
2447 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2449 return cycles;
2450 #undef FLD
2453 static int
2454 model_frv_lduhi (SIM_CPU *current_cpu, void *sem_arg)
2456 #define FLD(f) abuf->fields.sfmt_swapi.f
2457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2458 const IDESC * UNUSED idesc = abuf->idesc;
2459 int cycles = 0;
2461 int referenced = 0;
2462 int UNUSED insn_referenced = abuf->written;
2463 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2465 return cycles;
2466 #undef FLD
2469 static int
2470 model_frv_ldbfi (SIM_CPU *current_cpu, void *sem_arg)
2472 #define FLD(f) abuf->fields.sfmt_ldbfi.f
2473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2474 const IDESC * UNUSED idesc = abuf->idesc;
2475 int cycles = 0;
2477 int referenced = 0;
2478 int UNUSED insn_referenced = abuf->written;
2479 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2481 return cycles;
2482 #undef FLD
2485 static int
2486 model_frv_ldhfi (SIM_CPU *current_cpu, void *sem_arg)
2488 #define FLD(f) abuf->fields.sfmt_ldbfi.f
2489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2490 const IDESC * UNUSED idesc = abuf->idesc;
2491 int cycles = 0;
2493 int referenced = 0;
2494 int UNUSED insn_referenced = abuf->written;
2495 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2497 return cycles;
2498 #undef FLD
2501 static int
2502 model_frv_ldfi (SIM_CPU *current_cpu, void *sem_arg)
2504 #define FLD(f) abuf->fields.sfmt_ldbfi.f
2505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2506 const IDESC * UNUSED idesc = abuf->idesc;
2507 int cycles = 0;
2509 int referenced = 0;
2510 int UNUSED insn_referenced = abuf->written;
2511 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2513 return cycles;
2514 #undef FLD
2517 static int
2518 model_frv_nldsbi (SIM_CPU *current_cpu, void *sem_arg)
2520 #define FLD(f) abuf->fields.sfmt_swapi.f
2521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2522 const IDESC * UNUSED idesc = abuf->idesc;
2523 int cycles = 0;
2525 int referenced = 0;
2526 int UNUSED insn_referenced = abuf->written;
2527 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2529 return cycles;
2530 #undef FLD
2533 static int
2534 model_frv_nldubi (SIM_CPU *current_cpu, void *sem_arg)
2536 #define FLD(f) abuf->fields.sfmt_swapi.f
2537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2538 const IDESC * UNUSED idesc = abuf->idesc;
2539 int cycles = 0;
2541 int referenced = 0;
2542 int UNUSED insn_referenced = abuf->written;
2543 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2545 return cycles;
2546 #undef FLD
2549 static int
2550 model_frv_nldshi (SIM_CPU *current_cpu, void *sem_arg)
2552 #define FLD(f) abuf->fields.sfmt_swapi.f
2553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2554 const IDESC * UNUSED idesc = abuf->idesc;
2555 int cycles = 0;
2557 int referenced = 0;
2558 int UNUSED insn_referenced = abuf->written;
2559 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2561 return cycles;
2562 #undef FLD
2565 static int
2566 model_frv_nlduhi (SIM_CPU *current_cpu, void *sem_arg)
2568 #define FLD(f) abuf->fields.sfmt_swapi.f
2569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2570 const IDESC * UNUSED idesc = abuf->idesc;
2571 int cycles = 0;
2573 int referenced = 0;
2574 int UNUSED insn_referenced = abuf->written;
2575 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2577 return cycles;
2578 #undef FLD
2581 static int
2582 model_frv_nldi (SIM_CPU *current_cpu, void *sem_arg)
2584 #define FLD(f) abuf->fields.sfmt_swapi.f
2585 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2586 const IDESC * UNUSED idesc = abuf->idesc;
2587 int cycles = 0;
2589 int referenced = 0;
2590 int UNUSED insn_referenced = abuf->written;
2591 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2593 return cycles;
2594 #undef FLD
2597 static int
2598 model_frv_nldbfi (SIM_CPU *current_cpu, void *sem_arg)
2600 #define FLD(f) abuf->fields.sfmt_ldbfi.f
2601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2602 const IDESC * UNUSED idesc = abuf->idesc;
2603 int cycles = 0;
2605 int referenced = 0;
2606 int UNUSED insn_referenced = abuf->written;
2607 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2609 return cycles;
2610 #undef FLD
2613 static int
2614 model_frv_nldhfi (SIM_CPU *current_cpu, void *sem_arg)
2616 #define FLD(f) abuf->fields.sfmt_ldbfi.f
2617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2618 const IDESC * UNUSED idesc = abuf->idesc;
2619 int cycles = 0;
2621 int referenced = 0;
2622 int UNUSED insn_referenced = abuf->written;
2623 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2625 return cycles;
2626 #undef FLD
2629 static int
2630 model_frv_nldfi (SIM_CPU *current_cpu, void *sem_arg)
2632 #define FLD(f) abuf->fields.sfmt_ldbfi.f
2633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2634 const IDESC * UNUSED idesc = abuf->idesc;
2635 int cycles = 0;
2637 int referenced = 0;
2638 int UNUSED insn_referenced = abuf->written;
2639 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2641 return cycles;
2642 #undef FLD
2645 static int
2646 model_frv_lddi (SIM_CPU *current_cpu, void *sem_arg)
2648 #define FLD(f) abuf->fields.sfmt_smuli.f
2649 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2650 const IDESC * UNUSED idesc = abuf->idesc;
2651 int cycles = 0;
2653 int referenced = 0;
2654 int UNUSED insn_referenced = abuf->written;
2655 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2657 return cycles;
2658 #undef FLD
2661 static int
2662 model_frv_lddfi (SIM_CPU *current_cpu, void *sem_arg)
2664 #define FLD(f) abuf->fields.sfmt_lddfi.f
2665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2666 const IDESC * UNUSED idesc = abuf->idesc;
2667 int cycles = 0;
2669 int referenced = 0;
2670 int UNUSED insn_referenced = abuf->written;
2671 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2673 return cycles;
2674 #undef FLD
2677 static int
2678 model_frv_nlddi (SIM_CPU *current_cpu, void *sem_arg)
2680 #define FLD(f) abuf->fields.sfmt_smuli.f
2681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2682 const IDESC * UNUSED idesc = abuf->idesc;
2683 int cycles = 0;
2685 int referenced = 0;
2686 int UNUSED insn_referenced = abuf->written;
2687 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2689 return cycles;
2690 #undef FLD
2693 static int
2694 model_frv_nlddfi (SIM_CPU *current_cpu, void *sem_arg)
2696 #define FLD(f) abuf->fields.sfmt_lddfi.f
2697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2698 const IDESC * UNUSED idesc = abuf->idesc;
2699 int cycles = 0;
2701 int referenced = 0;
2702 int UNUSED insn_referenced = abuf->written;
2703 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2705 return cycles;
2706 #undef FLD
2709 static int
2710 model_frv_ldqi (SIM_CPU *current_cpu, void *sem_arg)
2712 #define FLD(f) abuf->fields.sfmt_stdi.f
2713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2714 const IDESC * UNUSED idesc = abuf->idesc;
2715 int cycles = 0;
2717 int referenced = 0;
2718 int UNUSED insn_referenced = abuf->written;
2719 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2721 return cycles;
2722 #undef FLD
2725 static int
2726 model_frv_ldqfi (SIM_CPU *current_cpu, void *sem_arg)
2728 #define FLD(f) abuf->fields.sfmt_stdfi.f
2729 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2730 const IDESC * UNUSED idesc = abuf->idesc;
2731 int cycles = 0;
2733 int referenced = 0;
2734 int UNUSED insn_referenced = abuf->written;
2735 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2737 return cycles;
2738 #undef FLD
2741 static int
2742 model_frv_nldqfi (SIM_CPU *current_cpu, void *sem_arg)
2744 #define FLD(f) abuf->fields.sfmt_stdfi.f
2745 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2746 const IDESC * UNUSED idesc = abuf->idesc;
2747 int cycles = 0;
2749 int referenced = 0;
2750 int UNUSED insn_referenced = abuf->written;
2751 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2753 return cycles;
2754 #undef FLD
2757 static int
2758 model_frv_stb (SIM_CPU *current_cpu, void *sem_arg)
2760 #define FLD(f) abuf->fields.sfmt_cswap.f
2761 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2762 const IDESC * UNUSED idesc = abuf->idesc;
2763 int cycles = 0;
2765 int referenced = 0;
2766 int UNUSED insn_referenced = abuf->written;
2767 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2769 return cycles;
2770 #undef FLD
2773 static int
2774 model_frv_sth (SIM_CPU *current_cpu, void *sem_arg)
2776 #define FLD(f) abuf->fields.sfmt_cswap.f
2777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2778 const IDESC * UNUSED idesc = abuf->idesc;
2779 int cycles = 0;
2781 int referenced = 0;
2782 int UNUSED insn_referenced = abuf->written;
2783 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2785 return cycles;
2786 #undef FLD
2789 static int
2790 model_frv_st (SIM_CPU *current_cpu, void *sem_arg)
2792 #define FLD(f) abuf->fields.sfmt_cswap.f
2793 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2794 const IDESC * UNUSED idesc = abuf->idesc;
2795 int cycles = 0;
2797 int referenced = 0;
2798 int UNUSED insn_referenced = abuf->written;
2799 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2801 return cycles;
2802 #undef FLD
2805 static int
2806 model_frv_stbf (SIM_CPU *current_cpu, void *sem_arg)
2808 #define FLD(f) abuf->fields.sfmt_cstbfu.f
2809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2810 const IDESC * UNUSED idesc = abuf->idesc;
2811 int cycles = 0;
2813 int referenced = 0;
2814 int UNUSED insn_referenced = abuf->written;
2815 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2817 return cycles;
2818 #undef FLD
2821 static int
2822 model_frv_sthf (SIM_CPU *current_cpu, void *sem_arg)
2824 #define FLD(f) abuf->fields.sfmt_cstbfu.f
2825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2826 const IDESC * UNUSED idesc = abuf->idesc;
2827 int cycles = 0;
2829 int referenced = 0;
2830 int UNUSED insn_referenced = abuf->written;
2831 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2833 return cycles;
2834 #undef FLD
2837 static int
2838 model_frv_stf (SIM_CPU *current_cpu, void *sem_arg)
2840 #define FLD(f) abuf->fields.sfmt_cstbfu.f
2841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2842 const IDESC * UNUSED idesc = abuf->idesc;
2843 int cycles = 0;
2845 int referenced = 0;
2846 int UNUSED insn_referenced = abuf->written;
2847 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2849 return cycles;
2850 #undef FLD
2853 static int
2854 model_frv_stc (SIM_CPU *current_cpu, void *sem_arg)
2856 #define FLD(f) abuf->fields.sfmt_stcu.f
2857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2858 const IDESC * UNUSED idesc = abuf->idesc;
2859 int cycles = 0;
2861 int referenced = 0;
2862 int UNUSED insn_referenced = abuf->written;
2863 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2865 return cycles;
2866 #undef FLD
2869 static int
2870 model_frv_std (SIM_CPU *current_cpu, void *sem_arg)
2872 #define FLD(f) abuf->fields.sfmt_cstdu.f
2873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2874 const IDESC * UNUSED idesc = abuf->idesc;
2875 int cycles = 0;
2877 int referenced = 0;
2878 int UNUSED insn_referenced = abuf->written;
2879 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2881 return cycles;
2882 #undef FLD
2885 static int
2886 model_frv_stdf (SIM_CPU *current_cpu, void *sem_arg)
2888 #define FLD(f) abuf->fields.sfmt_cstdfu.f
2889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2890 const IDESC * UNUSED idesc = abuf->idesc;
2891 int cycles = 0;
2893 int referenced = 0;
2894 int UNUSED insn_referenced = abuf->written;
2895 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2897 return cycles;
2898 #undef FLD
2901 static int
2902 model_frv_stdc (SIM_CPU *current_cpu, void *sem_arg)
2904 #define FLD(f) abuf->fields.sfmt_stdcu.f
2905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2906 const IDESC * UNUSED idesc = abuf->idesc;
2907 int cycles = 0;
2909 int referenced = 0;
2910 int UNUSED insn_referenced = abuf->written;
2911 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2913 return cycles;
2914 #undef FLD
2917 static int
2918 model_frv_stq (SIM_CPU *current_cpu, void *sem_arg)
2920 #define FLD(f) abuf->fields.sfmt_smulcc.f
2921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2922 const IDESC * UNUSED idesc = abuf->idesc;
2923 int cycles = 0;
2925 int referenced = 0;
2926 int UNUSED insn_referenced = abuf->written;
2927 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2929 return cycles;
2930 #undef FLD
2933 static int
2934 model_frv_stqf (SIM_CPU *current_cpu, void *sem_arg)
2936 #define FLD(f) abuf->fields.sfmt_cstdfu.f
2937 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2938 const IDESC * UNUSED idesc = abuf->idesc;
2939 int cycles = 0;
2941 int referenced = 0;
2942 int UNUSED insn_referenced = abuf->written;
2943 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2945 return cycles;
2946 #undef FLD
2949 static int
2950 model_frv_stqc (SIM_CPU *current_cpu, void *sem_arg)
2952 #define FLD(f) abuf->fields.sfmt_stdcu.f
2953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2954 const IDESC * UNUSED idesc = abuf->idesc;
2955 int cycles = 0;
2957 int referenced = 0;
2958 int UNUSED insn_referenced = abuf->written;
2959 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2961 return cycles;
2962 #undef FLD
2965 static int
2966 model_frv_stbu (SIM_CPU *current_cpu, void *sem_arg)
2968 #define FLD(f) abuf->fields.sfmt_cstbu.f
2969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2970 const IDESC * UNUSED idesc = abuf->idesc;
2971 int cycles = 0;
2973 int referenced = 0;
2974 int UNUSED insn_referenced = abuf->written;
2975 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2977 return cycles;
2978 #undef FLD
2981 static int
2982 model_frv_sthu (SIM_CPU *current_cpu, void *sem_arg)
2984 #define FLD(f) abuf->fields.sfmt_cstbu.f
2985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
2986 const IDESC * UNUSED idesc = abuf->idesc;
2987 int cycles = 0;
2989 int referenced = 0;
2990 int UNUSED insn_referenced = abuf->written;
2991 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
2993 return cycles;
2994 #undef FLD
2997 static int
2998 model_frv_stu (SIM_CPU *current_cpu, void *sem_arg)
3000 #define FLD(f) abuf->fields.sfmt_cstbu.f
3001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3002 const IDESC * UNUSED idesc = abuf->idesc;
3003 int cycles = 0;
3005 int referenced = 0;
3006 int UNUSED insn_referenced = abuf->written;
3007 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3009 return cycles;
3010 #undef FLD
3013 static int
3014 model_frv_stbfu (SIM_CPU *current_cpu, void *sem_arg)
3016 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3018 const IDESC * UNUSED idesc = abuf->idesc;
3019 int cycles = 0;
3021 int referenced = 0;
3022 int UNUSED insn_referenced = abuf->written;
3023 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3025 return cycles;
3026 #undef FLD
3029 static int
3030 model_frv_sthfu (SIM_CPU *current_cpu, void *sem_arg)
3032 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3034 const IDESC * UNUSED idesc = abuf->idesc;
3035 int cycles = 0;
3037 int referenced = 0;
3038 int UNUSED insn_referenced = abuf->written;
3039 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3041 return cycles;
3042 #undef FLD
3045 static int
3046 model_frv_stfu (SIM_CPU *current_cpu, void *sem_arg)
3048 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3050 const IDESC * UNUSED idesc = abuf->idesc;
3051 int cycles = 0;
3053 int referenced = 0;
3054 int UNUSED insn_referenced = abuf->written;
3055 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3057 return cycles;
3058 #undef FLD
3061 static int
3062 model_frv_stcu (SIM_CPU *current_cpu, void *sem_arg)
3064 #define FLD(f) abuf->fields.sfmt_stcu.f
3065 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3066 const IDESC * UNUSED idesc = abuf->idesc;
3067 int cycles = 0;
3069 int referenced = 0;
3070 int UNUSED insn_referenced = abuf->written;
3071 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3073 return cycles;
3074 #undef FLD
3077 static int
3078 model_frv_stdu (SIM_CPU *current_cpu, void *sem_arg)
3080 #define FLD(f) abuf->fields.sfmt_cstdu.f
3081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3082 const IDESC * UNUSED idesc = abuf->idesc;
3083 int cycles = 0;
3085 int referenced = 0;
3086 int UNUSED insn_referenced = abuf->written;
3087 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3089 return cycles;
3090 #undef FLD
3093 static int
3094 model_frv_stdfu (SIM_CPU *current_cpu, void *sem_arg)
3096 #define FLD(f) abuf->fields.sfmt_cstdfu.f
3097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3098 const IDESC * UNUSED idesc = abuf->idesc;
3099 int cycles = 0;
3101 int referenced = 0;
3102 int UNUSED insn_referenced = abuf->written;
3103 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3105 return cycles;
3106 #undef FLD
3109 static int
3110 model_frv_stdcu (SIM_CPU *current_cpu, void *sem_arg)
3112 #define FLD(f) abuf->fields.sfmt_stdcu.f
3113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3114 const IDESC * UNUSED idesc = abuf->idesc;
3115 int cycles = 0;
3117 int referenced = 0;
3118 int UNUSED insn_referenced = abuf->written;
3119 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3121 return cycles;
3122 #undef FLD
3125 static int
3126 model_frv_stqu (SIM_CPU *current_cpu, void *sem_arg)
3128 #define FLD(f) abuf->fields.sfmt_cstdu.f
3129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3130 const IDESC * UNUSED idesc = abuf->idesc;
3131 int cycles = 0;
3133 int referenced = 0;
3134 int UNUSED insn_referenced = abuf->written;
3135 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3137 return cycles;
3138 #undef FLD
3141 static int
3142 model_frv_stqfu (SIM_CPU *current_cpu, void *sem_arg)
3144 #define FLD(f) abuf->fields.sfmt_cstdfu.f
3145 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3146 const IDESC * UNUSED idesc = abuf->idesc;
3147 int cycles = 0;
3149 int referenced = 0;
3150 int UNUSED insn_referenced = abuf->written;
3151 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3153 return cycles;
3154 #undef FLD
3157 static int
3158 model_frv_stqcu (SIM_CPU *current_cpu, void *sem_arg)
3160 #define FLD(f) abuf->fields.sfmt_stdcu.f
3161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3162 const IDESC * UNUSED idesc = abuf->idesc;
3163 int cycles = 0;
3165 int referenced = 0;
3166 int UNUSED insn_referenced = abuf->written;
3167 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3169 return cycles;
3170 #undef FLD
3173 static int
3174 model_frv_cldsb (SIM_CPU *current_cpu, void *sem_arg)
3176 #define FLD(f) abuf->fields.sfmt_cswap.f
3177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3178 const IDESC * UNUSED idesc = abuf->idesc;
3179 int cycles = 0;
3181 int referenced = 0;
3182 int UNUSED insn_referenced = abuf->written;
3183 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3185 return cycles;
3186 #undef FLD
3189 static int
3190 model_frv_cldub (SIM_CPU *current_cpu, void *sem_arg)
3192 #define FLD(f) abuf->fields.sfmt_cswap.f
3193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3194 const IDESC * UNUSED idesc = abuf->idesc;
3195 int cycles = 0;
3197 int referenced = 0;
3198 int UNUSED insn_referenced = abuf->written;
3199 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3201 return cycles;
3202 #undef FLD
3205 static int
3206 model_frv_cldsh (SIM_CPU *current_cpu, void *sem_arg)
3208 #define FLD(f) abuf->fields.sfmt_cswap.f
3209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3210 const IDESC * UNUSED idesc = abuf->idesc;
3211 int cycles = 0;
3213 int referenced = 0;
3214 int UNUSED insn_referenced = abuf->written;
3215 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3217 return cycles;
3218 #undef FLD
3221 static int
3222 model_frv_clduh (SIM_CPU *current_cpu, void *sem_arg)
3224 #define FLD(f) abuf->fields.sfmt_cswap.f
3225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3226 const IDESC * UNUSED idesc = abuf->idesc;
3227 int cycles = 0;
3229 int referenced = 0;
3230 int UNUSED insn_referenced = abuf->written;
3231 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3233 return cycles;
3234 #undef FLD
3237 static int
3238 model_frv_cld (SIM_CPU *current_cpu, void *sem_arg)
3240 #define FLD(f) abuf->fields.sfmt_cswap.f
3241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3242 const IDESC * UNUSED idesc = abuf->idesc;
3243 int cycles = 0;
3245 int referenced = 0;
3246 int UNUSED insn_referenced = abuf->written;
3247 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3249 return cycles;
3250 #undef FLD
3253 static int
3254 model_frv_cldbf (SIM_CPU *current_cpu, void *sem_arg)
3256 #define FLD(f) abuf->fields.sfmt_cldbfu.f
3257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3258 const IDESC * UNUSED idesc = abuf->idesc;
3259 int cycles = 0;
3261 int referenced = 0;
3262 int UNUSED insn_referenced = abuf->written;
3263 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3265 return cycles;
3266 #undef FLD
3269 static int
3270 model_frv_cldhf (SIM_CPU *current_cpu, void *sem_arg)
3272 #define FLD(f) abuf->fields.sfmt_cldbfu.f
3273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3274 const IDESC * UNUSED idesc = abuf->idesc;
3275 int cycles = 0;
3277 int referenced = 0;
3278 int UNUSED insn_referenced = abuf->written;
3279 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3281 return cycles;
3282 #undef FLD
3285 static int
3286 model_frv_cldf (SIM_CPU *current_cpu, void *sem_arg)
3288 #define FLD(f) abuf->fields.sfmt_cldbfu.f
3289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3290 const IDESC * UNUSED idesc = abuf->idesc;
3291 int cycles = 0;
3293 int referenced = 0;
3294 int UNUSED insn_referenced = abuf->written;
3295 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3297 return cycles;
3298 #undef FLD
3301 static int
3302 model_frv_cldd (SIM_CPU *current_cpu, void *sem_arg)
3304 #define FLD(f) abuf->fields.sfmt_clddu.f
3305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3306 const IDESC * UNUSED idesc = abuf->idesc;
3307 int cycles = 0;
3309 int referenced = 0;
3310 int UNUSED insn_referenced = abuf->written;
3311 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3313 return cycles;
3314 #undef FLD
3317 static int
3318 model_frv_clddf (SIM_CPU *current_cpu, void *sem_arg)
3320 #define FLD(f) abuf->fields.sfmt_clddfu.f
3321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3322 const IDESC * UNUSED idesc = abuf->idesc;
3323 int cycles = 0;
3325 int referenced = 0;
3326 int UNUSED insn_referenced = abuf->written;
3327 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3329 return cycles;
3330 #undef FLD
3333 static int
3334 model_frv_cldq (SIM_CPU *current_cpu, void *sem_arg)
3336 #define FLD(f) abuf->fields.sfmt_cswap.f
3337 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3338 const IDESC * UNUSED idesc = abuf->idesc;
3339 int cycles = 0;
3341 int referenced = 0;
3342 int UNUSED insn_referenced = abuf->written;
3343 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3345 return cycles;
3346 #undef FLD
3349 static int
3350 model_frv_cldsbu (SIM_CPU *current_cpu, void *sem_arg)
3352 #define FLD(f) abuf->fields.sfmt_cldsbu.f
3353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3354 const IDESC * UNUSED idesc = abuf->idesc;
3355 int cycles = 0;
3357 int referenced = 0;
3358 int UNUSED insn_referenced = abuf->written;
3359 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3361 return cycles;
3362 #undef FLD
3365 static int
3366 model_frv_cldubu (SIM_CPU *current_cpu, void *sem_arg)
3368 #define FLD(f) abuf->fields.sfmt_cldsbu.f
3369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3370 const IDESC * UNUSED idesc = abuf->idesc;
3371 int cycles = 0;
3373 int referenced = 0;
3374 int UNUSED insn_referenced = abuf->written;
3375 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3377 return cycles;
3378 #undef FLD
3381 static int
3382 model_frv_cldshu (SIM_CPU *current_cpu, void *sem_arg)
3384 #define FLD(f) abuf->fields.sfmt_cldsbu.f
3385 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3386 const IDESC * UNUSED idesc = abuf->idesc;
3387 int cycles = 0;
3389 int referenced = 0;
3390 int UNUSED insn_referenced = abuf->written;
3391 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3393 return cycles;
3394 #undef FLD
3397 static int
3398 model_frv_clduhu (SIM_CPU *current_cpu, void *sem_arg)
3400 #define FLD(f) abuf->fields.sfmt_cldsbu.f
3401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3402 const IDESC * UNUSED idesc = abuf->idesc;
3403 int cycles = 0;
3405 int referenced = 0;
3406 int UNUSED insn_referenced = abuf->written;
3407 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3409 return cycles;
3410 #undef FLD
3413 static int
3414 model_frv_cldu (SIM_CPU *current_cpu, void *sem_arg)
3416 #define FLD(f) abuf->fields.sfmt_cldsbu.f
3417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3418 const IDESC * UNUSED idesc = abuf->idesc;
3419 int cycles = 0;
3421 int referenced = 0;
3422 int UNUSED insn_referenced = abuf->written;
3423 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3425 return cycles;
3426 #undef FLD
3429 static int
3430 model_frv_cldbfu (SIM_CPU *current_cpu, void *sem_arg)
3432 #define FLD(f) abuf->fields.sfmt_cldbfu.f
3433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3434 const IDESC * UNUSED idesc = abuf->idesc;
3435 int cycles = 0;
3437 int referenced = 0;
3438 int UNUSED insn_referenced = abuf->written;
3439 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3441 return cycles;
3442 #undef FLD
3445 static int
3446 model_frv_cldhfu (SIM_CPU *current_cpu, void *sem_arg)
3448 #define FLD(f) abuf->fields.sfmt_cldbfu.f
3449 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3450 const IDESC * UNUSED idesc = abuf->idesc;
3451 int cycles = 0;
3453 int referenced = 0;
3454 int UNUSED insn_referenced = abuf->written;
3455 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3457 return cycles;
3458 #undef FLD
3461 static int
3462 model_frv_cldfu (SIM_CPU *current_cpu, void *sem_arg)
3464 #define FLD(f) abuf->fields.sfmt_cldbfu.f
3465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3466 const IDESC * UNUSED idesc = abuf->idesc;
3467 int cycles = 0;
3469 int referenced = 0;
3470 int UNUSED insn_referenced = abuf->written;
3471 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3473 return cycles;
3474 #undef FLD
3477 static int
3478 model_frv_clddu (SIM_CPU *current_cpu, void *sem_arg)
3480 #define FLD(f) abuf->fields.sfmt_clddu.f
3481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3482 const IDESC * UNUSED idesc = abuf->idesc;
3483 int cycles = 0;
3485 int referenced = 0;
3486 int UNUSED insn_referenced = abuf->written;
3487 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3489 return cycles;
3490 #undef FLD
3493 static int
3494 model_frv_clddfu (SIM_CPU *current_cpu, void *sem_arg)
3496 #define FLD(f) abuf->fields.sfmt_clddfu.f
3497 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3498 const IDESC * UNUSED idesc = abuf->idesc;
3499 int cycles = 0;
3501 int referenced = 0;
3502 int UNUSED insn_referenced = abuf->written;
3503 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3505 return cycles;
3506 #undef FLD
3509 static int
3510 model_frv_cldqu (SIM_CPU *current_cpu, void *sem_arg)
3512 #define FLD(f) abuf->fields.sfmt_cstdu.f
3513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3514 const IDESC * UNUSED idesc = abuf->idesc;
3515 int cycles = 0;
3517 int referenced = 0;
3518 int UNUSED insn_referenced = abuf->written;
3519 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3521 return cycles;
3522 #undef FLD
3525 static int
3526 model_frv_cstb (SIM_CPU *current_cpu, void *sem_arg)
3528 #define FLD(f) abuf->fields.sfmt_cswap.f
3529 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3530 const IDESC * UNUSED idesc = abuf->idesc;
3531 int cycles = 0;
3533 int referenced = 0;
3534 int UNUSED insn_referenced = abuf->written;
3535 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3537 return cycles;
3538 #undef FLD
3541 static int
3542 model_frv_csth (SIM_CPU *current_cpu, void *sem_arg)
3544 #define FLD(f) abuf->fields.sfmt_cswap.f
3545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3546 const IDESC * UNUSED idesc = abuf->idesc;
3547 int cycles = 0;
3549 int referenced = 0;
3550 int UNUSED insn_referenced = abuf->written;
3551 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3553 return cycles;
3554 #undef FLD
3557 static int
3558 model_frv_cst (SIM_CPU *current_cpu, void *sem_arg)
3560 #define FLD(f) abuf->fields.sfmt_cswap.f
3561 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3562 const IDESC * UNUSED idesc = abuf->idesc;
3563 int cycles = 0;
3565 int referenced = 0;
3566 int UNUSED insn_referenced = abuf->written;
3567 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3569 return cycles;
3570 #undef FLD
3573 static int
3574 model_frv_cstbf (SIM_CPU *current_cpu, void *sem_arg)
3576 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3578 const IDESC * UNUSED idesc = abuf->idesc;
3579 int cycles = 0;
3581 int referenced = 0;
3582 int UNUSED insn_referenced = abuf->written;
3583 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3585 return cycles;
3586 #undef FLD
3589 static int
3590 model_frv_csthf (SIM_CPU *current_cpu, void *sem_arg)
3592 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3594 const IDESC * UNUSED idesc = abuf->idesc;
3595 int cycles = 0;
3597 int referenced = 0;
3598 int UNUSED insn_referenced = abuf->written;
3599 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3601 return cycles;
3602 #undef FLD
3605 static int
3606 model_frv_cstf (SIM_CPU *current_cpu, void *sem_arg)
3608 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3610 const IDESC * UNUSED idesc = abuf->idesc;
3611 int cycles = 0;
3613 int referenced = 0;
3614 int UNUSED insn_referenced = abuf->written;
3615 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3617 return cycles;
3618 #undef FLD
3621 static int
3622 model_frv_cstd (SIM_CPU *current_cpu, void *sem_arg)
3624 #define FLD(f) abuf->fields.sfmt_cstdu.f
3625 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3626 const IDESC * UNUSED idesc = abuf->idesc;
3627 int cycles = 0;
3629 int referenced = 0;
3630 int UNUSED insn_referenced = abuf->written;
3631 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3633 return cycles;
3634 #undef FLD
3637 static int
3638 model_frv_cstdf (SIM_CPU *current_cpu, void *sem_arg)
3640 #define FLD(f) abuf->fields.sfmt_cstdfu.f
3641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3642 const IDESC * UNUSED idesc = abuf->idesc;
3643 int cycles = 0;
3645 int referenced = 0;
3646 int UNUSED insn_referenced = abuf->written;
3647 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3649 return cycles;
3650 #undef FLD
3653 static int
3654 model_frv_cstq (SIM_CPU *current_cpu, void *sem_arg)
3656 #define FLD(f) abuf->fields.sfmt_cswap.f
3657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3658 const IDESC * UNUSED idesc = abuf->idesc;
3659 int cycles = 0;
3661 int referenced = 0;
3662 int UNUSED insn_referenced = abuf->written;
3663 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3665 return cycles;
3666 #undef FLD
3669 static int
3670 model_frv_cstbu (SIM_CPU *current_cpu, void *sem_arg)
3672 #define FLD(f) abuf->fields.sfmt_cstbu.f
3673 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3674 const IDESC * UNUSED idesc = abuf->idesc;
3675 int cycles = 0;
3677 int referenced = 0;
3678 int UNUSED insn_referenced = abuf->written;
3679 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3681 return cycles;
3682 #undef FLD
3685 static int
3686 model_frv_csthu (SIM_CPU *current_cpu, void *sem_arg)
3688 #define FLD(f) abuf->fields.sfmt_cstbu.f
3689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3690 const IDESC * UNUSED idesc = abuf->idesc;
3691 int cycles = 0;
3693 int referenced = 0;
3694 int UNUSED insn_referenced = abuf->written;
3695 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3697 return cycles;
3698 #undef FLD
3701 static int
3702 model_frv_cstu (SIM_CPU *current_cpu, void *sem_arg)
3704 #define FLD(f) abuf->fields.sfmt_cstbu.f
3705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3706 const IDESC * UNUSED idesc = abuf->idesc;
3707 int cycles = 0;
3709 int referenced = 0;
3710 int UNUSED insn_referenced = abuf->written;
3711 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3713 return cycles;
3714 #undef FLD
3717 static int
3718 model_frv_cstbfu (SIM_CPU *current_cpu, void *sem_arg)
3720 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3722 const IDESC * UNUSED idesc = abuf->idesc;
3723 int cycles = 0;
3725 int referenced = 0;
3726 int UNUSED insn_referenced = abuf->written;
3727 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3729 return cycles;
3730 #undef FLD
3733 static int
3734 model_frv_csthfu (SIM_CPU *current_cpu, void *sem_arg)
3736 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3738 const IDESC * UNUSED idesc = abuf->idesc;
3739 int cycles = 0;
3741 int referenced = 0;
3742 int UNUSED insn_referenced = abuf->written;
3743 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3745 return cycles;
3746 #undef FLD
3749 static int
3750 model_frv_cstfu (SIM_CPU *current_cpu, void *sem_arg)
3752 #define FLD(f) abuf->fields.sfmt_cstbfu.f
3753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3754 const IDESC * UNUSED idesc = abuf->idesc;
3755 int cycles = 0;
3757 int referenced = 0;
3758 int UNUSED insn_referenced = abuf->written;
3759 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3761 return cycles;
3762 #undef FLD
3765 static int
3766 model_frv_cstdu (SIM_CPU *current_cpu, void *sem_arg)
3768 #define FLD(f) abuf->fields.sfmt_cstdu.f
3769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3770 const IDESC * UNUSED idesc = abuf->idesc;
3771 int cycles = 0;
3773 int referenced = 0;
3774 int UNUSED insn_referenced = abuf->written;
3775 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3777 return cycles;
3778 #undef FLD
3781 static int
3782 model_frv_cstdfu (SIM_CPU *current_cpu, void *sem_arg)
3784 #define FLD(f) abuf->fields.sfmt_cstdfu.f
3785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3786 const IDESC * UNUSED idesc = abuf->idesc;
3787 int cycles = 0;
3789 int referenced = 0;
3790 int UNUSED insn_referenced = abuf->written;
3791 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3793 return cycles;
3794 #undef FLD
3797 static int
3798 model_frv_stbi (SIM_CPU *current_cpu, void *sem_arg)
3800 #define FLD(f) abuf->fields.sfmt_swapi.f
3801 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3802 const IDESC * UNUSED idesc = abuf->idesc;
3803 int cycles = 0;
3805 int referenced = 0;
3806 int UNUSED insn_referenced = abuf->written;
3807 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3809 return cycles;
3810 #undef FLD
3813 static int
3814 model_frv_sthi (SIM_CPU *current_cpu, void *sem_arg)
3816 #define FLD(f) abuf->fields.sfmt_swapi.f
3817 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3818 const IDESC * UNUSED idesc = abuf->idesc;
3819 int cycles = 0;
3821 int referenced = 0;
3822 int UNUSED insn_referenced = abuf->written;
3823 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3825 return cycles;
3826 #undef FLD
3829 static int
3830 model_frv_sti (SIM_CPU *current_cpu, void *sem_arg)
3832 #define FLD(f) abuf->fields.sfmt_swapi.f
3833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3834 const IDESC * UNUSED idesc = abuf->idesc;
3835 int cycles = 0;
3837 int referenced = 0;
3838 int UNUSED insn_referenced = abuf->written;
3839 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3841 return cycles;
3842 #undef FLD
3845 static int
3846 model_frv_stbfi (SIM_CPU *current_cpu, void *sem_arg)
3848 #define FLD(f) abuf->fields.sfmt_stbfi.f
3849 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3850 const IDESC * UNUSED idesc = abuf->idesc;
3851 int cycles = 0;
3853 int referenced = 0;
3854 int UNUSED insn_referenced = abuf->written;
3855 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3857 return cycles;
3858 #undef FLD
3861 static int
3862 model_frv_sthfi (SIM_CPU *current_cpu, void *sem_arg)
3864 #define FLD(f) abuf->fields.sfmt_stbfi.f
3865 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3866 const IDESC * UNUSED idesc = abuf->idesc;
3867 int cycles = 0;
3869 int referenced = 0;
3870 int UNUSED insn_referenced = abuf->written;
3871 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3873 return cycles;
3874 #undef FLD
3877 static int
3878 model_frv_stfi (SIM_CPU *current_cpu, void *sem_arg)
3880 #define FLD(f) abuf->fields.sfmt_stbfi.f
3881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3882 const IDESC * UNUSED idesc = abuf->idesc;
3883 int cycles = 0;
3885 int referenced = 0;
3886 int UNUSED insn_referenced = abuf->written;
3887 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3889 return cycles;
3890 #undef FLD
3893 static int
3894 model_frv_stdi (SIM_CPU *current_cpu, void *sem_arg)
3896 #define FLD(f) abuf->fields.sfmt_stdi.f
3897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3898 const IDESC * UNUSED idesc = abuf->idesc;
3899 int cycles = 0;
3901 int referenced = 0;
3902 int UNUSED insn_referenced = abuf->written;
3903 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3905 return cycles;
3906 #undef FLD
3909 static int
3910 model_frv_stdfi (SIM_CPU *current_cpu, void *sem_arg)
3912 #define FLD(f) abuf->fields.sfmt_stdfi.f
3913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3914 const IDESC * UNUSED idesc = abuf->idesc;
3915 int cycles = 0;
3917 int referenced = 0;
3918 int UNUSED insn_referenced = abuf->written;
3919 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3921 return cycles;
3922 #undef FLD
3925 static int
3926 model_frv_stqi (SIM_CPU *current_cpu, void *sem_arg)
3928 #define FLD(f) abuf->fields.sfmt_stdi.f
3929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3930 const IDESC * UNUSED idesc = abuf->idesc;
3931 int cycles = 0;
3933 int referenced = 0;
3934 int UNUSED insn_referenced = abuf->written;
3935 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3937 return cycles;
3938 #undef FLD
3941 static int
3942 model_frv_stqfi (SIM_CPU *current_cpu, void *sem_arg)
3944 #define FLD(f) abuf->fields.sfmt_stdfi.f
3945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3946 const IDESC * UNUSED idesc = abuf->idesc;
3947 int cycles = 0;
3949 int referenced = 0;
3950 int UNUSED insn_referenced = abuf->written;
3951 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3953 return cycles;
3954 #undef FLD
3957 static int
3958 model_frv_swap (SIM_CPU *current_cpu, void *sem_arg)
3960 #define FLD(f) abuf->fields.sfmt_cswap.f
3961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3962 const IDESC * UNUSED idesc = abuf->idesc;
3963 int cycles = 0;
3965 int referenced = 0;
3966 int UNUSED insn_referenced = abuf->written;
3967 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3969 return cycles;
3970 #undef FLD
3973 static int
3974 model_frv_swapi (SIM_CPU *current_cpu, void *sem_arg)
3976 #define FLD(f) abuf->fields.sfmt_swapi.f
3977 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3978 const IDESC * UNUSED idesc = abuf->idesc;
3979 int cycles = 0;
3981 int referenced = 0;
3982 int UNUSED insn_referenced = abuf->written;
3983 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
3985 return cycles;
3986 #undef FLD
3989 static int
3990 model_frv_cswap (SIM_CPU *current_cpu, void *sem_arg)
3992 #define FLD(f) abuf->fields.sfmt_cswap.f
3993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
3994 const IDESC * UNUSED idesc = abuf->idesc;
3995 int cycles = 0;
3997 int referenced = 0;
3998 int UNUSED insn_referenced = abuf->written;
3999 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4001 return cycles;
4002 #undef FLD
4005 static int
4006 model_frv_movgf (SIM_CPU *current_cpu, void *sem_arg)
4008 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
4009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4010 const IDESC * UNUSED idesc = abuf->idesc;
4011 int cycles = 0;
4013 int referenced = 0;
4014 int UNUSED insn_referenced = abuf->written;
4015 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4017 return cycles;
4018 #undef FLD
4021 static int
4022 model_frv_movfg (SIM_CPU *current_cpu, void *sem_arg)
4024 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
4025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4026 const IDESC * UNUSED idesc = abuf->idesc;
4027 int cycles = 0;
4029 int referenced = 0;
4030 int UNUSED insn_referenced = abuf->written;
4031 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4033 return cycles;
4034 #undef FLD
4037 static int
4038 model_frv_movgfd (SIM_CPU *current_cpu, void *sem_arg)
4040 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
4041 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4042 const IDESC * UNUSED idesc = abuf->idesc;
4043 int cycles = 0;
4045 int referenced = 0;
4046 int UNUSED insn_referenced = abuf->written;
4047 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4049 return cycles;
4050 #undef FLD
4053 static int
4054 model_frv_movfgd (SIM_CPU *current_cpu, void *sem_arg)
4056 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
4057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4058 const IDESC * UNUSED idesc = abuf->idesc;
4059 int cycles = 0;
4061 int referenced = 0;
4062 int UNUSED insn_referenced = abuf->written;
4063 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4065 return cycles;
4066 #undef FLD
4069 static int
4070 model_frv_movgfq (SIM_CPU *current_cpu, void *sem_arg)
4072 #define FLD(f) abuf->fields.sfmt_movgfq.f
4073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4074 const IDESC * UNUSED idesc = abuf->idesc;
4075 int cycles = 0;
4077 int referenced = 0;
4078 int UNUSED insn_referenced = abuf->written;
4079 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4081 return cycles;
4082 #undef FLD
4085 static int
4086 model_frv_movfgq (SIM_CPU *current_cpu, void *sem_arg)
4088 #define FLD(f) abuf->fields.sfmt_movfgq.f
4089 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4090 const IDESC * UNUSED idesc = abuf->idesc;
4091 int cycles = 0;
4093 int referenced = 0;
4094 int UNUSED insn_referenced = abuf->written;
4095 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4097 return cycles;
4098 #undef FLD
4101 static int
4102 model_frv_cmovgf (SIM_CPU *current_cpu, void *sem_arg)
4104 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
4105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4106 const IDESC * UNUSED idesc = abuf->idesc;
4107 int cycles = 0;
4109 int referenced = 0;
4110 int UNUSED insn_referenced = abuf->written;
4111 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4113 return cycles;
4114 #undef FLD
4117 static int
4118 model_frv_cmovfg (SIM_CPU *current_cpu, void *sem_arg)
4120 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
4121 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4122 const IDESC * UNUSED idesc = abuf->idesc;
4123 int cycles = 0;
4125 int referenced = 0;
4126 int UNUSED insn_referenced = abuf->written;
4127 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4129 return cycles;
4130 #undef FLD
4133 static int
4134 model_frv_cmovgfd (SIM_CPU *current_cpu, void *sem_arg)
4136 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
4137 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4138 const IDESC * UNUSED idesc = abuf->idesc;
4139 int cycles = 0;
4141 int referenced = 0;
4142 int UNUSED insn_referenced = abuf->written;
4143 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4145 return cycles;
4146 #undef FLD
4149 static int
4150 model_frv_cmovfgd (SIM_CPU *current_cpu, void *sem_arg)
4152 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
4153 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4154 const IDESC * UNUSED idesc = abuf->idesc;
4155 int cycles = 0;
4157 int referenced = 0;
4158 int UNUSED insn_referenced = abuf->written;
4159 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4161 return cycles;
4162 #undef FLD
4165 static int
4166 model_frv_movgs (SIM_CPU *current_cpu, void *sem_arg)
4168 #define FLD(f) abuf->fields.sfmt_movgs.f
4169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4170 const IDESC * UNUSED idesc = abuf->idesc;
4171 int cycles = 0;
4173 int referenced = 0;
4174 int UNUSED insn_referenced = abuf->written;
4175 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4177 return cycles;
4178 #undef FLD
4181 static int
4182 model_frv_movsg (SIM_CPU *current_cpu, void *sem_arg)
4184 #define FLD(f) abuf->fields.sfmt_movsg.f
4185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4186 const IDESC * UNUSED idesc = abuf->idesc;
4187 int cycles = 0;
4189 int referenced = 0;
4190 int UNUSED insn_referenced = abuf->written;
4191 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4193 return cycles;
4194 #undef FLD
4197 static int
4198 model_frv_bra (SIM_CPU *current_cpu, void *sem_arg)
4200 #define FLD(f) abuf->fields.sfmt_fbne.f
4201 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4202 const IDESC * UNUSED idesc = abuf->idesc;
4203 int cycles = 0;
4205 int referenced = 0;
4206 int UNUSED insn_referenced = abuf->written;
4207 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4209 return cycles;
4210 #undef FLD
4213 static int
4214 model_frv_bno (SIM_CPU *current_cpu, void *sem_arg)
4216 #define FLD(f) abuf->fields.sfmt_fbne.f
4217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4218 const IDESC * UNUSED idesc = abuf->idesc;
4219 int cycles = 0;
4221 int referenced = 0;
4222 int UNUSED insn_referenced = abuf->written;
4223 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4225 return cycles;
4226 #undef FLD
4229 static int
4230 model_frv_beq (SIM_CPU *current_cpu, void *sem_arg)
4232 #define FLD(f) abuf->fields.sfmt_beq.f
4233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4234 const IDESC * UNUSED idesc = abuf->idesc;
4235 int cycles = 0;
4237 int referenced = 0;
4238 int UNUSED insn_referenced = abuf->written;
4239 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4241 return cycles;
4242 #undef FLD
4245 static int
4246 model_frv_bne (SIM_CPU *current_cpu, void *sem_arg)
4248 #define FLD(f) abuf->fields.sfmt_beq.f
4249 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4250 const IDESC * UNUSED idesc = abuf->idesc;
4251 int cycles = 0;
4253 int referenced = 0;
4254 int UNUSED insn_referenced = abuf->written;
4255 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4257 return cycles;
4258 #undef FLD
4261 static int
4262 model_frv_ble (SIM_CPU *current_cpu, void *sem_arg)
4264 #define FLD(f) abuf->fields.sfmt_beq.f
4265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4266 const IDESC * UNUSED idesc = abuf->idesc;
4267 int cycles = 0;
4269 int referenced = 0;
4270 int UNUSED insn_referenced = abuf->written;
4271 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4273 return cycles;
4274 #undef FLD
4277 static int
4278 model_frv_bgt (SIM_CPU *current_cpu, void *sem_arg)
4280 #define FLD(f) abuf->fields.sfmt_beq.f
4281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4282 const IDESC * UNUSED idesc = abuf->idesc;
4283 int cycles = 0;
4285 int referenced = 0;
4286 int UNUSED insn_referenced = abuf->written;
4287 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4289 return cycles;
4290 #undef FLD
4293 static int
4294 model_frv_blt (SIM_CPU *current_cpu, void *sem_arg)
4296 #define FLD(f) abuf->fields.sfmt_beq.f
4297 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4298 const IDESC * UNUSED idesc = abuf->idesc;
4299 int cycles = 0;
4301 int referenced = 0;
4302 int UNUSED insn_referenced = abuf->written;
4303 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4305 return cycles;
4306 #undef FLD
4309 static int
4310 model_frv_bge (SIM_CPU *current_cpu, void *sem_arg)
4312 #define FLD(f) abuf->fields.sfmt_beq.f
4313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4314 const IDESC * UNUSED idesc = abuf->idesc;
4315 int cycles = 0;
4317 int referenced = 0;
4318 int UNUSED insn_referenced = abuf->written;
4319 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4321 return cycles;
4322 #undef FLD
4325 static int
4326 model_frv_bls (SIM_CPU *current_cpu, void *sem_arg)
4328 #define FLD(f) abuf->fields.sfmt_beq.f
4329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4330 const IDESC * UNUSED idesc = abuf->idesc;
4331 int cycles = 0;
4333 int referenced = 0;
4334 int UNUSED insn_referenced = abuf->written;
4335 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4337 return cycles;
4338 #undef FLD
4341 static int
4342 model_frv_bhi (SIM_CPU *current_cpu, void *sem_arg)
4344 #define FLD(f) abuf->fields.sfmt_beq.f
4345 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4346 const IDESC * UNUSED idesc = abuf->idesc;
4347 int cycles = 0;
4349 int referenced = 0;
4350 int UNUSED insn_referenced = abuf->written;
4351 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4353 return cycles;
4354 #undef FLD
4357 static int
4358 model_frv_bc (SIM_CPU *current_cpu, void *sem_arg)
4360 #define FLD(f) abuf->fields.sfmt_beq.f
4361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4362 const IDESC * UNUSED idesc = abuf->idesc;
4363 int cycles = 0;
4365 int referenced = 0;
4366 int UNUSED insn_referenced = abuf->written;
4367 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4369 return cycles;
4370 #undef FLD
4373 static int
4374 model_frv_bnc (SIM_CPU *current_cpu, void *sem_arg)
4376 #define FLD(f) abuf->fields.sfmt_beq.f
4377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4378 const IDESC * UNUSED idesc = abuf->idesc;
4379 int cycles = 0;
4381 int referenced = 0;
4382 int UNUSED insn_referenced = abuf->written;
4383 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4385 return cycles;
4386 #undef FLD
4389 static int
4390 model_frv_bn (SIM_CPU *current_cpu, void *sem_arg)
4392 #define FLD(f) abuf->fields.sfmt_beq.f
4393 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4394 const IDESC * UNUSED idesc = abuf->idesc;
4395 int cycles = 0;
4397 int referenced = 0;
4398 int UNUSED insn_referenced = abuf->written;
4399 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4401 return cycles;
4402 #undef FLD
4405 static int
4406 model_frv_bp (SIM_CPU *current_cpu, void *sem_arg)
4408 #define FLD(f) abuf->fields.sfmt_beq.f
4409 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4410 const IDESC * UNUSED idesc = abuf->idesc;
4411 int cycles = 0;
4413 int referenced = 0;
4414 int UNUSED insn_referenced = abuf->written;
4415 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4417 return cycles;
4418 #undef FLD
4421 static int
4422 model_frv_bv (SIM_CPU *current_cpu, void *sem_arg)
4424 #define FLD(f) abuf->fields.sfmt_beq.f
4425 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4426 const IDESC * UNUSED idesc = abuf->idesc;
4427 int cycles = 0;
4429 int referenced = 0;
4430 int UNUSED insn_referenced = abuf->written;
4431 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4433 return cycles;
4434 #undef FLD
4437 static int
4438 model_frv_bnv (SIM_CPU *current_cpu, void *sem_arg)
4440 #define FLD(f) abuf->fields.sfmt_beq.f
4441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4442 const IDESC * UNUSED idesc = abuf->idesc;
4443 int cycles = 0;
4445 int referenced = 0;
4446 int UNUSED insn_referenced = abuf->written;
4447 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4449 return cycles;
4450 #undef FLD
4453 static int
4454 model_frv_fbra (SIM_CPU *current_cpu, void *sem_arg)
4456 #define FLD(f) abuf->fields.sfmt_fbne.f
4457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4458 const IDESC * UNUSED idesc = abuf->idesc;
4459 int cycles = 0;
4461 int referenced = 0;
4462 int UNUSED insn_referenced = abuf->written;
4463 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4465 return cycles;
4466 #undef FLD
4469 static int
4470 model_frv_fbno (SIM_CPU *current_cpu, void *sem_arg)
4472 #define FLD(f) abuf->fields.sfmt_fbne.f
4473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4474 const IDESC * UNUSED idesc = abuf->idesc;
4475 int cycles = 0;
4477 int referenced = 0;
4478 int UNUSED insn_referenced = abuf->written;
4479 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4481 return cycles;
4482 #undef FLD
4485 static int
4486 model_frv_fbne (SIM_CPU *current_cpu, void *sem_arg)
4488 #define FLD(f) abuf->fields.sfmt_fbne.f
4489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4490 const IDESC * UNUSED idesc = abuf->idesc;
4491 int cycles = 0;
4493 int referenced = 0;
4494 int UNUSED insn_referenced = abuf->written;
4495 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4497 return cycles;
4498 #undef FLD
4501 static int
4502 model_frv_fbeq (SIM_CPU *current_cpu, void *sem_arg)
4504 #define FLD(f) abuf->fields.sfmt_fbne.f
4505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4506 const IDESC * UNUSED idesc = abuf->idesc;
4507 int cycles = 0;
4509 int referenced = 0;
4510 int UNUSED insn_referenced = abuf->written;
4511 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4513 return cycles;
4514 #undef FLD
4517 static int
4518 model_frv_fblg (SIM_CPU *current_cpu, void *sem_arg)
4520 #define FLD(f) abuf->fields.sfmt_fbne.f
4521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4522 const IDESC * UNUSED idesc = abuf->idesc;
4523 int cycles = 0;
4525 int referenced = 0;
4526 int UNUSED insn_referenced = abuf->written;
4527 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4529 return cycles;
4530 #undef FLD
4533 static int
4534 model_frv_fbue (SIM_CPU *current_cpu, void *sem_arg)
4536 #define FLD(f) abuf->fields.sfmt_fbne.f
4537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4538 const IDESC * UNUSED idesc = abuf->idesc;
4539 int cycles = 0;
4541 int referenced = 0;
4542 int UNUSED insn_referenced = abuf->written;
4543 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4545 return cycles;
4546 #undef FLD
4549 static int
4550 model_frv_fbul (SIM_CPU *current_cpu, void *sem_arg)
4552 #define FLD(f) abuf->fields.sfmt_fbne.f
4553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4554 const IDESC * UNUSED idesc = abuf->idesc;
4555 int cycles = 0;
4557 int referenced = 0;
4558 int UNUSED insn_referenced = abuf->written;
4559 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4561 return cycles;
4562 #undef FLD
4565 static int
4566 model_frv_fbge (SIM_CPU *current_cpu, void *sem_arg)
4568 #define FLD(f) abuf->fields.sfmt_fbne.f
4569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4570 const IDESC * UNUSED idesc = abuf->idesc;
4571 int cycles = 0;
4573 int referenced = 0;
4574 int UNUSED insn_referenced = abuf->written;
4575 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4577 return cycles;
4578 #undef FLD
4581 static int
4582 model_frv_fblt (SIM_CPU *current_cpu, void *sem_arg)
4584 #define FLD(f) abuf->fields.sfmt_fbne.f
4585 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4586 const IDESC * UNUSED idesc = abuf->idesc;
4587 int cycles = 0;
4589 int referenced = 0;
4590 int UNUSED insn_referenced = abuf->written;
4591 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4593 return cycles;
4594 #undef FLD
4597 static int
4598 model_frv_fbuge (SIM_CPU *current_cpu, void *sem_arg)
4600 #define FLD(f) abuf->fields.sfmt_fbne.f
4601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4602 const IDESC * UNUSED idesc = abuf->idesc;
4603 int cycles = 0;
4605 int referenced = 0;
4606 int UNUSED insn_referenced = abuf->written;
4607 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4609 return cycles;
4610 #undef FLD
4613 static int
4614 model_frv_fbug (SIM_CPU *current_cpu, void *sem_arg)
4616 #define FLD(f) abuf->fields.sfmt_fbne.f
4617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4618 const IDESC * UNUSED idesc = abuf->idesc;
4619 int cycles = 0;
4621 int referenced = 0;
4622 int UNUSED insn_referenced = abuf->written;
4623 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4625 return cycles;
4626 #undef FLD
4629 static int
4630 model_frv_fble (SIM_CPU *current_cpu, void *sem_arg)
4632 #define FLD(f) abuf->fields.sfmt_fbne.f
4633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4634 const IDESC * UNUSED idesc = abuf->idesc;
4635 int cycles = 0;
4637 int referenced = 0;
4638 int UNUSED insn_referenced = abuf->written;
4639 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4641 return cycles;
4642 #undef FLD
4645 static int
4646 model_frv_fbgt (SIM_CPU *current_cpu, void *sem_arg)
4648 #define FLD(f) abuf->fields.sfmt_fbne.f
4649 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4650 const IDESC * UNUSED idesc = abuf->idesc;
4651 int cycles = 0;
4653 int referenced = 0;
4654 int UNUSED insn_referenced = abuf->written;
4655 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4657 return cycles;
4658 #undef FLD
4661 static int
4662 model_frv_fbule (SIM_CPU *current_cpu, void *sem_arg)
4664 #define FLD(f) abuf->fields.sfmt_fbne.f
4665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4666 const IDESC * UNUSED idesc = abuf->idesc;
4667 int cycles = 0;
4669 int referenced = 0;
4670 int UNUSED insn_referenced = abuf->written;
4671 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4673 return cycles;
4674 #undef FLD
4677 static int
4678 model_frv_fbu (SIM_CPU *current_cpu, void *sem_arg)
4680 #define FLD(f) abuf->fields.sfmt_fbne.f
4681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4682 const IDESC * UNUSED idesc = abuf->idesc;
4683 int cycles = 0;
4685 int referenced = 0;
4686 int UNUSED insn_referenced = abuf->written;
4687 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4689 return cycles;
4690 #undef FLD
4693 static int
4694 model_frv_fbo (SIM_CPU *current_cpu, void *sem_arg)
4696 #define FLD(f) abuf->fields.sfmt_fbne.f
4697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4698 const IDESC * UNUSED idesc = abuf->idesc;
4699 int cycles = 0;
4701 int referenced = 0;
4702 int UNUSED insn_referenced = abuf->written;
4703 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4705 return cycles;
4706 #undef FLD
4709 static int
4710 model_frv_bctrlr (SIM_CPU *current_cpu, void *sem_arg)
4712 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
4713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4714 const IDESC * UNUSED idesc = abuf->idesc;
4715 int cycles = 0;
4717 int referenced = 0;
4718 int UNUSED insn_referenced = abuf->written;
4719 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4721 return cycles;
4722 #undef FLD
4725 static int
4726 model_frv_bralr (SIM_CPU *current_cpu, void *sem_arg)
4728 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
4729 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4730 const IDESC * UNUSED idesc = abuf->idesc;
4731 int cycles = 0;
4733 int referenced = 0;
4734 int UNUSED insn_referenced = abuf->written;
4735 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4737 return cycles;
4738 #undef FLD
4741 static int
4742 model_frv_bnolr (SIM_CPU *current_cpu, void *sem_arg)
4744 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
4745 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4746 const IDESC * UNUSED idesc = abuf->idesc;
4747 int cycles = 0;
4749 int referenced = 0;
4750 int UNUSED insn_referenced = abuf->written;
4751 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4753 return cycles;
4754 #undef FLD
4757 static int
4758 model_frv_beqlr (SIM_CPU *current_cpu, void *sem_arg)
4760 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4761 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4762 const IDESC * UNUSED idesc = abuf->idesc;
4763 int cycles = 0;
4765 int referenced = 0;
4766 int UNUSED insn_referenced = abuf->written;
4767 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4769 return cycles;
4770 #undef FLD
4773 static int
4774 model_frv_bnelr (SIM_CPU *current_cpu, void *sem_arg)
4776 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4778 const IDESC * UNUSED idesc = abuf->idesc;
4779 int cycles = 0;
4781 int referenced = 0;
4782 int UNUSED insn_referenced = abuf->written;
4783 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4785 return cycles;
4786 #undef FLD
4789 static int
4790 model_frv_blelr (SIM_CPU *current_cpu, void *sem_arg)
4792 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4793 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4794 const IDESC * UNUSED idesc = abuf->idesc;
4795 int cycles = 0;
4797 int referenced = 0;
4798 int UNUSED insn_referenced = abuf->written;
4799 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4801 return cycles;
4802 #undef FLD
4805 static int
4806 model_frv_bgtlr (SIM_CPU *current_cpu, void *sem_arg)
4808 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4810 const IDESC * UNUSED idesc = abuf->idesc;
4811 int cycles = 0;
4813 int referenced = 0;
4814 int UNUSED insn_referenced = abuf->written;
4815 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4817 return cycles;
4818 #undef FLD
4821 static int
4822 model_frv_bltlr (SIM_CPU *current_cpu, void *sem_arg)
4824 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4826 const IDESC * UNUSED idesc = abuf->idesc;
4827 int cycles = 0;
4829 int referenced = 0;
4830 int UNUSED insn_referenced = abuf->written;
4831 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4833 return cycles;
4834 #undef FLD
4837 static int
4838 model_frv_bgelr (SIM_CPU *current_cpu, void *sem_arg)
4840 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4842 const IDESC * UNUSED idesc = abuf->idesc;
4843 int cycles = 0;
4845 int referenced = 0;
4846 int UNUSED insn_referenced = abuf->written;
4847 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4849 return cycles;
4850 #undef FLD
4853 static int
4854 model_frv_blslr (SIM_CPU *current_cpu, void *sem_arg)
4856 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4858 const IDESC * UNUSED idesc = abuf->idesc;
4859 int cycles = 0;
4861 int referenced = 0;
4862 int UNUSED insn_referenced = abuf->written;
4863 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4865 return cycles;
4866 #undef FLD
4869 static int
4870 model_frv_bhilr (SIM_CPU *current_cpu, void *sem_arg)
4872 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4874 const IDESC * UNUSED idesc = abuf->idesc;
4875 int cycles = 0;
4877 int referenced = 0;
4878 int UNUSED insn_referenced = abuf->written;
4879 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4881 return cycles;
4882 #undef FLD
4885 static int
4886 model_frv_bclr (SIM_CPU *current_cpu, void *sem_arg)
4888 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4890 const IDESC * UNUSED idesc = abuf->idesc;
4891 int cycles = 0;
4893 int referenced = 0;
4894 int UNUSED insn_referenced = abuf->written;
4895 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4897 return cycles;
4898 #undef FLD
4901 static int
4902 model_frv_bnclr (SIM_CPU *current_cpu, void *sem_arg)
4904 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4906 const IDESC * UNUSED idesc = abuf->idesc;
4907 int cycles = 0;
4909 int referenced = 0;
4910 int UNUSED insn_referenced = abuf->written;
4911 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4913 return cycles;
4914 #undef FLD
4917 static int
4918 model_frv_bnlr (SIM_CPU *current_cpu, void *sem_arg)
4920 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4922 const IDESC * UNUSED idesc = abuf->idesc;
4923 int cycles = 0;
4925 int referenced = 0;
4926 int UNUSED insn_referenced = abuf->written;
4927 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4929 return cycles;
4930 #undef FLD
4933 static int
4934 model_frv_bplr (SIM_CPU *current_cpu, void *sem_arg)
4936 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4937 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4938 const IDESC * UNUSED idesc = abuf->idesc;
4939 int cycles = 0;
4941 int referenced = 0;
4942 int UNUSED insn_referenced = abuf->written;
4943 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4945 return cycles;
4946 #undef FLD
4949 static int
4950 model_frv_bvlr (SIM_CPU *current_cpu, void *sem_arg)
4952 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4954 const IDESC * UNUSED idesc = abuf->idesc;
4955 int cycles = 0;
4957 int referenced = 0;
4958 int UNUSED insn_referenced = abuf->written;
4959 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4961 return cycles;
4962 #undef FLD
4965 static int
4966 model_frv_bnvlr (SIM_CPU *current_cpu, void *sem_arg)
4968 #define FLD(f) abuf->fields.sfmt_bceqlr.f
4969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4970 const IDESC * UNUSED idesc = abuf->idesc;
4971 int cycles = 0;
4973 int referenced = 0;
4974 int UNUSED insn_referenced = abuf->written;
4975 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4977 return cycles;
4978 #undef FLD
4981 static int
4982 model_frv_fbralr (SIM_CPU *current_cpu, void *sem_arg)
4984 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
4985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
4986 const IDESC * UNUSED idesc = abuf->idesc;
4987 int cycles = 0;
4989 int referenced = 0;
4990 int UNUSED insn_referenced = abuf->written;
4991 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
4993 return cycles;
4994 #undef FLD
4997 static int
4998 model_frv_fbnolr (SIM_CPU *current_cpu, void *sem_arg)
5000 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5002 const IDESC * UNUSED idesc = abuf->idesc;
5003 int cycles = 0;
5005 int referenced = 0;
5006 int UNUSED insn_referenced = abuf->written;
5007 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5009 return cycles;
5010 #undef FLD
5013 static int
5014 model_frv_fbeqlr (SIM_CPU *current_cpu, void *sem_arg)
5016 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5018 const IDESC * UNUSED idesc = abuf->idesc;
5019 int cycles = 0;
5021 int referenced = 0;
5022 int UNUSED insn_referenced = abuf->written;
5023 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5025 return cycles;
5026 #undef FLD
5029 static int
5030 model_frv_fbnelr (SIM_CPU *current_cpu, void *sem_arg)
5032 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5034 const IDESC * UNUSED idesc = abuf->idesc;
5035 int cycles = 0;
5037 int referenced = 0;
5038 int UNUSED insn_referenced = abuf->written;
5039 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5041 return cycles;
5042 #undef FLD
5045 static int
5046 model_frv_fblglr (SIM_CPU *current_cpu, void *sem_arg)
5048 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5050 const IDESC * UNUSED idesc = abuf->idesc;
5051 int cycles = 0;
5053 int referenced = 0;
5054 int UNUSED insn_referenced = abuf->written;
5055 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5057 return cycles;
5058 #undef FLD
5061 static int
5062 model_frv_fbuelr (SIM_CPU *current_cpu, void *sem_arg)
5064 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5065 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5066 const IDESC * UNUSED idesc = abuf->idesc;
5067 int cycles = 0;
5069 int referenced = 0;
5070 int UNUSED insn_referenced = abuf->written;
5071 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5073 return cycles;
5074 #undef FLD
5077 static int
5078 model_frv_fbullr (SIM_CPU *current_cpu, void *sem_arg)
5080 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5082 const IDESC * UNUSED idesc = abuf->idesc;
5083 int cycles = 0;
5085 int referenced = 0;
5086 int UNUSED insn_referenced = abuf->written;
5087 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5089 return cycles;
5090 #undef FLD
5093 static int
5094 model_frv_fbgelr (SIM_CPU *current_cpu, void *sem_arg)
5096 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5098 const IDESC * UNUSED idesc = abuf->idesc;
5099 int cycles = 0;
5101 int referenced = 0;
5102 int UNUSED insn_referenced = abuf->written;
5103 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5105 return cycles;
5106 #undef FLD
5109 static int
5110 model_frv_fbltlr (SIM_CPU *current_cpu, void *sem_arg)
5112 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5114 const IDESC * UNUSED idesc = abuf->idesc;
5115 int cycles = 0;
5117 int referenced = 0;
5118 int UNUSED insn_referenced = abuf->written;
5119 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5121 return cycles;
5122 #undef FLD
5125 static int
5126 model_frv_fbugelr (SIM_CPU *current_cpu, void *sem_arg)
5128 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5130 const IDESC * UNUSED idesc = abuf->idesc;
5131 int cycles = 0;
5133 int referenced = 0;
5134 int UNUSED insn_referenced = abuf->written;
5135 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5137 return cycles;
5138 #undef FLD
5141 static int
5142 model_frv_fbuglr (SIM_CPU *current_cpu, void *sem_arg)
5144 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5145 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5146 const IDESC * UNUSED idesc = abuf->idesc;
5147 int cycles = 0;
5149 int referenced = 0;
5150 int UNUSED insn_referenced = abuf->written;
5151 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5153 return cycles;
5154 #undef FLD
5157 static int
5158 model_frv_fblelr (SIM_CPU *current_cpu, void *sem_arg)
5160 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5162 const IDESC * UNUSED idesc = abuf->idesc;
5163 int cycles = 0;
5165 int referenced = 0;
5166 int UNUSED insn_referenced = abuf->written;
5167 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5169 return cycles;
5170 #undef FLD
5173 static int
5174 model_frv_fbgtlr (SIM_CPU *current_cpu, void *sem_arg)
5176 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5178 const IDESC * UNUSED idesc = abuf->idesc;
5179 int cycles = 0;
5181 int referenced = 0;
5182 int UNUSED insn_referenced = abuf->written;
5183 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5185 return cycles;
5186 #undef FLD
5189 static int
5190 model_frv_fbulelr (SIM_CPU *current_cpu, void *sem_arg)
5192 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5194 const IDESC * UNUSED idesc = abuf->idesc;
5195 int cycles = 0;
5197 int referenced = 0;
5198 int UNUSED insn_referenced = abuf->written;
5199 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5201 return cycles;
5202 #undef FLD
5205 static int
5206 model_frv_fbulr (SIM_CPU *current_cpu, void *sem_arg)
5208 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5210 const IDESC * UNUSED idesc = abuf->idesc;
5211 int cycles = 0;
5213 int referenced = 0;
5214 int UNUSED insn_referenced = abuf->written;
5215 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5217 return cycles;
5218 #undef FLD
5221 static int
5222 model_frv_fbolr (SIM_CPU *current_cpu, void *sem_arg)
5224 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5226 const IDESC * UNUSED idesc = abuf->idesc;
5227 int cycles = 0;
5229 int referenced = 0;
5230 int UNUSED insn_referenced = abuf->written;
5231 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5233 return cycles;
5234 #undef FLD
5237 static int
5238 model_frv_bcralr (SIM_CPU *current_cpu, void *sem_arg)
5240 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5242 const IDESC * UNUSED idesc = abuf->idesc;
5243 int cycles = 0;
5245 int referenced = 0;
5246 int UNUSED insn_referenced = abuf->written;
5247 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5249 return cycles;
5250 #undef FLD
5253 static int
5254 model_frv_bcnolr (SIM_CPU *current_cpu, void *sem_arg)
5256 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5258 const IDESC * UNUSED idesc = abuf->idesc;
5259 int cycles = 0;
5261 int referenced = 0;
5262 int UNUSED insn_referenced = abuf->written;
5263 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5265 return cycles;
5266 #undef FLD
5269 static int
5270 model_frv_bceqlr (SIM_CPU *current_cpu, void *sem_arg)
5272 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5274 const IDESC * UNUSED idesc = abuf->idesc;
5275 int cycles = 0;
5277 int referenced = 0;
5278 int UNUSED insn_referenced = abuf->written;
5279 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5281 return cycles;
5282 #undef FLD
5285 static int
5286 model_frv_bcnelr (SIM_CPU *current_cpu, void *sem_arg)
5288 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5290 const IDESC * UNUSED idesc = abuf->idesc;
5291 int cycles = 0;
5293 int referenced = 0;
5294 int UNUSED insn_referenced = abuf->written;
5295 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5297 return cycles;
5298 #undef FLD
5301 static int
5302 model_frv_bclelr (SIM_CPU *current_cpu, void *sem_arg)
5304 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5306 const IDESC * UNUSED idesc = abuf->idesc;
5307 int cycles = 0;
5309 int referenced = 0;
5310 int UNUSED insn_referenced = abuf->written;
5311 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5313 return cycles;
5314 #undef FLD
5317 static int
5318 model_frv_bcgtlr (SIM_CPU *current_cpu, void *sem_arg)
5320 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5322 const IDESC * UNUSED idesc = abuf->idesc;
5323 int cycles = 0;
5325 int referenced = 0;
5326 int UNUSED insn_referenced = abuf->written;
5327 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5329 return cycles;
5330 #undef FLD
5333 static int
5334 model_frv_bcltlr (SIM_CPU *current_cpu, void *sem_arg)
5336 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5337 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5338 const IDESC * UNUSED idesc = abuf->idesc;
5339 int cycles = 0;
5341 int referenced = 0;
5342 int UNUSED insn_referenced = abuf->written;
5343 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5345 return cycles;
5346 #undef FLD
5349 static int
5350 model_frv_bcgelr (SIM_CPU *current_cpu, void *sem_arg)
5352 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5354 const IDESC * UNUSED idesc = abuf->idesc;
5355 int cycles = 0;
5357 int referenced = 0;
5358 int UNUSED insn_referenced = abuf->written;
5359 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5361 return cycles;
5362 #undef FLD
5365 static int
5366 model_frv_bclslr (SIM_CPU *current_cpu, void *sem_arg)
5368 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5370 const IDESC * UNUSED idesc = abuf->idesc;
5371 int cycles = 0;
5373 int referenced = 0;
5374 int UNUSED insn_referenced = abuf->written;
5375 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5377 return cycles;
5378 #undef FLD
5381 static int
5382 model_frv_bchilr (SIM_CPU *current_cpu, void *sem_arg)
5384 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5385 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5386 const IDESC * UNUSED idesc = abuf->idesc;
5387 int cycles = 0;
5389 int referenced = 0;
5390 int UNUSED insn_referenced = abuf->written;
5391 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5393 return cycles;
5394 #undef FLD
5397 static int
5398 model_frv_bcclr (SIM_CPU *current_cpu, void *sem_arg)
5400 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5402 const IDESC * UNUSED idesc = abuf->idesc;
5403 int cycles = 0;
5405 int referenced = 0;
5406 int UNUSED insn_referenced = abuf->written;
5407 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5409 return cycles;
5410 #undef FLD
5413 static int
5414 model_frv_bcnclr (SIM_CPU *current_cpu, void *sem_arg)
5416 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5418 const IDESC * UNUSED idesc = abuf->idesc;
5419 int cycles = 0;
5421 int referenced = 0;
5422 int UNUSED insn_referenced = abuf->written;
5423 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5425 return cycles;
5426 #undef FLD
5429 static int
5430 model_frv_bcnlr (SIM_CPU *current_cpu, void *sem_arg)
5432 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5434 const IDESC * UNUSED idesc = abuf->idesc;
5435 int cycles = 0;
5437 int referenced = 0;
5438 int UNUSED insn_referenced = abuf->written;
5439 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5441 return cycles;
5442 #undef FLD
5445 static int
5446 model_frv_bcplr (SIM_CPU *current_cpu, void *sem_arg)
5448 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5449 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5450 const IDESC * UNUSED idesc = abuf->idesc;
5451 int cycles = 0;
5453 int referenced = 0;
5454 int UNUSED insn_referenced = abuf->written;
5455 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5457 return cycles;
5458 #undef FLD
5461 static int
5462 model_frv_bcvlr (SIM_CPU *current_cpu, void *sem_arg)
5464 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5466 const IDESC * UNUSED idesc = abuf->idesc;
5467 int cycles = 0;
5469 int referenced = 0;
5470 int UNUSED insn_referenced = abuf->written;
5471 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5473 return cycles;
5474 #undef FLD
5477 static int
5478 model_frv_bcnvlr (SIM_CPU *current_cpu, void *sem_arg)
5480 #define FLD(f) abuf->fields.sfmt_bceqlr.f
5481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5482 const IDESC * UNUSED idesc = abuf->idesc;
5483 int cycles = 0;
5485 int referenced = 0;
5486 int UNUSED insn_referenced = abuf->written;
5487 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5489 return cycles;
5490 #undef FLD
5493 static int
5494 model_frv_fcbralr (SIM_CPU *current_cpu, void *sem_arg)
5496 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5497 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5498 const IDESC * UNUSED idesc = abuf->idesc;
5499 int cycles = 0;
5501 int referenced = 0;
5502 int UNUSED insn_referenced = abuf->written;
5503 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5505 return cycles;
5506 #undef FLD
5509 static int
5510 model_frv_fcbnolr (SIM_CPU *current_cpu, void *sem_arg)
5512 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5514 const IDESC * UNUSED idesc = abuf->idesc;
5515 int cycles = 0;
5517 int referenced = 0;
5518 int UNUSED insn_referenced = abuf->written;
5519 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5521 return cycles;
5522 #undef FLD
5525 static int
5526 model_frv_fcbeqlr (SIM_CPU *current_cpu, void *sem_arg)
5528 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5529 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5530 const IDESC * UNUSED idesc = abuf->idesc;
5531 int cycles = 0;
5533 int referenced = 0;
5534 int UNUSED insn_referenced = abuf->written;
5535 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5537 return cycles;
5538 #undef FLD
5541 static int
5542 model_frv_fcbnelr (SIM_CPU *current_cpu, void *sem_arg)
5544 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5546 const IDESC * UNUSED idesc = abuf->idesc;
5547 int cycles = 0;
5549 int referenced = 0;
5550 int UNUSED insn_referenced = abuf->written;
5551 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5553 return cycles;
5554 #undef FLD
5557 static int
5558 model_frv_fcblglr (SIM_CPU *current_cpu, void *sem_arg)
5560 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5561 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5562 const IDESC * UNUSED idesc = abuf->idesc;
5563 int cycles = 0;
5565 int referenced = 0;
5566 int UNUSED insn_referenced = abuf->written;
5567 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5569 return cycles;
5570 #undef FLD
5573 static int
5574 model_frv_fcbuelr (SIM_CPU *current_cpu, void *sem_arg)
5576 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5578 const IDESC * UNUSED idesc = abuf->idesc;
5579 int cycles = 0;
5581 int referenced = 0;
5582 int UNUSED insn_referenced = abuf->written;
5583 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5585 return cycles;
5586 #undef FLD
5589 static int
5590 model_frv_fcbullr (SIM_CPU *current_cpu, void *sem_arg)
5592 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5594 const IDESC * UNUSED idesc = abuf->idesc;
5595 int cycles = 0;
5597 int referenced = 0;
5598 int UNUSED insn_referenced = abuf->written;
5599 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5601 return cycles;
5602 #undef FLD
5605 static int
5606 model_frv_fcbgelr (SIM_CPU *current_cpu, void *sem_arg)
5608 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5610 const IDESC * UNUSED idesc = abuf->idesc;
5611 int cycles = 0;
5613 int referenced = 0;
5614 int UNUSED insn_referenced = abuf->written;
5615 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5617 return cycles;
5618 #undef FLD
5621 static int
5622 model_frv_fcbltlr (SIM_CPU *current_cpu, void *sem_arg)
5624 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5625 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5626 const IDESC * UNUSED idesc = abuf->idesc;
5627 int cycles = 0;
5629 int referenced = 0;
5630 int UNUSED insn_referenced = abuf->written;
5631 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5633 return cycles;
5634 #undef FLD
5637 static int
5638 model_frv_fcbugelr (SIM_CPU *current_cpu, void *sem_arg)
5640 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5642 const IDESC * UNUSED idesc = abuf->idesc;
5643 int cycles = 0;
5645 int referenced = 0;
5646 int UNUSED insn_referenced = abuf->written;
5647 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5649 return cycles;
5650 #undef FLD
5653 static int
5654 model_frv_fcbuglr (SIM_CPU *current_cpu, void *sem_arg)
5656 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5658 const IDESC * UNUSED idesc = abuf->idesc;
5659 int cycles = 0;
5661 int referenced = 0;
5662 int UNUSED insn_referenced = abuf->written;
5663 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5665 return cycles;
5666 #undef FLD
5669 static int
5670 model_frv_fcblelr (SIM_CPU *current_cpu, void *sem_arg)
5672 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5673 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5674 const IDESC * UNUSED idesc = abuf->idesc;
5675 int cycles = 0;
5677 int referenced = 0;
5678 int UNUSED insn_referenced = abuf->written;
5679 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5681 return cycles;
5682 #undef FLD
5685 static int
5686 model_frv_fcbgtlr (SIM_CPU *current_cpu, void *sem_arg)
5688 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5690 const IDESC * UNUSED idesc = abuf->idesc;
5691 int cycles = 0;
5693 int referenced = 0;
5694 int UNUSED insn_referenced = abuf->written;
5695 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5697 return cycles;
5698 #undef FLD
5701 static int
5702 model_frv_fcbulelr (SIM_CPU *current_cpu, void *sem_arg)
5704 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5706 const IDESC * UNUSED idesc = abuf->idesc;
5707 int cycles = 0;
5709 int referenced = 0;
5710 int UNUSED insn_referenced = abuf->written;
5711 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5713 return cycles;
5714 #undef FLD
5717 static int
5718 model_frv_fcbulr (SIM_CPU *current_cpu, void *sem_arg)
5720 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5722 const IDESC * UNUSED idesc = abuf->idesc;
5723 int cycles = 0;
5725 int referenced = 0;
5726 int UNUSED insn_referenced = abuf->written;
5727 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5729 return cycles;
5730 #undef FLD
5733 static int
5734 model_frv_fcbolr (SIM_CPU *current_cpu, void *sem_arg)
5736 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
5737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5738 const IDESC * UNUSED idesc = abuf->idesc;
5739 int cycles = 0;
5741 int referenced = 0;
5742 int UNUSED insn_referenced = abuf->written;
5743 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5745 return cycles;
5746 #undef FLD
5749 static int
5750 model_frv_jmpl (SIM_CPU *current_cpu, void *sem_arg)
5752 #define FLD(f) abuf->fields.sfmt_cjmpl.f
5753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5754 const IDESC * UNUSED idesc = abuf->idesc;
5755 int cycles = 0;
5757 int referenced = 0;
5758 int UNUSED insn_referenced = abuf->written;
5759 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5761 return cycles;
5762 #undef FLD
5765 static int
5766 model_frv_calll (SIM_CPU *current_cpu, void *sem_arg)
5768 #define FLD(f) abuf->fields.sfmt_cjmpl.f
5769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5770 const IDESC * UNUSED idesc = abuf->idesc;
5771 int cycles = 0;
5773 int referenced = 0;
5774 int UNUSED insn_referenced = abuf->written;
5775 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5777 return cycles;
5778 #undef FLD
5781 static int
5782 model_frv_jmpil (SIM_CPU *current_cpu, void *sem_arg)
5784 #define FLD(f) abuf->fields.sfmt_jmpil.f
5785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5786 const IDESC * UNUSED idesc = abuf->idesc;
5787 int cycles = 0;
5789 int referenced = 0;
5790 int UNUSED insn_referenced = abuf->written;
5791 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5793 return cycles;
5794 #undef FLD
5797 static int
5798 model_frv_callil (SIM_CPU *current_cpu, void *sem_arg)
5800 #define FLD(f) abuf->fields.sfmt_jmpil.f
5801 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5802 const IDESC * UNUSED idesc = abuf->idesc;
5803 int cycles = 0;
5805 int referenced = 0;
5806 int UNUSED insn_referenced = abuf->written;
5807 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5809 return cycles;
5810 #undef FLD
5813 static int
5814 model_frv_call (SIM_CPU *current_cpu, void *sem_arg)
5816 #define FLD(f) abuf->fields.sfmt_call.f
5817 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5818 const IDESC * UNUSED idesc = abuf->idesc;
5819 int cycles = 0;
5821 int referenced = 0;
5822 int UNUSED insn_referenced = abuf->written;
5823 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5825 return cycles;
5826 #undef FLD
5829 static int
5830 model_frv_rett (SIM_CPU *current_cpu, void *sem_arg)
5832 #define FLD(f) abuf->fields.sfmt_rett.f
5833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5834 const IDESC * UNUSED idesc = abuf->idesc;
5835 int cycles = 0;
5837 int referenced = 0;
5838 int UNUSED insn_referenced = abuf->written;
5839 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5841 return cycles;
5842 #undef FLD
5845 static int
5846 model_frv_rei (SIM_CPU *current_cpu, void *sem_arg)
5848 #define FLD(f) abuf->fields.sfmt_empty.f
5849 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5850 const IDESC * UNUSED idesc = abuf->idesc;
5851 int cycles = 0;
5853 int referenced = 0;
5854 int UNUSED insn_referenced = abuf->written;
5855 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5857 return cycles;
5858 #undef FLD
5861 static int
5862 model_frv_tra (SIM_CPU *current_cpu, void *sem_arg)
5864 #define FLD(f) abuf->fields.sfmt_ftne.f
5865 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5866 const IDESC * UNUSED idesc = abuf->idesc;
5867 int cycles = 0;
5869 int referenced = 0;
5870 int UNUSED insn_referenced = abuf->written;
5871 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5873 return cycles;
5874 #undef FLD
5877 static int
5878 model_frv_tno (SIM_CPU *current_cpu, void *sem_arg)
5880 #define FLD(f) abuf->fields.sfmt_empty.f
5881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5882 const IDESC * UNUSED idesc = abuf->idesc;
5883 int cycles = 0;
5885 int referenced = 0;
5886 int UNUSED insn_referenced = abuf->written;
5887 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5889 return cycles;
5890 #undef FLD
5893 static int
5894 model_frv_teq (SIM_CPU *current_cpu, void *sem_arg)
5896 #define FLD(f) abuf->fields.sfmt_teq.f
5897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5898 const IDESC * UNUSED idesc = abuf->idesc;
5899 int cycles = 0;
5901 int referenced = 0;
5902 int UNUSED insn_referenced = abuf->written;
5903 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5905 return cycles;
5906 #undef FLD
5909 static int
5910 model_frv_tne (SIM_CPU *current_cpu, void *sem_arg)
5912 #define FLD(f) abuf->fields.sfmt_teq.f
5913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5914 const IDESC * UNUSED idesc = abuf->idesc;
5915 int cycles = 0;
5917 int referenced = 0;
5918 int UNUSED insn_referenced = abuf->written;
5919 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5921 return cycles;
5922 #undef FLD
5925 static int
5926 model_frv_tle (SIM_CPU *current_cpu, void *sem_arg)
5928 #define FLD(f) abuf->fields.sfmt_teq.f
5929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5930 const IDESC * UNUSED idesc = abuf->idesc;
5931 int cycles = 0;
5933 int referenced = 0;
5934 int UNUSED insn_referenced = abuf->written;
5935 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5937 return cycles;
5938 #undef FLD
5941 static int
5942 model_frv_tgt (SIM_CPU *current_cpu, void *sem_arg)
5944 #define FLD(f) abuf->fields.sfmt_teq.f
5945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5946 const IDESC * UNUSED idesc = abuf->idesc;
5947 int cycles = 0;
5949 int referenced = 0;
5950 int UNUSED insn_referenced = abuf->written;
5951 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5953 return cycles;
5954 #undef FLD
5957 static int
5958 model_frv_tlt (SIM_CPU *current_cpu, void *sem_arg)
5960 #define FLD(f) abuf->fields.sfmt_teq.f
5961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5962 const IDESC * UNUSED idesc = abuf->idesc;
5963 int cycles = 0;
5965 int referenced = 0;
5966 int UNUSED insn_referenced = abuf->written;
5967 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5969 return cycles;
5970 #undef FLD
5973 static int
5974 model_frv_tge (SIM_CPU *current_cpu, void *sem_arg)
5976 #define FLD(f) abuf->fields.sfmt_teq.f
5977 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5978 const IDESC * UNUSED idesc = abuf->idesc;
5979 int cycles = 0;
5981 int referenced = 0;
5982 int UNUSED insn_referenced = abuf->written;
5983 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
5985 return cycles;
5986 #undef FLD
5989 static int
5990 model_frv_tls (SIM_CPU *current_cpu, void *sem_arg)
5992 #define FLD(f) abuf->fields.sfmt_teq.f
5993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
5994 const IDESC * UNUSED idesc = abuf->idesc;
5995 int cycles = 0;
5997 int referenced = 0;
5998 int UNUSED insn_referenced = abuf->written;
5999 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6001 return cycles;
6002 #undef FLD
6005 static int
6006 model_frv_thi (SIM_CPU *current_cpu, void *sem_arg)
6008 #define FLD(f) abuf->fields.sfmt_teq.f
6009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6010 const IDESC * UNUSED idesc = abuf->idesc;
6011 int cycles = 0;
6013 int referenced = 0;
6014 int UNUSED insn_referenced = abuf->written;
6015 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6017 return cycles;
6018 #undef FLD
6021 static int
6022 model_frv_tc (SIM_CPU *current_cpu, void *sem_arg)
6024 #define FLD(f) abuf->fields.sfmt_teq.f
6025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6026 const IDESC * UNUSED idesc = abuf->idesc;
6027 int cycles = 0;
6029 int referenced = 0;
6030 int UNUSED insn_referenced = abuf->written;
6031 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6033 return cycles;
6034 #undef FLD
6037 static int
6038 model_frv_tnc (SIM_CPU *current_cpu, void *sem_arg)
6040 #define FLD(f) abuf->fields.sfmt_teq.f
6041 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6042 const IDESC * UNUSED idesc = abuf->idesc;
6043 int cycles = 0;
6045 int referenced = 0;
6046 int UNUSED insn_referenced = abuf->written;
6047 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6049 return cycles;
6050 #undef FLD
6053 static int
6054 model_frv_tn (SIM_CPU *current_cpu, void *sem_arg)
6056 #define FLD(f) abuf->fields.sfmt_teq.f
6057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6058 const IDESC * UNUSED idesc = abuf->idesc;
6059 int cycles = 0;
6061 int referenced = 0;
6062 int UNUSED insn_referenced = abuf->written;
6063 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6065 return cycles;
6066 #undef FLD
6069 static int
6070 model_frv_tp (SIM_CPU *current_cpu, void *sem_arg)
6072 #define FLD(f) abuf->fields.sfmt_teq.f
6073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6074 const IDESC * UNUSED idesc = abuf->idesc;
6075 int cycles = 0;
6077 int referenced = 0;
6078 int UNUSED insn_referenced = abuf->written;
6079 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6081 return cycles;
6082 #undef FLD
6085 static int
6086 model_frv_tv (SIM_CPU *current_cpu, void *sem_arg)
6088 #define FLD(f) abuf->fields.sfmt_teq.f
6089 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6090 const IDESC * UNUSED idesc = abuf->idesc;
6091 int cycles = 0;
6093 int referenced = 0;
6094 int UNUSED insn_referenced = abuf->written;
6095 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6097 return cycles;
6098 #undef FLD
6101 static int
6102 model_frv_tnv (SIM_CPU *current_cpu, void *sem_arg)
6104 #define FLD(f) abuf->fields.sfmt_teq.f
6105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6106 const IDESC * UNUSED idesc = abuf->idesc;
6107 int cycles = 0;
6109 int referenced = 0;
6110 int UNUSED insn_referenced = abuf->written;
6111 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6113 return cycles;
6114 #undef FLD
6117 static int
6118 model_frv_ftra (SIM_CPU *current_cpu, void *sem_arg)
6120 #define FLD(f) abuf->fields.sfmt_ftne.f
6121 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6122 const IDESC * UNUSED idesc = abuf->idesc;
6123 int cycles = 0;
6125 int referenced = 0;
6126 int UNUSED insn_referenced = abuf->written;
6127 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6129 return cycles;
6130 #undef FLD
6133 static int
6134 model_frv_ftno (SIM_CPU *current_cpu, void *sem_arg)
6136 #define FLD(f) abuf->fields.sfmt_empty.f
6137 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6138 const IDESC * UNUSED idesc = abuf->idesc;
6139 int cycles = 0;
6141 int referenced = 0;
6142 int UNUSED insn_referenced = abuf->written;
6143 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6145 return cycles;
6146 #undef FLD
6149 static int
6150 model_frv_ftne (SIM_CPU *current_cpu, void *sem_arg)
6152 #define FLD(f) abuf->fields.sfmt_ftne.f
6153 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6154 const IDESC * UNUSED idesc = abuf->idesc;
6155 int cycles = 0;
6157 int referenced = 0;
6158 int UNUSED insn_referenced = abuf->written;
6159 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6161 return cycles;
6162 #undef FLD
6165 static int
6166 model_frv_fteq (SIM_CPU *current_cpu, void *sem_arg)
6168 #define FLD(f) abuf->fields.sfmt_ftne.f
6169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6170 const IDESC * UNUSED idesc = abuf->idesc;
6171 int cycles = 0;
6173 int referenced = 0;
6174 int UNUSED insn_referenced = abuf->written;
6175 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6177 return cycles;
6178 #undef FLD
6181 static int
6182 model_frv_ftlg (SIM_CPU *current_cpu, void *sem_arg)
6184 #define FLD(f) abuf->fields.sfmt_ftne.f
6185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6186 const IDESC * UNUSED idesc = abuf->idesc;
6187 int cycles = 0;
6189 int referenced = 0;
6190 int UNUSED insn_referenced = abuf->written;
6191 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6193 return cycles;
6194 #undef FLD
6197 static int
6198 model_frv_ftue (SIM_CPU *current_cpu, void *sem_arg)
6200 #define FLD(f) abuf->fields.sfmt_ftne.f
6201 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6202 const IDESC * UNUSED idesc = abuf->idesc;
6203 int cycles = 0;
6205 int referenced = 0;
6206 int UNUSED insn_referenced = abuf->written;
6207 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6209 return cycles;
6210 #undef FLD
6213 static int
6214 model_frv_ftul (SIM_CPU *current_cpu, void *sem_arg)
6216 #define FLD(f) abuf->fields.sfmt_ftne.f
6217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6218 const IDESC * UNUSED idesc = abuf->idesc;
6219 int cycles = 0;
6221 int referenced = 0;
6222 int UNUSED insn_referenced = abuf->written;
6223 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6225 return cycles;
6226 #undef FLD
6229 static int
6230 model_frv_ftge (SIM_CPU *current_cpu, void *sem_arg)
6232 #define FLD(f) abuf->fields.sfmt_ftne.f
6233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6234 const IDESC * UNUSED idesc = abuf->idesc;
6235 int cycles = 0;
6237 int referenced = 0;
6238 int UNUSED insn_referenced = abuf->written;
6239 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6241 return cycles;
6242 #undef FLD
6245 static int
6246 model_frv_ftlt (SIM_CPU *current_cpu, void *sem_arg)
6248 #define FLD(f) abuf->fields.sfmt_ftne.f
6249 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6250 const IDESC * UNUSED idesc = abuf->idesc;
6251 int cycles = 0;
6253 int referenced = 0;
6254 int UNUSED insn_referenced = abuf->written;
6255 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6257 return cycles;
6258 #undef FLD
6261 static int
6262 model_frv_ftuge (SIM_CPU *current_cpu, void *sem_arg)
6264 #define FLD(f) abuf->fields.sfmt_ftne.f
6265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6266 const IDESC * UNUSED idesc = abuf->idesc;
6267 int cycles = 0;
6269 int referenced = 0;
6270 int UNUSED insn_referenced = abuf->written;
6271 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6273 return cycles;
6274 #undef FLD
6277 static int
6278 model_frv_ftug (SIM_CPU *current_cpu, void *sem_arg)
6280 #define FLD(f) abuf->fields.sfmt_ftne.f
6281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6282 const IDESC * UNUSED idesc = abuf->idesc;
6283 int cycles = 0;
6285 int referenced = 0;
6286 int UNUSED insn_referenced = abuf->written;
6287 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6289 return cycles;
6290 #undef FLD
6293 static int
6294 model_frv_ftle (SIM_CPU *current_cpu, void *sem_arg)
6296 #define FLD(f) abuf->fields.sfmt_ftne.f
6297 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6298 const IDESC * UNUSED idesc = abuf->idesc;
6299 int cycles = 0;
6301 int referenced = 0;
6302 int UNUSED insn_referenced = abuf->written;
6303 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6305 return cycles;
6306 #undef FLD
6309 static int
6310 model_frv_ftgt (SIM_CPU *current_cpu, void *sem_arg)
6312 #define FLD(f) abuf->fields.sfmt_ftne.f
6313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6314 const IDESC * UNUSED idesc = abuf->idesc;
6315 int cycles = 0;
6317 int referenced = 0;
6318 int UNUSED insn_referenced = abuf->written;
6319 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6321 return cycles;
6322 #undef FLD
6325 static int
6326 model_frv_ftule (SIM_CPU *current_cpu, void *sem_arg)
6328 #define FLD(f) abuf->fields.sfmt_ftne.f
6329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6330 const IDESC * UNUSED idesc = abuf->idesc;
6331 int cycles = 0;
6333 int referenced = 0;
6334 int UNUSED insn_referenced = abuf->written;
6335 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6337 return cycles;
6338 #undef FLD
6341 static int
6342 model_frv_ftu (SIM_CPU *current_cpu, void *sem_arg)
6344 #define FLD(f) abuf->fields.sfmt_ftne.f
6345 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6346 const IDESC * UNUSED idesc = abuf->idesc;
6347 int cycles = 0;
6349 int referenced = 0;
6350 int UNUSED insn_referenced = abuf->written;
6351 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6353 return cycles;
6354 #undef FLD
6357 static int
6358 model_frv_fto (SIM_CPU *current_cpu, void *sem_arg)
6360 #define FLD(f) abuf->fields.sfmt_ftne.f
6361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6362 const IDESC * UNUSED idesc = abuf->idesc;
6363 int cycles = 0;
6365 int referenced = 0;
6366 int UNUSED insn_referenced = abuf->written;
6367 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6369 return cycles;
6370 #undef FLD
6373 static int
6374 model_frv_tira (SIM_CPU *current_cpu, void *sem_arg)
6376 #define FLD(f) abuf->fields.sfmt_ftine.f
6377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6378 const IDESC * UNUSED idesc = abuf->idesc;
6379 int cycles = 0;
6381 int referenced = 0;
6382 int UNUSED insn_referenced = abuf->written;
6383 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6385 return cycles;
6386 #undef FLD
6389 static int
6390 model_frv_tino (SIM_CPU *current_cpu, void *sem_arg)
6392 #define FLD(f) abuf->fields.sfmt_empty.f
6393 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6394 const IDESC * UNUSED idesc = abuf->idesc;
6395 int cycles = 0;
6397 int referenced = 0;
6398 int UNUSED insn_referenced = abuf->written;
6399 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6401 return cycles;
6402 #undef FLD
6405 static int
6406 model_frv_tieq (SIM_CPU *current_cpu, void *sem_arg)
6408 #define FLD(f) abuf->fields.sfmt_tieq.f
6409 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6410 const IDESC * UNUSED idesc = abuf->idesc;
6411 int cycles = 0;
6413 int referenced = 0;
6414 int UNUSED insn_referenced = abuf->written;
6415 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6417 return cycles;
6418 #undef FLD
6421 static int
6422 model_frv_tine (SIM_CPU *current_cpu, void *sem_arg)
6424 #define FLD(f) abuf->fields.sfmt_tieq.f
6425 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6426 const IDESC * UNUSED idesc = abuf->idesc;
6427 int cycles = 0;
6429 int referenced = 0;
6430 int UNUSED insn_referenced = abuf->written;
6431 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6433 return cycles;
6434 #undef FLD
6437 static int
6438 model_frv_tile (SIM_CPU *current_cpu, void *sem_arg)
6440 #define FLD(f) abuf->fields.sfmt_tieq.f
6441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6442 const IDESC * UNUSED idesc = abuf->idesc;
6443 int cycles = 0;
6445 int referenced = 0;
6446 int UNUSED insn_referenced = abuf->written;
6447 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6449 return cycles;
6450 #undef FLD
6453 static int
6454 model_frv_tigt (SIM_CPU *current_cpu, void *sem_arg)
6456 #define FLD(f) abuf->fields.sfmt_tieq.f
6457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6458 const IDESC * UNUSED idesc = abuf->idesc;
6459 int cycles = 0;
6461 int referenced = 0;
6462 int UNUSED insn_referenced = abuf->written;
6463 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6465 return cycles;
6466 #undef FLD
6469 static int
6470 model_frv_tilt (SIM_CPU *current_cpu, void *sem_arg)
6472 #define FLD(f) abuf->fields.sfmt_tieq.f
6473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6474 const IDESC * UNUSED idesc = abuf->idesc;
6475 int cycles = 0;
6477 int referenced = 0;
6478 int UNUSED insn_referenced = abuf->written;
6479 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6481 return cycles;
6482 #undef FLD
6485 static int
6486 model_frv_tige (SIM_CPU *current_cpu, void *sem_arg)
6488 #define FLD(f) abuf->fields.sfmt_tieq.f
6489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6490 const IDESC * UNUSED idesc = abuf->idesc;
6491 int cycles = 0;
6493 int referenced = 0;
6494 int UNUSED insn_referenced = abuf->written;
6495 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6497 return cycles;
6498 #undef FLD
6501 static int
6502 model_frv_tils (SIM_CPU *current_cpu, void *sem_arg)
6504 #define FLD(f) abuf->fields.sfmt_tieq.f
6505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6506 const IDESC * UNUSED idesc = abuf->idesc;
6507 int cycles = 0;
6509 int referenced = 0;
6510 int UNUSED insn_referenced = abuf->written;
6511 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6513 return cycles;
6514 #undef FLD
6517 static int
6518 model_frv_tihi (SIM_CPU *current_cpu, void *sem_arg)
6520 #define FLD(f) abuf->fields.sfmt_tieq.f
6521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6522 const IDESC * UNUSED idesc = abuf->idesc;
6523 int cycles = 0;
6525 int referenced = 0;
6526 int UNUSED insn_referenced = abuf->written;
6527 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6529 return cycles;
6530 #undef FLD
6533 static int
6534 model_frv_tic (SIM_CPU *current_cpu, void *sem_arg)
6536 #define FLD(f) abuf->fields.sfmt_tieq.f
6537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6538 const IDESC * UNUSED idesc = abuf->idesc;
6539 int cycles = 0;
6541 int referenced = 0;
6542 int UNUSED insn_referenced = abuf->written;
6543 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6545 return cycles;
6546 #undef FLD
6549 static int
6550 model_frv_tinc (SIM_CPU *current_cpu, void *sem_arg)
6552 #define FLD(f) abuf->fields.sfmt_tieq.f
6553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6554 const IDESC * UNUSED idesc = abuf->idesc;
6555 int cycles = 0;
6557 int referenced = 0;
6558 int UNUSED insn_referenced = abuf->written;
6559 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6561 return cycles;
6562 #undef FLD
6565 static int
6566 model_frv_tin (SIM_CPU *current_cpu, void *sem_arg)
6568 #define FLD(f) abuf->fields.sfmt_tieq.f
6569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6570 const IDESC * UNUSED idesc = abuf->idesc;
6571 int cycles = 0;
6573 int referenced = 0;
6574 int UNUSED insn_referenced = abuf->written;
6575 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6577 return cycles;
6578 #undef FLD
6581 static int
6582 model_frv_tip (SIM_CPU *current_cpu, void *sem_arg)
6584 #define FLD(f) abuf->fields.sfmt_tieq.f
6585 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6586 const IDESC * UNUSED idesc = abuf->idesc;
6587 int cycles = 0;
6589 int referenced = 0;
6590 int UNUSED insn_referenced = abuf->written;
6591 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6593 return cycles;
6594 #undef FLD
6597 static int
6598 model_frv_tiv (SIM_CPU *current_cpu, void *sem_arg)
6600 #define FLD(f) abuf->fields.sfmt_tieq.f
6601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6602 const IDESC * UNUSED idesc = abuf->idesc;
6603 int cycles = 0;
6605 int referenced = 0;
6606 int UNUSED insn_referenced = abuf->written;
6607 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6609 return cycles;
6610 #undef FLD
6613 static int
6614 model_frv_tinv (SIM_CPU *current_cpu, void *sem_arg)
6616 #define FLD(f) abuf->fields.sfmt_tieq.f
6617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6618 const IDESC * UNUSED idesc = abuf->idesc;
6619 int cycles = 0;
6621 int referenced = 0;
6622 int UNUSED insn_referenced = abuf->written;
6623 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6625 return cycles;
6626 #undef FLD
6629 static int
6630 model_frv_ftira (SIM_CPU *current_cpu, void *sem_arg)
6632 #define FLD(f) abuf->fields.sfmt_ftine.f
6633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6634 const IDESC * UNUSED idesc = abuf->idesc;
6635 int cycles = 0;
6637 int referenced = 0;
6638 int UNUSED insn_referenced = abuf->written;
6639 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6641 return cycles;
6642 #undef FLD
6645 static int
6646 model_frv_ftino (SIM_CPU *current_cpu, void *sem_arg)
6648 #define FLD(f) abuf->fields.sfmt_empty.f
6649 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6650 const IDESC * UNUSED idesc = abuf->idesc;
6651 int cycles = 0;
6653 int referenced = 0;
6654 int UNUSED insn_referenced = abuf->written;
6655 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6657 return cycles;
6658 #undef FLD
6661 static int
6662 model_frv_ftine (SIM_CPU *current_cpu, void *sem_arg)
6664 #define FLD(f) abuf->fields.sfmt_ftine.f
6665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6666 const IDESC * UNUSED idesc = abuf->idesc;
6667 int cycles = 0;
6669 int referenced = 0;
6670 int UNUSED insn_referenced = abuf->written;
6671 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6673 return cycles;
6674 #undef FLD
6677 static int
6678 model_frv_ftieq (SIM_CPU *current_cpu, void *sem_arg)
6680 #define FLD(f) abuf->fields.sfmt_ftine.f
6681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6682 const IDESC * UNUSED idesc = abuf->idesc;
6683 int cycles = 0;
6685 int referenced = 0;
6686 int UNUSED insn_referenced = abuf->written;
6687 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6689 return cycles;
6690 #undef FLD
6693 static int
6694 model_frv_ftilg (SIM_CPU *current_cpu, void *sem_arg)
6696 #define FLD(f) abuf->fields.sfmt_ftine.f
6697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6698 const IDESC * UNUSED idesc = abuf->idesc;
6699 int cycles = 0;
6701 int referenced = 0;
6702 int UNUSED insn_referenced = abuf->written;
6703 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6705 return cycles;
6706 #undef FLD
6709 static int
6710 model_frv_ftiue (SIM_CPU *current_cpu, void *sem_arg)
6712 #define FLD(f) abuf->fields.sfmt_ftine.f
6713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6714 const IDESC * UNUSED idesc = abuf->idesc;
6715 int cycles = 0;
6717 int referenced = 0;
6718 int UNUSED insn_referenced = abuf->written;
6719 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6721 return cycles;
6722 #undef FLD
6725 static int
6726 model_frv_ftiul (SIM_CPU *current_cpu, void *sem_arg)
6728 #define FLD(f) abuf->fields.sfmt_ftine.f
6729 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6730 const IDESC * UNUSED idesc = abuf->idesc;
6731 int cycles = 0;
6733 int referenced = 0;
6734 int UNUSED insn_referenced = abuf->written;
6735 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6737 return cycles;
6738 #undef FLD
6741 static int
6742 model_frv_ftige (SIM_CPU *current_cpu, void *sem_arg)
6744 #define FLD(f) abuf->fields.sfmt_ftine.f
6745 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6746 const IDESC * UNUSED idesc = abuf->idesc;
6747 int cycles = 0;
6749 int referenced = 0;
6750 int UNUSED insn_referenced = abuf->written;
6751 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6753 return cycles;
6754 #undef FLD
6757 static int
6758 model_frv_ftilt (SIM_CPU *current_cpu, void *sem_arg)
6760 #define FLD(f) abuf->fields.sfmt_ftine.f
6761 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6762 const IDESC * UNUSED idesc = abuf->idesc;
6763 int cycles = 0;
6765 int referenced = 0;
6766 int UNUSED insn_referenced = abuf->written;
6767 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6769 return cycles;
6770 #undef FLD
6773 static int
6774 model_frv_ftiuge (SIM_CPU *current_cpu, void *sem_arg)
6776 #define FLD(f) abuf->fields.sfmt_ftine.f
6777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6778 const IDESC * UNUSED idesc = abuf->idesc;
6779 int cycles = 0;
6781 int referenced = 0;
6782 int UNUSED insn_referenced = abuf->written;
6783 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6785 return cycles;
6786 #undef FLD
6789 static int
6790 model_frv_ftiug (SIM_CPU *current_cpu, void *sem_arg)
6792 #define FLD(f) abuf->fields.sfmt_ftine.f
6793 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6794 const IDESC * UNUSED idesc = abuf->idesc;
6795 int cycles = 0;
6797 int referenced = 0;
6798 int UNUSED insn_referenced = abuf->written;
6799 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6801 return cycles;
6802 #undef FLD
6805 static int
6806 model_frv_ftile (SIM_CPU *current_cpu, void *sem_arg)
6808 #define FLD(f) abuf->fields.sfmt_ftine.f
6809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6810 const IDESC * UNUSED idesc = abuf->idesc;
6811 int cycles = 0;
6813 int referenced = 0;
6814 int UNUSED insn_referenced = abuf->written;
6815 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6817 return cycles;
6818 #undef FLD
6821 static int
6822 model_frv_ftigt (SIM_CPU *current_cpu, void *sem_arg)
6824 #define FLD(f) abuf->fields.sfmt_ftine.f
6825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6826 const IDESC * UNUSED idesc = abuf->idesc;
6827 int cycles = 0;
6829 int referenced = 0;
6830 int UNUSED insn_referenced = abuf->written;
6831 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6833 return cycles;
6834 #undef FLD
6837 static int
6838 model_frv_ftiule (SIM_CPU *current_cpu, void *sem_arg)
6840 #define FLD(f) abuf->fields.sfmt_ftine.f
6841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6842 const IDESC * UNUSED idesc = abuf->idesc;
6843 int cycles = 0;
6845 int referenced = 0;
6846 int UNUSED insn_referenced = abuf->written;
6847 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6849 return cycles;
6850 #undef FLD
6853 static int
6854 model_frv_ftiu (SIM_CPU *current_cpu, void *sem_arg)
6856 #define FLD(f) abuf->fields.sfmt_ftine.f
6857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6858 const IDESC * UNUSED idesc = abuf->idesc;
6859 int cycles = 0;
6861 int referenced = 0;
6862 int UNUSED insn_referenced = abuf->written;
6863 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6865 return cycles;
6866 #undef FLD
6869 static int
6870 model_frv_ftio (SIM_CPU *current_cpu, void *sem_arg)
6872 #define FLD(f) abuf->fields.sfmt_ftine.f
6873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6874 const IDESC * UNUSED idesc = abuf->idesc;
6875 int cycles = 0;
6877 int referenced = 0;
6878 int UNUSED insn_referenced = abuf->written;
6879 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6881 return cycles;
6882 #undef FLD
6885 static int
6886 model_frv_break (SIM_CPU *current_cpu, void *sem_arg)
6888 #define FLD(f) abuf->fields.sfmt_break.f
6889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6890 const IDESC * UNUSED idesc = abuf->idesc;
6891 int cycles = 0;
6893 int referenced = 0;
6894 int UNUSED insn_referenced = abuf->written;
6895 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6897 return cycles;
6898 #undef FLD
6901 static int
6902 model_frv_mtrap (SIM_CPU *current_cpu, void *sem_arg)
6904 #define FLD(f) abuf->fields.sfmt_empty.f
6905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6906 const IDESC * UNUSED idesc = abuf->idesc;
6907 int cycles = 0;
6909 int referenced = 0;
6910 int UNUSED insn_referenced = abuf->written;
6911 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6913 return cycles;
6914 #undef FLD
6917 static int
6918 model_frv_andcr (SIM_CPU *current_cpu, void *sem_arg)
6920 #define FLD(f) abuf->fields.sfmt_andcr.f
6921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6922 const IDESC * UNUSED idesc = abuf->idesc;
6923 int cycles = 0;
6925 int referenced = 0;
6926 int UNUSED insn_referenced = abuf->written;
6927 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6929 return cycles;
6930 #undef FLD
6933 static int
6934 model_frv_orcr (SIM_CPU *current_cpu, void *sem_arg)
6936 #define FLD(f) abuf->fields.sfmt_andcr.f
6937 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6938 const IDESC * UNUSED idesc = abuf->idesc;
6939 int cycles = 0;
6941 int referenced = 0;
6942 int UNUSED insn_referenced = abuf->written;
6943 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6945 return cycles;
6946 #undef FLD
6949 static int
6950 model_frv_xorcr (SIM_CPU *current_cpu, void *sem_arg)
6952 #define FLD(f) abuf->fields.sfmt_andcr.f
6953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6954 const IDESC * UNUSED idesc = abuf->idesc;
6955 int cycles = 0;
6957 int referenced = 0;
6958 int UNUSED insn_referenced = abuf->written;
6959 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6961 return cycles;
6962 #undef FLD
6965 static int
6966 model_frv_nandcr (SIM_CPU *current_cpu, void *sem_arg)
6968 #define FLD(f) abuf->fields.sfmt_andcr.f
6969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6970 const IDESC * UNUSED idesc = abuf->idesc;
6971 int cycles = 0;
6973 int referenced = 0;
6974 int UNUSED insn_referenced = abuf->written;
6975 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6977 return cycles;
6978 #undef FLD
6981 static int
6982 model_frv_norcr (SIM_CPU *current_cpu, void *sem_arg)
6984 #define FLD(f) abuf->fields.sfmt_andcr.f
6985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
6986 const IDESC * UNUSED idesc = abuf->idesc;
6987 int cycles = 0;
6989 int referenced = 0;
6990 int UNUSED insn_referenced = abuf->written;
6991 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
6993 return cycles;
6994 #undef FLD
6997 static int
6998 model_frv_andncr (SIM_CPU *current_cpu, void *sem_arg)
7000 #define FLD(f) abuf->fields.sfmt_andcr.f
7001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7002 const IDESC * UNUSED idesc = abuf->idesc;
7003 int cycles = 0;
7005 int referenced = 0;
7006 int UNUSED insn_referenced = abuf->written;
7007 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7009 return cycles;
7010 #undef FLD
7013 static int
7014 model_frv_orncr (SIM_CPU *current_cpu, void *sem_arg)
7016 #define FLD(f) abuf->fields.sfmt_andcr.f
7017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7018 const IDESC * UNUSED idesc = abuf->idesc;
7019 int cycles = 0;
7021 int referenced = 0;
7022 int UNUSED insn_referenced = abuf->written;
7023 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7025 return cycles;
7026 #undef FLD
7029 static int
7030 model_frv_nandncr (SIM_CPU *current_cpu, void *sem_arg)
7032 #define FLD(f) abuf->fields.sfmt_andcr.f
7033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7034 const IDESC * UNUSED idesc = abuf->idesc;
7035 int cycles = 0;
7037 int referenced = 0;
7038 int UNUSED insn_referenced = abuf->written;
7039 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7041 return cycles;
7042 #undef FLD
7045 static int
7046 model_frv_norncr (SIM_CPU *current_cpu, void *sem_arg)
7048 #define FLD(f) abuf->fields.sfmt_andcr.f
7049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7050 const IDESC * UNUSED idesc = abuf->idesc;
7051 int cycles = 0;
7053 int referenced = 0;
7054 int UNUSED insn_referenced = abuf->written;
7055 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7057 return cycles;
7058 #undef FLD
7061 static int
7062 model_frv_notcr (SIM_CPU *current_cpu, void *sem_arg)
7064 #define FLD(f) abuf->fields.sfmt_andcr.f
7065 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7066 const IDESC * UNUSED idesc = abuf->idesc;
7067 int cycles = 0;
7069 int referenced = 0;
7070 int UNUSED insn_referenced = abuf->written;
7071 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7073 return cycles;
7074 #undef FLD
7077 static int
7078 model_frv_ckra (SIM_CPU *current_cpu, void *sem_arg)
7080 #define FLD(f) abuf->fields.sfmt_cckeq.f
7081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7082 const IDESC * UNUSED idesc = abuf->idesc;
7083 int cycles = 0;
7085 int referenced = 0;
7086 int UNUSED insn_referenced = abuf->written;
7087 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7089 return cycles;
7090 #undef FLD
7093 static int
7094 model_frv_ckno (SIM_CPU *current_cpu, void *sem_arg)
7096 #define FLD(f) abuf->fields.sfmt_cckeq.f
7097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7098 const IDESC * UNUSED idesc = abuf->idesc;
7099 int cycles = 0;
7101 int referenced = 0;
7102 int UNUSED insn_referenced = abuf->written;
7103 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7105 return cycles;
7106 #undef FLD
7109 static int
7110 model_frv_ckeq (SIM_CPU *current_cpu, void *sem_arg)
7112 #define FLD(f) abuf->fields.sfmt_cckeq.f
7113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7114 const IDESC * UNUSED idesc = abuf->idesc;
7115 int cycles = 0;
7117 int referenced = 0;
7118 int UNUSED insn_referenced = abuf->written;
7119 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7121 return cycles;
7122 #undef FLD
7125 static int
7126 model_frv_ckne (SIM_CPU *current_cpu, void *sem_arg)
7128 #define FLD(f) abuf->fields.sfmt_cckeq.f
7129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7130 const IDESC * UNUSED idesc = abuf->idesc;
7131 int cycles = 0;
7133 int referenced = 0;
7134 int UNUSED insn_referenced = abuf->written;
7135 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7137 return cycles;
7138 #undef FLD
7141 static int
7142 model_frv_ckle (SIM_CPU *current_cpu, void *sem_arg)
7144 #define FLD(f) abuf->fields.sfmt_cckeq.f
7145 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7146 const IDESC * UNUSED idesc = abuf->idesc;
7147 int cycles = 0;
7149 int referenced = 0;
7150 int UNUSED insn_referenced = abuf->written;
7151 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7153 return cycles;
7154 #undef FLD
7157 static int
7158 model_frv_ckgt (SIM_CPU *current_cpu, void *sem_arg)
7160 #define FLD(f) abuf->fields.sfmt_cckeq.f
7161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7162 const IDESC * UNUSED idesc = abuf->idesc;
7163 int cycles = 0;
7165 int referenced = 0;
7166 int UNUSED insn_referenced = abuf->written;
7167 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7169 return cycles;
7170 #undef FLD
7173 static int
7174 model_frv_cklt (SIM_CPU *current_cpu, void *sem_arg)
7176 #define FLD(f) abuf->fields.sfmt_cckeq.f
7177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7178 const IDESC * UNUSED idesc = abuf->idesc;
7179 int cycles = 0;
7181 int referenced = 0;
7182 int UNUSED insn_referenced = abuf->written;
7183 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7185 return cycles;
7186 #undef FLD
7189 static int
7190 model_frv_ckge (SIM_CPU *current_cpu, void *sem_arg)
7192 #define FLD(f) abuf->fields.sfmt_cckeq.f
7193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7194 const IDESC * UNUSED idesc = abuf->idesc;
7195 int cycles = 0;
7197 int referenced = 0;
7198 int UNUSED insn_referenced = abuf->written;
7199 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7201 return cycles;
7202 #undef FLD
7205 static int
7206 model_frv_ckls (SIM_CPU *current_cpu, void *sem_arg)
7208 #define FLD(f) abuf->fields.sfmt_cckeq.f
7209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7210 const IDESC * UNUSED idesc = abuf->idesc;
7211 int cycles = 0;
7213 int referenced = 0;
7214 int UNUSED insn_referenced = abuf->written;
7215 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7217 return cycles;
7218 #undef FLD
7221 static int
7222 model_frv_ckhi (SIM_CPU *current_cpu, void *sem_arg)
7224 #define FLD(f) abuf->fields.sfmt_cckeq.f
7225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7226 const IDESC * UNUSED idesc = abuf->idesc;
7227 int cycles = 0;
7229 int referenced = 0;
7230 int UNUSED insn_referenced = abuf->written;
7231 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7233 return cycles;
7234 #undef FLD
7237 static int
7238 model_frv_ckc (SIM_CPU *current_cpu, void *sem_arg)
7240 #define FLD(f) abuf->fields.sfmt_cckeq.f
7241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7242 const IDESC * UNUSED idesc = abuf->idesc;
7243 int cycles = 0;
7245 int referenced = 0;
7246 int UNUSED insn_referenced = abuf->written;
7247 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7249 return cycles;
7250 #undef FLD
7253 static int
7254 model_frv_cknc (SIM_CPU *current_cpu, void *sem_arg)
7256 #define FLD(f) abuf->fields.sfmt_cckeq.f
7257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7258 const IDESC * UNUSED idesc = abuf->idesc;
7259 int cycles = 0;
7261 int referenced = 0;
7262 int UNUSED insn_referenced = abuf->written;
7263 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7265 return cycles;
7266 #undef FLD
7269 static int
7270 model_frv_ckn (SIM_CPU *current_cpu, void *sem_arg)
7272 #define FLD(f) abuf->fields.sfmt_cckeq.f
7273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7274 const IDESC * UNUSED idesc = abuf->idesc;
7275 int cycles = 0;
7277 int referenced = 0;
7278 int UNUSED insn_referenced = abuf->written;
7279 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7281 return cycles;
7282 #undef FLD
7285 static int
7286 model_frv_ckp (SIM_CPU *current_cpu, void *sem_arg)
7288 #define FLD(f) abuf->fields.sfmt_cckeq.f
7289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7290 const IDESC * UNUSED idesc = abuf->idesc;
7291 int cycles = 0;
7293 int referenced = 0;
7294 int UNUSED insn_referenced = abuf->written;
7295 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7297 return cycles;
7298 #undef FLD
7301 static int
7302 model_frv_ckv (SIM_CPU *current_cpu, void *sem_arg)
7304 #define FLD(f) abuf->fields.sfmt_cckeq.f
7305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7306 const IDESC * UNUSED idesc = abuf->idesc;
7307 int cycles = 0;
7309 int referenced = 0;
7310 int UNUSED insn_referenced = abuf->written;
7311 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7313 return cycles;
7314 #undef FLD
7317 static int
7318 model_frv_cknv (SIM_CPU *current_cpu, void *sem_arg)
7320 #define FLD(f) abuf->fields.sfmt_cckeq.f
7321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7322 const IDESC * UNUSED idesc = abuf->idesc;
7323 int cycles = 0;
7325 int referenced = 0;
7326 int UNUSED insn_referenced = abuf->written;
7327 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7329 return cycles;
7330 #undef FLD
7333 static int
7334 model_frv_fckra (SIM_CPU *current_cpu, void *sem_arg)
7336 #define FLD(f) abuf->fields.sfmt_cfckne.f
7337 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7338 const IDESC * UNUSED idesc = abuf->idesc;
7339 int cycles = 0;
7341 int referenced = 0;
7342 int UNUSED insn_referenced = abuf->written;
7343 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7345 return cycles;
7346 #undef FLD
7349 static int
7350 model_frv_fckno (SIM_CPU *current_cpu, void *sem_arg)
7352 #define FLD(f) abuf->fields.sfmt_cfckne.f
7353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7354 const IDESC * UNUSED idesc = abuf->idesc;
7355 int cycles = 0;
7357 int referenced = 0;
7358 int UNUSED insn_referenced = abuf->written;
7359 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7361 return cycles;
7362 #undef FLD
7365 static int
7366 model_frv_fckne (SIM_CPU *current_cpu, void *sem_arg)
7368 #define FLD(f) abuf->fields.sfmt_cfckne.f
7369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7370 const IDESC * UNUSED idesc = abuf->idesc;
7371 int cycles = 0;
7373 int referenced = 0;
7374 int UNUSED insn_referenced = abuf->written;
7375 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7377 return cycles;
7378 #undef FLD
7381 static int
7382 model_frv_fckeq (SIM_CPU *current_cpu, void *sem_arg)
7384 #define FLD(f) abuf->fields.sfmt_cfckne.f
7385 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7386 const IDESC * UNUSED idesc = abuf->idesc;
7387 int cycles = 0;
7389 int referenced = 0;
7390 int UNUSED insn_referenced = abuf->written;
7391 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7393 return cycles;
7394 #undef FLD
7397 static int
7398 model_frv_fcklg (SIM_CPU *current_cpu, void *sem_arg)
7400 #define FLD(f) abuf->fields.sfmt_cfckne.f
7401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7402 const IDESC * UNUSED idesc = abuf->idesc;
7403 int cycles = 0;
7405 int referenced = 0;
7406 int UNUSED insn_referenced = abuf->written;
7407 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7409 return cycles;
7410 #undef FLD
7413 static int
7414 model_frv_fckue (SIM_CPU *current_cpu, void *sem_arg)
7416 #define FLD(f) abuf->fields.sfmt_cfckne.f
7417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7418 const IDESC * UNUSED idesc = abuf->idesc;
7419 int cycles = 0;
7421 int referenced = 0;
7422 int UNUSED insn_referenced = abuf->written;
7423 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7425 return cycles;
7426 #undef FLD
7429 static int
7430 model_frv_fckul (SIM_CPU *current_cpu, void *sem_arg)
7432 #define FLD(f) abuf->fields.sfmt_cfckne.f
7433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7434 const IDESC * UNUSED idesc = abuf->idesc;
7435 int cycles = 0;
7437 int referenced = 0;
7438 int UNUSED insn_referenced = abuf->written;
7439 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7441 return cycles;
7442 #undef FLD
7445 static int
7446 model_frv_fckge (SIM_CPU *current_cpu, void *sem_arg)
7448 #define FLD(f) abuf->fields.sfmt_cfckne.f
7449 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7450 const IDESC * UNUSED idesc = abuf->idesc;
7451 int cycles = 0;
7453 int referenced = 0;
7454 int UNUSED insn_referenced = abuf->written;
7455 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7457 return cycles;
7458 #undef FLD
7461 static int
7462 model_frv_fcklt (SIM_CPU *current_cpu, void *sem_arg)
7464 #define FLD(f) abuf->fields.sfmt_cfckne.f
7465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7466 const IDESC * UNUSED idesc = abuf->idesc;
7467 int cycles = 0;
7469 int referenced = 0;
7470 int UNUSED insn_referenced = abuf->written;
7471 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7473 return cycles;
7474 #undef FLD
7477 static int
7478 model_frv_fckuge (SIM_CPU *current_cpu, void *sem_arg)
7480 #define FLD(f) abuf->fields.sfmt_cfckne.f
7481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7482 const IDESC * UNUSED idesc = abuf->idesc;
7483 int cycles = 0;
7485 int referenced = 0;
7486 int UNUSED insn_referenced = abuf->written;
7487 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7489 return cycles;
7490 #undef FLD
7493 static int
7494 model_frv_fckug (SIM_CPU *current_cpu, void *sem_arg)
7496 #define FLD(f) abuf->fields.sfmt_cfckne.f
7497 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7498 const IDESC * UNUSED idesc = abuf->idesc;
7499 int cycles = 0;
7501 int referenced = 0;
7502 int UNUSED insn_referenced = abuf->written;
7503 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7505 return cycles;
7506 #undef FLD
7509 static int
7510 model_frv_fckle (SIM_CPU *current_cpu, void *sem_arg)
7512 #define FLD(f) abuf->fields.sfmt_cfckne.f
7513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7514 const IDESC * UNUSED idesc = abuf->idesc;
7515 int cycles = 0;
7517 int referenced = 0;
7518 int UNUSED insn_referenced = abuf->written;
7519 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7521 return cycles;
7522 #undef FLD
7525 static int
7526 model_frv_fckgt (SIM_CPU *current_cpu, void *sem_arg)
7528 #define FLD(f) abuf->fields.sfmt_cfckne.f
7529 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7530 const IDESC * UNUSED idesc = abuf->idesc;
7531 int cycles = 0;
7533 int referenced = 0;
7534 int UNUSED insn_referenced = abuf->written;
7535 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7537 return cycles;
7538 #undef FLD
7541 static int
7542 model_frv_fckule (SIM_CPU *current_cpu, void *sem_arg)
7544 #define FLD(f) abuf->fields.sfmt_cfckne.f
7545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7546 const IDESC * UNUSED idesc = abuf->idesc;
7547 int cycles = 0;
7549 int referenced = 0;
7550 int UNUSED insn_referenced = abuf->written;
7551 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7553 return cycles;
7554 #undef FLD
7557 static int
7558 model_frv_fcku (SIM_CPU *current_cpu, void *sem_arg)
7560 #define FLD(f) abuf->fields.sfmt_cfckne.f
7561 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7562 const IDESC * UNUSED idesc = abuf->idesc;
7563 int cycles = 0;
7565 int referenced = 0;
7566 int UNUSED insn_referenced = abuf->written;
7567 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7569 return cycles;
7570 #undef FLD
7573 static int
7574 model_frv_fcko (SIM_CPU *current_cpu, void *sem_arg)
7576 #define FLD(f) abuf->fields.sfmt_cfckne.f
7577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7578 const IDESC * UNUSED idesc = abuf->idesc;
7579 int cycles = 0;
7581 int referenced = 0;
7582 int UNUSED insn_referenced = abuf->written;
7583 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7585 return cycles;
7586 #undef FLD
7589 static int
7590 model_frv_cckra (SIM_CPU *current_cpu, void *sem_arg)
7592 #define FLD(f) abuf->fields.sfmt_cckeq.f
7593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7594 const IDESC * UNUSED idesc = abuf->idesc;
7595 int cycles = 0;
7597 int referenced = 0;
7598 int UNUSED insn_referenced = abuf->written;
7599 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7601 return cycles;
7602 #undef FLD
7605 static int
7606 model_frv_cckno (SIM_CPU *current_cpu, void *sem_arg)
7608 #define FLD(f) abuf->fields.sfmt_cckeq.f
7609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7610 const IDESC * UNUSED idesc = abuf->idesc;
7611 int cycles = 0;
7613 int referenced = 0;
7614 int UNUSED insn_referenced = abuf->written;
7615 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7617 return cycles;
7618 #undef FLD
7621 static int
7622 model_frv_cckeq (SIM_CPU *current_cpu, void *sem_arg)
7624 #define FLD(f) abuf->fields.sfmt_cckeq.f
7625 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7626 const IDESC * UNUSED idesc = abuf->idesc;
7627 int cycles = 0;
7629 int referenced = 0;
7630 int UNUSED insn_referenced = abuf->written;
7631 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7633 return cycles;
7634 #undef FLD
7637 static int
7638 model_frv_cckne (SIM_CPU *current_cpu, void *sem_arg)
7640 #define FLD(f) abuf->fields.sfmt_cckeq.f
7641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7642 const IDESC * UNUSED idesc = abuf->idesc;
7643 int cycles = 0;
7645 int referenced = 0;
7646 int UNUSED insn_referenced = abuf->written;
7647 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7649 return cycles;
7650 #undef FLD
7653 static int
7654 model_frv_cckle (SIM_CPU *current_cpu, void *sem_arg)
7656 #define FLD(f) abuf->fields.sfmt_cckeq.f
7657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7658 const IDESC * UNUSED idesc = abuf->idesc;
7659 int cycles = 0;
7661 int referenced = 0;
7662 int UNUSED insn_referenced = abuf->written;
7663 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7665 return cycles;
7666 #undef FLD
7669 static int
7670 model_frv_cckgt (SIM_CPU *current_cpu, void *sem_arg)
7672 #define FLD(f) abuf->fields.sfmt_cckeq.f
7673 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7674 const IDESC * UNUSED idesc = abuf->idesc;
7675 int cycles = 0;
7677 int referenced = 0;
7678 int UNUSED insn_referenced = abuf->written;
7679 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7681 return cycles;
7682 #undef FLD
7685 static int
7686 model_frv_ccklt (SIM_CPU *current_cpu, void *sem_arg)
7688 #define FLD(f) abuf->fields.sfmt_cckeq.f
7689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7690 const IDESC * UNUSED idesc = abuf->idesc;
7691 int cycles = 0;
7693 int referenced = 0;
7694 int UNUSED insn_referenced = abuf->written;
7695 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7697 return cycles;
7698 #undef FLD
7701 static int
7702 model_frv_cckge (SIM_CPU *current_cpu, void *sem_arg)
7704 #define FLD(f) abuf->fields.sfmt_cckeq.f
7705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7706 const IDESC * UNUSED idesc = abuf->idesc;
7707 int cycles = 0;
7709 int referenced = 0;
7710 int UNUSED insn_referenced = abuf->written;
7711 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7713 return cycles;
7714 #undef FLD
7717 static int
7718 model_frv_cckls (SIM_CPU *current_cpu, void *sem_arg)
7720 #define FLD(f) abuf->fields.sfmt_cckeq.f
7721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7722 const IDESC * UNUSED idesc = abuf->idesc;
7723 int cycles = 0;
7725 int referenced = 0;
7726 int UNUSED insn_referenced = abuf->written;
7727 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7729 return cycles;
7730 #undef FLD
7733 static int
7734 model_frv_cckhi (SIM_CPU *current_cpu, void *sem_arg)
7736 #define FLD(f) abuf->fields.sfmt_cckeq.f
7737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7738 const IDESC * UNUSED idesc = abuf->idesc;
7739 int cycles = 0;
7741 int referenced = 0;
7742 int UNUSED insn_referenced = abuf->written;
7743 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7745 return cycles;
7746 #undef FLD
7749 static int
7750 model_frv_cckc (SIM_CPU *current_cpu, void *sem_arg)
7752 #define FLD(f) abuf->fields.sfmt_cckeq.f
7753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7754 const IDESC * UNUSED idesc = abuf->idesc;
7755 int cycles = 0;
7757 int referenced = 0;
7758 int UNUSED insn_referenced = abuf->written;
7759 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7761 return cycles;
7762 #undef FLD
7765 static int
7766 model_frv_ccknc (SIM_CPU *current_cpu, void *sem_arg)
7768 #define FLD(f) abuf->fields.sfmt_cckeq.f
7769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7770 const IDESC * UNUSED idesc = abuf->idesc;
7771 int cycles = 0;
7773 int referenced = 0;
7774 int UNUSED insn_referenced = abuf->written;
7775 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7777 return cycles;
7778 #undef FLD
7781 static int
7782 model_frv_cckn (SIM_CPU *current_cpu, void *sem_arg)
7784 #define FLD(f) abuf->fields.sfmt_cckeq.f
7785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7786 const IDESC * UNUSED idesc = abuf->idesc;
7787 int cycles = 0;
7789 int referenced = 0;
7790 int UNUSED insn_referenced = abuf->written;
7791 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7793 return cycles;
7794 #undef FLD
7797 static int
7798 model_frv_cckp (SIM_CPU *current_cpu, void *sem_arg)
7800 #define FLD(f) abuf->fields.sfmt_cckeq.f
7801 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7802 const IDESC * UNUSED idesc = abuf->idesc;
7803 int cycles = 0;
7805 int referenced = 0;
7806 int UNUSED insn_referenced = abuf->written;
7807 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7809 return cycles;
7810 #undef FLD
7813 static int
7814 model_frv_cckv (SIM_CPU *current_cpu, void *sem_arg)
7816 #define FLD(f) abuf->fields.sfmt_cckeq.f
7817 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7818 const IDESC * UNUSED idesc = abuf->idesc;
7819 int cycles = 0;
7821 int referenced = 0;
7822 int UNUSED insn_referenced = abuf->written;
7823 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7825 return cycles;
7826 #undef FLD
7829 static int
7830 model_frv_ccknv (SIM_CPU *current_cpu, void *sem_arg)
7832 #define FLD(f) abuf->fields.sfmt_cckeq.f
7833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7834 const IDESC * UNUSED idesc = abuf->idesc;
7835 int cycles = 0;
7837 int referenced = 0;
7838 int UNUSED insn_referenced = abuf->written;
7839 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7841 return cycles;
7842 #undef FLD
7845 static int
7846 model_frv_cfckra (SIM_CPU *current_cpu, void *sem_arg)
7848 #define FLD(f) abuf->fields.sfmt_cfckne.f
7849 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7850 const IDESC * UNUSED idesc = abuf->idesc;
7851 int cycles = 0;
7853 int referenced = 0;
7854 int UNUSED insn_referenced = abuf->written;
7855 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7857 return cycles;
7858 #undef FLD
7861 static int
7862 model_frv_cfckno (SIM_CPU *current_cpu, void *sem_arg)
7864 #define FLD(f) abuf->fields.sfmt_cfckne.f
7865 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7866 const IDESC * UNUSED idesc = abuf->idesc;
7867 int cycles = 0;
7869 int referenced = 0;
7870 int UNUSED insn_referenced = abuf->written;
7871 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7873 return cycles;
7874 #undef FLD
7877 static int
7878 model_frv_cfckne (SIM_CPU *current_cpu, void *sem_arg)
7880 #define FLD(f) abuf->fields.sfmt_cfckne.f
7881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7882 const IDESC * UNUSED idesc = abuf->idesc;
7883 int cycles = 0;
7885 int referenced = 0;
7886 int UNUSED insn_referenced = abuf->written;
7887 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7889 return cycles;
7890 #undef FLD
7893 static int
7894 model_frv_cfckeq (SIM_CPU *current_cpu, void *sem_arg)
7896 #define FLD(f) abuf->fields.sfmt_cfckne.f
7897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7898 const IDESC * UNUSED idesc = abuf->idesc;
7899 int cycles = 0;
7901 int referenced = 0;
7902 int UNUSED insn_referenced = abuf->written;
7903 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7905 return cycles;
7906 #undef FLD
7909 static int
7910 model_frv_cfcklg (SIM_CPU *current_cpu, void *sem_arg)
7912 #define FLD(f) abuf->fields.sfmt_cfckne.f
7913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7914 const IDESC * UNUSED idesc = abuf->idesc;
7915 int cycles = 0;
7917 int referenced = 0;
7918 int UNUSED insn_referenced = abuf->written;
7919 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7921 return cycles;
7922 #undef FLD
7925 static int
7926 model_frv_cfckue (SIM_CPU *current_cpu, void *sem_arg)
7928 #define FLD(f) abuf->fields.sfmt_cfckne.f
7929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7930 const IDESC * UNUSED idesc = abuf->idesc;
7931 int cycles = 0;
7933 int referenced = 0;
7934 int UNUSED insn_referenced = abuf->written;
7935 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7937 return cycles;
7938 #undef FLD
7941 static int
7942 model_frv_cfckul (SIM_CPU *current_cpu, void *sem_arg)
7944 #define FLD(f) abuf->fields.sfmt_cfckne.f
7945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7946 const IDESC * UNUSED idesc = abuf->idesc;
7947 int cycles = 0;
7949 int referenced = 0;
7950 int UNUSED insn_referenced = abuf->written;
7951 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7953 return cycles;
7954 #undef FLD
7957 static int
7958 model_frv_cfckge (SIM_CPU *current_cpu, void *sem_arg)
7960 #define FLD(f) abuf->fields.sfmt_cfckne.f
7961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7962 const IDESC * UNUSED idesc = abuf->idesc;
7963 int cycles = 0;
7965 int referenced = 0;
7966 int UNUSED insn_referenced = abuf->written;
7967 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7969 return cycles;
7970 #undef FLD
7973 static int
7974 model_frv_cfcklt (SIM_CPU *current_cpu, void *sem_arg)
7976 #define FLD(f) abuf->fields.sfmt_cfckne.f
7977 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7978 const IDESC * UNUSED idesc = abuf->idesc;
7979 int cycles = 0;
7981 int referenced = 0;
7982 int UNUSED insn_referenced = abuf->written;
7983 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
7985 return cycles;
7986 #undef FLD
7989 static int
7990 model_frv_cfckuge (SIM_CPU *current_cpu, void *sem_arg)
7992 #define FLD(f) abuf->fields.sfmt_cfckne.f
7993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
7994 const IDESC * UNUSED idesc = abuf->idesc;
7995 int cycles = 0;
7997 int referenced = 0;
7998 int UNUSED insn_referenced = abuf->written;
7999 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8001 return cycles;
8002 #undef FLD
8005 static int
8006 model_frv_cfckug (SIM_CPU *current_cpu, void *sem_arg)
8008 #define FLD(f) abuf->fields.sfmt_cfckne.f
8009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8010 const IDESC * UNUSED idesc = abuf->idesc;
8011 int cycles = 0;
8013 int referenced = 0;
8014 int UNUSED insn_referenced = abuf->written;
8015 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8017 return cycles;
8018 #undef FLD
8021 static int
8022 model_frv_cfckle (SIM_CPU *current_cpu, void *sem_arg)
8024 #define FLD(f) abuf->fields.sfmt_cfckne.f
8025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8026 const IDESC * UNUSED idesc = abuf->idesc;
8027 int cycles = 0;
8029 int referenced = 0;
8030 int UNUSED insn_referenced = abuf->written;
8031 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8033 return cycles;
8034 #undef FLD
8037 static int
8038 model_frv_cfckgt (SIM_CPU *current_cpu, void *sem_arg)
8040 #define FLD(f) abuf->fields.sfmt_cfckne.f
8041 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8042 const IDESC * UNUSED idesc = abuf->idesc;
8043 int cycles = 0;
8045 int referenced = 0;
8046 int UNUSED insn_referenced = abuf->written;
8047 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8049 return cycles;
8050 #undef FLD
8053 static int
8054 model_frv_cfckule (SIM_CPU *current_cpu, void *sem_arg)
8056 #define FLD(f) abuf->fields.sfmt_cfckne.f
8057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8058 const IDESC * UNUSED idesc = abuf->idesc;
8059 int cycles = 0;
8061 int referenced = 0;
8062 int UNUSED insn_referenced = abuf->written;
8063 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8065 return cycles;
8066 #undef FLD
8069 static int
8070 model_frv_cfcku (SIM_CPU *current_cpu, void *sem_arg)
8072 #define FLD(f) abuf->fields.sfmt_cfckne.f
8073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8074 const IDESC * UNUSED idesc = abuf->idesc;
8075 int cycles = 0;
8077 int referenced = 0;
8078 int UNUSED insn_referenced = abuf->written;
8079 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8081 return cycles;
8082 #undef FLD
8085 static int
8086 model_frv_cfcko (SIM_CPU *current_cpu, void *sem_arg)
8088 #define FLD(f) abuf->fields.sfmt_cfckne.f
8089 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8090 const IDESC * UNUSED idesc = abuf->idesc;
8091 int cycles = 0;
8093 int referenced = 0;
8094 int UNUSED insn_referenced = abuf->written;
8095 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8097 return cycles;
8098 #undef FLD
8101 static int
8102 model_frv_cjmpl (SIM_CPU *current_cpu, void *sem_arg)
8104 #define FLD(f) abuf->fields.sfmt_cjmpl.f
8105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8106 const IDESC * UNUSED idesc = abuf->idesc;
8107 int cycles = 0;
8109 int referenced = 0;
8110 int UNUSED insn_referenced = abuf->written;
8111 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8113 return cycles;
8114 #undef FLD
8117 static int
8118 model_frv_ccalll (SIM_CPU *current_cpu, void *sem_arg)
8120 #define FLD(f) abuf->fields.sfmt_cjmpl.f
8121 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8122 const IDESC * UNUSED idesc = abuf->idesc;
8123 int cycles = 0;
8125 int referenced = 0;
8126 int UNUSED insn_referenced = abuf->written;
8127 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8129 return cycles;
8130 #undef FLD
8133 static int
8134 model_frv_ici (SIM_CPU *current_cpu, void *sem_arg)
8136 #define FLD(f) abuf->fields.sfmt_icpl.f
8137 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8138 const IDESC * UNUSED idesc = abuf->idesc;
8139 int cycles = 0;
8141 int referenced = 0;
8142 int UNUSED insn_referenced = abuf->written;
8143 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8145 return cycles;
8146 #undef FLD
8149 static int
8150 model_frv_dci (SIM_CPU *current_cpu, void *sem_arg)
8152 #define FLD(f) abuf->fields.sfmt_icpl.f
8153 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8154 const IDESC * UNUSED idesc = abuf->idesc;
8155 int cycles = 0;
8157 int referenced = 0;
8158 int UNUSED insn_referenced = abuf->written;
8159 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8161 return cycles;
8162 #undef FLD
8165 static int
8166 model_frv_icei (SIM_CPU *current_cpu, void *sem_arg)
8168 #define FLD(f) abuf->fields.sfmt_icei.f
8169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8170 const IDESC * UNUSED idesc = abuf->idesc;
8171 int cycles = 0;
8173 int referenced = 0;
8174 int UNUSED insn_referenced = abuf->written;
8175 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8177 return cycles;
8178 #undef FLD
8181 static int
8182 model_frv_dcei (SIM_CPU *current_cpu, void *sem_arg)
8184 #define FLD(f) abuf->fields.sfmt_icei.f
8185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8186 const IDESC * UNUSED idesc = abuf->idesc;
8187 int cycles = 0;
8189 int referenced = 0;
8190 int UNUSED insn_referenced = abuf->written;
8191 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8193 return cycles;
8194 #undef FLD
8197 static int
8198 model_frv_dcf (SIM_CPU *current_cpu, void *sem_arg)
8200 #define FLD(f) abuf->fields.sfmt_icpl.f
8201 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8202 const IDESC * UNUSED idesc = abuf->idesc;
8203 int cycles = 0;
8205 int referenced = 0;
8206 int UNUSED insn_referenced = abuf->written;
8207 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8209 return cycles;
8210 #undef FLD
8213 static int
8214 model_frv_dcef (SIM_CPU *current_cpu, void *sem_arg)
8216 #define FLD(f) abuf->fields.sfmt_icei.f
8217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8218 const IDESC * UNUSED idesc = abuf->idesc;
8219 int cycles = 0;
8221 int referenced = 0;
8222 int UNUSED insn_referenced = abuf->written;
8223 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8225 return cycles;
8226 #undef FLD
8229 static int
8230 model_frv_witlb (SIM_CPU *current_cpu, void *sem_arg)
8232 #define FLD(f) abuf->fields.sfmt_empty.f
8233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8234 const IDESC * UNUSED idesc = abuf->idesc;
8235 int cycles = 0;
8237 int referenced = 0;
8238 int UNUSED insn_referenced = abuf->written;
8239 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8241 return cycles;
8242 #undef FLD
8245 static int
8246 model_frv_wdtlb (SIM_CPU *current_cpu, void *sem_arg)
8248 #define FLD(f) abuf->fields.sfmt_empty.f
8249 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8250 const IDESC * UNUSED idesc = abuf->idesc;
8251 int cycles = 0;
8253 int referenced = 0;
8254 int UNUSED insn_referenced = abuf->written;
8255 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8257 return cycles;
8258 #undef FLD
8261 static int
8262 model_frv_itlbi (SIM_CPU *current_cpu, void *sem_arg)
8264 #define FLD(f) abuf->fields.sfmt_empty.f
8265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8266 const IDESC * UNUSED idesc = abuf->idesc;
8267 int cycles = 0;
8269 int referenced = 0;
8270 int UNUSED insn_referenced = abuf->written;
8271 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8273 return cycles;
8274 #undef FLD
8277 static int
8278 model_frv_dtlbi (SIM_CPU *current_cpu, void *sem_arg)
8280 #define FLD(f) abuf->fields.sfmt_empty.f
8281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8282 const IDESC * UNUSED idesc = abuf->idesc;
8283 int cycles = 0;
8285 int referenced = 0;
8286 int UNUSED insn_referenced = abuf->written;
8287 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8289 return cycles;
8290 #undef FLD
8293 static int
8294 model_frv_icpl (SIM_CPU *current_cpu, void *sem_arg)
8296 #define FLD(f) abuf->fields.sfmt_icpl.f
8297 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8298 const IDESC * UNUSED idesc = abuf->idesc;
8299 int cycles = 0;
8301 int referenced = 0;
8302 int UNUSED insn_referenced = abuf->written;
8303 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8305 return cycles;
8306 #undef FLD
8309 static int
8310 model_frv_dcpl (SIM_CPU *current_cpu, void *sem_arg)
8312 #define FLD(f) abuf->fields.sfmt_icpl.f
8313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8314 const IDESC * UNUSED idesc = abuf->idesc;
8315 int cycles = 0;
8317 int referenced = 0;
8318 int UNUSED insn_referenced = abuf->written;
8319 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8321 return cycles;
8322 #undef FLD
8325 static int
8326 model_frv_icul (SIM_CPU *current_cpu, void *sem_arg)
8328 #define FLD(f) abuf->fields.sfmt_jmpil.f
8329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8330 const IDESC * UNUSED idesc = abuf->idesc;
8331 int cycles = 0;
8333 int referenced = 0;
8334 int UNUSED insn_referenced = abuf->written;
8335 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8337 return cycles;
8338 #undef FLD
8341 static int
8342 model_frv_dcul (SIM_CPU *current_cpu, void *sem_arg)
8344 #define FLD(f) abuf->fields.sfmt_jmpil.f
8345 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8346 const IDESC * UNUSED idesc = abuf->idesc;
8347 int cycles = 0;
8349 int referenced = 0;
8350 int UNUSED insn_referenced = abuf->written;
8351 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8353 return cycles;
8354 #undef FLD
8357 static int
8358 model_frv_bar (SIM_CPU *current_cpu, void *sem_arg)
8360 #define FLD(f) abuf->fields.sfmt_empty.f
8361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8362 const IDESC * UNUSED idesc = abuf->idesc;
8363 int cycles = 0;
8365 int referenced = 0;
8366 int UNUSED insn_referenced = abuf->written;
8367 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8369 return cycles;
8370 #undef FLD
8373 static int
8374 model_frv_membar (SIM_CPU *current_cpu, void *sem_arg)
8376 #define FLD(f) abuf->fields.sfmt_empty.f
8377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8378 const IDESC * UNUSED idesc = abuf->idesc;
8379 int cycles = 0;
8381 int referenced = 0;
8382 int UNUSED insn_referenced = abuf->written;
8383 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8385 return cycles;
8386 #undef FLD
8389 static int
8390 model_frv_lrai (SIM_CPU *current_cpu, void *sem_arg)
8392 #define FLD(f) abuf->fields.sfmt_empty.f
8393 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8394 const IDESC * UNUSED idesc = abuf->idesc;
8395 int cycles = 0;
8397 int referenced = 0;
8398 int UNUSED insn_referenced = abuf->written;
8399 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8401 return cycles;
8402 #undef FLD
8405 static int
8406 model_frv_lrad (SIM_CPU *current_cpu, void *sem_arg)
8408 #define FLD(f) abuf->fields.sfmt_empty.f
8409 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8410 const IDESC * UNUSED idesc = abuf->idesc;
8411 int cycles = 0;
8413 int referenced = 0;
8414 int UNUSED insn_referenced = abuf->written;
8415 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8417 return cycles;
8418 #undef FLD
8421 static int
8422 model_frv_tlbpr (SIM_CPU *current_cpu, void *sem_arg)
8424 #define FLD(f) abuf->fields.sfmt_empty.f
8425 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8426 const IDESC * UNUSED idesc = abuf->idesc;
8427 int cycles = 0;
8429 int referenced = 0;
8430 int UNUSED insn_referenced = abuf->written;
8431 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8433 return cycles;
8434 #undef FLD
8437 static int
8438 model_frv_cop1 (SIM_CPU *current_cpu, void *sem_arg)
8440 #define FLD(f) abuf->fields.sfmt_empty.f
8441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8442 const IDESC * UNUSED idesc = abuf->idesc;
8443 int cycles = 0;
8445 int referenced = 0;
8446 int UNUSED insn_referenced = abuf->written;
8447 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8449 return cycles;
8450 #undef FLD
8453 static int
8454 model_frv_cop2 (SIM_CPU *current_cpu, void *sem_arg)
8456 #define FLD(f) abuf->fields.sfmt_empty.f
8457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8458 const IDESC * UNUSED idesc = abuf->idesc;
8459 int cycles = 0;
8461 int referenced = 0;
8462 int UNUSED insn_referenced = abuf->written;
8463 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8465 return cycles;
8466 #undef FLD
8469 static int
8470 model_frv_clrgr (SIM_CPU *current_cpu, void *sem_arg)
8472 #define FLD(f) abuf->fields.sfmt_swapi.f
8473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8474 const IDESC * UNUSED idesc = abuf->idesc;
8475 int cycles = 0;
8477 int referenced = 0;
8478 int UNUSED insn_referenced = abuf->written;
8479 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8481 return cycles;
8482 #undef FLD
8485 static int
8486 model_frv_clrfr (SIM_CPU *current_cpu, void *sem_arg)
8488 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8490 const IDESC * UNUSED idesc = abuf->idesc;
8491 int cycles = 0;
8493 int referenced = 0;
8494 int UNUSED insn_referenced = abuf->written;
8495 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8497 return cycles;
8498 #undef FLD
8501 static int
8502 model_frv_clrga (SIM_CPU *current_cpu, void *sem_arg)
8504 #define FLD(f) abuf->fields.sfmt_empty.f
8505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8506 const IDESC * UNUSED idesc = abuf->idesc;
8507 int cycles = 0;
8509 int referenced = 0;
8510 int UNUSED insn_referenced = abuf->written;
8511 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8513 return cycles;
8514 #undef FLD
8517 static int
8518 model_frv_clrfa (SIM_CPU *current_cpu, void *sem_arg)
8520 #define FLD(f) abuf->fields.sfmt_empty.f
8521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8522 const IDESC * UNUSED idesc = abuf->idesc;
8523 int cycles = 0;
8525 int referenced = 0;
8526 int UNUSED insn_referenced = abuf->written;
8527 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8529 return cycles;
8530 #undef FLD
8533 static int
8534 model_frv_commitgr (SIM_CPU *current_cpu, void *sem_arg)
8536 #define FLD(f) abuf->fields.sfmt_setlos.f
8537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8538 const IDESC * UNUSED idesc = abuf->idesc;
8539 int cycles = 0;
8541 int referenced = 0;
8542 int UNUSED insn_referenced = abuf->written;
8543 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8545 return cycles;
8546 #undef FLD
8549 static int
8550 model_frv_commitfr (SIM_CPU *current_cpu, void *sem_arg)
8552 #define FLD(f) abuf->fields.sfmt_mhsethis.f
8553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8554 const IDESC * UNUSED idesc = abuf->idesc;
8555 int cycles = 0;
8557 int referenced = 0;
8558 int UNUSED insn_referenced = abuf->written;
8559 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8561 return cycles;
8562 #undef FLD
8565 static int
8566 model_frv_commitga (SIM_CPU *current_cpu, void *sem_arg)
8568 #define FLD(f) abuf->fields.sfmt_empty.f
8569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8570 const IDESC * UNUSED idesc = abuf->idesc;
8571 int cycles = 0;
8573 int referenced = 0;
8574 int UNUSED insn_referenced = abuf->written;
8575 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8577 return cycles;
8578 #undef FLD
8581 static int
8582 model_frv_commitfa (SIM_CPU *current_cpu, void *sem_arg)
8584 #define FLD(f) abuf->fields.sfmt_empty.f
8585 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8586 const IDESC * UNUSED idesc = abuf->idesc;
8587 int cycles = 0;
8589 int referenced = 0;
8590 int UNUSED insn_referenced = abuf->written;
8591 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8593 return cycles;
8594 #undef FLD
8597 static int
8598 model_frv_fitos (SIM_CPU *current_cpu, void *sem_arg)
8600 #define FLD(f) abuf->fields.sfmt_fditos.f
8601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8602 const IDESC * UNUSED idesc = abuf->idesc;
8603 int cycles = 0;
8605 int referenced = 0;
8606 int UNUSED insn_referenced = abuf->written;
8607 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8609 return cycles;
8610 #undef FLD
8613 static int
8614 model_frv_fstoi (SIM_CPU *current_cpu, void *sem_arg)
8616 #define FLD(f) abuf->fields.sfmt_fdstoi.f
8617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8618 const IDESC * UNUSED idesc = abuf->idesc;
8619 int cycles = 0;
8621 int referenced = 0;
8622 int UNUSED insn_referenced = abuf->written;
8623 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8625 return cycles;
8626 #undef FLD
8629 static int
8630 model_frv_fitod (SIM_CPU *current_cpu, void *sem_arg)
8632 #define FLD(f) abuf->fields.sfmt_fitod.f
8633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8634 const IDESC * UNUSED idesc = abuf->idesc;
8635 int cycles = 0;
8637 int referenced = 0;
8638 int UNUSED insn_referenced = abuf->written;
8639 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8641 return cycles;
8642 #undef FLD
8645 static int
8646 model_frv_fdtoi (SIM_CPU *current_cpu, void *sem_arg)
8648 #define FLD(f) abuf->fields.sfmt_fdtoi.f
8649 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8650 const IDESC * UNUSED idesc = abuf->idesc;
8651 int cycles = 0;
8653 int referenced = 0;
8654 int UNUSED insn_referenced = abuf->written;
8655 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8657 return cycles;
8658 #undef FLD
8661 static int
8662 model_frv_fditos (SIM_CPU *current_cpu, void *sem_arg)
8664 #define FLD(f) abuf->fields.sfmt_fditos.f
8665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8666 const IDESC * UNUSED idesc = abuf->idesc;
8667 int cycles = 0;
8669 int referenced = 0;
8670 int UNUSED insn_referenced = abuf->written;
8671 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8673 return cycles;
8674 #undef FLD
8677 static int
8678 model_frv_fdstoi (SIM_CPU *current_cpu, void *sem_arg)
8680 #define FLD(f) abuf->fields.sfmt_fdstoi.f
8681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8682 const IDESC * UNUSED idesc = abuf->idesc;
8683 int cycles = 0;
8685 int referenced = 0;
8686 int UNUSED insn_referenced = abuf->written;
8687 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8689 return cycles;
8690 #undef FLD
8693 static int
8694 model_frv_nfditos (SIM_CPU *current_cpu, void *sem_arg)
8696 #define FLD(f) abuf->fields.sfmt_fditos.f
8697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8698 const IDESC * UNUSED idesc = abuf->idesc;
8699 int cycles = 0;
8701 int referenced = 0;
8702 int UNUSED insn_referenced = abuf->written;
8703 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8705 return cycles;
8706 #undef FLD
8709 static int
8710 model_frv_nfdstoi (SIM_CPU *current_cpu, void *sem_arg)
8712 #define FLD(f) abuf->fields.sfmt_fdstoi.f
8713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8714 const IDESC * UNUSED idesc = abuf->idesc;
8715 int cycles = 0;
8717 int referenced = 0;
8718 int UNUSED insn_referenced = abuf->written;
8719 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8721 return cycles;
8722 #undef FLD
8725 static int
8726 model_frv_cfitos (SIM_CPU *current_cpu, void *sem_arg)
8728 #define FLD(f) abuf->fields.sfmt_cfitos.f
8729 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8730 const IDESC * UNUSED idesc = abuf->idesc;
8731 int cycles = 0;
8733 int referenced = 0;
8734 int UNUSED insn_referenced = abuf->written;
8735 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8737 return cycles;
8738 #undef FLD
8741 static int
8742 model_frv_cfstoi (SIM_CPU *current_cpu, void *sem_arg)
8744 #define FLD(f) abuf->fields.sfmt_cfstoi.f
8745 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8746 const IDESC * UNUSED idesc = abuf->idesc;
8747 int cycles = 0;
8749 int referenced = 0;
8750 int UNUSED insn_referenced = abuf->written;
8751 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8753 return cycles;
8754 #undef FLD
8757 static int
8758 model_frv_nfitos (SIM_CPU *current_cpu, void *sem_arg)
8760 #define FLD(f) abuf->fields.sfmt_fditos.f
8761 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8762 const IDESC * UNUSED idesc = abuf->idesc;
8763 int cycles = 0;
8765 int referenced = 0;
8766 int UNUSED insn_referenced = abuf->written;
8767 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8769 return cycles;
8770 #undef FLD
8773 static int
8774 model_frv_nfstoi (SIM_CPU *current_cpu, void *sem_arg)
8776 #define FLD(f) abuf->fields.sfmt_fdstoi.f
8777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8778 const IDESC * UNUSED idesc = abuf->idesc;
8779 int cycles = 0;
8781 int referenced = 0;
8782 int UNUSED insn_referenced = abuf->written;
8783 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8785 return cycles;
8786 #undef FLD
8789 static int
8790 model_frv_fmovs (SIM_CPU *current_cpu, void *sem_arg)
8792 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8793 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8794 const IDESC * UNUSED idesc = abuf->idesc;
8795 int cycles = 0;
8797 int referenced = 0;
8798 int UNUSED insn_referenced = abuf->written;
8799 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8801 return cycles;
8802 #undef FLD
8805 static int
8806 model_frv_fmovd (SIM_CPU *current_cpu, void *sem_arg)
8808 #define FLD(f) abuf->fields.sfmt_fmaddd.f
8809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8810 const IDESC * UNUSED idesc = abuf->idesc;
8811 int cycles = 0;
8813 int referenced = 0;
8814 int UNUSED insn_referenced = abuf->written;
8815 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8817 return cycles;
8818 #undef FLD
8821 static int
8822 model_frv_fdmovs (SIM_CPU *current_cpu, void *sem_arg)
8824 #define FLD(f) abuf->fields.sfmt_fdmadds.f
8825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8826 const IDESC * UNUSED idesc = abuf->idesc;
8827 int cycles = 0;
8829 int referenced = 0;
8830 int UNUSED insn_referenced = abuf->written;
8831 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8833 return cycles;
8834 #undef FLD
8837 static int
8838 model_frv_cfmovs (SIM_CPU *current_cpu, void *sem_arg)
8840 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8842 const IDESC * UNUSED idesc = abuf->idesc;
8843 int cycles = 0;
8845 int referenced = 0;
8846 int UNUSED insn_referenced = abuf->written;
8847 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8849 return cycles;
8850 #undef FLD
8853 static int
8854 model_frv_fnegs (SIM_CPU *current_cpu, void *sem_arg)
8856 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8858 const IDESC * UNUSED idesc = abuf->idesc;
8859 int cycles = 0;
8861 int referenced = 0;
8862 int UNUSED insn_referenced = abuf->written;
8863 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8865 return cycles;
8866 #undef FLD
8869 static int
8870 model_frv_fnegd (SIM_CPU *current_cpu, void *sem_arg)
8872 #define FLD(f) abuf->fields.sfmt_fmaddd.f
8873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8874 const IDESC * UNUSED idesc = abuf->idesc;
8875 int cycles = 0;
8877 int referenced = 0;
8878 int UNUSED insn_referenced = abuf->written;
8879 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8881 return cycles;
8882 #undef FLD
8885 static int
8886 model_frv_fdnegs (SIM_CPU *current_cpu, void *sem_arg)
8888 #define FLD(f) abuf->fields.sfmt_fdmadds.f
8889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8890 const IDESC * UNUSED idesc = abuf->idesc;
8891 int cycles = 0;
8893 int referenced = 0;
8894 int UNUSED insn_referenced = abuf->written;
8895 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8897 return cycles;
8898 #undef FLD
8901 static int
8902 model_frv_cfnegs (SIM_CPU *current_cpu, void *sem_arg)
8904 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8906 const IDESC * UNUSED idesc = abuf->idesc;
8907 int cycles = 0;
8909 int referenced = 0;
8910 int UNUSED insn_referenced = abuf->written;
8911 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8913 return cycles;
8914 #undef FLD
8917 static int
8918 model_frv_fabss (SIM_CPU *current_cpu, void *sem_arg)
8920 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8922 const IDESC * UNUSED idesc = abuf->idesc;
8923 int cycles = 0;
8925 int referenced = 0;
8926 int UNUSED insn_referenced = abuf->written;
8927 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8929 return cycles;
8930 #undef FLD
8933 static int
8934 model_frv_fabsd (SIM_CPU *current_cpu, void *sem_arg)
8936 #define FLD(f) abuf->fields.sfmt_fmaddd.f
8937 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8938 const IDESC * UNUSED idesc = abuf->idesc;
8939 int cycles = 0;
8941 int referenced = 0;
8942 int UNUSED insn_referenced = abuf->written;
8943 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8945 return cycles;
8946 #undef FLD
8949 static int
8950 model_frv_fdabss (SIM_CPU *current_cpu, void *sem_arg)
8952 #define FLD(f) abuf->fields.sfmt_fdmadds.f
8953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8954 const IDESC * UNUSED idesc = abuf->idesc;
8955 int cycles = 0;
8957 int referenced = 0;
8958 int UNUSED insn_referenced = abuf->written;
8959 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8961 return cycles;
8962 #undef FLD
8965 static int
8966 model_frv_cfabss (SIM_CPU *current_cpu, void *sem_arg)
8968 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8970 const IDESC * UNUSED idesc = abuf->idesc;
8971 int cycles = 0;
8973 int referenced = 0;
8974 int UNUSED insn_referenced = abuf->written;
8975 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8977 return cycles;
8978 #undef FLD
8981 static int
8982 model_frv_fsqrts (SIM_CPU *current_cpu, void *sem_arg)
8984 #define FLD(f) abuf->fields.sfmt_cfmadds.f
8985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
8986 const IDESC * UNUSED idesc = abuf->idesc;
8987 int cycles = 0;
8989 int referenced = 0;
8990 int UNUSED insn_referenced = abuf->written;
8991 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
8993 return cycles;
8994 #undef FLD
8997 static int
8998 model_frv_fdsqrts (SIM_CPU *current_cpu, void *sem_arg)
9000 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9002 const IDESC * UNUSED idesc = abuf->idesc;
9003 int cycles = 0;
9005 int referenced = 0;
9006 int UNUSED insn_referenced = abuf->written;
9007 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9009 return cycles;
9010 #undef FLD
9013 static int
9014 model_frv_nfdsqrts (SIM_CPU *current_cpu, void *sem_arg)
9016 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9018 const IDESC * UNUSED idesc = abuf->idesc;
9019 int cycles = 0;
9021 int referenced = 0;
9022 int UNUSED insn_referenced = abuf->written;
9023 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9025 return cycles;
9026 #undef FLD
9029 static int
9030 model_frv_fsqrtd (SIM_CPU *current_cpu, void *sem_arg)
9032 #define FLD(f) abuf->fields.sfmt_fmaddd.f
9033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9034 const IDESC * UNUSED idesc = abuf->idesc;
9035 int cycles = 0;
9037 int referenced = 0;
9038 int UNUSED insn_referenced = abuf->written;
9039 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9041 return cycles;
9042 #undef FLD
9045 static int
9046 model_frv_cfsqrts (SIM_CPU *current_cpu, void *sem_arg)
9048 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9050 const IDESC * UNUSED idesc = abuf->idesc;
9051 int cycles = 0;
9053 int referenced = 0;
9054 int UNUSED insn_referenced = abuf->written;
9055 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9057 return cycles;
9058 #undef FLD
9061 static int
9062 model_frv_nfsqrts (SIM_CPU *current_cpu, void *sem_arg)
9064 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9065 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9066 const IDESC * UNUSED idesc = abuf->idesc;
9067 int cycles = 0;
9069 int referenced = 0;
9070 int UNUSED insn_referenced = abuf->written;
9071 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9073 return cycles;
9074 #undef FLD
9077 static int
9078 model_frv_fadds (SIM_CPU *current_cpu, void *sem_arg)
9080 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9082 const IDESC * UNUSED idesc = abuf->idesc;
9083 int cycles = 0;
9085 int referenced = 0;
9086 int UNUSED insn_referenced = abuf->written;
9087 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9089 return cycles;
9090 #undef FLD
9093 static int
9094 model_frv_fsubs (SIM_CPU *current_cpu, void *sem_arg)
9096 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9098 const IDESC * UNUSED idesc = abuf->idesc;
9099 int cycles = 0;
9101 int referenced = 0;
9102 int UNUSED insn_referenced = abuf->written;
9103 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9105 return cycles;
9106 #undef FLD
9109 static int
9110 model_frv_fmuls (SIM_CPU *current_cpu, void *sem_arg)
9112 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9114 const IDESC * UNUSED idesc = abuf->idesc;
9115 int cycles = 0;
9117 int referenced = 0;
9118 int UNUSED insn_referenced = abuf->written;
9119 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9121 return cycles;
9122 #undef FLD
9125 static int
9126 model_frv_fdivs (SIM_CPU *current_cpu, void *sem_arg)
9128 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9130 const IDESC * UNUSED idesc = abuf->idesc;
9131 int cycles = 0;
9133 int referenced = 0;
9134 int UNUSED insn_referenced = abuf->written;
9135 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9137 return cycles;
9138 #undef FLD
9141 static int
9142 model_frv_faddd (SIM_CPU *current_cpu, void *sem_arg)
9144 #define FLD(f) abuf->fields.sfmt_fmaddd.f
9145 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9146 const IDESC * UNUSED idesc = abuf->idesc;
9147 int cycles = 0;
9149 int referenced = 0;
9150 int UNUSED insn_referenced = abuf->written;
9151 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9153 return cycles;
9154 #undef FLD
9157 static int
9158 model_frv_fsubd (SIM_CPU *current_cpu, void *sem_arg)
9160 #define FLD(f) abuf->fields.sfmt_fmaddd.f
9161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9162 const IDESC * UNUSED idesc = abuf->idesc;
9163 int cycles = 0;
9165 int referenced = 0;
9166 int UNUSED insn_referenced = abuf->written;
9167 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9169 return cycles;
9170 #undef FLD
9173 static int
9174 model_frv_fmuld (SIM_CPU *current_cpu, void *sem_arg)
9176 #define FLD(f) abuf->fields.sfmt_fmaddd.f
9177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9178 const IDESC * UNUSED idesc = abuf->idesc;
9179 int cycles = 0;
9181 int referenced = 0;
9182 int UNUSED insn_referenced = abuf->written;
9183 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9185 return cycles;
9186 #undef FLD
9189 static int
9190 model_frv_fdivd (SIM_CPU *current_cpu, void *sem_arg)
9192 #define FLD(f) abuf->fields.sfmt_fmaddd.f
9193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9194 const IDESC * UNUSED idesc = abuf->idesc;
9195 int cycles = 0;
9197 int referenced = 0;
9198 int UNUSED insn_referenced = abuf->written;
9199 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9201 return cycles;
9202 #undef FLD
9205 static int
9206 model_frv_cfadds (SIM_CPU *current_cpu, void *sem_arg)
9208 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9210 const IDESC * UNUSED idesc = abuf->idesc;
9211 int cycles = 0;
9213 int referenced = 0;
9214 int UNUSED insn_referenced = abuf->written;
9215 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9217 return cycles;
9218 #undef FLD
9221 static int
9222 model_frv_cfsubs (SIM_CPU *current_cpu, void *sem_arg)
9224 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9226 const IDESC * UNUSED idesc = abuf->idesc;
9227 int cycles = 0;
9229 int referenced = 0;
9230 int UNUSED insn_referenced = abuf->written;
9231 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9233 return cycles;
9234 #undef FLD
9237 static int
9238 model_frv_cfmuls (SIM_CPU *current_cpu, void *sem_arg)
9240 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9242 const IDESC * UNUSED idesc = abuf->idesc;
9243 int cycles = 0;
9245 int referenced = 0;
9246 int UNUSED insn_referenced = abuf->written;
9247 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9249 return cycles;
9250 #undef FLD
9253 static int
9254 model_frv_cfdivs (SIM_CPU *current_cpu, void *sem_arg)
9256 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9258 const IDESC * UNUSED idesc = abuf->idesc;
9259 int cycles = 0;
9261 int referenced = 0;
9262 int UNUSED insn_referenced = abuf->written;
9263 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9265 return cycles;
9266 #undef FLD
9269 static int
9270 model_frv_nfadds (SIM_CPU *current_cpu, void *sem_arg)
9272 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9274 const IDESC * UNUSED idesc = abuf->idesc;
9275 int cycles = 0;
9277 int referenced = 0;
9278 int UNUSED insn_referenced = abuf->written;
9279 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9281 return cycles;
9282 #undef FLD
9285 static int
9286 model_frv_nfsubs (SIM_CPU *current_cpu, void *sem_arg)
9288 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9290 const IDESC * UNUSED idesc = abuf->idesc;
9291 int cycles = 0;
9293 int referenced = 0;
9294 int UNUSED insn_referenced = abuf->written;
9295 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9297 return cycles;
9298 #undef FLD
9301 static int
9302 model_frv_nfmuls (SIM_CPU *current_cpu, void *sem_arg)
9304 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9306 const IDESC * UNUSED idesc = abuf->idesc;
9307 int cycles = 0;
9309 int referenced = 0;
9310 int UNUSED insn_referenced = abuf->written;
9311 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9313 return cycles;
9314 #undef FLD
9317 static int
9318 model_frv_nfdivs (SIM_CPU *current_cpu, void *sem_arg)
9320 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9322 const IDESC * UNUSED idesc = abuf->idesc;
9323 int cycles = 0;
9325 int referenced = 0;
9326 int UNUSED insn_referenced = abuf->written;
9327 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9329 return cycles;
9330 #undef FLD
9333 static int
9334 model_frv_fcmps (SIM_CPU *current_cpu, void *sem_arg)
9336 #define FLD(f) abuf->fields.sfmt_cfcmps.f
9337 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9338 const IDESC * UNUSED idesc = abuf->idesc;
9339 int cycles = 0;
9341 int referenced = 0;
9342 int UNUSED insn_referenced = abuf->written;
9343 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9345 return cycles;
9346 #undef FLD
9349 static int
9350 model_frv_fcmpd (SIM_CPU *current_cpu, void *sem_arg)
9352 #define FLD(f) abuf->fields.sfmt_fcmpd.f
9353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9354 const IDESC * UNUSED idesc = abuf->idesc;
9355 int cycles = 0;
9357 int referenced = 0;
9358 int UNUSED insn_referenced = abuf->written;
9359 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9361 return cycles;
9362 #undef FLD
9365 static int
9366 model_frv_cfcmps (SIM_CPU *current_cpu, void *sem_arg)
9368 #define FLD(f) abuf->fields.sfmt_cfcmps.f
9369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9370 const IDESC * UNUSED idesc = abuf->idesc;
9371 int cycles = 0;
9373 int referenced = 0;
9374 int UNUSED insn_referenced = abuf->written;
9375 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9377 return cycles;
9378 #undef FLD
9381 static int
9382 model_frv_fdcmps (SIM_CPU *current_cpu, void *sem_arg)
9384 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
9385 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9386 const IDESC * UNUSED idesc = abuf->idesc;
9387 int cycles = 0;
9389 int referenced = 0;
9390 int UNUSED insn_referenced = abuf->written;
9391 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9393 return cycles;
9394 #undef FLD
9397 static int
9398 model_frv_fmadds (SIM_CPU *current_cpu, void *sem_arg)
9400 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9402 const IDESC * UNUSED idesc = abuf->idesc;
9403 int cycles = 0;
9405 int referenced = 0;
9406 int UNUSED insn_referenced = abuf->written;
9407 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9409 return cycles;
9410 #undef FLD
9413 static int
9414 model_frv_fmsubs (SIM_CPU *current_cpu, void *sem_arg)
9416 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9418 const IDESC * UNUSED idesc = abuf->idesc;
9419 int cycles = 0;
9421 int referenced = 0;
9422 int UNUSED insn_referenced = abuf->written;
9423 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9425 return cycles;
9426 #undef FLD
9429 static int
9430 model_frv_fmaddd (SIM_CPU *current_cpu, void *sem_arg)
9432 #define FLD(f) abuf->fields.sfmt_fmaddd.f
9433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9434 const IDESC * UNUSED idesc = abuf->idesc;
9435 int cycles = 0;
9437 int referenced = 0;
9438 int UNUSED insn_referenced = abuf->written;
9439 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9441 return cycles;
9442 #undef FLD
9445 static int
9446 model_frv_fmsubd (SIM_CPU *current_cpu, void *sem_arg)
9448 #define FLD(f) abuf->fields.sfmt_fmaddd.f
9449 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9450 const IDESC * UNUSED idesc = abuf->idesc;
9451 int cycles = 0;
9453 int referenced = 0;
9454 int UNUSED insn_referenced = abuf->written;
9455 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9457 return cycles;
9458 #undef FLD
9461 static int
9462 model_frv_fdmadds (SIM_CPU *current_cpu, void *sem_arg)
9464 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9466 const IDESC * UNUSED idesc = abuf->idesc;
9467 int cycles = 0;
9469 int referenced = 0;
9470 int UNUSED insn_referenced = abuf->written;
9471 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9473 return cycles;
9474 #undef FLD
9477 static int
9478 model_frv_nfdmadds (SIM_CPU *current_cpu, void *sem_arg)
9480 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9482 const IDESC * UNUSED idesc = abuf->idesc;
9483 int cycles = 0;
9485 int referenced = 0;
9486 int UNUSED insn_referenced = abuf->written;
9487 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9489 return cycles;
9490 #undef FLD
9493 static int
9494 model_frv_cfmadds (SIM_CPU *current_cpu, void *sem_arg)
9496 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9497 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9498 const IDESC * UNUSED idesc = abuf->idesc;
9499 int cycles = 0;
9501 int referenced = 0;
9502 int UNUSED insn_referenced = abuf->written;
9503 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9505 return cycles;
9506 #undef FLD
9509 static int
9510 model_frv_cfmsubs (SIM_CPU *current_cpu, void *sem_arg)
9512 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9514 const IDESC * UNUSED idesc = abuf->idesc;
9515 int cycles = 0;
9517 int referenced = 0;
9518 int UNUSED insn_referenced = abuf->written;
9519 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9521 return cycles;
9522 #undef FLD
9525 static int
9526 model_frv_nfmadds (SIM_CPU *current_cpu, void *sem_arg)
9528 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9529 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9530 const IDESC * UNUSED idesc = abuf->idesc;
9531 int cycles = 0;
9533 int referenced = 0;
9534 int UNUSED insn_referenced = abuf->written;
9535 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9537 return cycles;
9538 #undef FLD
9541 static int
9542 model_frv_nfmsubs (SIM_CPU *current_cpu, void *sem_arg)
9544 #define FLD(f) abuf->fields.sfmt_cfmadds.f
9545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9546 const IDESC * UNUSED idesc = abuf->idesc;
9547 int cycles = 0;
9549 int referenced = 0;
9550 int UNUSED insn_referenced = abuf->written;
9551 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9553 return cycles;
9554 #undef FLD
9557 static int
9558 model_frv_fmas (SIM_CPU *current_cpu, void *sem_arg)
9560 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9561 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9562 const IDESC * UNUSED idesc = abuf->idesc;
9563 int cycles = 0;
9565 int referenced = 0;
9566 int UNUSED insn_referenced = abuf->written;
9567 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9569 return cycles;
9570 #undef FLD
9573 static int
9574 model_frv_fmss (SIM_CPU *current_cpu, void *sem_arg)
9576 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9578 const IDESC * UNUSED idesc = abuf->idesc;
9579 int cycles = 0;
9581 int referenced = 0;
9582 int UNUSED insn_referenced = abuf->written;
9583 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9585 return cycles;
9586 #undef FLD
9589 static int
9590 model_frv_fdmas (SIM_CPU *current_cpu, void *sem_arg)
9592 #define FLD(f) abuf->fields.sfmt_fdmas.f
9593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9594 const IDESC * UNUSED idesc = abuf->idesc;
9595 int cycles = 0;
9597 int referenced = 0;
9598 int UNUSED insn_referenced = abuf->written;
9599 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9601 return cycles;
9602 #undef FLD
9605 static int
9606 model_frv_fdmss (SIM_CPU *current_cpu, void *sem_arg)
9608 #define FLD(f) abuf->fields.sfmt_fdmas.f
9609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9610 const IDESC * UNUSED idesc = abuf->idesc;
9611 int cycles = 0;
9613 int referenced = 0;
9614 int UNUSED insn_referenced = abuf->written;
9615 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9617 return cycles;
9618 #undef FLD
9621 static int
9622 model_frv_nfdmas (SIM_CPU *current_cpu, void *sem_arg)
9624 #define FLD(f) abuf->fields.sfmt_fdmas.f
9625 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9626 const IDESC * UNUSED idesc = abuf->idesc;
9627 int cycles = 0;
9629 int referenced = 0;
9630 int UNUSED insn_referenced = abuf->written;
9631 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9633 return cycles;
9634 #undef FLD
9637 static int
9638 model_frv_nfdmss (SIM_CPU *current_cpu, void *sem_arg)
9640 #define FLD(f) abuf->fields.sfmt_fdmas.f
9641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9642 const IDESC * UNUSED idesc = abuf->idesc;
9643 int cycles = 0;
9645 int referenced = 0;
9646 int UNUSED insn_referenced = abuf->written;
9647 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9649 return cycles;
9650 #undef FLD
9653 static int
9654 model_frv_cfmas (SIM_CPU *current_cpu, void *sem_arg)
9656 #define FLD(f) abuf->fields.sfmt_cfmas.f
9657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9658 const IDESC * UNUSED idesc = abuf->idesc;
9659 int cycles = 0;
9661 int referenced = 0;
9662 int UNUSED insn_referenced = abuf->written;
9663 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9665 return cycles;
9666 #undef FLD
9669 static int
9670 model_frv_cfmss (SIM_CPU *current_cpu, void *sem_arg)
9672 #define FLD(f) abuf->fields.sfmt_cfmas.f
9673 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9674 const IDESC * UNUSED idesc = abuf->idesc;
9675 int cycles = 0;
9677 int referenced = 0;
9678 int UNUSED insn_referenced = abuf->written;
9679 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9681 return cycles;
9682 #undef FLD
9685 static int
9686 model_frv_fmad (SIM_CPU *current_cpu, void *sem_arg)
9688 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9690 const IDESC * UNUSED idesc = abuf->idesc;
9691 int cycles = 0;
9693 int referenced = 0;
9694 int UNUSED insn_referenced = abuf->written;
9695 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9697 return cycles;
9698 #undef FLD
9701 static int
9702 model_frv_fmsd (SIM_CPU *current_cpu, void *sem_arg)
9704 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9706 const IDESC * UNUSED idesc = abuf->idesc;
9707 int cycles = 0;
9709 int referenced = 0;
9710 int UNUSED insn_referenced = abuf->written;
9711 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9713 return cycles;
9714 #undef FLD
9717 static int
9718 model_frv_nfmas (SIM_CPU *current_cpu, void *sem_arg)
9720 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9722 const IDESC * UNUSED idesc = abuf->idesc;
9723 int cycles = 0;
9725 int referenced = 0;
9726 int UNUSED insn_referenced = abuf->written;
9727 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9729 return cycles;
9730 #undef FLD
9733 static int
9734 model_frv_nfmss (SIM_CPU *current_cpu, void *sem_arg)
9736 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9738 const IDESC * UNUSED idesc = abuf->idesc;
9739 int cycles = 0;
9741 int referenced = 0;
9742 int UNUSED insn_referenced = abuf->written;
9743 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9745 return cycles;
9746 #undef FLD
9749 static int
9750 model_frv_fdadds (SIM_CPU *current_cpu, void *sem_arg)
9752 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9754 const IDESC * UNUSED idesc = abuf->idesc;
9755 int cycles = 0;
9757 int referenced = 0;
9758 int UNUSED insn_referenced = abuf->written;
9759 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9761 return cycles;
9762 #undef FLD
9765 static int
9766 model_frv_fdsubs (SIM_CPU *current_cpu, void *sem_arg)
9768 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9770 const IDESC * UNUSED idesc = abuf->idesc;
9771 int cycles = 0;
9773 int referenced = 0;
9774 int UNUSED insn_referenced = abuf->written;
9775 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9777 return cycles;
9778 #undef FLD
9781 static int
9782 model_frv_fdmuls (SIM_CPU *current_cpu, void *sem_arg)
9784 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9786 const IDESC * UNUSED idesc = abuf->idesc;
9787 int cycles = 0;
9789 int referenced = 0;
9790 int UNUSED insn_referenced = abuf->written;
9791 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9793 return cycles;
9794 #undef FLD
9797 static int
9798 model_frv_fddivs (SIM_CPU *current_cpu, void *sem_arg)
9800 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9801 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9802 const IDESC * UNUSED idesc = abuf->idesc;
9803 int cycles = 0;
9805 int referenced = 0;
9806 int UNUSED insn_referenced = abuf->written;
9807 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9809 return cycles;
9810 #undef FLD
9813 static int
9814 model_frv_fdsads (SIM_CPU *current_cpu, void *sem_arg)
9816 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9817 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9818 const IDESC * UNUSED idesc = abuf->idesc;
9819 int cycles = 0;
9821 int referenced = 0;
9822 int UNUSED insn_referenced = abuf->written;
9823 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9825 return cycles;
9826 #undef FLD
9829 static int
9830 model_frv_fdmulcs (SIM_CPU *current_cpu, void *sem_arg)
9832 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9834 const IDESC * UNUSED idesc = abuf->idesc;
9835 int cycles = 0;
9837 int referenced = 0;
9838 int UNUSED insn_referenced = abuf->written;
9839 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9841 return cycles;
9842 #undef FLD
9845 static int
9846 model_frv_nfdmulcs (SIM_CPU *current_cpu, void *sem_arg)
9848 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9849 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9850 const IDESC * UNUSED idesc = abuf->idesc;
9851 int cycles = 0;
9853 int referenced = 0;
9854 int UNUSED insn_referenced = abuf->written;
9855 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9857 return cycles;
9858 #undef FLD
9861 static int
9862 model_frv_nfdadds (SIM_CPU *current_cpu, void *sem_arg)
9864 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9865 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9866 const IDESC * UNUSED idesc = abuf->idesc;
9867 int cycles = 0;
9869 int referenced = 0;
9870 int UNUSED insn_referenced = abuf->written;
9871 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9873 return cycles;
9874 #undef FLD
9877 static int
9878 model_frv_nfdsubs (SIM_CPU *current_cpu, void *sem_arg)
9880 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9882 const IDESC * UNUSED idesc = abuf->idesc;
9883 int cycles = 0;
9885 int referenced = 0;
9886 int UNUSED insn_referenced = abuf->written;
9887 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9889 return cycles;
9890 #undef FLD
9893 static int
9894 model_frv_nfdmuls (SIM_CPU *current_cpu, void *sem_arg)
9896 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9898 const IDESC * UNUSED idesc = abuf->idesc;
9899 int cycles = 0;
9901 int referenced = 0;
9902 int UNUSED insn_referenced = abuf->written;
9903 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9905 return cycles;
9906 #undef FLD
9909 static int
9910 model_frv_nfddivs (SIM_CPU *current_cpu, void *sem_arg)
9912 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9914 const IDESC * UNUSED idesc = abuf->idesc;
9915 int cycles = 0;
9917 int referenced = 0;
9918 int UNUSED insn_referenced = abuf->written;
9919 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9921 return cycles;
9922 #undef FLD
9925 static int
9926 model_frv_nfdsads (SIM_CPU *current_cpu, void *sem_arg)
9928 #define FLD(f) abuf->fields.sfmt_fdmadds.f
9929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9930 const IDESC * UNUSED idesc = abuf->idesc;
9931 int cycles = 0;
9933 int referenced = 0;
9934 int UNUSED insn_referenced = abuf->written;
9935 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9937 return cycles;
9938 #undef FLD
9941 static int
9942 model_frv_nfdcmps (SIM_CPU *current_cpu, void *sem_arg)
9944 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
9945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9946 const IDESC * UNUSED idesc = abuf->idesc;
9947 int cycles = 0;
9949 int referenced = 0;
9950 int UNUSED insn_referenced = abuf->written;
9951 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9953 return cycles;
9954 #undef FLD
9957 static int
9958 model_frv_mhsetlos (SIM_CPU *current_cpu, void *sem_arg)
9960 #define FLD(f) abuf->fields.sfmt_mhsetlos.f
9961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9962 const IDESC * UNUSED idesc = abuf->idesc;
9963 int cycles = 0;
9965 int referenced = 0;
9966 int UNUSED insn_referenced = abuf->written;
9967 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9969 return cycles;
9970 #undef FLD
9973 static int
9974 model_frv_mhsethis (SIM_CPU *current_cpu, void *sem_arg)
9976 #define FLD(f) abuf->fields.sfmt_mhsethis.f
9977 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9978 const IDESC * UNUSED idesc = abuf->idesc;
9979 int cycles = 0;
9981 int referenced = 0;
9982 int UNUSED insn_referenced = abuf->written;
9983 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
9985 return cycles;
9986 #undef FLD
9989 static int
9990 model_frv_mhdsets (SIM_CPU *current_cpu, void *sem_arg)
9992 #define FLD(f) abuf->fields.sfmt_mhdsets.f
9993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
9994 const IDESC * UNUSED idesc = abuf->idesc;
9995 int cycles = 0;
9997 int referenced = 0;
9998 int UNUSED insn_referenced = abuf->written;
9999 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10001 return cycles;
10002 #undef FLD
10005 static int
10006 model_frv_mhsetloh (SIM_CPU *current_cpu, void *sem_arg)
10008 #define FLD(f) abuf->fields.sfmt_mhsetloh.f
10009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10010 const IDESC * UNUSED idesc = abuf->idesc;
10011 int cycles = 0;
10013 int referenced = 0;
10014 int UNUSED insn_referenced = abuf->written;
10015 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10017 return cycles;
10018 #undef FLD
10021 static int
10022 model_frv_mhsethih (SIM_CPU *current_cpu, void *sem_arg)
10024 #define FLD(f) abuf->fields.sfmt_mhsethih.f
10025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10026 const IDESC * UNUSED idesc = abuf->idesc;
10027 int cycles = 0;
10029 int referenced = 0;
10030 int UNUSED insn_referenced = abuf->written;
10031 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10033 return cycles;
10034 #undef FLD
10037 static int
10038 model_frv_mhdseth (SIM_CPU *current_cpu, void *sem_arg)
10040 #define FLD(f) abuf->fields.sfmt_mhdseth.f
10041 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10042 const IDESC * UNUSED idesc = abuf->idesc;
10043 int cycles = 0;
10045 int referenced = 0;
10046 int UNUSED insn_referenced = abuf->written;
10047 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10049 return cycles;
10050 #undef FLD
10053 static int
10054 model_frv_mand (SIM_CPU *current_cpu, void *sem_arg)
10056 #define FLD(f) abuf->fields.sfmt_mwcut.f
10057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10058 const IDESC * UNUSED idesc = abuf->idesc;
10059 int cycles = 0;
10061 int referenced = 0;
10062 int UNUSED insn_referenced = abuf->written;
10063 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10065 return cycles;
10066 #undef FLD
10069 static int
10070 model_frv_mor (SIM_CPU *current_cpu, void *sem_arg)
10072 #define FLD(f) abuf->fields.sfmt_mwcut.f
10073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10074 const IDESC * UNUSED idesc = abuf->idesc;
10075 int cycles = 0;
10077 int referenced = 0;
10078 int UNUSED insn_referenced = abuf->written;
10079 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10081 return cycles;
10082 #undef FLD
10085 static int
10086 model_frv_mxor (SIM_CPU *current_cpu, void *sem_arg)
10088 #define FLD(f) abuf->fields.sfmt_mwcut.f
10089 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10090 const IDESC * UNUSED idesc = abuf->idesc;
10091 int cycles = 0;
10093 int referenced = 0;
10094 int UNUSED insn_referenced = abuf->written;
10095 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10097 return cycles;
10098 #undef FLD
10101 static int
10102 model_frv_cmand (SIM_CPU *current_cpu, void *sem_arg)
10104 #define FLD(f) abuf->fields.sfmt_cmand.f
10105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10106 const IDESC * UNUSED idesc = abuf->idesc;
10107 int cycles = 0;
10109 int referenced = 0;
10110 int UNUSED insn_referenced = abuf->written;
10111 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10113 return cycles;
10114 #undef FLD
10117 static int
10118 model_frv_cmor (SIM_CPU *current_cpu, void *sem_arg)
10120 #define FLD(f) abuf->fields.sfmt_cmand.f
10121 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10122 const IDESC * UNUSED idesc = abuf->idesc;
10123 int cycles = 0;
10125 int referenced = 0;
10126 int UNUSED insn_referenced = abuf->written;
10127 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10129 return cycles;
10130 #undef FLD
10133 static int
10134 model_frv_cmxor (SIM_CPU *current_cpu, void *sem_arg)
10136 #define FLD(f) abuf->fields.sfmt_cmand.f
10137 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10138 const IDESC * UNUSED idesc = abuf->idesc;
10139 int cycles = 0;
10141 int referenced = 0;
10142 int UNUSED insn_referenced = abuf->written;
10143 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10145 return cycles;
10146 #undef FLD
10149 static int
10150 model_frv_mnot (SIM_CPU *current_cpu, void *sem_arg)
10152 #define FLD(f) abuf->fields.sfmt_mcut.f
10153 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10154 const IDESC * UNUSED idesc = abuf->idesc;
10155 int cycles = 0;
10157 int referenced = 0;
10158 int UNUSED insn_referenced = abuf->written;
10159 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10161 return cycles;
10162 #undef FLD
10165 static int
10166 model_frv_cmnot (SIM_CPU *current_cpu, void *sem_arg)
10168 #define FLD(f) abuf->fields.sfmt_cmand.f
10169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10170 const IDESC * UNUSED idesc = abuf->idesc;
10171 int cycles = 0;
10173 int referenced = 0;
10174 int UNUSED insn_referenced = abuf->written;
10175 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10177 return cycles;
10178 #undef FLD
10181 static int
10182 model_frv_mrotli (SIM_CPU *current_cpu, void *sem_arg)
10184 #define FLD(f) abuf->fields.sfmt_mwcuti.f
10185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10186 const IDESC * UNUSED idesc = abuf->idesc;
10187 int cycles = 0;
10189 int referenced = 0;
10190 int UNUSED insn_referenced = abuf->written;
10191 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10193 return cycles;
10194 #undef FLD
10197 static int
10198 model_frv_mrotri (SIM_CPU *current_cpu, void *sem_arg)
10200 #define FLD(f) abuf->fields.sfmt_mwcuti.f
10201 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10202 const IDESC * UNUSED idesc = abuf->idesc;
10203 int cycles = 0;
10205 int referenced = 0;
10206 int UNUSED insn_referenced = abuf->written;
10207 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10209 return cycles;
10210 #undef FLD
10213 static int
10214 model_frv_mwcut (SIM_CPU *current_cpu, void *sem_arg)
10216 #define FLD(f) abuf->fields.sfmt_mwcut.f
10217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10218 const IDESC * UNUSED idesc = abuf->idesc;
10219 int cycles = 0;
10221 int referenced = 0;
10222 int UNUSED insn_referenced = abuf->written;
10223 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10225 return cycles;
10226 #undef FLD
10229 static int
10230 model_frv_mwcuti (SIM_CPU *current_cpu, void *sem_arg)
10232 #define FLD(f) abuf->fields.sfmt_mwcuti.f
10233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10234 const IDESC * UNUSED idesc = abuf->idesc;
10235 int cycles = 0;
10237 int referenced = 0;
10238 int UNUSED insn_referenced = abuf->written;
10239 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10241 return cycles;
10242 #undef FLD
10245 static int
10246 model_frv_mcut (SIM_CPU *current_cpu, void *sem_arg)
10248 #define FLD(f) abuf->fields.sfmt_mcut.f
10249 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10250 const IDESC * UNUSED idesc = abuf->idesc;
10251 int cycles = 0;
10253 int referenced = 0;
10254 int UNUSED insn_referenced = abuf->written;
10255 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10257 return cycles;
10258 #undef FLD
10261 static int
10262 model_frv_mcuti (SIM_CPU *current_cpu, void *sem_arg)
10264 #define FLD(f) abuf->fields.sfmt_mcuti.f
10265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10266 const IDESC * UNUSED idesc = abuf->idesc;
10267 int cycles = 0;
10269 int referenced = 0;
10270 int UNUSED insn_referenced = abuf->written;
10271 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10273 return cycles;
10274 #undef FLD
10277 static int
10278 model_frv_mcutss (SIM_CPU *current_cpu, void *sem_arg)
10280 #define FLD(f) abuf->fields.sfmt_mcut.f
10281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10282 const IDESC * UNUSED idesc = abuf->idesc;
10283 int cycles = 0;
10285 int referenced = 0;
10286 int UNUSED insn_referenced = abuf->written;
10287 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10289 return cycles;
10290 #undef FLD
10293 static int
10294 model_frv_mcutssi (SIM_CPU *current_cpu, void *sem_arg)
10296 #define FLD(f) abuf->fields.sfmt_mcuti.f
10297 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10298 const IDESC * UNUSED idesc = abuf->idesc;
10299 int cycles = 0;
10301 int referenced = 0;
10302 int UNUSED insn_referenced = abuf->written;
10303 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10305 return cycles;
10306 #undef FLD
10309 static int
10310 model_frv_mdcutssi (SIM_CPU *current_cpu, void *sem_arg)
10312 #define FLD(f) abuf->fields.sfmt_mdcutssi.f
10313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10314 const IDESC * UNUSED idesc = abuf->idesc;
10315 int cycles = 0;
10317 int referenced = 0;
10318 int UNUSED insn_referenced = abuf->written;
10319 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10321 return cycles;
10322 #undef FLD
10325 static int
10326 model_frv_maveh (SIM_CPU *current_cpu, void *sem_arg)
10328 #define FLD(f) abuf->fields.sfmt_mwcut.f
10329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10330 const IDESC * UNUSED idesc = abuf->idesc;
10331 int cycles = 0;
10333 int referenced = 0;
10334 int UNUSED insn_referenced = abuf->written;
10335 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10337 return cycles;
10338 #undef FLD
10341 static int
10342 model_frv_msllhi (SIM_CPU *current_cpu, void *sem_arg)
10344 #define FLD(f) abuf->fields.sfmt_msllhi.f
10345 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10346 const IDESC * UNUSED idesc = abuf->idesc;
10347 int cycles = 0;
10349 int referenced = 0;
10350 int UNUSED insn_referenced = abuf->written;
10351 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10353 return cycles;
10354 #undef FLD
10357 static int
10358 model_frv_msrlhi (SIM_CPU *current_cpu, void *sem_arg)
10360 #define FLD(f) abuf->fields.sfmt_msllhi.f
10361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10362 const IDESC * UNUSED idesc = abuf->idesc;
10363 int cycles = 0;
10365 int referenced = 0;
10366 int UNUSED insn_referenced = abuf->written;
10367 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10369 return cycles;
10370 #undef FLD
10373 static int
10374 model_frv_msrahi (SIM_CPU *current_cpu, void *sem_arg)
10376 #define FLD(f) abuf->fields.sfmt_msllhi.f
10377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10378 const IDESC * UNUSED idesc = abuf->idesc;
10379 int cycles = 0;
10381 int referenced = 0;
10382 int UNUSED insn_referenced = abuf->written;
10383 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10385 return cycles;
10386 #undef FLD
10389 static int
10390 model_frv_mdrotli (SIM_CPU *current_cpu, void *sem_arg)
10392 #define FLD(f) abuf->fields.sfmt_mdrotli.f
10393 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10394 const IDESC * UNUSED idesc = abuf->idesc;
10395 int cycles = 0;
10397 int referenced = 0;
10398 int UNUSED insn_referenced = abuf->written;
10399 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10401 return cycles;
10402 #undef FLD
10405 static int
10406 model_frv_mcplhi (SIM_CPU *current_cpu, void *sem_arg)
10408 #define FLD(f) abuf->fields.sfmt_mcplhi.f
10409 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10410 const IDESC * UNUSED idesc = abuf->idesc;
10411 int cycles = 0;
10413 int referenced = 0;
10414 int UNUSED insn_referenced = abuf->written;
10415 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10417 return cycles;
10418 #undef FLD
10421 static int
10422 model_frv_mcpli (SIM_CPU *current_cpu, void *sem_arg)
10424 #define FLD(f) abuf->fields.sfmt_mwcuti.f
10425 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10426 const IDESC * UNUSED idesc = abuf->idesc;
10427 int cycles = 0;
10429 int referenced = 0;
10430 int UNUSED insn_referenced = abuf->written;
10431 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10433 return cycles;
10434 #undef FLD
10437 static int
10438 model_frv_msaths (SIM_CPU *current_cpu, void *sem_arg)
10440 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10442 const IDESC * UNUSED idesc = abuf->idesc;
10443 int cycles = 0;
10445 int referenced = 0;
10446 int UNUSED insn_referenced = abuf->written;
10447 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10449 return cycles;
10450 #undef FLD
10453 static int
10454 model_frv_mqsaths (SIM_CPU *current_cpu, void *sem_arg)
10456 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10458 const IDESC * UNUSED idesc = abuf->idesc;
10459 int cycles = 0;
10461 int referenced = 0;
10462 int UNUSED insn_referenced = abuf->written;
10463 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10465 return cycles;
10466 #undef FLD
10469 static int
10470 model_frv_msathu (SIM_CPU *current_cpu, void *sem_arg)
10472 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10474 const IDESC * UNUSED idesc = abuf->idesc;
10475 int cycles = 0;
10477 int referenced = 0;
10478 int UNUSED insn_referenced = abuf->written;
10479 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10481 return cycles;
10482 #undef FLD
10485 static int
10486 model_frv_mcmpsh (SIM_CPU *current_cpu, void *sem_arg)
10488 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
10489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10490 const IDESC * UNUSED idesc = abuf->idesc;
10491 int cycles = 0;
10493 int referenced = 0;
10494 int UNUSED insn_referenced = abuf->written;
10495 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10497 return cycles;
10498 #undef FLD
10501 static int
10502 model_frv_mcmpuh (SIM_CPU *current_cpu, void *sem_arg)
10504 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
10505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10506 const IDESC * UNUSED idesc = abuf->idesc;
10507 int cycles = 0;
10509 int referenced = 0;
10510 int UNUSED insn_referenced = abuf->written;
10511 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10513 return cycles;
10514 #undef FLD
10517 static int
10518 model_frv_mabshs (SIM_CPU *current_cpu, void *sem_arg)
10520 #define FLD(f) abuf->fields.sfmt_mabshs.f
10521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10522 const IDESC * UNUSED idesc = abuf->idesc;
10523 int cycles = 0;
10525 int referenced = 0;
10526 int UNUSED insn_referenced = abuf->written;
10527 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10529 return cycles;
10530 #undef FLD
10533 static int
10534 model_frv_maddhss (SIM_CPU *current_cpu, void *sem_arg)
10536 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10538 const IDESC * UNUSED idesc = abuf->idesc;
10539 int cycles = 0;
10541 int referenced = 0;
10542 int UNUSED insn_referenced = abuf->written;
10543 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10545 return cycles;
10546 #undef FLD
10549 static int
10550 model_frv_maddhus (SIM_CPU *current_cpu, void *sem_arg)
10552 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10554 const IDESC * UNUSED idesc = abuf->idesc;
10555 int cycles = 0;
10557 int referenced = 0;
10558 int UNUSED insn_referenced = abuf->written;
10559 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10561 return cycles;
10562 #undef FLD
10565 static int
10566 model_frv_msubhss (SIM_CPU *current_cpu, void *sem_arg)
10568 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10570 const IDESC * UNUSED idesc = abuf->idesc;
10571 int cycles = 0;
10573 int referenced = 0;
10574 int UNUSED insn_referenced = abuf->written;
10575 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10577 return cycles;
10578 #undef FLD
10581 static int
10582 model_frv_msubhus (SIM_CPU *current_cpu, void *sem_arg)
10584 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10585 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10586 const IDESC * UNUSED idesc = abuf->idesc;
10587 int cycles = 0;
10589 int referenced = 0;
10590 int UNUSED insn_referenced = abuf->written;
10591 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10593 return cycles;
10594 #undef FLD
10597 static int
10598 model_frv_cmaddhss (SIM_CPU *current_cpu, void *sem_arg)
10600 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10602 const IDESC * UNUSED idesc = abuf->idesc;
10603 int cycles = 0;
10605 int referenced = 0;
10606 int UNUSED insn_referenced = abuf->written;
10607 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10609 return cycles;
10610 #undef FLD
10613 static int
10614 model_frv_cmaddhus (SIM_CPU *current_cpu, void *sem_arg)
10616 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10618 const IDESC * UNUSED idesc = abuf->idesc;
10619 int cycles = 0;
10621 int referenced = 0;
10622 int UNUSED insn_referenced = abuf->written;
10623 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10625 return cycles;
10626 #undef FLD
10629 static int
10630 model_frv_cmsubhss (SIM_CPU *current_cpu, void *sem_arg)
10632 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10634 const IDESC * UNUSED idesc = abuf->idesc;
10635 int cycles = 0;
10637 int referenced = 0;
10638 int UNUSED insn_referenced = abuf->written;
10639 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10641 return cycles;
10642 #undef FLD
10645 static int
10646 model_frv_cmsubhus (SIM_CPU *current_cpu, void *sem_arg)
10648 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
10649 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10650 const IDESC * UNUSED idesc = abuf->idesc;
10651 int cycles = 0;
10653 int referenced = 0;
10654 int UNUSED insn_referenced = abuf->written;
10655 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10657 return cycles;
10658 #undef FLD
10661 static int
10662 model_frv_mqaddhss (SIM_CPU *current_cpu, void *sem_arg)
10664 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10666 const IDESC * UNUSED idesc = abuf->idesc;
10667 int cycles = 0;
10669 int referenced = 0;
10670 int UNUSED insn_referenced = abuf->written;
10671 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10673 return cycles;
10674 #undef FLD
10677 static int
10678 model_frv_mqaddhus (SIM_CPU *current_cpu, void *sem_arg)
10680 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10682 const IDESC * UNUSED idesc = abuf->idesc;
10683 int cycles = 0;
10685 int referenced = 0;
10686 int UNUSED insn_referenced = abuf->written;
10687 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10689 return cycles;
10690 #undef FLD
10693 static int
10694 model_frv_mqsubhss (SIM_CPU *current_cpu, void *sem_arg)
10696 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10698 const IDESC * UNUSED idesc = abuf->idesc;
10699 int cycles = 0;
10701 int referenced = 0;
10702 int UNUSED insn_referenced = abuf->written;
10703 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10705 return cycles;
10706 #undef FLD
10709 static int
10710 model_frv_mqsubhus (SIM_CPU *current_cpu, void *sem_arg)
10712 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10714 const IDESC * UNUSED idesc = abuf->idesc;
10715 int cycles = 0;
10717 int referenced = 0;
10718 int UNUSED insn_referenced = abuf->written;
10719 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10721 return cycles;
10722 #undef FLD
10725 static int
10726 model_frv_cmqaddhss (SIM_CPU *current_cpu, void *sem_arg)
10728 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10729 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10730 const IDESC * UNUSED idesc = abuf->idesc;
10731 int cycles = 0;
10733 int referenced = 0;
10734 int UNUSED insn_referenced = abuf->written;
10735 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10737 return cycles;
10738 #undef FLD
10741 static int
10742 model_frv_cmqaddhus (SIM_CPU *current_cpu, void *sem_arg)
10744 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10745 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10746 const IDESC * UNUSED idesc = abuf->idesc;
10747 int cycles = 0;
10749 int referenced = 0;
10750 int UNUSED insn_referenced = abuf->written;
10751 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10753 return cycles;
10754 #undef FLD
10757 static int
10758 model_frv_cmqsubhss (SIM_CPU *current_cpu, void *sem_arg)
10760 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10761 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10762 const IDESC * UNUSED idesc = abuf->idesc;
10763 int cycles = 0;
10765 int referenced = 0;
10766 int UNUSED insn_referenced = abuf->written;
10767 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10769 return cycles;
10770 #undef FLD
10773 static int
10774 model_frv_cmqsubhus (SIM_CPU *current_cpu, void *sem_arg)
10776 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10778 const IDESC * UNUSED idesc = abuf->idesc;
10779 int cycles = 0;
10781 int referenced = 0;
10782 int UNUSED insn_referenced = abuf->written;
10783 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10785 return cycles;
10786 #undef FLD
10789 static int
10790 model_frv_mqlclrhs (SIM_CPU *current_cpu, void *sem_arg)
10792 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10793 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10794 const IDESC * UNUSED idesc = abuf->idesc;
10795 int cycles = 0;
10797 int referenced = 0;
10798 int UNUSED insn_referenced = abuf->written;
10799 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10801 return cycles;
10802 #undef FLD
10805 static int
10806 model_frv_mqlmths (SIM_CPU *current_cpu, void *sem_arg)
10808 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
10809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10810 const IDESC * UNUSED idesc = abuf->idesc;
10811 int cycles = 0;
10813 int referenced = 0;
10814 int UNUSED insn_referenced = abuf->written;
10815 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10817 return cycles;
10818 #undef FLD
10821 static int
10822 model_frv_mqsllhi (SIM_CPU *current_cpu, void *sem_arg)
10824 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
10825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10826 const IDESC * UNUSED idesc = abuf->idesc;
10827 int cycles = 0;
10829 int referenced = 0;
10830 int UNUSED insn_referenced = abuf->written;
10831 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10833 return cycles;
10834 #undef FLD
10837 static int
10838 model_frv_mqsrahi (SIM_CPU *current_cpu, void *sem_arg)
10840 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
10841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10842 const IDESC * UNUSED idesc = abuf->idesc;
10843 int cycles = 0;
10845 int referenced = 0;
10846 int UNUSED insn_referenced = abuf->written;
10847 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10849 return cycles;
10850 #undef FLD
10853 static int
10854 model_frv_maddaccs (SIM_CPU *current_cpu, void *sem_arg)
10856 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
10857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10858 const IDESC * UNUSED idesc = abuf->idesc;
10859 int cycles = 0;
10861 int referenced = 0;
10862 int UNUSED insn_referenced = abuf->written;
10863 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10865 return cycles;
10866 #undef FLD
10869 static int
10870 model_frv_msubaccs (SIM_CPU *current_cpu, void *sem_arg)
10872 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
10873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10874 const IDESC * UNUSED idesc = abuf->idesc;
10875 int cycles = 0;
10877 int referenced = 0;
10878 int UNUSED insn_referenced = abuf->written;
10879 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10881 return cycles;
10882 #undef FLD
10885 static int
10886 model_frv_mdaddaccs (SIM_CPU *current_cpu, void *sem_arg)
10888 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
10889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10890 const IDESC * UNUSED idesc = abuf->idesc;
10891 int cycles = 0;
10893 int referenced = 0;
10894 int UNUSED insn_referenced = abuf->written;
10895 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10897 return cycles;
10898 #undef FLD
10901 static int
10902 model_frv_mdsubaccs (SIM_CPU *current_cpu, void *sem_arg)
10904 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
10905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10906 const IDESC * UNUSED idesc = abuf->idesc;
10907 int cycles = 0;
10909 int referenced = 0;
10910 int UNUSED insn_referenced = abuf->written;
10911 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10913 return cycles;
10914 #undef FLD
10917 static int
10918 model_frv_masaccs (SIM_CPU *current_cpu, void *sem_arg)
10920 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
10921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10922 const IDESC * UNUSED idesc = abuf->idesc;
10923 int cycles = 0;
10925 int referenced = 0;
10926 int UNUSED insn_referenced = abuf->written;
10927 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10929 return cycles;
10930 #undef FLD
10933 static int
10934 model_frv_mdasaccs (SIM_CPU *current_cpu, void *sem_arg)
10936 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
10937 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10938 const IDESC * UNUSED idesc = abuf->idesc;
10939 int cycles = 0;
10941 int referenced = 0;
10942 int UNUSED insn_referenced = abuf->written;
10943 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10945 return cycles;
10946 #undef FLD
10949 static int
10950 model_frv_mmulhs (SIM_CPU *current_cpu, void *sem_arg)
10952 #define FLD(f) abuf->fields.sfmt_cmmachs.f
10953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10954 const IDESC * UNUSED idesc = abuf->idesc;
10955 int cycles = 0;
10957 int referenced = 0;
10958 int UNUSED insn_referenced = abuf->written;
10959 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10961 return cycles;
10962 #undef FLD
10965 static int
10966 model_frv_mmulhu (SIM_CPU *current_cpu, void *sem_arg)
10968 #define FLD(f) abuf->fields.sfmt_cmmachs.f
10969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10970 const IDESC * UNUSED idesc = abuf->idesc;
10971 int cycles = 0;
10973 int referenced = 0;
10974 int UNUSED insn_referenced = abuf->written;
10975 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10977 return cycles;
10978 #undef FLD
10981 static int
10982 model_frv_mmulxhs (SIM_CPU *current_cpu, void *sem_arg)
10984 #define FLD(f) abuf->fields.sfmt_cmmachs.f
10985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
10986 const IDESC * UNUSED idesc = abuf->idesc;
10987 int cycles = 0;
10989 int referenced = 0;
10990 int UNUSED insn_referenced = abuf->written;
10991 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
10993 return cycles;
10994 #undef FLD
10997 static int
10998 model_frv_mmulxhu (SIM_CPU *current_cpu, void *sem_arg)
11000 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11002 const IDESC * UNUSED idesc = abuf->idesc;
11003 int cycles = 0;
11005 int referenced = 0;
11006 int UNUSED insn_referenced = abuf->written;
11007 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11009 return cycles;
11010 #undef FLD
11013 static int
11014 model_frv_cmmulhs (SIM_CPU *current_cpu, void *sem_arg)
11016 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11018 const IDESC * UNUSED idesc = abuf->idesc;
11019 int cycles = 0;
11021 int referenced = 0;
11022 int UNUSED insn_referenced = abuf->written;
11023 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11025 return cycles;
11026 #undef FLD
11029 static int
11030 model_frv_cmmulhu (SIM_CPU *current_cpu, void *sem_arg)
11032 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11034 const IDESC * UNUSED idesc = abuf->idesc;
11035 int cycles = 0;
11037 int referenced = 0;
11038 int UNUSED insn_referenced = abuf->written;
11039 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11041 return cycles;
11042 #undef FLD
11045 static int
11046 model_frv_mqmulhs (SIM_CPU *current_cpu, void *sem_arg)
11048 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11050 const IDESC * UNUSED idesc = abuf->idesc;
11051 int cycles = 0;
11053 int referenced = 0;
11054 int UNUSED insn_referenced = abuf->written;
11055 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11057 return cycles;
11058 #undef FLD
11061 static int
11062 model_frv_mqmulhu (SIM_CPU *current_cpu, void *sem_arg)
11064 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11065 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11066 const IDESC * UNUSED idesc = abuf->idesc;
11067 int cycles = 0;
11069 int referenced = 0;
11070 int UNUSED insn_referenced = abuf->written;
11071 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11073 return cycles;
11074 #undef FLD
11077 static int
11078 model_frv_mqmulxhs (SIM_CPU *current_cpu, void *sem_arg)
11080 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11082 const IDESC * UNUSED idesc = abuf->idesc;
11083 int cycles = 0;
11085 int referenced = 0;
11086 int UNUSED insn_referenced = abuf->written;
11087 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11089 return cycles;
11090 #undef FLD
11093 static int
11094 model_frv_mqmulxhu (SIM_CPU *current_cpu, void *sem_arg)
11096 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11098 const IDESC * UNUSED idesc = abuf->idesc;
11099 int cycles = 0;
11101 int referenced = 0;
11102 int UNUSED insn_referenced = abuf->written;
11103 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11105 return cycles;
11106 #undef FLD
11109 static int
11110 model_frv_cmqmulhs (SIM_CPU *current_cpu, void *sem_arg)
11112 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11114 const IDESC * UNUSED idesc = abuf->idesc;
11115 int cycles = 0;
11117 int referenced = 0;
11118 int UNUSED insn_referenced = abuf->written;
11119 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11121 return cycles;
11122 #undef FLD
11125 static int
11126 model_frv_cmqmulhu (SIM_CPU *current_cpu, void *sem_arg)
11128 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11130 const IDESC * UNUSED idesc = abuf->idesc;
11131 int cycles = 0;
11133 int referenced = 0;
11134 int UNUSED insn_referenced = abuf->written;
11135 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11137 return cycles;
11138 #undef FLD
11141 static int
11142 model_frv_mmachs (SIM_CPU *current_cpu, void *sem_arg)
11144 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11145 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11146 const IDESC * UNUSED idesc = abuf->idesc;
11147 int cycles = 0;
11149 int referenced = 0;
11150 int UNUSED insn_referenced = abuf->written;
11151 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11153 return cycles;
11154 #undef FLD
11157 static int
11158 model_frv_mmachu (SIM_CPU *current_cpu, void *sem_arg)
11160 #define FLD(f) abuf->fields.sfmt_cmmachu.f
11161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11162 const IDESC * UNUSED idesc = abuf->idesc;
11163 int cycles = 0;
11165 int referenced = 0;
11166 int UNUSED insn_referenced = abuf->written;
11167 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11169 return cycles;
11170 #undef FLD
11173 static int
11174 model_frv_mmrdhs (SIM_CPU *current_cpu, void *sem_arg)
11176 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11178 const IDESC * UNUSED idesc = abuf->idesc;
11179 int cycles = 0;
11181 int referenced = 0;
11182 int UNUSED insn_referenced = abuf->written;
11183 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11185 return cycles;
11186 #undef FLD
11189 static int
11190 model_frv_mmrdhu (SIM_CPU *current_cpu, void *sem_arg)
11192 #define FLD(f) abuf->fields.sfmt_cmmachu.f
11193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11194 const IDESC * UNUSED idesc = abuf->idesc;
11195 int cycles = 0;
11197 int referenced = 0;
11198 int UNUSED insn_referenced = abuf->written;
11199 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11201 return cycles;
11202 #undef FLD
11205 static int
11206 model_frv_cmmachs (SIM_CPU *current_cpu, void *sem_arg)
11208 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11210 const IDESC * UNUSED idesc = abuf->idesc;
11211 int cycles = 0;
11213 int referenced = 0;
11214 int UNUSED insn_referenced = abuf->written;
11215 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11217 return cycles;
11218 #undef FLD
11221 static int
11222 model_frv_cmmachu (SIM_CPU *current_cpu, void *sem_arg)
11224 #define FLD(f) abuf->fields.sfmt_cmmachu.f
11225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11226 const IDESC * UNUSED idesc = abuf->idesc;
11227 int cycles = 0;
11229 int referenced = 0;
11230 int UNUSED insn_referenced = abuf->written;
11231 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11233 return cycles;
11234 #undef FLD
11237 static int
11238 model_frv_mqmachs (SIM_CPU *current_cpu, void *sem_arg)
11240 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11242 const IDESC * UNUSED idesc = abuf->idesc;
11243 int cycles = 0;
11245 int referenced = 0;
11246 int UNUSED insn_referenced = abuf->written;
11247 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11249 return cycles;
11250 #undef FLD
11253 static int
11254 model_frv_mqmachu (SIM_CPU *current_cpu, void *sem_arg)
11256 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
11257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11258 const IDESC * UNUSED idesc = abuf->idesc;
11259 int cycles = 0;
11261 int referenced = 0;
11262 int UNUSED insn_referenced = abuf->written;
11263 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11265 return cycles;
11266 #undef FLD
11269 static int
11270 model_frv_cmqmachs (SIM_CPU *current_cpu, void *sem_arg)
11272 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11274 const IDESC * UNUSED idesc = abuf->idesc;
11275 int cycles = 0;
11277 int referenced = 0;
11278 int UNUSED insn_referenced = abuf->written;
11279 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11281 return cycles;
11282 #undef FLD
11285 static int
11286 model_frv_cmqmachu (SIM_CPU *current_cpu, void *sem_arg)
11288 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
11289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11290 const IDESC * UNUSED idesc = abuf->idesc;
11291 int cycles = 0;
11293 int referenced = 0;
11294 int UNUSED insn_referenced = abuf->written;
11295 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11297 return cycles;
11298 #undef FLD
11301 static int
11302 model_frv_mqxmachs (SIM_CPU *current_cpu, void *sem_arg)
11304 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11306 const IDESC * UNUSED idesc = abuf->idesc;
11307 int cycles = 0;
11309 int referenced = 0;
11310 int UNUSED insn_referenced = abuf->written;
11311 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11313 return cycles;
11314 #undef FLD
11317 static int
11318 model_frv_mqxmacxhs (SIM_CPU *current_cpu, void *sem_arg)
11320 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11322 const IDESC * UNUSED idesc = abuf->idesc;
11323 int cycles = 0;
11325 int referenced = 0;
11326 int UNUSED insn_referenced = abuf->written;
11327 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11329 return cycles;
11330 #undef FLD
11333 static int
11334 model_frv_mqmacxhs (SIM_CPU *current_cpu, void *sem_arg)
11336 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11337 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11338 const IDESC * UNUSED idesc = abuf->idesc;
11339 int cycles = 0;
11341 int referenced = 0;
11342 int UNUSED insn_referenced = abuf->written;
11343 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11345 return cycles;
11346 #undef FLD
11349 static int
11350 model_frv_mcpxrs (SIM_CPU *current_cpu, void *sem_arg)
11352 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11354 const IDESC * UNUSED idesc = abuf->idesc;
11355 int cycles = 0;
11357 int referenced = 0;
11358 int UNUSED insn_referenced = abuf->written;
11359 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11361 return cycles;
11362 #undef FLD
11365 static int
11366 model_frv_mcpxru (SIM_CPU *current_cpu, void *sem_arg)
11368 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11370 const IDESC * UNUSED idesc = abuf->idesc;
11371 int cycles = 0;
11373 int referenced = 0;
11374 int UNUSED insn_referenced = abuf->written;
11375 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11377 return cycles;
11378 #undef FLD
11381 static int
11382 model_frv_mcpxis (SIM_CPU *current_cpu, void *sem_arg)
11384 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11385 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11386 const IDESC * UNUSED idesc = abuf->idesc;
11387 int cycles = 0;
11389 int referenced = 0;
11390 int UNUSED insn_referenced = abuf->written;
11391 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11393 return cycles;
11394 #undef FLD
11397 static int
11398 model_frv_mcpxiu (SIM_CPU *current_cpu, void *sem_arg)
11400 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11402 const IDESC * UNUSED idesc = abuf->idesc;
11403 int cycles = 0;
11405 int referenced = 0;
11406 int UNUSED insn_referenced = abuf->written;
11407 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11409 return cycles;
11410 #undef FLD
11413 static int
11414 model_frv_cmcpxrs (SIM_CPU *current_cpu, void *sem_arg)
11416 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11418 const IDESC * UNUSED idesc = abuf->idesc;
11419 int cycles = 0;
11421 int referenced = 0;
11422 int UNUSED insn_referenced = abuf->written;
11423 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11425 return cycles;
11426 #undef FLD
11429 static int
11430 model_frv_cmcpxru (SIM_CPU *current_cpu, void *sem_arg)
11432 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11434 const IDESC * UNUSED idesc = abuf->idesc;
11435 int cycles = 0;
11437 int referenced = 0;
11438 int UNUSED insn_referenced = abuf->written;
11439 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11441 return cycles;
11442 #undef FLD
11445 static int
11446 model_frv_cmcpxis (SIM_CPU *current_cpu, void *sem_arg)
11448 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11449 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11450 const IDESC * UNUSED idesc = abuf->idesc;
11451 int cycles = 0;
11453 int referenced = 0;
11454 int UNUSED insn_referenced = abuf->written;
11455 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11457 return cycles;
11458 #undef FLD
11461 static int
11462 model_frv_cmcpxiu (SIM_CPU *current_cpu, void *sem_arg)
11464 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11466 const IDESC * UNUSED idesc = abuf->idesc;
11467 int cycles = 0;
11469 int referenced = 0;
11470 int UNUSED insn_referenced = abuf->written;
11471 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11473 return cycles;
11474 #undef FLD
11477 static int
11478 model_frv_mqcpxrs (SIM_CPU *current_cpu, void *sem_arg)
11480 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11482 const IDESC * UNUSED idesc = abuf->idesc;
11483 int cycles = 0;
11485 int referenced = 0;
11486 int UNUSED insn_referenced = abuf->written;
11487 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11489 return cycles;
11490 #undef FLD
11493 static int
11494 model_frv_mqcpxru (SIM_CPU *current_cpu, void *sem_arg)
11496 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11497 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11498 const IDESC * UNUSED idesc = abuf->idesc;
11499 int cycles = 0;
11501 int referenced = 0;
11502 int UNUSED insn_referenced = abuf->written;
11503 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11505 return cycles;
11506 #undef FLD
11509 static int
11510 model_frv_mqcpxis (SIM_CPU *current_cpu, void *sem_arg)
11512 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11514 const IDESC * UNUSED idesc = abuf->idesc;
11515 int cycles = 0;
11517 int referenced = 0;
11518 int UNUSED insn_referenced = abuf->written;
11519 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11521 return cycles;
11522 #undef FLD
11525 static int
11526 model_frv_mqcpxiu (SIM_CPU *current_cpu, void *sem_arg)
11528 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
11529 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11530 const IDESC * UNUSED idesc = abuf->idesc;
11531 int cycles = 0;
11533 int referenced = 0;
11534 int UNUSED insn_referenced = abuf->written;
11535 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11537 return cycles;
11538 #undef FLD
11541 static int
11542 model_frv_mexpdhw (SIM_CPU *current_cpu, void *sem_arg)
11544 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
11545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11546 const IDESC * UNUSED idesc = abuf->idesc;
11547 int cycles = 0;
11549 int referenced = 0;
11550 int UNUSED insn_referenced = abuf->written;
11551 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11553 return cycles;
11554 #undef FLD
11557 static int
11558 model_frv_cmexpdhw (SIM_CPU *current_cpu, void *sem_arg)
11560 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
11561 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11562 const IDESC * UNUSED idesc = abuf->idesc;
11563 int cycles = 0;
11565 int referenced = 0;
11566 int UNUSED insn_referenced = abuf->written;
11567 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11569 return cycles;
11570 #undef FLD
11573 static int
11574 model_frv_mexpdhd (SIM_CPU *current_cpu, void *sem_arg)
11576 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
11577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11578 const IDESC * UNUSED idesc = abuf->idesc;
11579 int cycles = 0;
11581 int referenced = 0;
11582 int UNUSED insn_referenced = abuf->written;
11583 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11585 return cycles;
11586 #undef FLD
11589 static int
11590 model_frv_cmexpdhd (SIM_CPU *current_cpu, void *sem_arg)
11592 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
11593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11594 const IDESC * UNUSED idesc = abuf->idesc;
11595 int cycles = 0;
11597 int referenced = 0;
11598 int UNUSED insn_referenced = abuf->written;
11599 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11601 return cycles;
11602 #undef FLD
11605 static int
11606 model_frv_mpackh (SIM_CPU *current_cpu, void *sem_arg)
11608 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
11609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11610 const IDESC * UNUSED idesc = abuf->idesc;
11611 int cycles = 0;
11613 int referenced = 0;
11614 int UNUSED insn_referenced = abuf->written;
11615 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11617 return cycles;
11618 #undef FLD
11621 static int
11622 model_frv_mdpackh (SIM_CPU *current_cpu, void *sem_arg)
11624 #define FLD(f) abuf->fields.sfmt_mdpackh.f
11625 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11626 const IDESC * UNUSED idesc = abuf->idesc;
11627 int cycles = 0;
11629 int referenced = 0;
11630 int UNUSED insn_referenced = abuf->written;
11631 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11633 return cycles;
11634 #undef FLD
11637 static int
11638 model_frv_munpackh (SIM_CPU *current_cpu, void *sem_arg)
11640 #define FLD(f) abuf->fields.sfmt_munpackh.f
11641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11642 const IDESC * UNUSED idesc = abuf->idesc;
11643 int cycles = 0;
11645 int referenced = 0;
11646 int UNUSED insn_referenced = abuf->written;
11647 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11649 return cycles;
11650 #undef FLD
11653 static int
11654 model_frv_mdunpackh (SIM_CPU *current_cpu, void *sem_arg)
11656 #define FLD(f) abuf->fields.sfmt_mdunpackh.f
11657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11658 const IDESC * UNUSED idesc = abuf->idesc;
11659 int cycles = 0;
11661 int referenced = 0;
11662 int UNUSED insn_referenced = abuf->written;
11663 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11665 return cycles;
11666 #undef FLD
11669 static int
11670 model_frv_mbtoh (SIM_CPU *current_cpu, void *sem_arg)
11672 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
11673 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11674 const IDESC * UNUSED idesc = abuf->idesc;
11675 int cycles = 0;
11677 int referenced = 0;
11678 int UNUSED insn_referenced = abuf->written;
11679 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11681 return cycles;
11682 #undef FLD
11685 static int
11686 model_frv_cmbtoh (SIM_CPU *current_cpu, void *sem_arg)
11688 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
11689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11690 const IDESC * UNUSED idesc = abuf->idesc;
11691 int cycles = 0;
11693 int referenced = 0;
11694 int UNUSED insn_referenced = abuf->written;
11695 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11697 return cycles;
11698 #undef FLD
11701 static int
11702 model_frv_mhtob (SIM_CPU *current_cpu, void *sem_arg)
11704 #define FLD(f) abuf->fields.sfmt_cmhtob.f
11705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11706 const IDESC * UNUSED idesc = abuf->idesc;
11707 int cycles = 0;
11709 int referenced = 0;
11710 int UNUSED insn_referenced = abuf->written;
11711 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11713 return cycles;
11714 #undef FLD
11717 static int
11718 model_frv_cmhtob (SIM_CPU *current_cpu, void *sem_arg)
11720 #define FLD(f) abuf->fields.sfmt_cmhtob.f
11721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11722 const IDESC * UNUSED idesc = abuf->idesc;
11723 int cycles = 0;
11725 int referenced = 0;
11726 int UNUSED insn_referenced = abuf->written;
11727 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11729 return cycles;
11730 #undef FLD
11733 static int
11734 model_frv_mbtohe (SIM_CPU *current_cpu, void *sem_arg)
11736 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
11737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11738 const IDESC * UNUSED idesc = abuf->idesc;
11739 int cycles = 0;
11741 int referenced = 0;
11742 int UNUSED insn_referenced = abuf->written;
11743 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11745 return cycles;
11746 #undef FLD
11749 static int
11750 model_frv_cmbtohe (SIM_CPU *current_cpu, void *sem_arg)
11752 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
11753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11754 const IDESC * UNUSED idesc = abuf->idesc;
11755 int cycles = 0;
11757 int referenced = 0;
11758 int UNUSED insn_referenced = abuf->written;
11759 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11761 return cycles;
11762 #undef FLD
11765 static int
11766 model_frv_mnop (SIM_CPU *current_cpu, void *sem_arg)
11768 #define FLD(f) abuf->fields.sfmt_empty.f
11769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11770 const IDESC * UNUSED idesc = abuf->idesc;
11771 int cycles = 0;
11773 int referenced = 0;
11774 int UNUSED insn_referenced = abuf->written;
11775 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11777 return cycles;
11778 #undef FLD
11781 static int
11782 model_frv_mclracc_0 (SIM_CPU *current_cpu, void *sem_arg)
11784 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
11785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11786 const IDESC * UNUSED idesc = abuf->idesc;
11787 int cycles = 0;
11789 int referenced = 0;
11790 int UNUSED insn_referenced = abuf->written;
11791 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11793 return cycles;
11794 #undef FLD
11797 static int
11798 model_frv_mclracc_1 (SIM_CPU *current_cpu, void *sem_arg)
11800 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
11801 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11802 const IDESC * UNUSED idesc = abuf->idesc;
11803 int cycles = 0;
11805 int referenced = 0;
11806 int UNUSED insn_referenced = abuf->written;
11807 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11809 return cycles;
11810 #undef FLD
11813 static int
11814 model_frv_mrdacc (SIM_CPU *current_cpu, void *sem_arg)
11816 #define FLD(f) abuf->fields.sfmt_mcuti.f
11817 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11818 const IDESC * UNUSED idesc = abuf->idesc;
11819 int cycles = 0;
11821 int referenced = 0;
11822 int UNUSED insn_referenced = abuf->written;
11823 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11825 return cycles;
11826 #undef FLD
11829 static int
11830 model_frv_mrdaccg (SIM_CPU *current_cpu, void *sem_arg)
11832 #define FLD(f) abuf->fields.sfmt_mrdaccg.f
11833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11834 const IDESC * UNUSED idesc = abuf->idesc;
11835 int cycles = 0;
11837 int referenced = 0;
11838 int UNUSED insn_referenced = abuf->written;
11839 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11841 return cycles;
11842 #undef FLD
11845 static int
11846 model_frv_mwtacc (SIM_CPU *current_cpu, void *sem_arg)
11848 #define FLD(f) abuf->fields.sfmt_cmmachs.f
11849 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11850 const IDESC * UNUSED idesc = abuf->idesc;
11851 int cycles = 0;
11853 int referenced = 0;
11854 int UNUSED insn_referenced = abuf->written;
11855 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11857 return cycles;
11858 #undef FLD
11861 static int
11862 model_frv_mwtaccg (SIM_CPU *current_cpu, void *sem_arg)
11864 #define FLD(f) abuf->fields.sfmt_mwtaccg.f
11865 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11866 const IDESC * UNUSED idesc = abuf->idesc;
11867 int cycles = 0;
11869 int referenced = 0;
11870 int UNUSED insn_referenced = abuf->written;
11871 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11873 return cycles;
11874 #undef FLD
11877 static int
11878 model_frv_mcop1 (SIM_CPU *current_cpu, void *sem_arg)
11880 #define FLD(f) abuf->fields.sfmt_empty.f
11881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11882 const IDESC * UNUSED idesc = abuf->idesc;
11883 int cycles = 0;
11885 int referenced = 0;
11886 int UNUSED insn_referenced = abuf->written;
11887 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11889 return cycles;
11890 #undef FLD
11893 static int
11894 model_frv_mcop2 (SIM_CPU *current_cpu, void *sem_arg)
11896 #define FLD(f) abuf->fields.sfmt_empty.f
11897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11898 const IDESC * UNUSED idesc = abuf->idesc;
11899 int cycles = 0;
11901 int referenced = 0;
11902 int UNUSED insn_referenced = abuf->written;
11903 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11905 return cycles;
11906 #undef FLD
11909 static int
11910 model_frv_fnop (SIM_CPU *current_cpu, void *sem_arg)
11912 #define FLD(f) abuf->fields.sfmt_empty.f
11913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11914 const IDESC * UNUSED idesc = abuf->idesc;
11915 int cycles = 0;
11917 int referenced = 0;
11918 int UNUSED insn_referenced = abuf->written;
11919 cycles += frvbf_model_frv_u_exec (current_cpu, idesc, 0, referenced);
11921 return cycles;
11922 #undef FLD
11925 static int
11926 model_fr550_add (SIM_CPU *current_cpu, void *sem_arg)
11928 #define FLD(f) abuf->fields.sfmt_addcc.f
11929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11930 const IDESC * UNUSED idesc = abuf->idesc;
11931 int cycles = 0;
11933 int referenced = 0;
11934 int UNUSED insn_referenced = abuf->written;
11935 INT in_GRi = -1;
11936 INT in_GRj = -1;
11937 INT out_GRk = -1;
11938 INT out_ICCi_1 = -1;
11939 in_GRi = FLD (in_GRi);
11940 in_GRj = FLD (in_GRj);
11941 out_GRk = FLD (out_GRk);
11942 referenced |= 1 << 0;
11943 referenced |= 1 << 1;
11944 referenced |= 1 << 2;
11945 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
11947 return cycles;
11948 #undef FLD
11951 static int
11952 model_fr550_sub (SIM_CPU *current_cpu, void *sem_arg)
11954 #define FLD(f) abuf->fields.sfmt_addcc.f
11955 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11956 const IDESC * UNUSED idesc = abuf->idesc;
11957 int cycles = 0;
11959 int referenced = 0;
11960 int UNUSED insn_referenced = abuf->written;
11961 INT in_GRi = -1;
11962 INT in_GRj = -1;
11963 INT out_GRk = -1;
11964 INT out_ICCi_1 = -1;
11965 in_GRi = FLD (in_GRi);
11966 in_GRj = FLD (in_GRj);
11967 out_GRk = FLD (out_GRk);
11968 referenced |= 1 << 0;
11969 referenced |= 1 << 1;
11970 referenced |= 1 << 2;
11971 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
11973 return cycles;
11974 #undef FLD
11977 static int
11978 model_fr550_and (SIM_CPU *current_cpu, void *sem_arg)
11980 #define FLD(f) abuf->fields.sfmt_addcc.f
11981 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
11982 const IDESC * UNUSED idesc = abuf->idesc;
11983 int cycles = 0;
11985 int referenced = 0;
11986 int UNUSED insn_referenced = abuf->written;
11987 INT in_GRi = -1;
11988 INT in_GRj = -1;
11989 INT out_GRk = -1;
11990 INT out_ICCi_1 = -1;
11991 in_GRi = FLD (in_GRi);
11992 in_GRj = FLD (in_GRj);
11993 out_GRk = FLD (out_GRk);
11994 referenced |= 1 << 0;
11995 referenced |= 1 << 1;
11996 referenced |= 1 << 2;
11997 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
11999 return cycles;
12000 #undef FLD
12003 static int
12004 model_fr550_or (SIM_CPU *current_cpu, void *sem_arg)
12006 #define FLD(f) abuf->fields.sfmt_addcc.f
12007 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12008 const IDESC * UNUSED idesc = abuf->idesc;
12009 int cycles = 0;
12011 int referenced = 0;
12012 int UNUSED insn_referenced = abuf->written;
12013 INT in_GRi = -1;
12014 INT in_GRj = -1;
12015 INT out_GRk = -1;
12016 INT out_ICCi_1 = -1;
12017 in_GRi = FLD (in_GRi);
12018 in_GRj = FLD (in_GRj);
12019 out_GRk = FLD (out_GRk);
12020 referenced |= 1 << 0;
12021 referenced |= 1 << 1;
12022 referenced |= 1 << 2;
12023 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12025 return cycles;
12026 #undef FLD
12029 static int
12030 model_fr550_xor (SIM_CPU *current_cpu, void *sem_arg)
12032 #define FLD(f) abuf->fields.sfmt_addcc.f
12033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12034 const IDESC * UNUSED idesc = abuf->idesc;
12035 int cycles = 0;
12037 int referenced = 0;
12038 int UNUSED insn_referenced = abuf->written;
12039 INT in_GRi = -1;
12040 INT in_GRj = -1;
12041 INT out_GRk = -1;
12042 INT out_ICCi_1 = -1;
12043 in_GRi = FLD (in_GRi);
12044 in_GRj = FLD (in_GRj);
12045 out_GRk = FLD (out_GRk);
12046 referenced |= 1 << 0;
12047 referenced |= 1 << 1;
12048 referenced |= 1 << 2;
12049 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12051 return cycles;
12052 #undef FLD
12055 static int
12056 model_fr550_not (SIM_CPU *current_cpu, void *sem_arg)
12058 #define FLD(f) abuf->fields.sfmt_scutss.f
12059 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12060 const IDESC * UNUSED idesc = abuf->idesc;
12061 int cycles = 0;
12063 int referenced = 0;
12064 int UNUSED insn_referenced = abuf->written;
12065 INT in_GRi = -1;
12066 INT in_GRj = -1;
12067 INT out_GRk = -1;
12068 INT out_ICCi_1 = -1;
12069 in_GRj = FLD (in_GRj);
12070 out_GRk = FLD (out_GRk);
12071 referenced |= 1 << 1;
12072 referenced |= 1 << 2;
12073 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12075 return cycles;
12076 #undef FLD
12079 static int
12080 model_fr550_sdiv (SIM_CPU *current_cpu, void *sem_arg)
12082 #define FLD(f) abuf->fields.sfmt_addcc.f
12083 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12084 const IDESC * UNUSED idesc = abuf->idesc;
12085 int cycles = 0;
12087 int referenced = 0;
12088 int UNUSED insn_referenced = abuf->written;
12089 INT in_GRi = -1;
12090 INT in_GRj = -1;
12091 INT out_GRk = -1;
12092 INT out_ICCi_1 = -1;
12093 in_GRi = FLD (in_GRi);
12094 in_GRj = FLD (in_GRj);
12095 out_GRk = FLD (out_GRk);
12096 referenced |= 1 << 0;
12097 referenced |= 1 << 1;
12098 referenced |= 1 << 2;
12099 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12101 return cycles;
12102 #undef FLD
12105 static int
12106 model_fr550_nsdiv (SIM_CPU *current_cpu, void *sem_arg)
12108 #define FLD(f) abuf->fields.sfmt_addcc.f
12109 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12110 const IDESC * UNUSED idesc = abuf->idesc;
12111 int cycles = 0;
12113 int referenced = 0;
12114 int UNUSED insn_referenced = abuf->written;
12115 INT in_GRi = -1;
12116 INT in_GRj = -1;
12117 INT out_GRk = -1;
12118 INT out_ICCi_1 = -1;
12119 in_GRi = FLD (in_GRi);
12120 in_GRj = FLD (in_GRj);
12121 out_GRk = FLD (out_GRk);
12122 referenced |= 1 << 0;
12123 referenced |= 1 << 1;
12124 referenced |= 1 << 2;
12125 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12127 return cycles;
12128 #undef FLD
12131 static int
12132 model_fr550_udiv (SIM_CPU *current_cpu, void *sem_arg)
12134 #define FLD(f) abuf->fields.sfmt_addcc.f
12135 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12136 const IDESC * UNUSED idesc = abuf->idesc;
12137 int cycles = 0;
12139 int referenced = 0;
12140 int UNUSED insn_referenced = abuf->written;
12141 INT in_GRi = -1;
12142 INT in_GRj = -1;
12143 INT out_GRk = -1;
12144 INT out_ICCi_1 = -1;
12145 in_GRi = FLD (in_GRi);
12146 in_GRj = FLD (in_GRj);
12147 out_GRk = FLD (out_GRk);
12148 referenced |= 1 << 0;
12149 referenced |= 1 << 1;
12150 referenced |= 1 << 2;
12151 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12153 return cycles;
12154 #undef FLD
12157 static int
12158 model_fr550_nudiv (SIM_CPU *current_cpu, void *sem_arg)
12160 #define FLD(f) abuf->fields.sfmt_addcc.f
12161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12162 const IDESC * UNUSED idesc = abuf->idesc;
12163 int cycles = 0;
12165 int referenced = 0;
12166 int UNUSED insn_referenced = abuf->written;
12167 INT in_GRi = -1;
12168 INT in_GRj = -1;
12169 INT out_GRk = -1;
12170 INT out_ICCi_1 = -1;
12171 in_GRi = FLD (in_GRi);
12172 in_GRj = FLD (in_GRj);
12173 out_GRk = FLD (out_GRk);
12174 referenced |= 1 << 0;
12175 referenced |= 1 << 1;
12176 referenced |= 1 << 2;
12177 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12179 return cycles;
12180 #undef FLD
12183 static int
12184 model_fr550_smul (SIM_CPU *current_cpu, void *sem_arg)
12186 #define FLD(f) abuf->fields.sfmt_smulcc.f
12187 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12188 const IDESC * UNUSED idesc = abuf->idesc;
12189 int cycles = 0;
12191 int referenced = 0;
12192 int UNUSED insn_referenced = abuf->written;
12193 INT in_GRi = -1;
12194 INT in_GRj = -1;
12195 INT out_GRdoublek = -1;
12196 INT out_ICCi_1 = -1;
12197 in_GRi = FLD (in_GRi);
12198 in_GRj = FLD (in_GRj);
12199 out_GRdoublek = FLD (out_GRdoublek);
12200 referenced |= 1 << 0;
12201 referenced |= 1 << 1;
12202 referenced |= 1 << 2;
12203 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
12205 return cycles;
12206 #undef FLD
12209 static int
12210 model_fr550_umul (SIM_CPU *current_cpu, void *sem_arg)
12212 #define FLD(f) abuf->fields.sfmt_smulcc.f
12213 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12214 const IDESC * UNUSED idesc = abuf->idesc;
12215 int cycles = 0;
12217 int referenced = 0;
12218 int UNUSED insn_referenced = abuf->written;
12219 INT in_GRi = -1;
12220 INT in_GRj = -1;
12221 INT out_GRdoublek = -1;
12222 INT out_ICCi_1 = -1;
12223 in_GRi = FLD (in_GRi);
12224 in_GRj = FLD (in_GRj);
12225 out_GRdoublek = FLD (out_GRdoublek);
12226 referenced |= 1 << 0;
12227 referenced |= 1 << 1;
12228 referenced |= 1 << 2;
12229 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
12231 return cycles;
12232 #undef FLD
12235 static int
12236 model_fr550_smu (SIM_CPU *current_cpu, void *sem_arg)
12238 #define FLD(f) abuf->fields.sfmt_smass.f
12239 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12240 const IDESC * UNUSED idesc = abuf->idesc;
12241 int cycles = 0;
12243 int referenced = 0;
12244 int UNUSED insn_referenced = abuf->written;
12245 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
12247 return cycles;
12248 #undef FLD
12251 static int
12252 model_fr550_smass (SIM_CPU *current_cpu, void *sem_arg)
12254 #define FLD(f) abuf->fields.sfmt_smass.f
12255 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12256 const IDESC * UNUSED idesc = abuf->idesc;
12257 int cycles = 0;
12259 int referenced = 0;
12260 int UNUSED insn_referenced = abuf->written;
12261 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
12263 return cycles;
12264 #undef FLD
12267 static int
12268 model_fr550_smsss (SIM_CPU *current_cpu, void *sem_arg)
12270 #define FLD(f) abuf->fields.sfmt_smass.f
12271 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12272 const IDESC * UNUSED idesc = abuf->idesc;
12273 int cycles = 0;
12275 int referenced = 0;
12276 int UNUSED insn_referenced = abuf->written;
12277 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
12279 return cycles;
12280 #undef FLD
12283 static int
12284 model_fr550_sll (SIM_CPU *current_cpu, void *sem_arg)
12286 #define FLD(f) abuf->fields.sfmt_addcc.f
12287 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12288 const IDESC * UNUSED idesc = abuf->idesc;
12289 int cycles = 0;
12291 int referenced = 0;
12292 int UNUSED insn_referenced = abuf->written;
12293 INT in_GRi = -1;
12294 INT in_GRj = -1;
12295 INT out_GRk = -1;
12296 INT out_ICCi_1 = -1;
12297 in_GRi = FLD (in_GRi);
12298 in_GRj = FLD (in_GRj);
12299 out_GRk = FLD (out_GRk);
12300 referenced |= 1 << 0;
12301 referenced |= 1 << 1;
12302 referenced |= 1 << 2;
12303 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12305 return cycles;
12306 #undef FLD
12309 static int
12310 model_fr550_srl (SIM_CPU *current_cpu, void *sem_arg)
12312 #define FLD(f) abuf->fields.sfmt_addcc.f
12313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12314 const IDESC * UNUSED idesc = abuf->idesc;
12315 int cycles = 0;
12317 int referenced = 0;
12318 int UNUSED insn_referenced = abuf->written;
12319 INT in_GRi = -1;
12320 INT in_GRj = -1;
12321 INT out_GRk = -1;
12322 INT out_ICCi_1 = -1;
12323 in_GRi = FLD (in_GRi);
12324 in_GRj = FLD (in_GRj);
12325 out_GRk = FLD (out_GRk);
12326 referenced |= 1 << 0;
12327 referenced |= 1 << 1;
12328 referenced |= 1 << 2;
12329 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12331 return cycles;
12332 #undef FLD
12335 static int
12336 model_fr550_sra (SIM_CPU *current_cpu, void *sem_arg)
12338 #define FLD(f) abuf->fields.sfmt_addcc.f
12339 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12340 const IDESC * UNUSED idesc = abuf->idesc;
12341 int cycles = 0;
12343 int referenced = 0;
12344 int UNUSED insn_referenced = abuf->written;
12345 INT in_GRi = -1;
12346 INT in_GRj = -1;
12347 INT out_GRk = -1;
12348 INT out_ICCi_1 = -1;
12349 in_GRi = FLD (in_GRi);
12350 in_GRj = FLD (in_GRj);
12351 out_GRk = FLD (out_GRk);
12352 referenced |= 1 << 0;
12353 referenced |= 1 << 1;
12354 referenced |= 1 << 2;
12355 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12357 return cycles;
12358 #undef FLD
12361 static int
12362 model_fr550_slass (SIM_CPU *current_cpu, void *sem_arg)
12364 #define FLD(f) abuf->fields.sfmt_addcc.f
12365 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12366 const IDESC * UNUSED idesc = abuf->idesc;
12367 int cycles = 0;
12369 int referenced = 0;
12370 int UNUSED insn_referenced = abuf->written;
12371 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
12373 return cycles;
12374 #undef FLD
12377 static int
12378 model_fr550_scutss (SIM_CPU *current_cpu, void *sem_arg)
12380 #define FLD(f) abuf->fields.sfmt_scutss.f
12381 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12382 const IDESC * UNUSED idesc = abuf->idesc;
12383 int cycles = 0;
12385 int referenced = 0;
12386 int UNUSED insn_referenced = abuf->written;
12387 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
12389 return cycles;
12390 #undef FLD
12393 static int
12394 model_fr550_scan (SIM_CPU *current_cpu, void *sem_arg)
12396 #define FLD(f) abuf->fields.sfmt_addcc.f
12397 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12398 const IDESC * UNUSED idesc = abuf->idesc;
12399 int cycles = 0;
12401 int referenced = 0;
12402 int UNUSED insn_referenced = abuf->written;
12403 INT in_GRi = -1;
12404 INT in_GRj = -1;
12405 INT out_GRk = -1;
12406 INT out_ICCi_1 = -1;
12407 in_GRi = FLD (in_GRi);
12408 in_GRj = FLD (in_GRj);
12409 out_GRk = FLD (out_GRk);
12410 referenced |= 1 << 0;
12411 referenced |= 1 << 1;
12412 referenced |= 1 << 2;
12413 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12415 return cycles;
12416 #undef FLD
12419 static int
12420 model_fr550_cadd (SIM_CPU *current_cpu, void *sem_arg)
12422 #define FLD(f) abuf->fields.sfmt_cswap.f
12423 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12424 const IDESC * UNUSED idesc = abuf->idesc;
12425 int cycles = 0;
12427 int referenced = 0;
12428 int UNUSED insn_referenced = abuf->written;
12429 INT in_GRi = -1;
12430 INT in_GRj = -1;
12431 INT out_GRk = -1;
12432 INT out_ICCi_1 = -1;
12433 in_GRi = FLD (in_GRi);
12434 in_GRj = FLD (in_GRj);
12435 out_GRk = FLD (out_GRk);
12436 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12437 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12438 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12439 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12441 return cycles;
12442 #undef FLD
12445 static int
12446 model_fr550_csub (SIM_CPU *current_cpu, void *sem_arg)
12448 #define FLD(f) abuf->fields.sfmt_cswap.f
12449 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12450 const IDESC * UNUSED idesc = abuf->idesc;
12451 int cycles = 0;
12453 int referenced = 0;
12454 int UNUSED insn_referenced = abuf->written;
12455 INT in_GRi = -1;
12456 INT in_GRj = -1;
12457 INT out_GRk = -1;
12458 INT out_ICCi_1 = -1;
12459 in_GRi = FLD (in_GRi);
12460 in_GRj = FLD (in_GRj);
12461 out_GRk = FLD (out_GRk);
12462 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12463 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12464 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12465 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12467 return cycles;
12468 #undef FLD
12471 static int
12472 model_fr550_cand (SIM_CPU *current_cpu, void *sem_arg)
12474 #define FLD(f) abuf->fields.sfmt_cswap.f
12475 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12476 const IDESC * UNUSED idesc = abuf->idesc;
12477 int cycles = 0;
12479 int referenced = 0;
12480 int UNUSED insn_referenced = abuf->written;
12481 INT in_GRi = -1;
12482 INT in_GRj = -1;
12483 INT out_GRk = -1;
12484 INT out_ICCi_1 = -1;
12485 in_GRi = FLD (in_GRi);
12486 in_GRj = FLD (in_GRj);
12487 out_GRk = FLD (out_GRk);
12488 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12489 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12490 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12491 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12493 return cycles;
12494 #undef FLD
12497 static int
12498 model_fr550_cor (SIM_CPU *current_cpu, void *sem_arg)
12500 #define FLD(f) abuf->fields.sfmt_cswap.f
12501 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12502 const IDESC * UNUSED idesc = abuf->idesc;
12503 int cycles = 0;
12505 int referenced = 0;
12506 int UNUSED insn_referenced = abuf->written;
12507 INT in_GRi = -1;
12508 INT in_GRj = -1;
12509 INT out_GRk = -1;
12510 INT out_ICCi_1 = -1;
12511 in_GRi = FLD (in_GRi);
12512 in_GRj = FLD (in_GRj);
12513 out_GRk = FLD (out_GRk);
12514 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12515 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12516 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12517 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12519 return cycles;
12520 #undef FLD
12523 static int
12524 model_fr550_cxor (SIM_CPU *current_cpu, void *sem_arg)
12526 #define FLD(f) abuf->fields.sfmt_cswap.f
12527 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12528 const IDESC * UNUSED idesc = abuf->idesc;
12529 int cycles = 0;
12531 int referenced = 0;
12532 int UNUSED insn_referenced = abuf->written;
12533 INT in_GRi = -1;
12534 INT in_GRj = -1;
12535 INT out_GRk = -1;
12536 INT out_ICCi_1 = -1;
12537 in_GRi = FLD (in_GRi);
12538 in_GRj = FLD (in_GRj);
12539 out_GRk = FLD (out_GRk);
12540 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12541 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12542 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12543 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12545 return cycles;
12546 #undef FLD
12549 static int
12550 model_fr550_cnot (SIM_CPU *current_cpu, void *sem_arg)
12552 #define FLD(f) abuf->fields.sfmt_cswap.f
12553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12554 const IDESC * UNUSED idesc = abuf->idesc;
12555 int cycles = 0;
12557 int referenced = 0;
12558 int UNUSED insn_referenced = abuf->written;
12559 INT in_GRi = -1;
12560 INT in_GRj = -1;
12561 INT out_GRk = -1;
12562 INT out_ICCi_1 = -1;
12563 in_GRj = FLD (in_GRj);
12564 out_GRk = FLD (out_GRk);
12565 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
12566 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
12567 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12569 return cycles;
12570 #undef FLD
12573 static int
12574 model_fr550_csmul (SIM_CPU *current_cpu, void *sem_arg)
12576 #define FLD(f) abuf->fields.sfmt_clddu.f
12577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12578 const IDESC * UNUSED idesc = abuf->idesc;
12579 int cycles = 0;
12581 int referenced = 0;
12582 int UNUSED insn_referenced = abuf->written;
12583 INT in_GRi = -1;
12584 INT in_GRj = -1;
12585 INT out_GRdoublek = -1;
12586 INT out_ICCi_1 = -1;
12587 in_GRi = FLD (in_GRi);
12588 in_GRj = FLD (in_GRj);
12589 out_GRdoublek = FLD (out_GRdoublek);
12590 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12591 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12592 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12593 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
12595 return cycles;
12596 #undef FLD
12599 static int
12600 model_fr550_csdiv (SIM_CPU *current_cpu, void *sem_arg)
12602 #define FLD(f) abuf->fields.sfmt_cswap.f
12603 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12604 const IDESC * UNUSED idesc = abuf->idesc;
12605 int cycles = 0;
12607 int referenced = 0;
12608 int UNUSED insn_referenced = abuf->written;
12609 INT in_GRi = -1;
12610 INT in_GRj = -1;
12611 INT out_GRk = -1;
12612 INT out_ICCi_1 = -1;
12613 in_GRi = FLD (in_GRi);
12614 in_GRj = FLD (in_GRj);
12615 out_GRk = FLD (out_GRk);
12616 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12617 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12618 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
12619 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12621 return cycles;
12622 #undef FLD
12625 static int
12626 model_fr550_cudiv (SIM_CPU *current_cpu, void *sem_arg)
12628 #define FLD(f) abuf->fields.sfmt_cswap.f
12629 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12630 const IDESC * UNUSED idesc = abuf->idesc;
12631 int cycles = 0;
12633 int referenced = 0;
12634 int UNUSED insn_referenced = abuf->written;
12635 INT in_GRi = -1;
12636 INT in_GRj = -1;
12637 INT out_GRk = -1;
12638 INT out_ICCi_1 = -1;
12639 in_GRi = FLD (in_GRi);
12640 in_GRj = FLD (in_GRj);
12641 out_GRk = FLD (out_GRk);
12642 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12643 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12644 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
12645 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12647 return cycles;
12648 #undef FLD
12651 static int
12652 model_fr550_csll (SIM_CPU *current_cpu, void *sem_arg)
12654 #define FLD(f) abuf->fields.sfmt_cswap.f
12655 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12656 const IDESC * UNUSED idesc = abuf->idesc;
12657 int cycles = 0;
12659 int referenced = 0;
12660 int UNUSED insn_referenced = abuf->written;
12661 INT in_GRi = -1;
12662 INT in_GRj = -1;
12663 INT out_GRk = -1;
12664 INT out_ICCi_1 = -1;
12665 in_GRi = FLD (in_GRi);
12666 in_GRj = FLD (in_GRj);
12667 out_GRk = FLD (out_GRk);
12668 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12669 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12670 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12671 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12673 return cycles;
12674 #undef FLD
12677 static int
12678 model_fr550_csrl (SIM_CPU *current_cpu, void *sem_arg)
12680 #define FLD(f) abuf->fields.sfmt_cswap.f
12681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12682 const IDESC * UNUSED idesc = abuf->idesc;
12683 int cycles = 0;
12685 int referenced = 0;
12686 int UNUSED insn_referenced = abuf->written;
12687 INT in_GRi = -1;
12688 INT in_GRj = -1;
12689 INT out_GRk = -1;
12690 INT out_ICCi_1 = -1;
12691 in_GRi = FLD (in_GRi);
12692 in_GRj = FLD (in_GRj);
12693 out_GRk = FLD (out_GRk);
12694 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12695 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12696 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12697 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12699 return cycles;
12700 #undef FLD
12703 static int
12704 model_fr550_csra (SIM_CPU *current_cpu, void *sem_arg)
12706 #define FLD(f) abuf->fields.sfmt_cswap.f
12707 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12708 const IDESC * UNUSED idesc = abuf->idesc;
12709 int cycles = 0;
12711 int referenced = 0;
12712 int UNUSED insn_referenced = abuf->written;
12713 INT in_GRi = -1;
12714 INT in_GRj = -1;
12715 INT out_GRk = -1;
12716 INT out_ICCi_1 = -1;
12717 in_GRi = FLD (in_GRi);
12718 in_GRj = FLD (in_GRj);
12719 out_GRk = FLD (out_GRk);
12720 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12721 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12722 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12723 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12725 return cycles;
12726 #undef FLD
12729 static int
12730 model_fr550_cscan (SIM_CPU *current_cpu, void *sem_arg)
12732 #define FLD(f) abuf->fields.sfmt_cswap.f
12733 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12734 const IDESC * UNUSED idesc = abuf->idesc;
12735 int cycles = 0;
12737 int referenced = 0;
12738 int UNUSED insn_referenced = abuf->written;
12739 INT in_GRi = -1;
12740 INT in_GRj = -1;
12741 INT out_GRk = -1;
12742 INT out_ICCi_1 = -1;
12743 in_GRi = FLD (in_GRi);
12744 in_GRj = FLD (in_GRj);
12745 out_GRk = FLD (out_GRk);
12746 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
12747 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
12748 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
12749 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12751 return cycles;
12752 #undef FLD
12755 static int
12756 model_fr550_addcc (SIM_CPU *current_cpu, void *sem_arg)
12758 #define FLD(f) abuf->fields.sfmt_addcc.f
12759 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12760 const IDESC * UNUSED idesc = abuf->idesc;
12761 int cycles = 0;
12763 int referenced = 0;
12764 int UNUSED insn_referenced = abuf->written;
12765 INT in_GRi = -1;
12766 INT in_GRj = -1;
12767 INT out_GRk = -1;
12768 INT out_ICCi_1 = -1;
12769 in_GRi = FLD (in_GRi);
12770 in_GRj = FLD (in_GRj);
12771 out_GRk = FLD (out_GRk);
12772 out_ICCi_1 = FLD (out_ICCi_1);
12773 referenced |= 1 << 0;
12774 referenced |= 1 << 1;
12775 referenced |= 1 << 2;
12776 referenced |= 1 << 3;
12777 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12779 return cycles;
12780 #undef FLD
12783 static int
12784 model_fr550_subcc (SIM_CPU *current_cpu, void *sem_arg)
12786 #define FLD(f) abuf->fields.sfmt_addcc.f
12787 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12788 const IDESC * UNUSED idesc = abuf->idesc;
12789 int cycles = 0;
12791 int referenced = 0;
12792 int UNUSED insn_referenced = abuf->written;
12793 INT in_GRi = -1;
12794 INT in_GRj = -1;
12795 INT out_GRk = -1;
12796 INT out_ICCi_1 = -1;
12797 in_GRi = FLD (in_GRi);
12798 in_GRj = FLD (in_GRj);
12799 out_GRk = FLD (out_GRk);
12800 out_ICCi_1 = FLD (out_ICCi_1);
12801 referenced |= 1 << 0;
12802 referenced |= 1 << 1;
12803 referenced |= 1 << 2;
12804 referenced |= 1 << 3;
12805 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12807 return cycles;
12808 #undef FLD
12811 static int
12812 model_fr550_andcc (SIM_CPU *current_cpu, void *sem_arg)
12814 #define FLD(f) abuf->fields.sfmt_addcc.f
12815 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12816 const IDESC * UNUSED idesc = abuf->idesc;
12817 int cycles = 0;
12819 int referenced = 0;
12820 int UNUSED insn_referenced = abuf->written;
12821 INT in_GRi = -1;
12822 INT in_GRj = -1;
12823 INT out_GRk = -1;
12824 INT out_ICCi_1 = -1;
12825 in_GRi = FLD (in_GRi);
12826 in_GRj = FLD (in_GRj);
12827 out_GRk = FLD (out_GRk);
12828 out_ICCi_1 = FLD (out_ICCi_1);
12829 referenced |= 1 << 0;
12830 referenced |= 1 << 1;
12831 referenced |= 1 << 2;
12832 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
12833 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12835 return cycles;
12836 #undef FLD
12839 static int
12840 model_fr550_orcc (SIM_CPU *current_cpu, void *sem_arg)
12842 #define FLD(f) abuf->fields.sfmt_addcc.f
12843 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12844 const IDESC * UNUSED idesc = abuf->idesc;
12845 int cycles = 0;
12847 int referenced = 0;
12848 int UNUSED insn_referenced = abuf->written;
12849 INT in_GRi = -1;
12850 INT in_GRj = -1;
12851 INT out_GRk = -1;
12852 INT out_ICCi_1 = -1;
12853 in_GRi = FLD (in_GRi);
12854 in_GRj = FLD (in_GRj);
12855 out_GRk = FLD (out_GRk);
12856 out_ICCi_1 = FLD (out_ICCi_1);
12857 referenced |= 1 << 0;
12858 referenced |= 1 << 1;
12859 referenced |= 1 << 2;
12860 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
12861 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12863 return cycles;
12864 #undef FLD
12867 static int
12868 model_fr550_xorcc (SIM_CPU *current_cpu, void *sem_arg)
12870 #define FLD(f) abuf->fields.sfmt_addcc.f
12871 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12872 const IDESC * UNUSED idesc = abuf->idesc;
12873 int cycles = 0;
12875 int referenced = 0;
12876 int UNUSED insn_referenced = abuf->written;
12877 INT in_GRi = -1;
12878 INT in_GRj = -1;
12879 INT out_GRk = -1;
12880 INT out_ICCi_1 = -1;
12881 in_GRi = FLD (in_GRi);
12882 in_GRj = FLD (in_GRj);
12883 out_GRk = FLD (out_GRk);
12884 out_ICCi_1 = FLD (out_ICCi_1);
12885 referenced |= 1 << 0;
12886 referenced |= 1 << 1;
12887 referenced |= 1 << 2;
12888 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
12889 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12891 return cycles;
12892 #undef FLD
12895 static int
12896 model_fr550_sllcc (SIM_CPU *current_cpu, void *sem_arg)
12898 #define FLD(f) abuf->fields.sfmt_addcc.f
12899 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12900 const IDESC * UNUSED idesc = abuf->idesc;
12901 int cycles = 0;
12903 int referenced = 0;
12904 int UNUSED insn_referenced = abuf->written;
12905 INT in_GRi = -1;
12906 INT in_GRj = -1;
12907 INT out_GRk = -1;
12908 INT out_ICCi_1 = -1;
12909 in_GRi = FLD (in_GRi);
12910 in_GRj = FLD (in_GRj);
12911 out_GRk = FLD (out_GRk);
12912 out_ICCi_1 = FLD (out_ICCi_1);
12913 referenced |= 1 << 0;
12914 referenced |= 1 << 1;
12915 referenced |= 1 << 2;
12916 referenced |= 1 << 3;
12917 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12919 return cycles;
12920 #undef FLD
12923 static int
12924 model_fr550_srlcc (SIM_CPU *current_cpu, void *sem_arg)
12926 #define FLD(f) abuf->fields.sfmt_addcc.f
12927 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12928 const IDESC * UNUSED idesc = abuf->idesc;
12929 int cycles = 0;
12931 int referenced = 0;
12932 int UNUSED insn_referenced = abuf->written;
12933 INT in_GRi = -1;
12934 INT in_GRj = -1;
12935 INT out_GRk = -1;
12936 INT out_ICCi_1 = -1;
12937 in_GRi = FLD (in_GRi);
12938 in_GRj = FLD (in_GRj);
12939 out_GRk = FLD (out_GRk);
12940 out_ICCi_1 = FLD (out_ICCi_1);
12941 referenced |= 1 << 0;
12942 referenced |= 1 << 1;
12943 referenced |= 1 << 2;
12944 referenced |= 1 << 3;
12945 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12947 return cycles;
12948 #undef FLD
12951 static int
12952 model_fr550_sracc (SIM_CPU *current_cpu, void *sem_arg)
12954 #define FLD(f) abuf->fields.sfmt_addcc.f
12955 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12956 const IDESC * UNUSED idesc = abuf->idesc;
12957 int cycles = 0;
12959 int referenced = 0;
12960 int UNUSED insn_referenced = abuf->written;
12961 INT in_GRi = -1;
12962 INT in_GRj = -1;
12963 INT out_GRk = -1;
12964 INT out_ICCi_1 = -1;
12965 in_GRi = FLD (in_GRi);
12966 in_GRj = FLD (in_GRj);
12967 out_GRk = FLD (out_GRk);
12968 out_ICCi_1 = FLD (out_ICCi_1);
12969 referenced |= 1 << 0;
12970 referenced |= 1 << 1;
12971 referenced |= 1 << 2;
12972 referenced |= 1 << 3;
12973 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
12975 return cycles;
12976 #undef FLD
12979 static int
12980 model_fr550_smulcc (SIM_CPU *current_cpu, void *sem_arg)
12982 #define FLD(f) abuf->fields.sfmt_smulcc.f
12983 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
12984 const IDESC * UNUSED idesc = abuf->idesc;
12985 int cycles = 0;
12987 int referenced = 0;
12988 int UNUSED insn_referenced = abuf->written;
12989 INT in_GRi = -1;
12990 INT in_GRj = -1;
12991 INT out_GRdoublek = -1;
12992 INT out_ICCi_1 = -1;
12993 in_GRi = FLD (in_GRi);
12994 in_GRj = FLD (in_GRj);
12995 out_GRdoublek = FLD (out_GRdoublek);
12996 out_ICCi_1 = FLD (out_ICCi_1);
12997 referenced |= 1 << 0;
12998 referenced |= 1 << 1;
12999 referenced |= 1 << 2;
13000 referenced |= 1 << 3;
13001 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
13003 return cycles;
13004 #undef FLD
13007 static int
13008 model_fr550_umulcc (SIM_CPU *current_cpu, void *sem_arg)
13010 #define FLD(f) abuf->fields.sfmt_smulcc.f
13011 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13012 const IDESC * UNUSED idesc = abuf->idesc;
13013 int cycles = 0;
13015 int referenced = 0;
13016 int UNUSED insn_referenced = abuf->written;
13017 INT in_GRi = -1;
13018 INT in_GRj = -1;
13019 INT out_GRdoublek = -1;
13020 INT out_ICCi_1 = -1;
13021 in_GRi = FLD (in_GRi);
13022 in_GRj = FLD (in_GRj);
13023 out_GRdoublek = FLD (out_GRdoublek);
13024 out_ICCi_1 = FLD (out_ICCi_1);
13025 referenced |= 1 << 0;
13026 referenced |= 1 << 1;
13027 referenced |= 1 << 2;
13028 referenced |= 1 << 3;
13029 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
13031 return cycles;
13032 #undef FLD
13035 static int
13036 model_fr550_caddcc (SIM_CPU *current_cpu, void *sem_arg)
13038 #define FLD(f) abuf->fields.sfmt_caddcc.f
13039 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13040 const IDESC * UNUSED idesc = abuf->idesc;
13041 int cycles = 0;
13043 int referenced = 0;
13044 int UNUSED insn_referenced = abuf->written;
13045 INT in_GRi = -1;
13046 INT in_GRj = -1;
13047 INT out_GRk = -1;
13048 INT out_ICCi_1 = -1;
13049 in_GRi = FLD (in_GRi);
13050 in_GRj = FLD (in_GRj);
13051 out_GRk = FLD (out_GRk);
13052 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13053 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13054 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13055 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13057 return cycles;
13058 #undef FLD
13061 static int
13062 model_fr550_csubcc (SIM_CPU *current_cpu, void *sem_arg)
13064 #define FLD(f) abuf->fields.sfmt_caddcc.f
13065 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13066 const IDESC * UNUSED idesc = abuf->idesc;
13067 int cycles = 0;
13069 int referenced = 0;
13070 int UNUSED insn_referenced = abuf->written;
13071 INT in_GRi = -1;
13072 INT in_GRj = -1;
13073 INT out_GRk = -1;
13074 INT out_ICCi_1 = -1;
13075 in_GRi = FLD (in_GRi);
13076 in_GRj = FLD (in_GRj);
13077 out_GRk = FLD (out_GRk);
13078 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13079 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13080 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13081 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13083 return cycles;
13084 #undef FLD
13087 static int
13088 model_fr550_csmulcc (SIM_CPU *current_cpu, void *sem_arg)
13090 #define FLD(f) abuf->fields.sfmt_csmulcc.f
13091 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13092 const IDESC * UNUSED idesc = abuf->idesc;
13093 int cycles = 0;
13095 int referenced = 0;
13096 int UNUSED insn_referenced = abuf->written;
13097 INT in_GRi = -1;
13098 INT in_GRj = -1;
13099 INT out_GRdoublek = -1;
13100 INT out_ICCi_1 = -1;
13101 in_GRi = FLD (in_GRi);
13102 in_GRj = FLD (in_GRj);
13103 out_GRdoublek = FLD (out_GRdoublek);
13104 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13105 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13106 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13107 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
13109 return cycles;
13110 #undef FLD
13113 static int
13114 model_fr550_candcc (SIM_CPU *current_cpu, void *sem_arg)
13116 #define FLD(f) abuf->fields.sfmt_caddcc.f
13117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13118 const IDESC * UNUSED idesc = abuf->idesc;
13119 int cycles = 0;
13121 int referenced = 0;
13122 int UNUSED insn_referenced = abuf->written;
13123 INT in_GRi = -1;
13124 INT in_GRj = -1;
13125 INT out_GRk = -1;
13126 INT out_ICCi_1 = -1;
13127 in_GRi = FLD (in_GRi);
13128 in_GRj = FLD (in_GRj);
13129 out_GRk = FLD (out_GRk);
13130 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13131 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13132 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13133 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13135 return cycles;
13136 #undef FLD
13139 static int
13140 model_fr550_corcc (SIM_CPU *current_cpu, void *sem_arg)
13142 #define FLD(f) abuf->fields.sfmt_caddcc.f
13143 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13144 const IDESC * UNUSED idesc = abuf->idesc;
13145 int cycles = 0;
13147 int referenced = 0;
13148 int UNUSED insn_referenced = abuf->written;
13149 INT in_GRi = -1;
13150 INT in_GRj = -1;
13151 INT out_GRk = -1;
13152 INT out_ICCi_1 = -1;
13153 in_GRi = FLD (in_GRi);
13154 in_GRj = FLD (in_GRj);
13155 out_GRk = FLD (out_GRk);
13156 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13157 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13158 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13159 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13161 return cycles;
13162 #undef FLD
13165 static int
13166 model_fr550_cxorcc (SIM_CPU *current_cpu, void *sem_arg)
13168 #define FLD(f) abuf->fields.sfmt_caddcc.f
13169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13170 const IDESC * UNUSED idesc = abuf->idesc;
13171 int cycles = 0;
13173 int referenced = 0;
13174 int UNUSED insn_referenced = abuf->written;
13175 INT in_GRi = -1;
13176 INT in_GRj = -1;
13177 INT out_GRk = -1;
13178 INT out_ICCi_1 = -1;
13179 in_GRi = FLD (in_GRi);
13180 in_GRj = FLD (in_GRj);
13181 out_GRk = FLD (out_GRk);
13182 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13183 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13184 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13185 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13187 return cycles;
13188 #undef FLD
13191 static int
13192 model_fr550_csllcc (SIM_CPU *current_cpu, void *sem_arg)
13194 #define FLD(f) abuf->fields.sfmt_caddcc.f
13195 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13196 const IDESC * UNUSED idesc = abuf->idesc;
13197 int cycles = 0;
13199 int referenced = 0;
13200 int UNUSED insn_referenced = abuf->written;
13201 INT in_GRi = -1;
13202 INT in_GRj = -1;
13203 INT out_GRk = -1;
13204 INT out_ICCi_1 = -1;
13205 in_GRi = FLD (in_GRi);
13206 in_GRj = FLD (in_GRj);
13207 out_GRk = FLD (out_GRk);
13208 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13209 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13210 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13211 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13213 return cycles;
13214 #undef FLD
13217 static int
13218 model_fr550_csrlcc (SIM_CPU *current_cpu, void *sem_arg)
13220 #define FLD(f) abuf->fields.sfmt_caddcc.f
13221 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13222 const IDESC * UNUSED idesc = abuf->idesc;
13223 int cycles = 0;
13225 int referenced = 0;
13226 int UNUSED insn_referenced = abuf->written;
13227 INT in_GRi = -1;
13228 INT in_GRj = -1;
13229 INT out_GRk = -1;
13230 INT out_ICCi_1 = -1;
13231 in_GRi = FLD (in_GRi);
13232 in_GRj = FLD (in_GRj);
13233 out_GRk = FLD (out_GRk);
13234 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13235 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13236 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13237 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13239 return cycles;
13240 #undef FLD
13243 static int
13244 model_fr550_csracc (SIM_CPU *current_cpu, void *sem_arg)
13246 #define FLD(f) abuf->fields.sfmt_caddcc.f
13247 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13248 const IDESC * UNUSED idesc = abuf->idesc;
13249 int cycles = 0;
13251 int referenced = 0;
13252 int UNUSED insn_referenced = abuf->written;
13253 INT in_GRi = -1;
13254 INT in_GRj = -1;
13255 INT out_GRk = -1;
13256 INT out_ICCi_1 = -1;
13257 in_GRi = FLD (in_GRi);
13258 in_GRj = FLD (in_GRj);
13259 out_GRk = FLD (out_GRk);
13260 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
13261 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
13262 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
13263 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13265 return cycles;
13266 #undef FLD
13269 static int
13270 model_fr550_addx (SIM_CPU *current_cpu, void *sem_arg)
13272 #define FLD(f) abuf->fields.sfmt_addcc.f
13273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13274 const IDESC * UNUSED idesc = abuf->idesc;
13275 int cycles = 0;
13277 int referenced = 0;
13278 int UNUSED insn_referenced = abuf->written;
13279 INT in_GRi = -1;
13280 INT in_GRj = -1;
13281 INT out_GRk = -1;
13282 INT out_ICCi_1 = -1;
13283 in_GRi = FLD (in_GRi);
13284 in_GRj = FLD (in_GRj);
13285 out_GRk = FLD (out_GRk);
13286 referenced |= 1 << 0;
13287 referenced |= 1 << 1;
13288 referenced |= 1 << 2;
13289 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13291 return cycles;
13292 #undef FLD
13295 static int
13296 model_fr550_subx (SIM_CPU *current_cpu, void *sem_arg)
13298 #define FLD(f) abuf->fields.sfmt_addcc.f
13299 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13300 const IDESC * UNUSED idesc = abuf->idesc;
13301 int cycles = 0;
13303 int referenced = 0;
13304 int UNUSED insn_referenced = abuf->written;
13305 INT in_GRi = -1;
13306 INT in_GRj = -1;
13307 INT out_GRk = -1;
13308 INT out_ICCi_1 = -1;
13309 in_GRi = FLD (in_GRi);
13310 in_GRj = FLD (in_GRj);
13311 out_GRk = FLD (out_GRk);
13312 referenced |= 1 << 0;
13313 referenced |= 1 << 1;
13314 referenced |= 1 << 2;
13315 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13317 return cycles;
13318 #undef FLD
13321 static int
13322 model_fr550_addxcc (SIM_CPU *current_cpu, void *sem_arg)
13324 #define FLD(f) abuf->fields.sfmt_addcc.f
13325 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13326 const IDESC * UNUSED idesc = abuf->idesc;
13327 int cycles = 0;
13329 int referenced = 0;
13330 int UNUSED insn_referenced = abuf->written;
13331 INT in_GRi = -1;
13332 INT in_GRj = -1;
13333 INT out_GRk = -1;
13334 INT out_ICCi_1 = -1;
13335 in_GRi = FLD (in_GRi);
13336 in_GRj = FLD (in_GRj);
13337 out_GRk = FLD (out_GRk);
13338 out_ICCi_1 = FLD (out_ICCi_1);
13339 referenced |= 1 << 0;
13340 referenced |= 1 << 1;
13341 referenced |= 1 << 2;
13342 referenced |= 1 << 3;
13343 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13345 return cycles;
13346 #undef FLD
13349 static int
13350 model_fr550_subxcc (SIM_CPU *current_cpu, void *sem_arg)
13352 #define FLD(f) abuf->fields.sfmt_addcc.f
13353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13354 const IDESC * UNUSED idesc = abuf->idesc;
13355 int cycles = 0;
13357 int referenced = 0;
13358 int UNUSED insn_referenced = abuf->written;
13359 INT in_GRi = -1;
13360 INT in_GRj = -1;
13361 INT out_GRk = -1;
13362 INT out_ICCi_1 = -1;
13363 in_GRi = FLD (in_GRi);
13364 in_GRj = FLD (in_GRj);
13365 out_GRk = FLD (out_GRk);
13366 out_ICCi_1 = FLD (out_ICCi_1);
13367 referenced |= 1 << 0;
13368 referenced |= 1 << 1;
13369 referenced |= 1 << 2;
13370 referenced |= 1 << 3;
13371 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13373 return cycles;
13374 #undef FLD
13377 static int
13378 model_fr550_addss (SIM_CPU *current_cpu, void *sem_arg)
13380 #define FLD(f) abuf->fields.sfmt_addcc.f
13381 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13382 const IDESC * UNUSED idesc = abuf->idesc;
13383 int cycles = 0;
13385 int referenced = 0;
13386 int UNUSED insn_referenced = abuf->written;
13387 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
13389 return cycles;
13390 #undef FLD
13393 static int
13394 model_fr550_subss (SIM_CPU *current_cpu, void *sem_arg)
13396 #define FLD(f) abuf->fields.sfmt_addcc.f
13397 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13398 const IDESC * UNUSED idesc = abuf->idesc;
13399 int cycles = 0;
13401 int referenced = 0;
13402 int UNUSED insn_referenced = abuf->written;
13403 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
13405 return cycles;
13406 #undef FLD
13409 static int
13410 model_fr550_addi (SIM_CPU *current_cpu, void *sem_arg)
13412 #define FLD(f) abuf->fields.sfmt_swapi.f
13413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13414 const IDESC * UNUSED idesc = abuf->idesc;
13415 int cycles = 0;
13417 int referenced = 0;
13418 int UNUSED insn_referenced = abuf->written;
13419 INT in_GRi = -1;
13420 INT in_GRj = -1;
13421 INT out_GRk = -1;
13422 INT out_ICCi_1 = -1;
13423 in_GRi = FLD (in_GRi);
13424 out_GRk = FLD (out_GRk);
13425 referenced |= 1 << 0;
13426 referenced |= 1 << 2;
13427 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13429 return cycles;
13430 #undef FLD
13433 static int
13434 model_fr550_subi (SIM_CPU *current_cpu, void *sem_arg)
13436 #define FLD(f) abuf->fields.sfmt_swapi.f
13437 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13438 const IDESC * UNUSED idesc = abuf->idesc;
13439 int cycles = 0;
13441 int referenced = 0;
13442 int UNUSED insn_referenced = abuf->written;
13443 INT in_GRi = -1;
13444 INT in_GRj = -1;
13445 INT out_GRk = -1;
13446 INT out_ICCi_1 = -1;
13447 in_GRi = FLD (in_GRi);
13448 out_GRk = FLD (out_GRk);
13449 referenced |= 1 << 0;
13450 referenced |= 1 << 2;
13451 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13453 return cycles;
13454 #undef FLD
13457 static int
13458 model_fr550_andi (SIM_CPU *current_cpu, void *sem_arg)
13460 #define FLD(f) abuf->fields.sfmt_swapi.f
13461 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13462 const IDESC * UNUSED idesc = abuf->idesc;
13463 int cycles = 0;
13465 int referenced = 0;
13466 int UNUSED insn_referenced = abuf->written;
13467 INT in_GRi = -1;
13468 INT in_GRj = -1;
13469 INT out_GRk = -1;
13470 INT out_ICCi_1 = -1;
13471 in_GRi = FLD (in_GRi);
13472 out_GRk = FLD (out_GRk);
13473 referenced |= 1 << 0;
13474 referenced |= 1 << 2;
13475 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13477 return cycles;
13478 #undef FLD
13481 static int
13482 model_fr550_ori (SIM_CPU *current_cpu, void *sem_arg)
13484 #define FLD(f) abuf->fields.sfmt_swapi.f
13485 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13486 const IDESC * UNUSED idesc = abuf->idesc;
13487 int cycles = 0;
13489 int referenced = 0;
13490 int UNUSED insn_referenced = abuf->written;
13491 INT in_GRi = -1;
13492 INT in_GRj = -1;
13493 INT out_GRk = -1;
13494 INT out_ICCi_1 = -1;
13495 in_GRi = FLD (in_GRi);
13496 out_GRk = FLD (out_GRk);
13497 referenced |= 1 << 0;
13498 referenced |= 1 << 2;
13499 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13501 return cycles;
13502 #undef FLD
13505 static int
13506 model_fr550_xori (SIM_CPU *current_cpu, void *sem_arg)
13508 #define FLD(f) abuf->fields.sfmt_swapi.f
13509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13510 const IDESC * UNUSED idesc = abuf->idesc;
13511 int cycles = 0;
13513 int referenced = 0;
13514 int UNUSED insn_referenced = abuf->written;
13515 INT in_GRi = -1;
13516 INT in_GRj = -1;
13517 INT out_GRk = -1;
13518 INT out_ICCi_1 = -1;
13519 in_GRi = FLD (in_GRi);
13520 out_GRk = FLD (out_GRk);
13521 referenced |= 1 << 0;
13522 referenced |= 1 << 2;
13523 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13525 return cycles;
13526 #undef FLD
13529 static int
13530 model_fr550_sdivi (SIM_CPU *current_cpu, void *sem_arg)
13532 #define FLD(f) abuf->fields.sfmt_swapi.f
13533 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13534 const IDESC * UNUSED idesc = abuf->idesc;
13535 int cycles = 0;
13537 int referenced = 0;
13538 int UNUSED insn_referenced = abuf->written;
13539 INT in_GRi = -1;
13540 INT in_GRj = -1;
13541 INT out_GRk = -1;
13542 INT out_ICCi_1 = -1;
13543 in_GRi = FLD (in_GRi);
13544 out_GRk = FLD (out_GRk);
13545 referenced |= 1 << 0;
13546 referenced |= 1 << 2;
13547 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13549 return cycles;
13550 #undef FLD
13553 static int
13554 model_fr550_nsdivi (SIM_CPU *current_cpu, void *sem_arg)
13556 #define FLD(f) abuf->fields.sfmt_swapi.f
13557 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13558 const IDESC * UNUSED idesc = abuf->idesc;
13559 int cycles = 0;
13561 int referenced = 0;
13562 int UNUSED insn_referenced = abuf->written;
13563 INT in_GRi = -1;
13564 INT in_GRj = -1;
13565 INT out_GRk = -1;
13566 INT out_ICCi_1 = -1;
13567 in_GRi = FLD (in_GRi);
13568 out_GRk = FLD (out_GRk);
13569 referenced |= 1 << 0;
13570 referenced |= 1 << 2;
13571 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13573 return cycles;
13574 #undef FLD
13577 static int
13578 model_fr550_udivi (SIM_CPU *current_cpu, void *sem_arg)
13580 #define FLD(f) abuf->fields.sfmt_swapi.f
13581 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13582 const IDESC * UNUSED idesc = abuf->idesc;
13583 int cycles = 0;
13585 int referenced = 0;
13586 int UNUSED insn_referenced = abuf->written;
13587 INT in_GRi = -1;
13588 INT in_GRj = -1;
13589 INT out_GRk = -1;
13590 INT out_ICCi_1 = -1;
13591 in_GRi = FLD (in_GRi);
13592 out_GRk = FLD (out_GRk);
13593 referenced |= 1 << 0;
13594 referenced |= 1 << 2;
13595 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13597 return cycles;
13598 #undef FLD
13601 static int
13602 model_fr550_nudivi (SIM_CPU *current_cpu, void *sem_arg)
13604 #define FLD(f) abuf->fields.sfmt_swapi.f
13605 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13606 const IDESC * UNUSED idesc = abuf->idesc;
13607 int cycles = 0;
13609 int referenced = 0;
13610 int UNUSED insn_referenced = abuf->written;
13611 INT in_GRi = -1;
13612 INT in_GRj = -1;
13613 INT out_GRk = -1;
13614 INT out_ICCi_1 = -1;
13615 in_GRi = FLD (in_GRi);
13616 out_GRk = FLD (out_GRk);
13617 referenced |= 1 << 0;
13618 referenced |= 1 << 2;
13619 cycles += frvbf_model_fr550_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13621 return cycles;
13622 #undef FLD
13625 static int
13626 model_fr550_smuli (SIM_CPU *current_cpu, void *sem_arg)
13628 #define FLD(f) abuf->fields.sfmt_smuli.f
13629 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13630 const IDESC * UNUSED idesc = abuf->idesc;
13631 int cycles = 0;
13633 int referenced = 0;
13634 int UNUSED insn_referenced = abuf->written;
13635 INT in_GRi = -1;
13636 INT in_GRj = -1;
13637 INT out_GRdoublek = -1;
13638 INT out_ICCi_1 = -1;
13639 in_GRi = FLD (in_GRi);
13640 out_GRdoublek = FLD (out_GRdoublek);
13641 referenced |= 1 << 0;
13642 referenced |= 1 << 2;
13643 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
13645 return cycles;
13646 #undef FLD
13649 static int
13650 model_fr550_umuli (SIM_CPU *current_cpu, void *sem_arg)
13652 #define FLD(f) abuf->fields.sfmt_smuli.f
13653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13654 const IDESC * UNUSED idesc = abuf->idesc;
13655 int cycles = 0;
13657 int referenced = 0;
13658 int UNUSED insn_referenced = abuf->written;
13659 INT in_GRi = -1;
13660 INT in_GRj = -1;
13661 INT out_GRdoublek = -1;
13662 INT out_ICCi_1 = -1;
13663 in_GRi = FLD (in_GRi);
13664 out_GRdoublek = FLD (out_GRdoublek);
13665 referenced |= 1 << 0;
13666 referenced |= 1 << 2;
13667 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
13669 return cycles;
13670 #undef FLD
13673 static int
13674 model_fr550_slli (SIM_CPU *current_cpu, void *sem_arg)
13676 #define FLD(f) abuf->fields.sfmt_swapi.f
13677 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13678 const IDESC * UNUSED idesc = abuf->idesc;
13679 int cycles = 0;
13681 int referenced = 0;
13682 int UNUSED insn_referenced = abuf->written;
13683 INT in_GRi = -1;
13684 INT in_GRj = -1;
13685 INT out_GRk = -1;
13686 INT out_ICCi_1 = -1;
13687 in_GRi = FLD (in_GRi);
13688 out_GRk = FLD (out_GRk);
13689 referenced |= 1 << 0;
13690 referenced |= 1 << 2;
13691 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13693 return cycles;
13694 #undef FLD
13697 static int
13698 model_fr550_srli (SIM_CPU *current_cpu, void *sem_arg)
13700 #define FLD(f) abuf->fields.sfmt_swapi.f
13701 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13702 const IDESC * UNUSED idesc = abuf->idesc;
13703 int cycles = 0;
13705 int referenced = 0;
13706 int UNUSED insn_referenced = abuf->written;
13707 INT in_GRi = -1;
13708 INT in_GRj = -1;
13709 INT out_GRk = -1;
13710 INT out_ICCi_1 = -1;
13711 in_GRi = FLD (in_GRi);
13712 out_GRk = FLD (out_GRk);
13713 referenced |= 1 << 0;
13714 referenced |= 1 << 2;
13715 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13717 return cycles;
13718 #undef FLD
13721 static int
13722 model_fr550_srai (SIM_CPU *current_cpu, void *sem_arg)
13724 #define FLD(f) abuf->fields.sfmt_swapi.f
13725 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13726 const IDESC * UNUSED idesc = abuf->idesc;
13727 int cycles = 0;
13729 int referenced = 0;
13730 int UNUSED insn_referenced = abuf->written;
13731 INT in_GRi = -1;
13732 INT in_GRj = -1;
13733 INT out_GRk = -1;
13734 INT out_ICCi_1 = -1;
13735 in_GRi = FLD (in_GRi);
13736 out_GRk = FLD (out_GRk);
13737 referenced |= 1 << 0;
13738 referenced |= 1 << 2;
13739 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13741 return cycles;
13742 #undef FLD
13745 static int
13746 model_fr550_scani (SIM_CPU *current_cpu, void *sem_arg)
13748 #define FLD(f) abuf->fields.sfmt_swapi.f
13749 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13750 const IDESC * UNUSED idesc = abuf->idesc;
13751 int cycles = 0;
13753 int referenced = 0;
13754 int UNUSED insn_referenced = abuf->written;
13755 INT in_GRi = -1;
13756 INT in_GRj = -1;
13757 INT out_GRk = -1;
13758 INT out_ICCi_1 = -1;
13759 in_GRi = FLD (in_GRi);
13760 out_GRk = FLD (out_GRk);
13761 referenced |= 1 << 0;
13762 referenced |= 1 << 2;
13763 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13765 return cycles;
13766 #undef FLD
13769 static int
13770 model_fr550_addicc (SIM_CPU *current_cpu, void *sem_arg)
13772 #define FLD(f) abuf->fields.sfmt_addicc.f
13773 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13774 const IDESC * UNUSED idesc = abuf->idesc;
13775 int cycles = 0;
13777 int referenced = 0;
13778 int UNUSED insn_referenced = abuf->written;
13779 INT in_GRi = -1;
13780 INT in_GRj = -1;
13781 INT out_GRk = -1;
13782 INT out_ICCi_1 = -1;
13783 in_GRi = FLD (in_GRi);
13784 out_GRk = FLD (out_GRk);
13785 out_ICCi_1 = FLD (out_ICCi_1);
13786 referenced |= 1 << 0;
13787 referenced |= 1 << 2;
13788 referenced |= 1 << 3;
13789 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13791 return cycles;
13792 #undef FLD
13795 static int
13796 model_fr550_subicc (SIM_CPU *current_cpu, void *sem_arg)
13798 #define FLD(f) abuf->fields.sfmt_addicc.f
13799 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13800 const IDESC * UNUSED idesc = abuf->idesc;
13801 int cycles = 0;
13803 int referenced = 0;
13804 int UNUSED insn_referenced = abuf->written;
13805 INT in_GRi = -1;
13806 INT in_GRj = -1;
13807 INT out_GRk = -1;
13808 INT out_ICCi_1 = -1;
13809 in_GRi = FLD (in_GRi);
13810 out_GRk = FLD (out_GRk);
13811 out_ICCi_1 = FLD (out_ICCi_1);
13812 referenced |= 1 << 0;
13813 referenced |= 1 << 2;
13814 referenced |= 1 << 3;
13815 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13817 return cycles;
13818 #undef FLD
13821 static int
13822 model_fr550_andicc (SIM_CPU *current_cpu, void *sem_arg)
13824 #define FLD(f) abuf->fields.sfmt_addicc.f
13825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13826 const IDESC * UNUSED idesc = abuf->idesc;
13827 int cycles = 0;
13829 int referenced = 0;
13830 int UNUSED insn_referenced = abuf->written;
13831 INT in_GRi = -1;
13832 INT in_GRj = -1;
13833 INT out_GRk = -1;
13834 INT out_ICCi_1 = -1;
13835 in_GRi = FLD (in_GRi);
13836 out_GRk = FLD (out_GRk);
13837 out_ICCi_1 = FLD (out_ICCi_1);
13838 referenced |= 1 << 0;
13839 referenced |= 1 << 2;
13840 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
13841 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13843 return cycles;
13844 #undef FLD
13847 static int
13848 model_fr550_oricc (SIM_CPU *current_cpu, void *sem_arg)
13850 #define FLD(f) abuf->fields.sfmt_addicc.f
13851 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13852 const IDESC * UNUSED idesc = abuf->idesc;
13853 int cycles = 0;
13855 int referenced = 0;
13856 int UNUSED insn_referenced = abuf->written;
13857 INT in_GRi = -1;
13858 INT in_GRj = -1;
13859 INT out_GRk = -1;
13860 INT out_ICCi_1 = -1;
13861 in_GRi = FLD (in_GRi);
13862 out_GRk = FLD (out_GRk);
13863 out_ICCi_1 = FLD (out_ICCi_1);
13864 referenced |= 1 << 0;
13865 referenced |= 1 << 2;
13866 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
13867 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13869 return cycles;
13870 #undef FLD
13873 static int
13874 model_fr550_xoricc (SIM_CPU *current_cpu, void *sem_arg)
13876 #define FLD(f) abuf->fields.sfmt_addicc.f
13877 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13878 const IDESC * UNUSED idesc = abuf->idesc;
13879 int cycles = 0;
13881 int referenced = 0;
13882 int UNUSED insn_referenced = abuf->written;
13883 INT in_GRi = -1;
13884 INT in_GRj = -1;
13885 INT out_GRk = -1;
13886 INT out_ICCi_1 = -1;
13887 in_GRi = FLD (in_GRi);
13888 out_GRk = FLD (out_GRk);
13889 out_ICCi_1 = FLD (out_ICCi_1);
13890 referenced |= 1 << 0;
13891 referenced |= 1 << 2;
13892 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
13893 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13895 return cycles;
13896 #undef FLD
13899 static int
13900 model_fr550_smulicc (SIM_CPU *current_cpu, void *sem_arg)
13902 #define FLD(f) abuf->fields.sfmt_smulicc.f
13903 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13904 const IDESC * UNUSED idesc = abuf->idesc;
13905 int cycles = 0;
13907 int referenced = 0;
13908 int UNUSED insn_referenced = abuf->written;
13909 INT in_GRi = -1;
13910 INT in_GRj = -1;
13911 INT out_GRdoublek = -1;
13912 INT out_ICCi_1 = -1;
13913 in_GRi = FLD (in_GRi);
13914 out_GRdoublek = FLD (out_GRdoublek);
13915 out_ICCi_1 = FLD (out_ICCi_1);
13916 referenced |= 1 << 0;
13917 referenced |= 1 << 2;
13918 referenced |= 1 << 3;
13919 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
13921 return cycles;
13922 #undef FLD
13925 static int
13926 model_fr550_umulicc (SIM_CPU *current_cpu, void *sem_arg)
13928 #define FLD(f) abuf->fields.sfmt_smulicc.f
13929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13930 const IDESC * UNUSED idesc = abuf->idesc;
13931 int cycles = 0;
13933 int referenced = 0;
13934 int UNUSED insn_referenced = abuf->written;
13935 INT in_GRi = -1;
13936 INT in_GRj = -1;
13937 INT out_GRdoublek = -1;
13938 INT out_ICCi_1 = -1;
13939 in_GRi = FLD (in_GRi);
13940 out_GRdoublek = FLD (out_GRdoublek);
13941 out_ICCi_1 = FLD (out_ICCi_1);
13942 referenced |= 1 << 0;
13943 referenced |= 1 << 2;
13944 referenced |= 1 << 3;
13945 cycles += frvbf_model_fr550_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
13947 return cycles;
13948 #undef FLD
13951 static int
13952 model_fr550_sllicc (SIM_CPU *current_cpu, void *sem_arg)
13954 #define FLD(f) abuf->fields.sfmt_addicc.f
13955 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13956 const IDESC * UNUSED idesc = abuf->idesc;
13957 int cycles = 0;
13959 int referenced = 0;
13960 int UNUSED insn_referenced = abuf->written;
13961 INT in_GRi = -1;
13962 INT in_GRj = -1;
13963 INT out_GRk = -1;
13964 INT out_ICCi_1 = -1;
13965 in_GRi = FLD (in_GRi);
13966 out_GRk = FLD (out_GRk);
13967 out_ICCi_1 = FLD (out_ICCi_1);
13968 referenced |= 1 << 0;
13969 referenced |= 1 << 2;
13970 referenced |= 1 << 3;
13971 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13973 return cycles;
13974 #undef FLD
13977 static int
13978 model_fr550_srlicc (SIM_CPU *current_cpu, void *sem_arg)
13980 #define FLD(f) abuf->fields.sfmt_addicc.f
13981 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
13982 const IDESC * UNUSED idesc = abuf->idesc;
13983 int cycles = 0;
13985 int referenced = 0;
13986 int UNUSED insn_referenced = abuf->written;
13987 INT in_GRi = -1;
13988 INT in_GRj = -1;
13989 INT out_GRk = -1;
13990 INT out_ICCi_1 = -1;
13991 in_GRi = FLD (in_GRi);
13992 out_GRk = FLD (out_GRk);
13993 out_ICCi_1 = FLD (out_ICCi_1);
13994 referenced |= 1 << 0;
13995 referenced |= 1 << 2;
13996 referenced |= 1 << 3;
13997 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
13999 return cycles;
14000 #undef FLD
14003 static int
14004 model_fr550_sraicc (SIM_CPU *current_cpu, void *sem_arg)
14006 #define FLD(f) abuf->fields.sfmt_addicc.f
14007 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14008 const IDESC * UNUSED idesc = abuf->idesc;
14009 int cycles = 0;
14011 int referenced = 0;
14012 int UNUSED insn_referenced = abuf->written;
14013 INT in_GRi = -1;
14014 INT in_GRj = -1;
14015 INT out_GRk = -1;
14016 INT out_ICCi_1 = -1;
14017 in_GRi = FLD (in_GRi);
14018 out_GRk = FLD (out_GRk);
14019 out_ICCi_1 = FLD (out_ICCi_1);
14020 referenced |= 1 << 0;
14021 referenced |= 1 << 2;
14022 referenced |= 1 << 3;
14023 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14025 return cycles;
14026 #undef FLD
14029 static int
14030 model_fr550_addxi (SIM_CPU *current_cpu, void *sem_arg)
14032 #define FLD(f) abuf->fields.sfmt_addicc.f
14033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14034 const IDESC * UNUSED idesc = abuf->idesc;
14035 int cycles = 0;
14037 int referenced = 0;
14038 int UNUSED insn_referenced = abuf->written;
14039 INT in_GRi = -1;
14040 INT in_GRj = -1;
14041 INT out_GRk = -1;
14042 INT out_ICCi_1 = -1;
14043 in_GRi = FLD (in_GRi);
14044 out_GRk = FLD (out_GRk);
14045 referenced |= 1 << 0;
14046 referenced |= 1 << 2;
14047 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14049 return cycles;
14050 #undef FLD
14053 static int
14054 model_fr550_subxi (SIM_CPU *current_cpu, void *sem_arg)
14056 #define FLD(f) abuf->fields.sfmt_addicc.f
14057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14058 const IDESC * UNUSED idesc = abuf->idesc;
14059 int cycles = 0;
14061 int referenced = 0;
14062 int UNUSED insn_referenced = abuf->written;
14063 INT in_GRi = -1;
14064 INT in_GRj = -1;
14065 INT out_GRk = -1;
14066 INT out_ICCi_1 = -1;
14067 in_GRi = FLD (in_GRi);
14068 out_GRk = FLD (out_GRk);
14069 referenced |= 1 << 0;
14070 referenced |= 1 << 2;
14071 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14073 return cycles;
14074 #undef FLD
14077 static int
14078 model_fr550_addxicc (SIM_CPU *current_cpu, void *sem_arg)
14080 #define FLD(f) abuf->fields.sfmt_addicc.f
14081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14082 const IDESC * UNUSED idesc = abuf->idesc;
14083 int cycles = 0;
14085 int referenced = 0;
14086 int UNUSED insn_referenced = abuf->written;
14087 INT in_GRi = -1;
14088 INT in_GRj = -1;
14089 INT out_GRk = -1;
14090 INT out_ICCi_1 = -1;
14091 in_GRi = FLD (in_GRi);
14092 out_GRk = FLD (out_GRk);
14093 out_ICCi_1 = FLD (out_ICCi_1);
14094 referenced |= 1 << 0;
14095 referenced |= 1 << 2;
14096 referenced |= 1 << 3;
14097 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14099 return cycles;
14100 #undef FLD
14103 static int
14104 model_fr550_subxicc (SIM_CPU *current_cpu, void *sem_arg)
14106 #define FLD(f) abuf->fields.sfmt_addicc.f
14107 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14108 const IDESC * UNUSED idesc = abuf->idesc;
14109 int cycles = 0;
14111 int referenced = 0;
14112 int UNUSED insn_referenced = abuf->written;
14113 INT in_GRi = -1;
14114 INT in_GRj = -1;
14115 INT out_GRk = -1;
14116 INT out_ICCi_1 = -1;
14117 in_GRi = FLD (in_GRi);
14118 out_GRk = FLD (out_GRk);
14119 out_ICCi_1 = FLD (out_ICCi_1);
14120 referenced |= 1 << 0;
14121 referenced |= 1 << 2;
14122 referenced |= 1 << 3;
14123 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14125 return cycles;
14126 #undef FLD
14129 static int
14130 model_fr550_cmpb (SIM_CPU *current_cpu, void *sem_arg)
14132 #define FLD(f) abuf->fields.sfmt_smulcc.f
14133 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14134 const IDESC * UNUSED idesc = abuf->idesc;
14135 int cycles = 0;
14137 int referenced = 0;
14138 int UNUSED insn_referenced = abuf->written;
14139 INT in_GRi = -1;
14140 INT in_GRj = -1;
14141 INT out_GRk = -1;
14142 INT out_ICCi_1 = -1;
14143 in_GRi = FLD (in_GRi);
14144 in_GRj = FLD (in_GRj);
14145 out_ICCi_1 = FLD (out_ICCi_1);
14146 referenced |= 1 << 0;
14147 referenced |= 1 << 1;
14148 referenced |= 1 << 3;
14149 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14151 return cycles;
14152 #undef FLD
14155 static int
14156 model_fr550_cmpba (SIM_CPU *current_cpu, void *sem_arg)
14158 #define FLD(f) abuf->fields.sfmt_smulcc.f
14159 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14160 const IDESC * UNUSED idesc = abuf->idesc;
14161 int cycles = 0;
14163 int referenced = 0;
14164 int UNUSED insn_referenced = abuf->written;
14165 INT in_GRi = -1;
14166 INT in_GRj = -1;
14167 INT out_GRk = -1;
14168 INT out_ICCi_1 = -1;
14169 in_GRi = FLD (in_GRi);
14170 in_GRj = FLD (in_GRj);
14171 out_ICCi_1 = FLD (out_ICCi_1);
14172 referenced |= 1 << 0;
14173 referenced |= 1 << 1;
14174 referenced |= 1 << 3;
14175 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14177 return cycles;
14178 #undef FLD
14181 static int
14182 model_fr550_setlo (SIM_CPU *current_cpu, void *sem_arg)
14184 #define FLD(f) abuf->fields.sfmt_setlo.f
14185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14186 const IDESC * UNUSED idesc = abuf->idesc;
14187 int cycles = 0;
14189 int referenced = 0;
14190 int UNUSED insn_referenced = abuf->written;
14191 INT out_GRkhi = -1;
14192 INT out_GRklo = -1;
14193 out_GRklo = FLD (out_GRklo);
14194 referenced |= 1 << 1;
14195 cycles += frvbf_model_fr550_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
14197 return cycles;
14198 #undef FLD
14201 static int
14202 model_fr550_sethi (SIM_CPU *current_cpu, void *sem_arg)
14204 #define FLD(f) abuf->fields.sfmt_sethi.f
14205 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14206 const IDESC * UNUSED idesc = abuf->idesc;
14207 int cycles = 0;
14209 int referenced = 0;
14210 int UNUSED insn_referenced = abuf->written;
14211 INT out_GRkhi = -1;
14212 INT out_GRklo = -1;
14213 out_GRkhi = FLD (out_GRkhi);
14214 referenced |= 1 << 0;
14215 cycles += frvbf_model_fr550_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
14217 return cycles;
14218 #undef FLD
14221 static int
14222 model_fr550_setlos (SIM_CPU *current_cpu, void *sem_arg)
14224 #define FLD(f) abuf->fields.sfmt_setlos.f
14225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14226 const IDESC * UNUSED idesc = abuf->idesc;
14227 int cycles = 0;
14229 int referenced = 0;
14230 int UNUSED insn_referenced = abuf->written;
14231 INT in_GRi = -1;
14232 INT in_GRj = -1;
14233 INT out_GRk = -1;
14234 INT out_ICCi_1 = -1;
14235 out_GRk = FLD (out_GRk);
14236 referenced |= 1 << 2;
14237 cycles += frvbf_model_fr550_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
14239 return cycles;
14240 #undef FLD
14243 static int
14244 model_fr550_ldsb (SIM_CPU *current_cpu, void *sem_arg)
14246 #define FLD(f) abuf->fields.sfmt_addcc.f
14247 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14248 const IDESC * UNUSED idesc = abuf->idesc;
14249 int cycles = 0;
14251 int referenced = 0;
14252 int UNUSED insn_referenced = abuf->written;
14253 INT in_GRi = -1;
14254 INT in_GRj = -1;
14255 INT out_GRk = -1;
14256 INT out_GRdoublek = -1;
14257 in_GRi = FLD (in_GRi);
14258 in_GRj = FLD (in_GRj);
14259 out_GRk = FLD (out_GRk);
14260 referenced |= 1 << 0;
14261 referenced |= 1 << 1;
14262 referenced |= 1 << 2;
14263 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14265 return cycles;
14266 #undef FLD
14269 static int
14270 model_fr550_ldub (SIM_CPU *current_cpu, void *sem_arg)
14272 #define FLD(f) abuf->fields.sfmt_addcc.f
14273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14274 const IDESC * UNUSED idesc = abuf->idesc;
14275 int cycles = 0;
14277 int referenced = 0;
14278 int UNUSED insn_referenced = abuf->written;
14279 INT in_GRi = -1;
14280 INT in_GRj = -1;
14281 INT out_GRk = -1;
14282 INT out_GRdoublek = -1;
14283 in_GRi = FLD (in_GRi);
14284 in_GRj = FLD (in_GRj);
14285 out_GRk = FLD (out_GRk);
14286 referenced |= 1 << 0;
14287 referenced |= 1 << 1;
14288 referenced |= 1 << 2;
14289 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14291 return cycles;
14292 #undef FLD
14295 static int
14296 model_fr550_ldsh (SIM_CPU *current_cpu, void *sem_arg)
14298 #define FLD(f) abuf->fields.sfmt_addcc.f
14299 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14300 const IDESC * UNUSED idesc = abuf->idesc;
14301 int cycles = 0;
14303 int referenced = 0;
14304 int UNUSED insn_referenced = abuf->written;
14305 INT in_GRi = -1;
14306 INT in_GRj = -1;
14307 INT out_GRk = -1;
14308 INT out_GRdoublek = -1;
14309 in_GRi = FLD (in_GRi);
14310 in_GRj = FLD (in_GRj);
14311 out_GRk = FLD (out_GRk);
14312 referenced |= 1 << 0;
14313 referenced |= 1 << 1;
14314 referenced |= 1 << 2;
14315 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14317 return cycles;
14318 #undef FLD
14321 static int
14322 model_fr550_lduh (SIM_CPU *current_cpu, void *sem_arg)
14324 #define FLD(f) abuf->fields.sfmt_addcc.f
14325 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14326 const IDESC * UNUSED idesc = abuf->idesc;
14327 int cycles = 0;
14329 int referenced = 0;
14330 int UNUSED insn_referenced = abuf->written;
14331 INT in_GRi = -1;
14332 INT in_GRj = -1;
14333 INT out_GRk = -1;
14334 INT out_GRdoublek = -1;
14335 in_GRi = FLD (in_GRi);
14336 in_GRj = FLD (in_GRj);
14337 out_GRk = FLD (out_GRk);
14338 referenced |= 1 << 0;
14339 referenced |= 1 << 1;
14340 referenced |= 1 << 2;
14341 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14343 return cycles;
14344 #undef FLD
14347 static int
14348 model_fr550_ld (SIM_CPU *current_cpu, void *sem_arg)
14350 #define FLD(f) abuf->fields.sfmt_addcc.f
14351 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14352 const IDESC * UNUSED idesc = abuf->idesc;
14353 int cycles = 0;
14355 int referenced = 0;
14356 int UNUSED insn_referenced = abuf->written;
14357 INT in_GRi = -1;
14358 INT in_GRj = -1;
14359 INT out_GRk = -1;
14360 INT out_GRdoublek = -1;
14361 in_GRi = FLD (in_GRi);
14362 in_GRj = FLD (in_GRj);
14363 out_GRk = FLD (out_GRk);
14364 referenced |= 1 << 0;
14365 referenced |= 1 << 1;
14366 referenced |= 1 << 2;
14367 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14369 return cycles;
14370 #undef FLD
14373 static int
14374 model_fr550_ldbf (SIM_CPU *current_cpu, void *sem_arg)
14376 #define FLD(f) abuf->fields.sfmt_cldbfu.f
14377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14378 const IDESC * UNUSED idesc = abuf->idesc;
14379 int cycles = 0;
14381 int referenced = 0;
14382 int UNUSED insn_referenced = abuf->written;
14383 INT in_GRi = -1;
14384 INT in_GRj = -1;
14385 INT out_FRintk = -1;
14386 INT out_FRdoublek = -1;
14387 in_GRi = FLD (in_GRi);
14388 in_GRj = FLD (in_GRj);
14389 out_FRintk = FLD (out_FRintk);
14390 referenced |= 1 << 0;
14391 referenced |= 1 << 1;
14392 referenced |= 1 << 2;
14393 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14395 return cycles;
14396 #undef FLD
14399 static int
14400 model_fr550_ldhf (SIM_CPU *current_cpu, void *sem_arg)
14402 #define FLD(f) abuf->fields.sfmt_cldbfu.f
14403 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14404 const IDESC * UNUSED idesc = abuf->idesc;
14405 int cycles = 0;
14407 int referenced = 0;
14408 int UNUSED insn_referenced = abuf->written;
14409 INT in_GRi = -1;
14410 INT in_GRj = -1;
14411 INT out_FRintk = -1;
14412 INT out_FRdoublek = -1;
14413 in_GRi = FLD (in_GRi);
14414 in_GRj = FLD (in_GRj);
14415 out_FRintk = FLD (out_FRintk);
14416 referenced |= 1 << 0;
14417 referenced |= 1 << 1;
14418 referenced |= 1 << 2;
14419 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14421 return cycles;
14422 #undef FLD
14425 static int
14426 model_fr550_ldf (SIM_CPU *current_cpu, void *sem_arg)
14428 #define FLD(f) abuf->fields.sfmt_cldbfu.f
14429 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14430 const IDESC * UNUSED idesc = abuf->idesc;
14431 int cycles = 0;
14433 int referenced = 0;
14434 int UNUSED insn_referenced = abuf->written;
14435 INT in_GRi = -1;
14436 INT in_GRj = -1;
14437 INT out_FRintk = -1;
14438 INT out_FRdoublek = -1;
14439 in_GRi = FLD (in_GRi);
14440 in_GRj = FLD (in_GRj);
14441 out_FRintk = FLD (out_FRintk);
14442 referenced |= 1 << 0;
14443 referenced |= 1 << 1;
14444 referenced |= 1 << 2;
14445 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14447 return cycles;
14448 #undef FLD
14451 static int
14452 model_fr550_ldc (SIM_CPU *current_cpu, void *sem_arg)
14454 #define FLD(f) abuf->fields.sfmt_ldcu.f
14455 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14456 const IDESC * UNUSED idesc = abuf->idesc;
14457 int cycles = 0;
14459 int referenced = 0;
14460 int UNUSED insn_referenced = abuf->written;
14461 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
14463 return cycles;
14464 #undef FLD
14467 static int
14468 model_fr550_nldsb (SIM_CPU *current_cpu, void *sem_arg)
14470 #define FLD(f) abuf->fields.sfmt_addcc.f
14471 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14472 const IDESC * UNUSED idesc = abuf->idesc;
14473 int cycles = 0;
14475 int referenced = 0;
14476 int UNUSED insn_referenced = abuf->written;
14477 INT in_GRi = -1;
14478 INT in_GRj = -1;
14479 INT out_GRk = -1;
14480 INT out_GRdoublek = -1;
14481 in_GRi = FLD (in_GRi);
14482 in_GRj = FLD (in_GRj);
14483 out_GRk = FLD (out_GRk);
14484 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14485 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14486 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14487 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14489 return cycles;
14490 #undef FLD
14493 static int
14494 model_fr550_nldub (SIM_CPU *current_cpu, void *sem_arg)
14496 #define FLD(f) abuf->fields.sfmt_addcc.f
14497 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14498 const IDESC * UNUSED idesc = abuf->idesc;
14499 int cycles = 0;
14501 int referenced = 0;
14502 int UNUSED insn_referenced = abuf->written;
14503 INT in_GRi = -1;
14504 INT in_GRj = -1;
14505 INT out_GRk = -1;
14506 INT out_GRdoublek = -1;
14507 in_GRi = FLD (in_GRi);
14508 in_GRj = FLD (in_GRj);
14509 out_GRk = FLD (out_GRk);
14510 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14511 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14512 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14513 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14515 return cycles;
14516 #undef FLD
14519 static int
14520 model_fr550_nldsh (SIM_CPU *current_cpu, void *sem_arg)
14522 #define FLD(f) abuf->fields.sfmt_addcc.f
14523 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14524 const IDESC * UNUSED idesc = abuf->idesc;
14525 int cycles = 0;
14527 int referenced = 0;
14528 int UNUSED insn_referenced = abuf->written;
14529 INT in_GRi = -1;
14530 INT in_GRj = -1;
14531 INT out_GRk = -1;
14532 INT out_GRdoublek = -1;
14533 in_GRi = FLD (in_GRi);
14534 in_GRj = FLD (in_GRj);
14535 out_GRk = FLD (out_GRk);
14536 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14537 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14538 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14539 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14541 return cycles;
14542 #undef FLD
14545 static int
14546 model_fr550_nlduh (SIM_CPU *current_cpu, void *sem_arg)
14548 #define FLD(f) abuf->fields.sfmt_addcc.f
14549 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14550 const IDESC * UNUSED idesc = abuf->idesc;
14551 int cycles = 0;
14553 int referenced = 0;
14554 int UNUSED insn_referenced = abuf->written;
14555 INT in_GRi = -1;
14556 INT in_GRj = -1;
14557 INT out_GRk = -1;
14558 INT out_GRdoublek = -1;
14559 in_GRi = FLD (in_GRi);
14560 in_GRj = FLD (in_GRj);
14561 out_GRk = FLD (out_GRk);
14562 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14563 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14564 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14565 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14567 return cycles;
14568 #undef FLD
14571 static int
14572 model_fr550_nld (SIM_CPU *current_cpu, void *sem_arg)
14574 #define FLD(f) abuf->fields.sfmt_addcc.f
14575 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14576 const IDESC * UNUSED idesc = abuf->idesc;
14577 int cycles = 0;
14579 int referenced = 0;
14580 int UNUSED insn_referenced = abuf->written;
14581 INT in_GRi = -1;
14582 INT in_GRj = -1;
14583 INT out_GRk = -1;
14584 INT out_GRdoublek = -1;
14585 in_GRi = FLD (in_GRi);
14586 in_GRj = FLD (in_GRj);
14587 out_GRk = FLD (out_GRk);
14588 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14589 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14590 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14591 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14593 return cycles;
14594 #undef FLD
14597 static int
14598 model_fr550_nldbf (SIM_CPU *current_cpu, void *sem_arg)
14600 #define FLD(f) abuf->fields.sfmt_cldbfu.f
14601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14602 const IDESC * UNUSED idesc = abuf->idesc;
14603 int cycles = 0;
14605 int referenced = 0;
14606 int UNUSED insn_referenced = abuf->written;
14607 INT in_GRi = -1;
14608 INT in_GRj = -1;
14609 INT out_FRintk = -1;
14610 INT out_FRdoublek = -1;
14611 in_GRi = FLD (in_GRi);
14612 in_GRj = FLD (in_GRj);
14613 out_FRintk = FLD (out_FRintk);
14614 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14615 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14616 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14617 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14619 return cycles;
14620 #undef FLD
14623 static int
14624 model_fr550_nldhf (SIM_CPU *current_cpu, void *sem_arg)
14626 #define FLD(f) abuf->fields.sfmt_cldbfu.f
14627 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14628 const IDESC * UNUSED idesc = abuf->idesc;
14629 int cycles = 0;
14631 int referenced = 0;
14632 int UNUSED insn_referenced = abuf->written;
14633 INT in_GRi = -1;
14634 INT in_GRj = -1;
14635 INT out_FRintk = -1;
14636 INT out_FRdoublek = -1;
14637 in_GRi = FLD (in_GRi);
14638 in_GRj = FLD (in_GRj);
14639 out_FRintk = FLD (out_FRintk);
14640 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14641 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14642 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14643 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14645 return cycles;
14646 #undef FLD
14649 static int
14650 model_fr550_nldf (SIM_CPU *current_cpu, void *sem_arg)
14652 #define FLD(f) abuf->fields.sfmt_cldbfu.f
14653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14654 const IDESC * UNUSED idesc = abuf->idesc;
14655 int cycles = 0;
14657 int referenced = 0;
14658 int UNUSED insn_referenced = abuf->written;
14659 INT in_GRi = -1;
14660 INT in_GRj = -1;
14661 INT out_FRintk = -1;
14662 INT out_FRdoublek = -1;
14663 in_GRi = FLD (in_GRi);
14664 in_GRj = FLD (in_GRj);
14665 out_FRintk = FLD (out_FRintk);
14666 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14667 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14668 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
14669 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14671 return cycles;
14672 #undef FLD
14675 static int
14676 model_fr550_ldd (SIM_CPU *current_cpu, void *sem_arg)
14678 #define FLD(f) abuf->fields.sfmt_smulcc.f
14679 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14680 const IDESC * UNUSED idesc = abuf->idesc;
14681 int cycles = 0;
14683 int referenced = 0;
14684 int UNUSED insn_referenced = abuf->written;
14685 INT in_GRi = -1;
14686 INT in_GRj = -1;
14687 INT out_GRk = -1;
14688 INT out_GRdoublek = -1;
14689 in_GRi = FLD (in_GRi);
14690 in_GRj = FLD (in_GRj);
14691 out_GRdoublek = FLD (out_GRdoublek);
14692 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14693 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14694 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
14695 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14697 return cycles;
14698 #undef FLD
14701 static int
14702 model_fr550_lddf (SIM_CPU *current_cpu, void *sem_arg)
14704 #define FLD(f) abuf->fields.sfmt_clddfu.f
14705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14706 const IDESC * UNUSED idesc = abuf->idesc;
14707 int cycles = 0;
14709 int referenced = 0;
14710 int UNUSED insn_referenced = abuf->written;
14711 INT in_GRi = -1;
14712 INT in_GRj = -1;
14713 INT out_FRintk = -1;
14714 INT out_FRdoublek = -1;
14715 in_GRi = FLD (in_GRi);
14716 in_GRj = FLD (in_GRj);
14717 out_FRdoublek = FLD (out_FRdoublek);
14718 referenced |= 1 << 0;
14719 referenced |= 1 << 1;
14720 referenced |= 1 << 3;
14721 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14723 return cycles;
14724 #undef FLD
14727 static int
14728 model_fr550_lddc (SIM_CPU *current_cpu, void *sem_arg)
14730 #define FLD(f) abuf->fields.sfmt_lddcu.f
14731 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14732 const IDESC * UNUSED idesc = abuf->idesc;
14733 int cycles = 0;
14735 int referenced = 0;
14736 int UNUSED insn_referenced = abuf->written;
14737 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
14739 return cycles;
14740 #undef FLD
14743 static int
14744 model_fr550_nldd (SIM_CPU *current_cpu, void *sem_arg)
14746 #define FLD(f) abuf->fields.sfmt_smulcc.f
14747 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14748 const IDESC * UNUSED idesc = abuf->idesc;
14749 int cycles = 0;
14751 int referenced = 0;
14752 int UNUSED insn_referenced = abuf->written;
14753 INT in_GRi = -1;
14754 INT in_GRj = -1;
14755 INT out_GRk = -1;
14756 INT out_GRdoublek = -1;
14757 in_GRi = FLD (in_GRi);
14758 in_GRj = FLD (in_GRj);
14759 out_GRdoublek = FLD (out_GRdoublek);
14760 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14761 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14762 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
14763 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14765 return cycles;
14766 #undef FLD
14769 static int
14770 model_fr550_nlddf (SIM_CPU *current_cpu, void *sem_arg)
14772 #define FLD(f) abuf->fields.sfmt_clddfu.f
14773 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14774 const IDESC * UNUSED idesc = abuf->idesc;
14775 int cycles = 0;
14777 int referenced = 0;
14778 int UNUSED insn_referenced = abuf->written;
14779 INT in_GRi = -1;
14780 INT in_GRj = -1;
14781 INT out_FRintk = -1;
14782 INT out_FRdoublek = -1;
14783 in_GRi = FLD (in_GRi);
14784 in_GRj = FLD (in_GRj);
14785 out_FRdoublek = FLD (out_FRdoublek);
14786 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
14787 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
14788 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
14789 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
14791 return cycles;
14792 #undef FLD
14795 static int
14796 model_fr550_ldq (SIM_CPU *current_cpu, void *sem_arg)
14798 #define FLD(f) abuf->fields.sfmt_smulcc.f
14799 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14800 const IDESC * UNUSED idesc = abuf->idesc;
14801 int cycles = 0;
14803 int referenced = 0;
14804 int UNUSED insn_referenced = abuf->written;
14805 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
14807 return cycles;
14808 #undef FLD
14811 static int
14812 model_fr550_ldqf (SIM_CPU *current_cpu, void *sem_arg)
14814 #define FLD(f) abuf->fields.sfmt_cstdfu.f
14815 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14816 const IDESC * UNUSED idesc = abuf->idesc;
14817 int cycles = 0;
14819 int referenced = 0;
14820 int UNUSED insn_referenced = abuf->written;
14821 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
14823 return cycles;
14824 #undef FLD
14827 static int
14828 model_fr550_ldqc (SIM_CPU *current_cpu, void *sem_arg)
14830 #define FLD(f) abuf->fields.sfmt_stdcu.f
14831 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14832 const IDESC * UNUSED idesc = abuf->idesc;
14833 int cycles = 0;
14835 int referenced = 0;
14836 int UNUSED insn_referenced = abuf->written;
14837 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
14839 return cycles;
14840 #undef FLD
14843 static int
14844 model_fr550_nldq (SIM_CPU *current_cpu, void *sem_arg)
14846 #define FLD(f) abuf->fields.sfmt_smulcc.f
14847 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14848 const IDESC * UNUSED idesc = abuf->idesc;
14849 int cycles = 0;
14851 int referenced = 0;
14852 int UNUSED insn_referenced = abuf->written;
14853 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
14855 return cycles;
14856 #undef FLD
14859 static int
14860 model_fr550_nldqf (SIM_CPU *current_cpu, void *sem_arg)
14862 #define FLD(f) abuf->fields.sfmt_cstdfu.f
14863 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14864 const IDESC * UNUSED idesc = abuf->idesc;
14865 int cycles = 0;
14867 int referenced = 0;
14868 int UNUSED insn_referenced = abuf->written;
14869 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
14871 return cycles;
14872 #undef FLD
14875 static int
14876 model_fr550_ldsbu (SIM_CPU *current_cpu, void *sem_arg)
14878 #define FLD(f) abuf->fields.sfmt_cldsbu.f
14879 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14880 const IDESC * UNUSED idesc = abuf->idesc;
14881 int cycles = 0;
14883 int referenced = 0;
14884 int UNUSED insn_referenced = abuf->written;
14885 INT in_GRi = -1;
14886 INT in_GRj = -1;
14887 INT out_GRk = -1;
14888 INT out_GRdoublek = -1;
14889 in_GRi = FLD (in_GRi);
14890 in_GRj = FLD (in_GRj);
14891 out_GRk = FLD (out_GRk);
14892 referenced |= 1 << 0;
14893 referenced |= 1 << 1;
14894 referenced |= 1 << 2;
14895 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14897 return cycles;
14898 #undef FLD
14901 static int
14902 model_fr550_ldubu (SIM_CPU *current_cpu, void *sem_arg)
14904 #define FLD(f) abuf->fields.sfmt_cldsbu.f
14905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14906 const IDESC * UNUSED idesc = abuf->idesc;
14907 int cycles = 0;
14909 int referenced = 0;
14910 int UNUSED insn_referenced = abuf->written;
14911 INT in_GRi = -1;
14912 INT in_GRj = -1;
14913 INT out_GRk = -1;
14914 INT out_GRdoublek = -1;
14915 in_GRi = FLD (in_GRi);
14916 in_GRj = FLD (in_GRj);
14917 out_GRk = FLD (out_GRk);
14918 referenced |= 1 << 0;
14919 referenced |= 1 << 1;
14920 referenced |= 1 << 2;
14921 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14923 return cycles;
14924 #undef FLD
14927 static int
14928 model_fr550_ldshu (SIM_CPU *current_cpu, void *sem_arg)
14930 #define FLD(f) abuf->fields.sfmt_cldsbu.f
14931 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14932 const IDESC * UNUSED idesc = abuf->idesc;
14933 int cycles = 0;
14935 int referenced = 0;
14936 int UNUSED insn_referenced = abuf->written;
14937 INT in_GRi = -1;
14938 INT in_GRj = -1;
14939 INT out_GRk = -1;
14940 INT out_GRdoublek = -1;
14941 in_GRi = FLD (in_GRi);
14942 in_GRj = FLD (in_GRj);
14943 out_GRk = FLD (out_GRk);
14944 referenced |= 1 << 0;
14945 referenced |= 1 << 1;
14946 referenced |= 1 << 2;
14947 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14949 return cycles;
14950 #undef FLD
14953 static int
14954 model_fr550_lduhu (SIM_CPU *current_cpu, void *sem_arg)
14956 #define FLD(f) abuf->fields.sfmt_cldsbu.f
14957 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14958 const IDESC * UNUSED idesc = abuf->idesc;
14959 int cycles = 0;
14961 int referenced = 0;
14962 int UNUSED insn_referenced = abuf->written;
14963 INT in_GRi = -1;
14964 INT in_GRj = -1;
14965 INT out_GRk = -1;
14966 INT out_GRdoublek = -1;
14967 in_GRi = FLD (in_GRi);
14968 in_GRj = FLD (in_GRj);
14969 out_GRk = FLD (out_GRk);
14970 referenced |= 1 << 0;
14971 referenced |= 1 << 1;
14972 referenced |= 1 << 2;
14973 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
14975 return cycles;
14976 #undef FLD
14979 static int
14980 model_fr550_ldu (SIM_CPU *current_cpu, void *sem_arg)
14982 #define FLD(f) abuf->fields.sfmt_cldsbu.f
14983 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
14984 const IDESC * UNUSED idesc = abuf->idesc;
14985 int cycles = 0;
14987 int referenced = 0;
14988 int UNUSED insn_referenced = abuf->written;
14989 INT in_GRi = -1;
14990 INT in_GRj = -1;
14991 INT out_GRk = -1;
14992 INT out_GRdoublek = -1;
14993 in_GRi = FLD (in_GRi);
14994 in_GRj = FLD (in_GRj);
14995 out_GRk = FLD (out_GRk);
14996 referenced |= 1 << 0;
14997 referenced |= 1 << 1;
14998 referenced |= 1 << 2;
14999 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15001 return cycles;
15002 #undef FLD
15005 static int
15006 model_fr550_nldsbu (SIM_CPU *current_cpu, void *sem_arg)
15008 #define FLD(f) abuf->fields.sfmt_cldsbu.f
15009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15010 const IDESC * UNUSED idesc = abuf->idesc;
15011 int cycles = 0;
15013 int referenced = 0;
15014 int UNUSED insn_referenced = abuf->written;
15015 INT in_GRi = -1;
15016 INT in_GRj = -1;
15017 INT out_GRk = -1;
15018 INT out_GRdoublek = -1;
15019 in_GRi = FLD (in_GRi);
15020 in_GRj = FLD (in_GRj);
15021 out_GRk = FLD (out_GRk);
15022 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15023 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15024 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
15025 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15027 return cycles;
15028 #undef FLD
15031 static int
15032 model_fr550_nldubu (SIM_CPU *current_cpu, void *sem_arg)
15034 #define FLD(f) abuf->fields.sfmt_cldsbu.f
15035 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15036 const IDESC * UNUSED idesc = abuf->idesc;
15037 int cycles = 0;
15039 int referenced = 0;
15040 int UNUSED insn_referenced = abuf->written;
15041 INT in_GRi = -1;
15042 INT in_GRj = -1;
15043 INT out_GRk = -1;
15044 INT out_GRdoublek = -1;
15045 in_GRi = FLD (in_GRi);
15046 in_GRj = FLD (in_GRj);
15047 out_GRk = FLD (out_GRk);
15048 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15049 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15050 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
15051 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15053 return cycles;
15054 #undef FLD
15057 static int
15058 model_fr550_nldshu (SIM_CPU *current_cpu, void *sem_arg)
15060 #define FLD(f) abuf->fields.sfmt_cldsbu.f
15061 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15062 const IDESC * UNUSED idesc = abuf->idesc;
15063 int cycles = 0;
15065 int referenced = 0;
15066 int UNUSED insn_referenced = abuf->written;
15067 INT in_GRi = -1;
15068 INT in_GRj = -1;
15069 INT out_GRk = -1;
15070 INT out_GRdoublek = -1;
15071 in_GRi = FLD (in_GRi);
15072 in_GRj = FLD (in_GRj);
15073 out_GRk = FLD (out_GRk);
15074 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15075 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15076 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
15077 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15079 return cycles;
15080 #undef FLD
15083 static int
15084 model_fr550_nlduhu (SIM_CPU *current_cpu, void *sem_arg)
15086 #define FLD(f) abuf->fields.sfmt_cldsbu.f
15087 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15088 const IDESC * UNUSED idesc = abuf->idesc;
15089 int cycles = 0;
15091 int referenced = 0;
15092 int UNUSED insn_referenced = abuf->written;
15093 INT in_GRi = -1;
15094 INT in_GRj = -1;
15095 INT out_GRk = -1;
15096 INT out_GRdoublek = -1;
15097 in_GRi = FLD (in_GRi);
15098 in_GRj = FLD (in_GRj);
15099 out_GRk = FLD (out_GRk);
15100 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15101 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15102 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
15103 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15105 return cycles;
15106 #undef FLD
15109 static int
15110 model_fr550_nldu (SIM_CPU *current_cpu, void *sem_arg)
15112 #define FLD(f) abuf->fields.sfmt_cldsbu.f
15113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15114 const IDESC * UNUSED idesc = abuf->idesc;
15115 int cycles = 0;
15117 int referenced = 0;
15118 int UNUSED insn_referenced = abuf->written;
15119 INT in_GRi = -1;
15120 INT in_GRj = -1;
15121 INT out_GRk = -1;
15122 INT out_GRdoublek = -1;
15123 in_GRi = FLD (in_GRi);
15124 in_GRj = FLD (in_GRj);
15125 out_GRk = FLD (out_GRk);
15126 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15127 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15128 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
15129 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15131 return cycles;
15132 #undef FLD
15135 static int
15136 model_fr550_ldbfu (SIM_CPU *current_cpu, void *sem_arg)
15138 #define FLD(f) abuf->fields.sfmt_cldbfu.f
15139 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15140 const IDESC * UNUSED idesc = abuf->idesc;
15141 int cycles = 0;
15143 int referenced = 0;
15144 int UNUSED insn_referenced = abuf->written;
15145 INT in_GRi = -1;
15146 INT in_GRj = -1;
15147 INT out_FRintk = -1;
15148 INT out_FRdoublek = -1;
15149 in_GRi = FLD (in_GRi);
15150 in_GRj = FLD (in_GRj);
15151 out_FRintk = FLD (out_FRintk);
15152 referenced |= 1 << 0;
15153 referenced |= 1 << 1;
15154 referenced |= 1 << 2;
15155 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15157 return cycles;
15158 #undef FLD
15161 static int
15162 model_fr550_ldhfu (SIM_CPU *current_cpu, void *sem_arg)
15164 #define FLD(f) abuf->fields.sfmt_cldbfu.f
15165 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15166 const IDESC * UNUSED idesc = abuf->idesc;
15167 int cycles = 0;
15169 int referenced = 0;
15170 int UNUSED insn_referenced = abuf->written;
15171 INT in_GRi = -1;
15172 INT in_GRj = -1;
15173 INT out_FRintk = -1;
15174 INT out_FRdoublek = -1;
15175 in_GRi = FLD (in_GRi);
15176 in_GRj = FLD (in_GRj);
15177 out_FRintk = FLD (out_FRintk);
15178 referenced |= 1 << 0;
15179 referenced |= 1 << 1;
15180 referenced |= 1 << 2;
15181 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15183 return cycles;
15184 #undef FLD
15187 static int
15188 model_fr550_ldfu (SIM_CPU *current_cpu, void *sem_arg)
15190 #define FLD(f) abuf->fields.sfmt_cldbfu.f
15191 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15192 const IDESC * UNUSED idesc = abuf->idesc;
15193 int cycles = 0;
15195 int referenced = 0;
15196 int UNUSED insn_referenced = abuf->written;
15197 INT in_GRi = -1;
15198 INT in_GRj = -1;
15199 INT out_FRintk = -1;
15200 INT out_FRdoublek = -1;
15201 in_GRi = FLD (in_GRi);
15202 in_GRj = FLD (in_GRj);
15203 out_FRintk = FLD (out_FRintk);
15204 referenced |= 1 << 0;
15205 referenced |= 1 << 1;
15206 referenced |= 1 << 2;
15207 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15209 return cycles;
15210 #undef FLD
15213 static int
15214 model_fr550_ldcu (SIM_CPU *current_cpu, void *sem_arg)
15216 #define FLD(f) abuf->fields.sfmt_ldcu.f
15217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15218 const IDESC * UNUSED idesc = abuf->idesc;
15219 int cycles = 0;
15221 int referenced = 0;
15222 int UNUSED insn_referenced = abuf->written;
15223 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15225 return cycles;
15226 #undef FLD
15229 static int
15230 model_fr550_nldbfu (SIM_CPU *current_cpu, void *sem_arg)
15232 #define FLD(f) abuf->fields.sfmt_cldbfu.f
15233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15234 const IDESC * UNUSED idesc = abuf->idesc;
15235 int cycles = 0;
15237 int referenced = 0;
15238 int UNUSED insn_referenced = abuf->written;
15239 INT in_GRi = -1;
15240 INT in_GRj = -1;
15241 INT out_FRintk = -1;
15242 INT out_FRdoublek = -1;
15243 in_GRi = FLD (in_GRi);
15244 in_GRj = FLD (in_GRj);
15245 out_FRintk = FLD (out_FRintk);
15246 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15247 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15248 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
15249 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15251 return cycles;
15252 #undef FLD
15255 static int
15256 model_fr550_nldhfu (SIM_CPU *current_cpu, void *sem_arg)
15258 #define FLD(f) abuf->fields.sfmt_cldbfu.f
15259 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15260 const IDESC * UNUSED idesc = abuf->idesc;
15261 int cycles = 0;
15263 int referenced = 0;
15264 int UNUSED insn_referenced = abuf->written;
15265 INT in_GRi = -1;
15266 INT in_GRj = -1;
15267 INT out_FRintk = -1;
15268 INT out_FRdoublek = -1;
15269 in_GRi = FLD (in_GRi);
15270 in_GRj = FLD (in_GRj);
15271 out_FRintk = FLD (out_FRintk);
15272 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15273 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15274 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
15275 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15277 return cycles;
15278 #undef FLD
15281 static int
15282 model_fr550_nldfu (SIM_CPU *current_cpu, void *sem_arg)
15284 #define FLD(f) abuf->fields.sfmt_cldbfu.f
15285 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15286 const IDESC * UNUSED idesc = abuf->idesc;
15287 int cycles = 0;
15289 int referenced = 0;
15290 int UNUSED insn_referenced = abuf->written;
15291 INT in_GRi = -1;
15292 INT in_GRj = -1;
15293 INT out_FRintk = -1;
15294 INT out_FRdoublek = -1;
15295 in_GRi = FLD (in_GRi);
15296 in_GRj = FLD (in_GRj);
15297 out_FRintk = FLD (out_FRintk);
15298 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15299 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15300 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
15301 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15303 return cycles;
15304 #undef FLD
15307 static int
15308 model_fr550_lddu (SIM_CPU *current_cpu, void *sem_arg)
15310 #define FLD(f) abuf->fields.sfmt_clddu.f
15311 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15312 const IDESC * UNUSED idesc = abuf->idesc;
15313 int cycles = 0;
15315 int referenced = 0;
15316 int UNUSED insn_referenced = abuf->written;
15317 INT in_GRi = -1;
15318 INT in_GRj = -1;
15319 INT out_GRk = -1;
15320 INT out_GRdoublek = -1;
15321 in_GRi = FLD (in_GRi);
15322 in_GRj = FLD (in_GRj);
15323 out_GRdoublek = FLD (out_GRdoublek);
15324 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15325 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15326 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
15327 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15329 return cycles;
15330 #undef FLD
15333 static int
15334 model_fr550_nlddu (SIM_CPU *current_cpu, void *sem_arg)
15336 #define FLD(f) abuf->fields.sfmt_clddu.f
15337 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15338 const IDESC * UNUSED idesc = abuf->idesc;
15339 int cycles = 0;
15341 int referenced = 0;
15342 int UNUSED insn_referenced = abuf->written;
15343 INT in_GRi = -1;
15344 INT in_GRj = -1;
15345 INT out_GRk = -1;
15346 INT out_GRdoublek = -1;
15347 in_GRi = FLD (in_GRi);
15348 in_GRj = FLD (in_GRj);
15349 out_GRdoublek = FLD (out_GRdoublek);
15350 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15351 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15352 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
15353 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15355 return cycles;
15356 #undef FLD
15359 static int
15360 model_fr550_lddfu (SIM_CPU *current_cpu, void *sem_arg)
15362 #define FLD(f) abuf->fields.sfmt_clddfu.f
15363 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15364 const IDESC * UNUSED idesc = abuf->idesc;
15365 int cycles = 0;
15367 int referenced = 0;
15368 int UNUSED insn_referenced = abuf->written;
15369 INT in_GRi = -1;
15370 INT in_GRj = -1;
15371 INT out_FRintk = -1;
15372 INT out_FRdoublek = -1;
15373 in_GRi = FLD (in_GRi);
15374 in_GRj = FLD (in_GRj);
15375 out_FRdoublek = FLD (out_FRdoublek);
15376 referenced |= 1 << 0;
15377 referenced |= 1 << 1;
15378 referenced |= 1 << 3;
15379 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15381 return cycles;
15382 #undef FLD
15385 static int
15386 model_fr550_lddcu (SIM_CPU *current_cpu, void *sem_arg)
15388 #define FLD(f) abuf->fields.sfmt_lddcu.f
15389 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15390 const IDESC * UNUSED idesc = abuf->idesc;
15391 int cycles = 0;
15393 int referenced = 0;
15394 int UNUSED insn_referenced = abuf->written;
15395 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15397 return cycles;
15398 #undef FLD
15401 static int
15402 model_fr550_nlddfu (SIM_CPU *current_cpu, void *sem_arg)
15404 #define FLD(f) abuf->fields.sfmt_clddfu.f
15405 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15406 const IDESC * UNUSED idesc = abuf->idesc;
15407 int cycles = 0;
15409 int referenced = 0;
15410 int UNUSED insn_referenced = abuf->written;
15411 INT in_GRi = -1;
15412 INT in_GRj = -1;
15413 INT out_FRintk = -1;
15414 INT out_FRdoublek = -1;
15415 in_GRi = FLD (in_GRi);
15416 in_GRj = FLD (in_GRj);
15417 out_FRdoublek = FLD (out_FRdoublek);
15418 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15419 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
15420 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
15421 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15423 return cycles;
15424 #undef FLD
15427 static int
15428 model_fr550_ldqu (SIM_CPU *current_cpu, void *sem_arg)
15430 #define FLD(f) abuf->fields.sfmt_cstdu.f
15431 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15432 const IDESC * UNUSED idesc = abuf->idesc;
15433 int cycles = 0;
15435 int referenced = 0;
15436 int UNUSED insn_referenced = abuf->written;
15437 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15439 return cycles;
15440 #undef FLD
15443 static int
15444 model_fr550_nldqu (SIM_CPU *current_cpu, void *sem_arg)
15446 #define FLD(f) abuf->fields.sfmt_cstdu.f
15447 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15448 const IDESC * UNUSED idesc = abuf->idesc;
15449 int cycles = 0;
15451 int referenced = 0;
15452 int UNUSED insn_referenced = abuf->written;
15453 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15455 return cycles;
15456 #undef FLD
15459 static int
15460 model_fr550_ldqfu (SIM_CPU *current_cpu, void *sem_arg)
15462 #define FLD(f) abuf->fields.sfmt_cstdfu.f
15463 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15464 const IDESC * UNUSED idesc = abuf->idesc;
15465 int cycles = 0;
15467 int referenced = 0;
15468 int UNUSED insn_referenced = abuf->written;
15469 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15471 return cycles;
15472 #undef FLD
15475 static int
15476 model_fr550_ldqcu (SIM_CPU *current_cpu, void *sem_arg)
15478 #define FLD(f) abuf->fields.sfmt_stdcu.f
15479 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15480 const IDESC * UNUSED idesc = abuf->idesc;
15481 int cycles = 0;
15483 int referenced = 0;
15484 int UNUSED insn_referenced = abuf->written;
15485 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15487 return cycles;
15488 #undef FLD
15491 static int
15492 model_fr550_nldqfu (SIM_CPU *current_cpu, void *sem_arg)
15494 #define FLD(f) abuf->fields.sfmt_cstdfu.f
15495 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15496 const IDESC * UNUSED idesc = abuf->idesc;
15497 int cycles = 0;
15499 int referenced = 0;
15500 int UNUSED insn_referenced = abuf->written;
15501 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15503 return cycles;
15504 #undef FLD
15507 static int
15508 model_fr550_ldsbi (SIM_CPU *current_cpu, void *sem_arg)
15510 #define FLD(f) abuf->fields.sfmt_swapi.f
15511 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15512 const IDESC * UNUSED idesc = abuf->idesc;
15513 int cycles = 0;
15515 int referenced = 0;
15516 int UNUSED insn_referenced = abuf->written;
15517 INT in_GRi = -1;
15518 INT in_GRj = -1;
15519 INT out_GRk = -1;
15520 INT out_GRdoublek = -1;
15521 in_GRi = FLD (in_GRi);
15522 out_GRk = FLD (out_GRk);
15523 referenced |= 1 << 0;
15524 referenced |= 1 << 2;
15525 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15527 return cycles;
15528 #undef FLD
15531 static int
15532 model_fr550_ldshi (SIM_CPU *current_cpu, void *sem_arg)
15534 #define FLD(f) abuf->fields.sfmt_swapi.f
15535 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15536 const IDESC * UNUSED idesc = abuf->idesc;
15537 int cycles = 0;
15539 int referenced = 0;
15540 int UNUSED insn_referenced = abuf->written;
15541 INT in_GRi = -1;
15542 INT in_GRj = -1;
15543 INT out_GRk = -1;
15544 INT out_GRdoublek = -1;
15545 in_GRi = FLD (in_GRi);
15546 out_GRk = FLD (out_GRk);
15547 referenced |= 1 << 0;
15548 referenced |= 1 << 2;
15549 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15551 return cycles;
15552 #undef FLD
15555 static int
15556 model_fr550_ldi (SIM_CPU *current_cpu, void *sem_arg)
15558 #define FLD(f) abuf->fields.sfmt_swapi.f
15559 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15560 const IDESC * UNUSED idesc = abuf->idesc;
15561 int cycles = 0;
15563 int referenced = 0;
15564 int UNUSED insn_referenced = abuf->written;
15565 INT in_GRi = -1;
15566 INT in_GRj = -1;
15567 INT out_GRk = -1;
15568 INT out_GRdoublek = -1;
15569 in_GRi = FLD (in_GRi);
15570 out_GRk = FLD (out_GRk);
15571 referenced |= 1 << 0;
15572 referenced |= 1 << 2;
15573 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15575 return cycles;
15576 #undef FLD
15579 static int
15580 model_fr550_ldubi (SIM_CPU *current_cpu, void *sem_arg)
15582 #define FLD(f) abuf->fields.sfmt_swapi.f
15583 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15584 const IDESC * UNUSED idesc = abuf->idesc;
15585 int cycles = 0;
15587 int referenced = 0;
15588 int UNUSED insn_referenced = abuf->written;
15589 INT in_GRi = -1;
15590 INT in_GRj = -1;
15591 INT out_GRk = -1;
15592 INT out_GRdoublek = -1;
15593 in_GRi = FLD (in_GRi);
15594 out_GRk = FLD (out_GRk);
15595 referenced |= 1 << 0;
15596 referenced |= 1 << 2;
15597 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15599 return cycles;
15600 #undef FLD
15603 static int
15604 model_fr550_lduhi (SIM_CPU *current_cpu, void *sem_arg)
15606 #define FLD(f) abuf->fields.sfmt_swapi.f
15607 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15608 const IDESC * UNUSED idesc = abuf->idesc;
15609 int cycles = 0;
15611 int referenced = 0;
15612 int UNUSED insn_referenced = abuf->written;
15613 INT in_GRi = -1;
15614 INT in_GRj = -1;
15615 INT out_GRk = -1;
15616 INT out_GRdoublek = -1;
15617 in_GRi = FLD (in_GRi);
15618 out_GRk = FLD (out_GRk);
15619 referenced |= 1 << 0;
15620 referenced |= 1 << 2;
15621 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15623 return cycles;
15624 #undef FLD
15627 static int
15628 model_fr550_ldbfi (SIM_CPU *current_cpu, void *sem_arg)
15630 #define FLD(f) abuf->fields.sfmt_ldbfi.f
15631 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15632 const IDESC * UNUSED idesc = abuf->idesc;
15633 int cycles = 0;
15635 int referenced = 0;
15636 int UNUSED insn_referenced = abuf->written;
15637 INT in_GRi = -1;
15638 INT in_GRj = -1;
15639 INT out_FRintk = -1;
15640 INT out_FRdoublek = -1;
15641 in_GRi = FLD (in_GRi);
15642 out_FRintk = FLD (out_FRintk);
15643 referenced |= 1 << 0;
15644 referenced |= 1 << 2;
15645 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15647 return cycles;
15648 #undef FLD
15651 static int
15652 model_fr550_ldhfi (SIM_CPU *current_cpu, void *sem_arg)
15654 #define FLD(f) abuf->fields.sfmt_ldbfi.f
15655 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15656 const IDESC * UNUSED idesc = abuf->idesc;
15657 int cycles = 0;
15659 int referenced = 0;
15660 int UNUSED insn_referenced = abuf->written;
15661 INT in_GRi = -1;
15662 INT in_GRj = -1;
15663 INT out_FRintk = -1;
15664 INT out_FRdoublek = -1;
15665 in_GRi = FLD (in_GRi);
15666 out_FRintk = FLD (out_FRintk);
15667 referenced |= 1 << 0;
15668 referenced |= 1 << 2;
15669 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15671 return cycles;
15672 #undef FLD
15675 static int
15676 model_fr550_ldfi (SIM_CPU *current_cpu, void *sem_arg)
15678 #define FLD(f) abuf->fields.sfmt_ldbfi.f
15679 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15680 const IDESC * UNUSED idesc = abuf->idesc;
15681 int cycles = 0;
15683 int referenced = 0;
15684 int UNUSED insn_referenced = abuf->written;
15685 INT in_GRi = -1;
15686 INT in_GRj = -1;
15687 INT out_FRintk = -1;
15688 INT out_FRdoublek = -1;
15689 in_GRi = FLD (in_GRi);
15690 out_FRintk = FLD (out_FRintk);
15691 referenced |= 1 << 0;
15692 referenced |= 1 << 2;
15693 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15695 return cycles;
15696 #undef FLD
15699 static int
15700 model_fr550_nldsbi (SIM_CPU *current_cpu, void *sem_arg)
15702 #define FLD(f) abuf->fields.sfmt_swapi.f
15703 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15704 const IDESC * UNUSED idesc = abuf->idesc;
15705 int cycles = 0;
15707 int referenced = 0;
15708 int UNUSED insn_referenced = abuf->written;
15709 INT in_GRi = -1;
15710 INT in_GRj = -1;
15711 INT out_GRk = -1;
15712 INT out_GRdoublek = -1;
15713 in_GRi = FLD (in_GRi);
15714 out_GRk = FLD (out_GRk);
15715 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15716 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15717 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15719 return cycles;
15720 #undef FLD
15723 static int
15724 model_fr550_nldubi (SIM_CPU *current_cpu, void *sem_arg)
15726 #define FLD(f) abuf->fields.sfmt_swapi.f
15727 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15728 const IDESC * UNUSED idesc = abuf->idesc;
15729 int cycles = 0;
15731 int referenced = 0;
15732 int UNUSED insn_referenced = abuf->written;
15733 INT in_GRi = -1;
15734 INT in_GRj = -1;
15735 INT out_GRk = -1;
15736 INT out_GRdoublek = -1;
15737 in_GRi = FLD (in_GRi);
15738 out_GRk = FLD (out_GRk);
15739 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15740 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15741 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15743 return cycles;
15744 #undef FLD
15747 static int
15748 model_fr550_nldshi (SIM_CPU *current_cpu, void *sem_arg)
15750 #define FLD(f) abuf->fields.sfmt_swapi.f
15751 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15752 const IDESC * UNUSED idesc = abuf->idesc;
15753 int cycles = 0;
15755 int referenced = 0;
15756 int UNUSED insn_referenced = abuf->written;
15757 INT in_GRi = -1;
15758 INT in_GRj = -1;
15759 INT out_GRk = -1;
15760 INT out_GRdoublek = -1;
15761 in_GRi = FLD (in_GRi);
15762 out_GRk = FLD (out_GRk);
15763 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15764 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15765 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15767 return cycles;
15768 #undef FLD
15771 static int
15772 model_fr550_nlduhi (SIM_CPU *current_cpu, void *sem_arg)
15774 #define FLD(f) abuf->fields.sfmt_swapi.f
15775 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15776 const IDESC * UNUSED idesc = abuf->idesc;
15777 int cycles = 0;
15779 int referenced = 0;
15780 int UNUSED insn_referenced = abuf->written;
15781 INT in_GRi = -1;
15782 INT in_GRj = -1;
15783 INT out_GRk = -1;
15784 INT out_GRdoublek = -1;
15785 in_GRi = FLD (in_GRi);
15786 out_GRk = FLD (out_GRk);
15787 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15788 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15789 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15791 return cycles;
15792 #undef FLD
15795 static int
15796 model_fr550_nldi (SIM_CPU *current_cpu, void *sem_arg)
15798 #define FLD(f) abuf->fields.sfmt_swapi.f
15799 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15800 const IDESC * UNUSED idesc = abuf->idesc;
15801 int cycles = 0;
15803 int referenced = 0;
15804 int UNUSED insn_referenced = abuf->written;
15805 INT in_GRi = -1;
15806 INT in_GRj = -1;
15807 INT out_GRk = -1;
15808 INT out_GRdoublek = -1;
15809 in_GRi = FLD (in_GRi);
15810 out_GRk = FLD (out_GRk);
15811 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15812 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15813 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15815 return cycles;
15816 #undef FLD
15819 static int
15820 model_fr550_nldbfi (SIM_CPU *current_cpu, void *sem_arg)
15822 #define FLD(f) abuf->fields.sfmt_ldbfi.f
15823 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15824 const IDESC * UNUSED idesc = abuf->idesc;
15825 int cycles = 0;
15827 int referenced = 0;
15828 int UNUSED insn_referenced = abuf->written;
15829 INT in_GRi = -1;
15830 INT in_GRj = -1;
15831 INT out_FRintk = -1;
15832 INT out_FRdoublek = -1;
15833 in_GRi = FLD (in_GRi);
15834 out_FRintk = FLD (out_FRintk);
15835 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15836 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15837 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15839 return cycles;
15840 #undef FLD
15843 static int
15844 model_fr550_nldhfi (SIM_CPU *current_cpu, void *sem_arg)
15846 #define FLD(f) abuf->fields.sfmt_ldbfi.f
15847 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15848 const IDESC * UNUSED idesc = abuf->idesc;
15849 int cycles = 0;
15851 int referenced = 0;
15852 int UNUSED insn_referenced = abuf->written;
15853 INT in_GRi = -1;
15854 INT in_GRj = -1;
15855 INT out_FRintk = -1;
15856 INT out_FRdoublek = -1;
15857 in_GRi = FLD (in_GRi);
15858 out_FRintk = FLD (out_FRintk);
15859 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15860 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15861 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15863 return cycles;
15864 #undef FLD
15867 static int
15868 model_fr550_nldfi (SIM_CPU *current_cpu, void *sem_arg)
15870 #define FLD(f) abuf->fields.sfmt_ldbfi.f
15871 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15872 const IDESC * UNUSED idesc = abuf->idesc;
15873 int cycles = 0;
15875 int referenced = 0;
15876 int UNUSED insn_referenced = abuf->written;
15877 INT in_GRi = -1;
15878 INT in_GRj = -1;
15879 INT out_FRintk = -1;
15880 INT out_FRdoublek = -1;
15881 in_GRi = FLD (in_GRi);
15882 out_FRintk = FLD (out_FRintk);
15883 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15884 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
15885 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15887 return cycles;
15888 #undef FLD
15891 static int
15892 model_fr550_lddi (SIM_CPU *current_cpu, void *sem_arg)
15894 #define FLD(f) abuf->fields.sfmt_smuli.f
15895 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15896 const IDESC * UNUSED idesc = abuf->idesc;
15897 int cycles = 0;
15899 int referenced = 0;
15900 int UNUSED insn_referenced = abuf->written;
15901 INT in_GRi = -1;
15902 INT in_GRj = -1;
15903 INT out_GRk = -1;
15904 INT out_GRdoublek = -1;
15905 in_GRi = FLD (in_GRi);
15906 out_GRdoublek = FLD (out_GRdoublek);
15907 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15908 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
15909 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15911 return cycles;
15912 #undef FLD
15915 static int
15916 model_fr550_lddfi (SIM_CPU *current_cpu, void *sem_arg)
15918 #define FLD(f) abuf->fields.sfmt_lddfi.f
15919 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15920 const IDESC * UNUSED idesc = abuf->idesc;
15921 int cycles = 0;
15923 int referenced = 0;
15924 int UNUSED insn_referenced = abuf->written;
15925 INT in_GRi = -1;
15926 INT in_GRj = -1;
15927 INT out_FRintk = -1;
15928 INT out_FRdoublek = -1;
15929 in_GRi = FLD (in_GRi);
15930 out_FRdoublek = FLD (out_FRdoublek);
15931 referenced |= 1 << 0;
15932 referenced |= 1 << 3;
15933 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15935 return cycles;
15936 #undef FLD
15939 static int
15940 model_fr550_nlddi (SIM_CPU *current_cpu, void *sem_arg)
15942 #define FLD(f) abuf->fields.sfmt_smuli.f
15943 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15944 const IDESC * UNUSED idesc = abuf->idesc;
15945 int cycles = 0;
15947 int referenced = 0;
15948 int UNUSED insn_referenced = abuf->written;
15949 INT in_GRi = -1;
15950 INT in_GRj = -1;
15951 INT out_GRk = -1;
15952 INT out_GRdoublek = -1;
15953 in_GRi = FLD (in_GRi);
15954 out_GRdoublek = FLD (out_GRdoublek);
15955 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15956 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
15957 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
15959 return cycles;
15960 #undef FLD
15963 static int
15964 model_fr550_nlddfi (SIM_CPU *current_cpu, void *sem_arg)
15966 #define FLD(f) abuf->fields.sfmt_lddfi.f
15967 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15968 const IDESC * UNUSED idesc = abuf->idesc;
15969 int cycles = 0;
15971 int referenced = 0;
15972 int UNUSED insn_referenced = abuf->written;
15973 INT in_GRi = -1;
15974 INT in_GRj = -1;
15975 INT out_FRintk = -1;
15976 INT out_FRdoublek = -1;
15977 in_GRi = FLD (in_GRi);
15978 out_FRdoublek = FLD (out_FRdoublek);
15979 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
15980 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
15981 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
15983 return cycles;
15984 #undef FLD
15987 static int
15988 model_fr550_ldqi (SIM_CPU *current_cpu, void *sem_arg)
15990 #define FLD(f) abuf->fields.sfmt_stdi.f
15991 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
15992 const IDESC * UNUSED idesc = abuf->idesc;
15993 int cycles = 0;
15995 int referenced = 0;
15996 int UNUSED insn_referenced = abuf->written;
15997 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
15999 return cycles;
16000 #undef FLD
16003 static int
16004 model_fr550_ldqfi (SIM_CPU *current_cpu, void *sem_arg)
16006 #define FLD(f) abuf->fields.sfmt_stdfi.f
16007 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16008 const IDESC * UNUSED idesc = abuf->idesc;
16009 int cycles = 0;
16011 int referenced = 0;
16012 int UNUSED insn_referenced = abuf->written;
16013 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16015 return cycles;
16016 #undef FLD
16019 static int
16020 model_fr550_nldqfi (SIM_CPU *current_cpu, void *sem_arg)
16022 #define FLD(f) abuf->fields.sfmt_stdfi.f
16023 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16024 const IDESC * UNUSED idesc = abuf->idesc;
16025 int cycles = 0;
16027 int referenced = 0;
16028 int UNUSED insn_referenced = abuf->written;
16029 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16031 return cycles;
16032 #undef FLD
16035 static int
16036 model_fr550_stb (SIM_CPU *current_cpu, void *sem_arg)
16038 #define FLD(f) abuf->fields.sfmt_cswap.f
16039 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16040 const IDESC * UNUSED idesc = abuf->idesc;
16041 int cycles = 0;
16043 int referenced = 0;
16044 int UNUSED insn_referenced = abuf->written;
16045 INT in_GRi = -1;
16046 INT in_GRj = -1;
16047 INT in_GRk = -1;
16048 INT in_GRdoublek = -1;
16049 in_GRi = FLD (in_GRi);
16050 in_GRj = FLD (in_GRj);
16051 in_GRk = FLD (in_GRk);
16052 referenced |= 1 << 0;
16053 referenced |= 1 << 1;
16054 referenced |= 1 << 2;
16055 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16057 return cycles;
16058 #undef FLD
16061 static int
16062 model_fr550_sth (SIM_CPU *current_cpu, void *sem_arg)
16064 #define FLD(f) abuf->fields.sfmt_cswap.f
16065 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16066 const IDESC * UNUSED idesc = abuf->idesc;
16067 int cycles = 0;
16069 int referenced = 0;
16070 int UNUSED insn_referenced = abuf->written;
16071 INT in_GRi = -1;
16072 INT in_GRj = -1;
16073 INT in_GRk = -1;
16074 INT in_GRdoublek = -1;
16075 in_GRi = FLD (in_GRi);
16076 in_GRj = FLD (in_GRj);
16077 in_GRk = FLD (in_GRk);
16078 referenced |= 1 << 0;
16079 referenced |= 1 << 1;
16080 referenced |= 1 << 2;
16081 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16083 return cycles;
16084 #undef FLD
16087 static int
16088 model_fr550_st (SIM_CPU *current_cpu, void *sem_arg)
16090 #define FLD(f) abuf->fields.sfmt_cswap.f
16091 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16092 const IDESC * UNUSED idesc = abuf->idesc;
16093 int cycles = 0;
16095 int referenced = 0;
16096 int UNUSED insn_referenced = abuf->written;
16097 INT in_GRi = -1;
16098 INT in_GRj = -1;
16099 INT in_GRk = -1;
16100 INT in_GRdoublek = -1;
16101 in_GRi = FLD (in_GRi);
16102 in_GRj = FLD (in_GRj);
16103 in_GRk = FLD (in_GRk);
16104 referenced |= 1 << 0;
16105 referenced |= 1 << 1;
16106 referenced |= 1 << 2;
16107 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16109 return cycles;
16110 #undef FLD
16113 static int
16114 model_fr550_stbf (SIM_CPU *current_cpu, void *sem_arg)
16116 #define FLD(f) abuf->fields.sfmt_cstbfu.f
16117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16118 const IDESC * UNUSED idesc = abuf->idesc;
16119 int cycles = 0;
16121 int referenced = 0;
16122 int UNUSED insn_referenced = abuf->written;
16123 INT in_GRi = -1;
16124 INT in_GRj = -1;
16125 INT in_FRintk = -1;
16126 INT in_FRdoublek = -1;
16127 in_GRi = FLD (in_GRi);
16128 in_GRj = FLD (in_GRj);
16129 in_FRintk = FLD (in_FRintk);
16130 referenced |= 1 << 0;
16131 referenced |= 1 << 1;
16132 referenced |= 1 << 2;
16133 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16135 return cycles;
16136 #undef FLD
16139 static int
16140 model_fr550_sthf (SIM_CPU *current_cpu, void *sem_arg)
16142 #define FLD(f) abuf->fields.sfmt_cstbfu.f
16143 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16144 const IDESC * UNUSED idesc = abuf->idesc;
16145 int cycles = 0;
16147 int referenced = 0;
16148 int UNUSED insn_referenced = abuf->written;
16149 INT in_GRi = -1;
16150 INT in_GRj = -1;
16151 INT in_FRintk = -1;
16152 INT in_FRdoublek = -1;
16153 in_GRi = FLD (in_GRi);
16154 in_GRj = FLD (in_GRj);
16155 in_FRintk = FLD (in_FRintk);
16156 referenced |= 1 << 0;
16157 referenced |= 1 << 1;
16158 referenced |= 1 << 2;
16159 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16161 return cycles;
16162 #undef FLD
16165 static int
16166 model_fr550_stf (SIM_CPU *current_cpu, void *sem_arg)
16168 #define FLD(f) abuf->fields.sfmt_cstbfu.f
16169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16170 const IDESC * UNUSED idesc = abuf->idesc;
16171 int cycles = 0;
16173 int referenced = 0;
16174 int UNUSED insn_referenced = abuf->written;
16175 INT in_GRi = -1;
16176 INT in_GRj = -1;
16177 INT in_FRintk = -1;
16178 INT in_FRdoublek = -1;
16179 in_GRi = FLD (in_GRi);
16180 in_GRj = FLD (in_GRj);
16181 in_FRintk = FLD (in_FRintk);
16182 referenced |= 1 << 0;
16183 referenced |= 1 << 1;
16184 referenced |= 1 << 2;
16185 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16187 return cycles;
16188 #undef FLD
16191 static int
16192 model_fr550_stc (SIM_CPU *current_cpu, void *sem_arg)
16194 #define FLD(f) abuf->fields.sfmt_stcu.f
16195 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16196 const IDESC * UNUSED idesc = abuf->idesc;
16197 int cycles = 0;
16199 int referenced = 0;
16200 int UNUSED insn_referenced = abuf->written;
16201 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16203 return cycles;
16204 #undef FLD
16207 static int
16208 model_fr550_std (SIM_CPU *current_cpu, void *sem_arg)
16210 #define FLD(f) abuf->fields.sfmt_cstdu.f
16211 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16212 const IDESC * UNUSED idesc = abuf->idesc;
16213 int cycles = 0;
16215 int referenced = 0;
16216 int UNUSED insn_referenced = abuf->written;
16217 INT in_GRi = -1;
16218 INT in_GRj = -1;
16219 INT in_GRk = -1;
16220 INT in_GRdoublek = -1;
16221 in_GRi = FLD (in_GRi);
16222 in_GRj = FLD (in_GRj);
16223 in_GRdoublek = FLD (in_GRdoublek);
16224 referenced |= 1 << 0;
16225 referenced |= 1 << 1;
16226 referenced |= 1 << 3;
16227 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16229 return cycles;
16230 #undef FLD
16233 static int
16234 model_fr550_stdf (SIM_CPU *current_cpu, void *sem_arg)
16236 #define FLD(f) abuf->fields.sfmt_cstdfu.f
16237 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16238 const IDESC * UNUSED idesc = abuf->idesc;
16239 int cycles = 0;
16241 int referenced = 0;
16242 int UNUSED insn_referenced = abuf->written;
16243 INT in_GRi = -1;
16244 INT in_GRj = -1;
16245 INT in_FRintk = -1;
16246 INT in_FRdoublek = -1;
16247 in_GRi = FLD (in_GRi);
16248 in_GRj = FLD (in_GRj);
16249 in_FRdoublek = FLD (in_FRdoublek);
16250 referenced |= 1 << 0;
16251 referenced |= 1 << 1;
16252 referenced |= 1 << 3;
16253 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16255 return cycles;
16256 #undef FLD
16259 static int
16260 model_fr550_stdc (SIM_CPU *current_cpu, void *sem_arg)
16262 #define FLD(f) abuf->fields.sfmt_stdcu.f
16263 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16264 const IDESC * UNUSED idesc = abuf->idesc;
16265 int cycles = 0;
16267 int referenced = 0;
16268 int UNUSED insn_referenced = abuf->written;
16269 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16271 return cycles;
16272 #undef FLD
16275 static int
16276 model_fr550_stq (SIM_CPU *current_cpu, void *sem_arg)
16278 #define FLD(f) abuf->fields.sfmt_smulcc.f
16279 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16280 const IDESC * UNUSED idesc = abuf->idesc;
16281 int cycles = 0;
16283 int referenced = 0;
16284 int UNUSED insn_referenced = abuf->written;
16285 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16287 return cycles;
16288 #undef FLD
16291 static int
16292 model_fr550_stqf (SIM_CPU *current_cpu, void *sem_arg)
16294 #define FLD(f) abuf->fields.sfmt_cstdfu.f
16295 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16296 const IDESC * UNUSED idesc = abuf->idesc;
16297 int cycles = 0;
16299 int referenced = 0;
16300 int UNUSED insn_referenced = abuf->written;
16301 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16303 return cycles;
16304 #undef FLD
16307 static int
16308 model_fr550_stqc (SIM_CPU *current_cpu, void *sem_arg)
16310 #define FLD(f) abuf->fields.sfmt_stdcu.f
16311 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16312 const IDESC * UNUSED idesc = abuf->idesc;
16313 int cycles = 0;
16315 int referenced = 0;
16316 int UNUSED insn_referenced = abuf->written;
16317 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16319 return cycles;
16320 #undef FLD
16323 static int
16324 model_fr550_stbu (SIM_CPU *current_cpu, void *sem_arg)
16326 #define FLD(f) abuf->fields.sfmt_cstbu.f
16327 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16328 const IDESC * UNUSED idesc = abuf->idesc;
16329 int cycles = 0;
16331 int referenced = 0;
16332 int UNUSED insn_referenced = abuf->written;
16333 INT in_GRi = -1;
16334 INT in_GRj = -1;
16335 INT in_GRk = -1;
16336 INT in_GRdoublek = -1;
16337 in_GRi = FLD (in_GRi);
16338 in_GRj = FLD (in_GRj);
16339 in_GRk = FLD (in_GRk);
16340 referenced |= 1 << 0;
16341 referenced |= 1 << 1;
16342 referenced |= 1 << 2;
16343 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16345 return cycles;
16346 #undef FLD
16349 static int
16350 model_fr550_sthu (SIM_CPU *current_cpu, void *sem_arg)
16352 #define FLD(f) abuf->fields.sfmt_cstbu.f
16353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16354 const IDESC * UNUSED idesc = abuf->idesc;
16355 int cycles = 0;
16357 int referenced = 0;
16358 int UNUSED insn_referenced = abuf->written;
16359 INT in_GRi = -1;
16360 INT in_GRj = -1;
16361 INT in_GRk = -1;
16362 INT in_GRdoublek = -1;
16363 in_GRi = FLD (in_GRi);
16364 in_GRj = FLD (in_GRj);
16365 in_GRk = FLD (in_GRk);
16366 referenced |= 1 << 0;
16367 referenced |= 1 << 1;
16368 referenced |= 1 << 2;
16369 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16371 return cycles;
16372 #undef FLD
16375 static int
16376 model_fr550_stu (SIM_CPU *current_cpu, void *sem_arg)
16378 #define FLD(f) abuf->fields.sfmt_cstbu.f
16379 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16380 const IDESC * UNUSED idesc = abuf->idesc;
16381 int cycles = 0;
16383 int referenced = 0;
16384 int UNUSED insn_referenced = abuf->written;
16385 INT in_GRi = -1;
16386 INT in_GRj = -1;
16387 INT in_GRk = -1;
16388 INT in_GRdoublek = -1;
16389 in_GRi = FLD (in_GRi);
16390 in_GRj = FLD (in_GRj);
16391 in_GRk = FLD (in_GRk);
16392 referenced |= 1 << 0;
16393 referenced |= 1 << 1;
16394 referenced |= 1 << 2;
16395 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16397 return cycles;
16398 #undef FLD
16401 static int
16402 model_fr550_stbfu (SIM_CPU *current_cpu, void *sem_arg)
16404 #define FLD(f) abuf->fields.sfmt_cstbfu.f
16405 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16406 const IDESC * UNUSED idesc = abuf->idesc;
16407 int cycles = 0;
16409 int referenced = 0;
16410 int UNUSED insn_referenced = abuf->written;
16411 INT in_GRi = -1;
16412 INT in_GRj = -1;
16413 INT in_FRintk = -1;
16414 INT in_FRdoublek = -1;
16415 in_GRi = FLD (in_GRi);
16416 in_GRj = FLD (in_GRj);
16417 in_FRintk = FLD (in_FRintk);
16418 referenced |= 1 << 0;
16419 referenced |= 1 << 1;
16420 referenced |= 1 << 2;
16421 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16423 return cycles;
16424 #undef FLD
16427 static int
16428 model_fr550_sthfu (SIM_CPU *current_cpu, void *sem_arg)
16430 #define FLD(f) abuf->fields.sfmt_cstbfu.f
16431 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16432 const IDESC * UNUSED idesc = abuf->idesc;
16433 int cycles = 0;
16435 int referenced = 0;
16436 int UNUSED insn_referenced = abuf->written;
16437 INT in_GRi = -1;
16438 INT in_GRj = -1;
16439 INT in_FRintk = -1;
16440 INT in_FRdoublek = -1;
16441 in_GRi = FLD (in_GRi);
16442 in_GRj = FLD (in_GRj);
16443 in_FRintk = FLD (in_FRintk);
16444 referenced |= 1 << 0;
16445 referenced |= 1 << 1;
16446 referenced |= 1 << 2;
16447 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16449 return cycles;
16450 #undef FLD
16453 static int
16454 model_fr550_stfu (SIM_CPU *current_cpu, void *sem_arg)
16456 #define FLD(f) abuf->fields.sfmt_cstbfu.f
16457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16458 const IDESC * UNUSED idesc = abuf->idesc;
16459 int cycles = 0;
16461 int referenced = 0;
16462 int UNUSED insn_referenced = abuf->written;
16463 INT in_GRi = -1;
16464 INT in_GRj = -1;
16465 INT in_FRintk = -1;
16466 INT in_FRdoublek = -1;
16467 in_GRi = FLD (in_GRi);
16468 in_GRj = FLD (in_GRj);
16469 in_FRintk = FLD (in_FRintk);
16470 referenced |= 1 << 0;
16471 referenced |= 1 << 1;
16472 referenced |= 1 << 2;
16473 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16475 return cycles;
16476 #undef FLD
16479 static int
16480 model_fr550_stcu (SIM_CPU *current_cpu, void *sem_arg)
16482 #define FLD(f) abuf->fields.sfmt_stcu.f
16483 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16484 const IDESC * UNUSED idesc = abuf->idesc;
16485 int cycles = 0;
16487 int referenced = 0;
16488 int UNUSED insn_referenced = abuf->written;
16489 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16491 return cycles;
16492 #undef FLD
16495 static int
16496 model_fr550_stdu (SIM_CPU *current_cpu, void *sem_arg)
16498 #define FLD(f) abuf->fields.sfmt_cstdu.f
16499 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16500 const IDESC * UNUSED idesc = abuf->idesc;
16501 int cycles = 0;
16503 int referenced = 0;
16504 int UNUSED insn_referenced = abuf->written;
16505 INT in_GRi = -1;
16506 INT in_GRj = -1;
16507 INT in_GRk = -1;
16508 INT in_GRdoublek = -1;
16509 in_GRi = FLD (in_GRi);
16510 in_GRj = FLD (in_GRj);
16511 in_GRdoublek = FLD (in_GRdoublek);
16512 referenced |= 1 << 0;
16513 referenced |= 1 << 1;
16514 referenced |= 1 << 3;
16515 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
16517 return cycles;
16518 #undef FLD
16521 static int
16522 model_fr550_stdfu (SIM_CPU *current_cpu, void *sem_arg)
16524 #define FLD(f) abuf->fields.sfmt_cstdfu.f
16525 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16526 const IDESC * UNUSED idesc = abuf->idesc;
16527 int cycles = 0;
16529 int referenced = 0;
16530 int UNUSED insn_referenced = abuf->written;
16531 INT in_GRi = -1;
16532 INT in_GRj = -1;
16533 INT in_FRintk = -1;
16534 INT in_FRdoublek = -1;
16535 in_GRi = FLD (in_GRi);
16536 in_GRj = FLD (in_GRj);
16537 in_FRdoublek = FLD (in_FRdoublek);
16538 referenced |= 1 << 0;
16539 referenced |= 1 << 1;
16540 referenced |= 1 << 3;
16541 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
16543 return cycles;
16544 #undef FLD
16547 static int
16548 model_fr550_stdcu (SIM_CPU *current_cpu, void *sem_arg)
16550 #define FLD(f) abuf->fields.sfmt_stdcu.f
16551 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16552 const IDESC * UNUSED idesc = abuf->idesc;
16553 int cycles = 0;
16555 int referenced = 0;
16556 int UNUSED insn_referenced = abuf->written;
16557 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16559 return cycles;
16560 #undef FLD
16563 static int
16564 model_fr550_stqu (SIM_CPU *current_cpu, void *sem_arg)
16566 #define FLD(f) abuf->fields.sfmt_cstdu.f
16567 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16568 const IDESC * UNUSED idesc = abuf->idesc;
16569 int cycles = 0;
16571 int referenced = 0;
16572 int UNUSED insn_referenced = abuf->written;
16573 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16575 return cycles;
16576 #undef FLD
16579 static int
16580 model_fr550_stqfu (SIM_CPU *current_cpu, void *sem_arg)
16582 #define FLD(f) abuf->fields.sfmt_cstdfu.f
16583 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16584 const IDESC * UNUSED idesc = abuf->idesc;
16585 int cycles = 0;
16587 int referenced = 0;
16588 int UNUSED insn_referenced = abuf->written;
16589 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16591 return cycles;
16592 #undef FLD
16595 static int
16596 model_fr550_stqcu (SIM_CPU *current_cpu, void *sem_arg)
16598 #define FLD(f) abuf->fields.sfmt_stdcu.f
16599 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16600 const IDESC * UNUSED idesc = abuf->idesc;
16601 int cycles = 0;
16603 int referenced = 0;
16604 int UNUSED insn_referenced = abuf->written;
16605 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16607 return cycles;
16608 #undef FLD
16611 static int
16612 model_fr550_cldsb (SIM_CPU *current_cpu, void *sem_arg)
16614 #define FLD(f) abuf->fields.sfmt_cswap.f
16615 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16616 const IDESC * UNUSED idesc = abuf->idesc;
16617 int cycles = 0;
16619 int referenced = 0;
16620 int UNUSED insn_referenced = abuf->written;
16621 INT in_GRi = -1;
16622 INT in_GRj = -1;
16623 INT out_GRk = -1;
16624 INT out_GRdoublek = -1;
16625 in_GRi = FLD (in_GRi);
16626 in_GRj = FLD (in_GRj);
16627 out_GRk = FLD (out_GRk);
16628 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16629 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16630 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16631 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16633 return cycles;
16634 #undef FLD
16637 static int
16638 model_fr550_cldub (SIM_CPU *current_cpu, void *sem_arg)
16640 #define FLD(f) abuf->fields.sfmt_cswap.f
16641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16642 const IDESC * UNUSED idesc = abuf->idesc;
16643 int cycles = 0;
16645 int referenced = 0;
16646 int UNUSED insn_referenced = abuf->written;
16647 INT in_GRi = -1;
16648 INT in_GRj = -1;
16649 INT out_GRk = -1;
16650 INT out_GRdoublek = -1;
16651 in_GRi = FLD (in_GRi);
16652 in_GRj = FLD (in_GRj);
16653 out_GRk = FLD (out_GRk);
16654 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16655 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16656 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16657 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16659 return cycles;
16660 #undef FLD
16663 static int
16664 model_fr550_cldsh (SIM_CPU *current_cpu, void *sem_arg)
16666 #define FLD(f) abuf->fields.sfmt_cswap.f
16667 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16668 const IDESC * UNUSED idesc = abuf->idesc;
16669 int cycles = 0;
16671 int referenced = 0;
16672 int UNUSED insn_referenced = abuf->written;
16673 INT in_GRi = -1;
16674 INT in_GRj = -1;
16675 INT out_GRk = -1;
16676 INT out_GRdoublek = -1;
16677 in_GRi = FLD (in_GRi);
16678 in_GRj = FLD (in_GRj);
16679 out_GRk = FLD (out_GRk);
16680 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16681 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16682 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16683 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16685 return cycles;
16686 #undef FLD
16689 static int
16690 model_fr550_clduh (SIM_CPU *current_cpu, void *sem_arg)
16692 #define FLD(f) abuf->fields.sfmt_cswap.f
16693 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16694 const IDESC * UNUSED idesc = abuf->idesc;
16695 int cycles = 0;
16697 int referenced = 0;
16698 int UNUSED insn_referenced = abuf->written;
16699 INT in_GRi = -1;
16700 INT in_GRj = -1;
16701 INT out_GRk = -1;
16702 INT out_GRdoublek = -1;
16703 in_GRi = FLD (in_GRi);
16704 in_GRj = FLD (in_GRj);
16705 out_GRk = FLD (out_GRk);
16706 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16707 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16708 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16709 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16711 return cycles;
16712 #undef FLD
16715 static int
16716 model_fr550_cld (SIM_CPU *current_cpu, void *sem_arg)
16718 #define FLD(f) abuf->fields.sfmt_cswap.f
16719 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16720 const IDESC * UNUSED idesc = abuf->idesc;
16721 int cycles = 0;
16723 int referenced = 0;
16724 int UNUSED insn_referenced = abuf->written;
16725 INT in_GRi = -1;
16726 INT in_GRj = -1;
16727 INT out_GRk = -1;
16728 INT out_GRdoublek = -1;
16729 in_GRi = FLD (in_GRi);
16730 in_GRj = FLD (in_GRj);
16731 out_GRk = FLD (out_GRk);
16732 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16733 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16734 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16735 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16737 return cycles;
16738 #undef FLD
16741 static int
16742 model_fr550_cldbf (SIM_CPU *current_cpu, void *sem_arg)
16744 #define FLD(f) abuf->fields.sfmt_cldbfu.f
16745 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16746 const IDESC * UNUSED idesc = abuf->idesc;
16747 int cycles = 0;
16749 int referenced = 0;
16750 int UNUSED insn_referenced = abuf->written;
16751 INT in_GRi = -1;
16752 INT in_GRj = -1;
16753 INT out_FRintk = -1;
16754 INT out_FRdoublek = -1;
16755 in_GRi = FLD (in_GRi);
16756 in_GRj = FLD (in_GRj);
16757 out_FRintk = FLD (out_FRintk);
16758 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16759 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16760 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16761 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
16763 return cycles;
16764 #undef FLD
16767 static int
16768 model_fr550_cldhf (SIM_CPU *current_cpu, void *sem_arg)
16770 #define FLD(f) abuf->fields.sfmt_cldbfu.f
16771 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16772 const IDESC * UNUSED idesc = abuf->idesc;
16773 int cycles = 0;
16775 int referenced = 0;
16776 int UNUSED insn_referenced = abuf->written;
16777 INT in_GRi = -1;
16778 INT in_GRj = -1;
16779 INT out_FRintk = -1;
16780 INT out_FRdoublek = -1;
16781 in_GRi = FLD (in_GRi);
16782 in_GRj = FLD (in_GRj);
16783 out_FRintk = FLD (out_FRintk);
16784 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16785 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16786 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16787 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
16789 return cycles;
16790 #undef FLD
16793 static int
16794 model_fr550_cldf (SIM_CPU *current_cpu, void *sem_arg)
16796 #define FLD(f) abuf->fields.sfmt_cldbfu.f
16797 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16798 const IDESC * UNUSED idesc = abuf->idesc;
16799 int cycles = 0;
16801 int referenced = 0;
16802 int UNUSED insn_referenced = abuf->written;
16803 INT in_GRi = -1;
16804 INT in_GRj = -1;
16805 INT out_FRintk = -1;
16806 INT out_FRdoublek = -1;
16807 in_GRi = FLD (in_GRi);
16808 in_GRj = FLD (in_GRj);
16809 out_FRintk = FLD (out_FRintk);
16810 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16811 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16812 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
16813 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
16815 return cycles;
16816 #undef FLD
16819 static int
16820 model_fr550_cldd (SIM_CPU *current_cpu, void *sem_arg)
16822 #define FLD(f) abuf->fields.sfmt_clddu.f
16823 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16824 const IDESC * UNUSED idesc = abuf->idesc;
16825 int cycles = 0;
16827 int referenced = 0;
16828 int UNUSED insn_referenced = abuf->written;
16829 INT in_GRi = -1;
16830 INT in_GRj = -1;
16831 INT out_GRk = -1;
16832 INT out_GRdoublek = -1;
16833 in_GRi = FLD (in_GRi);
16834 in_GRj = FLD (in_GRj);
16835 out_GRdoublek = FLD (out_GRdoublek);
16836 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16837 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16838 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
16839 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16841 return cycles;
16842 #undef FLD
16845 static int
16846 model_fr550_clddf (SIM_CPU *current_cpu, void *sem_arg)
16848 #define FLD(f) abuf->fields.sfmt_clddfu.f
16849 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16850 const IDESC * UNUSED idesc = abuf->idesc;
16851 int cycles = 0;
16853 int referenced = 0;
16854 int UNUSED insn_referenced = abuf->written;
16855 INT in_GRi = -1;
16856 INT in_GRj = -1;
16857 INT out_FRintk = -1;
16858 INT out_FRdoublek = -1;
16859 in_GRi = FLD (in_GRi);
16860 in_GRj = FLD (in_GRj);
16861 out_FRdoublek = FLD (out_FRdoublek);
16862 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16863 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16864 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
16865 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
16867 return cycles;
16868 #undef FLD
16871 static int
16872 model_fr550_cldq (SIM_CPU *current_cpu, void *sem_arg)
16874 #define FLD(f) abuf->fields.sfmt_cswap.f
16875 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16876 const IDESC * UNUSED idesc = abuf->idesc;
16877 int cycles = 0;
16879 int referenced = 0;
16880 int UNUSED insn_referenced = abuf->written;
16881 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
16883 return cycles;
16884 #undef FLD
16887 static int
16888 model_fr550_cldsbu (SIM_CPU *current_cpu, void *sem_arg)
16890 #define FLD(f) abuf->fields.sfmt_cldsbu.f
16891 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16892 const IDESC * UNUSED idesc = abuf->idesc;
16893 int cycles = 0;
16895 int referenced = 0;
16896 int UNUSED insn_referenced = abuf->written;
16897 INT in_GRi = -1;
16898 INT in_GRj = -1;
16899 INT out_GRk = -1;
16900 INT out_GRdoublek = -1;
16901 in_GRi = FLD (in_GRi);
16902 in_GRj = FLD (in_GRj);
16903 out_GRk = FLD (out_GRk);
16904 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16905 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16906 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
16907 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16909 return cycles;
16910 #undef FLD
16913 static int
16914 model_fr550_cldubu (SIM_CPU *current_cpu, void *sem_arg)
16916 #define FLD(f) abuf->fields.sfmt_cldsbu.f
16917 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16918 const IDESC * UNUSED idesc = abuf->idesc;
16919 int cycles = 0;
16921 int referenced = 0;
16922 int UNUSED insn_referenced = abuf->written;
16923 INT in_GRi = -1;
16924 INT in_GRj = -1;
16925 INT out_GRk = -1;
16926 INT out_GRdoublek = -1;
16927 in_GRi = FLD (in_GRi);
16928 in_GRj = FLD (in_GRj);
16929 out_GRk = FLD (out_GRk);
16930 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16931 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16932 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
16933 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16935 return cycles;
16936 #undef FLD
16939 static int
16940 model_fr550_cldshu (SIM_CPU *current_cpu, void *sem_arg)
16942 #define FLD(f) abuf->fields.sfmt_cldsbu.f
16943 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16944 const IDESC * UNUSED idesc = abuf->idesc;
16945 int cycles = 0;
16947 int referenced = 0;
16948 int UNUSED insn_referenced = abuf->written;
16949 INT in_GRi = -1;
16950 INT in_GRj = -1;
16951 INT out_GRk = -1;
16952 INT out_GRdoublek = -1;
16953 in_GRi = FLD (in_GRi);
16954 in_GRj = FLD (in_GRj);
16955 out_GRk = FLD (out_GRk);
16956 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16957 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16958 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
16959 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16961 return cycles;
16962 #undef FLD
16965 static int
16966 model_fr550_clduhu (SIM_CPU *current_cpu, void *sem_arg)
16968 #define FLD(f) abuf->fields.sfmt_cldsbu.f
16969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16970 const IDESC * UNUSED idesc = abuf->idesc;
16971 int cycles = 0;
16973 int referenced = 0;
16974 int UNUSED insn_referenced = abuf->written;
16975 INT in_GRi = -1;
16976 INT in_GRj = -1;
16977 INT out_GRk = -1;
16978 INT out_GRdoublek = -1;
16979 in_GRi = FLD (in_GRi);
16980 in_GRj = FLD (in_GRj);
16981 out_GRk = FLD (out_GRk);
16982 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
16983 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
16984 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
16985 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
16987 return cycles;
16988 #undef FLD
16991 static int
16992 model_fr550_cldu (SIM_CPU *current_cpu, void *sem_arg)
16994 #define FLD(f) abuf->fields.sfmt_cldsbu.f
16995 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
16996 const IDESC * UNUSED idesc = abuf->idesc;
16997 int cycles = 0;
16999 int referenced = 0;
17000 int UNUSED insn_referenced = abuf->written;
17001 INT in_GRi = -1;
17002 INT in_GRj = -1;
17003 INT out_GRk = -1;
17004 INT out_GRdoublek = -1;
17005 in_GRi = FLD (in_GRi);
17006 in_GRj = FLD (in_GRj);
17007 out_GRk = FLD (out_GRk);
17008 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17009 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17010 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
17011 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
17013 return cycles;
17014 #undef FLD
17017 static int
17018 model_fr550_cldbfu (SIM_CPU *current_cpu, void *sem_arg)
17020 #define FLD(f) abuf->fields.sfmt_cldbfu.f
17021 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17022 const IDESC * UNUSED idesc = abuf->idesc;
17023 int cycles = 0;
17025 int referenced = 0;
17026 int UNUSED insn_referenced = abuf->written;
17027 INT in_GRi = -1;
17028 INT in_GRj = -1;
17029 INT out_FRintk = -1;
17030 INT out_FRdoublek = -1;
17031 in_GRi = FLD (in_GRi);
17032 in_GRj = FLD (in_GRj);
17033 out_FRintk = FLD (out_FRintk);
17034 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17035 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17036 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
17037 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
17039 return cycles;
17040 #undef FLD
17043 static int
17044 model_fr550_cldhfu (SIM_CPU *current_cpu, void *sem_arg)
17046 #define FLD(f) abuf->fields.sfmt_cldbfu.f
17047 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17048 const IDESC * UNUSED idesc = abuf->idesc;
17049 int cycles = 0;
17051 int referenced = 0;
17052 int UNUSED insn_referenced = abuf->written;
17053 INT in_GRi = -1;
17054 INT in_GRj = -1;
17055 INT out_FRintk = -1;
17056 INT out_FRdoublek = -1;
17057 in_GRi = FLD (in_GRi);
17058 in_GRj = FLD (in_GRj);
17059 out_FRintk = FLD (out_FRintk);
17060 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17061 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17062 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
17063 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
17065 return cycles;
17066 #undef FLD
17069 static int
17070 model_fr550_cldfu (SIM_CPU *current_cpu, void *sem_arg)
17072 #define FLD(f) abuf->fields.sfmt_cldbfu.f
17073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17074 const IDESC * UNUSED idesc = abuf->idesc;
17075 int cycles = 0;
17077 int referenced = 0;
17078 int UNUSED insn_referenced = abuf->written;
17079 INT in_GRi = -1;
17080 INT in_GRj = -1;
17081 INT out_FRintk = -1;
17082 INT out_FRdoublek = -1;
17083 in_GRi = FLD (in_GRi);
17084 in_GRj = FLD (in_GRj);
17085 out_FRintk = FLD (out_FRintk);
17086 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17087 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17088 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
17089 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
17091 return cycles;
17092 #undef FLD
17095 static int
17096 model_fr550_clddu (SIM_CPU *current_cpu, void *sem_arg)
17098 #define FLD(f) abuf->fields.sfmt_clddu.f
17099 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17100 const IDESC * UNUSED idesc = abuf->idesc;
17101 int cycles = 0;
17103 int referenced = 0;
17104 int UNUSED insn_referenced = abuf->written;
17105 INT in_GRi = -1;
17106 INT in_GRj = -1;
17107 INT out_GRk = -1;
17108 INT out_GRdoublek = -1;
17109 in_GRi = FLD (in_GRi);
17110 in_GRj = FLD (in_GRj);
17111 out_GRdoublek = FLD (out_GRdoublek);
17112 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17113 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17114 if (insn_referenced & (1 << 7)) referenced |= 1 << 3;
17115 cycles += frvbf_model_fr550_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
17117 return cycles;
17118 #undef FLD
17121 static int
17122 model_fr550_clddfu (SIM_CPU *current_cpu, void *sem_arg)
17124 #define FLD(f) abuf->fields.sfmt_clddfu.f
17125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17126 const IDESC * UNUSED idesc = abuf->idesc;
17127 int cycles = 0;
17129 int referenced = 0;
17130 int UNUSED insn_referenced = abuf->written;
17131 INT in_GRi = -1;
17132 INT in_GRj = -1;
17133 INT out_FRintk = -1;
17134 INT out_FRdoublek = -1;
17135 in_GRi = FLD (in_GRi);
17136 in_GRj = FLD (in_GRj);
17137 out_FRdoublek = FLD (out_FRdoublek);
17138 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17139 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17140 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
17141 cycles += frvbf_model_fr550_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
17143 return cycles;
17144 #undef FLD
17147 static int
17148 model_fr550_cldqu (SIM_CPU *current_cpu, void *sem_arg)
17150 #define FLD(f) abuf->fields.sfmt_cstdu.f
17151 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17152 const IDESC * UNUSED idesc = abuf->idesc;
17153 int cycles = 0;
17155 int referenced = 0;
17156 int UNUSED insn_referenced = abuf->written;
17157 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
17159 return cycles;
17160 #undef FLD
17163 static int
17164 model_fr550_cstb (SIM_CPU *current_cpu, void *sem_arg)
17166 #define FLD(f) abuf->fields.sfmt_cswap.f
17167 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17168 const IDESC * UNUSED idesc = abuf->idesc;
17169 int cycles = 0;
17171 int referenced = 0;
17172 int UNUSED insn_referenced = abuf->written;
17173 INT in_GRi = -1;
17174 INT in_GRj = -1;
17175 INT in_GRk = -1;
17176 INT in_GRdoublek = -1;
17177 in_GRi = FLD (in_GRi);
17178 in_GRj = FLD (in_GRj);
17179 in_GRk = FLD (in_GRk);
17180 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17181 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17182 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
17183 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17185 return cycles;
17186 #undef FLD
17189 static int
17190 model_fr550_csth (SIM_CPU *current_cpu, void *sem_arg)
17192 #define FLD(f) abuf->fields.sfmt_cswap.f
17193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17194 const IDESC * UNUSED idesc = abuf->idesc;
17195 int cycles = 0;
17197 int referenced = 0;
17198 int UNUSED insn_referenced = abuf->written;
17199 INT in_GRi = -1;
17200 INT in_GRj = -1;
17201 INT in_GRk = -1;
17202 INT in_GRdoublek = -1;
17203 in_GRi = FLD (in_GRi);
17204 in_GRj = FLD (in_GRj);
17205 in_GRk = FLD (in_GRk);
17206 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17207 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17208 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
17209 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17211 return cycles;
17212 #undef FLD
17215 static int
17216 model_fr550_cst (SIM_CPU *current_cpu, void *sem_arg)
17218 #define FLD(f) abuf->fields.sfmt_cswap.f
17219 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17220 const IDESC * UNUSED idesc = abuf->idesc;
17221 int cycles = 0;
17223 int referenced = 0;
17224 int UNUSED insn_referenced = abuf->written;
17225 INT in_GRi = -1;
17226 INT in_GRj = -1;
17227 INT in_GRk = -1;
17228 INT in_GRdoublek = -1;
17229 in_GRi = FLD (in_GRi);
17230 in_GRj = FLD (in_GRj);
17231 in_GRk = FLD (in_GRk);
17232 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17233 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17234 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
17235 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17237 return cycles;
17238 #undef FLD
17241 static int
17242 model_fr550_cstbf (SIM_CPU *current_cpu, void *sem_arg)
17244 #define FLD(f) abuf->fields.sfmt_cstbfu.f
17245 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17246 const IDESC * UNUSED idesc = abuf->idesc;
17247 int cycles = 0;
17249 int referenced = 0;
17250 int UNUSED insn_referenced = abuf->written;
17251 INT in_GRi = -1;
17252 INT in_GRj = -1;
17253 INT in_FRintk = -1;
17254 INT in_FRdoublek = -1;
17255 in_GRi = FLD (in_GRi);
17256 in_GRj = FLD (in_GRj);
17257 in_FRintk = FLD (in_FRintk);
17258 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17259 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17260 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
17261 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17263 return cycles;
17264 #undef FLD
17267 static int
17268 model_fr550_csthf (SIM_CPU *current_cpu, void *sem_arg)
17270 #define FLD(f) abuf->fields.sfmt_cstbfu.f
17271 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17272 const IDESC * UNUSED idesc = abuf->idesc;
17273 int cycles = 0;
17275 int referenced = 0;
17276 int UNUSED insn_referenced = abuf->written;
17277 INT in_GRi = -1;
17278 INT in_GRj = -1;
17279 INT in_FRintk = -1;
17280 INT in_FRdoublek = -1;
17281 in_GRi = FLD (in_GRi);
17282 in_GRj = FLD (in_GRj);
17283 in_FRintk = FLD (in_FRintk);
17284 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17285 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17286 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
17287 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17289 return cycles;
17290 #undef FLD
17293 static int
17294 model_fr550_cstf (SIM_CPU *current_cpu, void *sem_arg)
17296 #define FLD(f) abuf->fields.sfmt_cstbfu.f
17297 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17298 const IDESC * UNUSED idesc = abuf->idesc;
17299 int cycles = 0;
17301 int referenced = 0;
17302 int UNUSED insn_referenced = abuf->written;
17303 INT in_GRi = -1;
17304 INT in_GRj = -1;
17305 INT in_FRintk = -1;
17306 INT in_FRdoublek = -1;
17307 in_GRi = FLD (in_GRi);
17308 in_GRj = FLD (in_GRj);
17309 in_FRintk = FLD (in_FRintk);
17310 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17311 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17312 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
17313 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17315 return cycles;
17316 #undef FLD
17319 static int
17320 model_fr550_cstd (SIM_CPU *current_cpu, void *sem_arg)
17322 #define FLD(f) abuf->fields.sfmt_cstdu.f
17323 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17324 const IDESC * UNUSED idesc = abuf->idesc;
17325 int cycles = 0;
17327 int referenced = 0;
17328 int UNUSED insn_referenced = abuf->written;
17329 INT in_GRi = -1;
17330 INT in_GRj = -1;
17331 INT in_GRk = -1;
17332 INT in_GRdoublek = -1;
17333 in_GRi = FLD (in_GRi);
17334 in_GRj = FLD (in_GRj);
17335 in_GRdoublek = FLD (in_GRdoublek);
17336 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17337 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17338 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
17339 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17341 return cycles;
17342 #undef FLD
17345 static int
17346 model_fr550_cstdf (SIM_CPU *current_cpu, void *sem_arg)
17348 #define FLD(f) abuf->fields.sfmt_cstdfu.f
17349 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17350 const IDESC * UNUSED idesc = abuf->idesc;
17351 int cycles = 0;
17353 int referenced = 0;
17354 int UNUSED insn_referenced = abuf->written;
17355 INT in_GRi = -1;
17356 INT in_GRj = -1;
17357 INT in_FRintk = -1;
17358 INT in_FRdoublek = -1;
17359 in_GRi = FLD (in_GRi);
17360 in_GRj = FLD (in_GRj);
17361 in_FRdoublek = FLD (in_FRdoublek);
17362 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17363 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17364 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
17365 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17367 return cycles;
17368 #undef FLD
17371 static int
17372 model_fr550_cstq (SIM_CPU *current_cpu, void *sem_arg)
17374 #define FLD(f) abuf->fields.sfmt_cswap.f
17375 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17376 const IDESC * UNUSED idesc = abuf->idesc;
17377 int cycles = 0;
17379 int referenced = 0;
17380 int UNUSED insn_referenced = abuf->written;
17381 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
17383 return cycles;
17384 #undef FLD
17387 static int
17388 model_fr550_cstbu (SIM_CPU *current_cpu, void *sem_arg)
17390 #define FLD(f) abuf->fields.sfmt_cstbu.f
17391 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17392 const IDESC * UNUSED idesc = abuf->idesc;
17393 int cycles = 0;
17395 int referenced = 0;
17396 int UNUSED insn_referenced = abuf->written;
17397 INT in_GRi = -1;
17398 INT in_GRj = -1;
17399 INT in_GRk = -1;
17400 INT in_GRdoublek = -1;
17401 in_GRi = FLD (in_GRi);
17402 in_GRj = FLD (in_GRj);
17403 in_GRk = FLD (in_GRk);
17404 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17405 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17406 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
17407 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17409 return cycles;
17410 #undef FLD
17413 static int
17414 model_fr550_csthu (SIM_CPU *current_cpu, void *sem_arg)
17416 #define FLD(f) abuf->fields.sfmt_cstbu.f
17417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17418 const IDESC * UNUSED idesc = abuf->idesc;
17419 int cycles = 0;
17421 int referenced = 0;
17422 int UNUSED insn_referenced = abuf->written;
17423 INT in_GRi = -1;
17424 INT in_GRj = -1;
17425 INT in_GRk = -1;
17426 INT in_GRdoublek = -1;
17427 in_GRi = FLD (in_GRi);
17428 in_GRj = FLD (in_GRj);
17429 in_GRk = FLD (in_GRk);
17430 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17431 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17432 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
17433 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17435 return cycles;
17436 #undef FLD
17439 static int
17440 model_fr550_cstu (SIM_CPU *current_cpu, void *sem_arg)
17442 #define FLD(f) abuf->fields.sfmt_cstbu.f
17443 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17444 const IDESC * UNUSED idesc = abuf->idesc;
17445 int cycles = 0;
17447 int referenced = 0;
17448 int UNUSED insn_referenced = abuf->written;
17449 INT in_GRi = -1;
17450 INT in_GRj = -1;
17451 INT in_GRk = -1;
17452 INT in_GRdoublek = -1;
17453 in_GRi = FLD (in_GRi);
17454 in_GRj = FLD (in_GRj);
17455 in_GRk = FLD (in_GRk);
17456 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17457 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17458 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
17459 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17461 return cycles;
17462 #undef FLD
17465 static int
17466 model_fr550_cstbfu (SIM_CPU *current_cpu, void *sem_arg)
17468 #define FLD(f) abuf->fields.sfmt_cstbfu.f
17469 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17470 const IDESC * UNUSED idesc = abuf->idesc;
17471 int cycles = 0;
17473 int referenced = 0;
17474 int UNUSED insn_referenced = abuf->written;
17475 INT in_GRi = -1;
17476 INT in_GRj = -1;
17477 INT in_FRintk = -1;
17478 INT in_FRdoublek = -1;
17479 in_GRi = FLD (in_GRi);
17480 in_GRj = FLD (in_GRj);
17481 in_FRintk = FLD (in_FRintk);
17482 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17483 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17484 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
17485 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17487 return cycles;
17488 #undef FLD
17491 static int
17492 model_fr550_csthfu (SIM_CPU *current_cpu, void *sem_arg)
17494 #define FLD(f) abuf->fields.sfmt_cstbfu.f
17495 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17496 const IDESC * UNUSED idesc = abuf->idesc;
17497 int cycles = 0;
17499 int referenced = 0;
17500 int UNUSED insn_referenced = abuf->written;
17501 INT in_GRi = -1;
17502 INT in_GRj = -1;
17503 INT in_FRintk = -1;
17504 INT in_FRdoublek = -1;
17505 in_GRi = FLD (in_GRi);
17506 in_GRj = FLD (in_GRj);
17507 in_FRintk = FLD (in_FRintk);
17508 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17509 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17510 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
17511 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17513 return cycles;
17514 #undef FLD
17517 static int
17518 model_fr550_cstfu (SIM_CPU *current_cpu, void *sem_arg)
17520 #define FLD(f) abuf->fields.sfmt_cstbfu.f
17521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17522 const IDESC * UNUSED idesc = abuf->idesc;
17523 int cycles = 0;
17525 int referenced = 0;
17526 int UNUSED insn_referenced = abuf->written;
17527 INT in_GRi = -1;
17528 INT in_GRj = -1;
17529 INT in_FRintk = -1;
17530 INT in_FRdoublek = -1;
17531 in_GRi = FLD (in_GRi);
17532 in_GRj = FLD (in_GRj);
17533 in_FRintk = FLD (in_FRintk);
17534 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17535 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17536 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
17537 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17539 return cycles;
17540 #undef FLD
17543 static int
17544 model_fr550_cstdu (SIM_CPU *current_cpu, void *sem_arg)
17546 #define FLD(f) abuf->fields.sfmt_cstdu.f
17547 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17548 const IDESC * UNUSED idesc = abuf->idesc;
17549 int cycles = 0;
17551 int referenced = 0;
17552 int UNUSED insn_referenced = abuf->written;
17553 INT in_GRi = -1;
17554 INT in_GRj = -1;
17555 INT in_GRk = -1;
17556 INT in_GRdoublek = -1;
17557 in_GRi = FLD (in_GRi);
17558 in_GRj = FLD (in_GRj);
17559 in_GRdoublek = FLD (in_GRdoublek);
17560 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17561 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17562 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
17563 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17565 return cycles;
17566 #undef FLD
17569 static int
17570 model_fr550_cstdfu (SIM_CPU *current_cpu, void *sem_arg)
17572 #define FLD(f) abuf->fields.sfmt_cstdfu.f
17573 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17574 const IDESC * UNUSED idesc = abuf->idesc;
17575 int cycles = 0;
17577 int referenced = 0;
17578 int UNUSED insn_referenced = abuf->written;
17579 INT in_GRi = -1;
17580 INT in_GRj = -1;
17581 INT in_FRintk = -1;
17582 INT in_FRdoublek = -1;
17583 in_GRi = FLD (in_GRi);
17584 in_GRj = FLD (in_GRj);
17585 in_FRdoublek = FLD (in_FRdoublek);
17586 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
17587 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
17588 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
17589 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17591 return cycles;
17592 #undef FLD
17595 static int
17596 model_fr550_stbi (SIM_CPU *current_cpu, void *sem_arg)
17598 #define FLD(f) abuf->fields.sfmt_swapi.f
17599 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17600 const IDESC * UNUSED idesc = abuf->idesc;
17601 int cycles = 0;
17603 int referenced = 0;
17604 int UNUSED insn_referenced = abuf->written;
17605 INT in_GRi = -1;
17606 INT in_GRj = -1;
17607 INT in_GRk = -1;
17608 INT in_GRdoublek = -1;
17609 in_GRi = FLD (in_GRi);
17610 in_GRk = FLD (in_GRk);
17611 referenced |= 1 << 0;
17612 referenced |= 1 << 2;
17613 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17615 return cycles;
17616 #undef FLD
17619 static int
17620 model_fr550_sthi (SIM_CPU *current_cpu, void *sem_arg)
17622 #define FLD(f) abuf->fields.sfmt_swapi.f
17623 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17624 const IDESC * UNUSED idesc = abuf->idesc;
17625 int cycles = 0;
17627 int referenced = 0;
17628 int UNUSED insn_referenced = abuf->written;
17629 INT in_GRi = -1;
17630 INT in_GRj = -1;
17631 INT in_GRk = -1;
17632 INT in_GRdoublek = -1;
17633 in_GRi = FLD (in_GRi);
17634 in_GRk = FLD (in_GRk);
17635 referenced |= 1 << 0;
17636 referenced |= 1 << 2;
17637 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17639 return cycles;
17640 #undef FLD
17643 static int
17644 model_fr550_sti (SIM_CPU *current_cpu, void *sem_arg)
17646 #define FLD(f) abuf->fields.sfmt_swapi.f
17647 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17648 const IDESC * UNUSED idesc = abuf->idesc;
17649 int cycles = 0;
17651 int referenced = 0;
17652 int UNUSED insn_referenced = abuf->written;
17653 INT in_GRi = -1;
17654 INT in_GRj = -1;
17655 INT in_GRk = -1;
17656 INT in_GRdoublek = -1;
17657 in_GRi = FLD (in_GRi);
17658 in_GRk = FLD (in_GRk);
17659 referenced |= 1 << 0;
17660 referenced |= 1 << 2;
17661 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17663 return cycles;
17664 #undef FLD
17667 static int
17668 model_fr550_stbfi (SIM_CPU *current_cpu, void *sem_arg)
17670 #define FLD(f) abuf->fields.sfmt_stbfi.f
17671 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17672 const IDESC * UNUSED idesc = abuf->idesc;
17673 int cycles = 0;
17675 int referenced = 0;
17676 int UNUSED insn_referenced = abuf->written;
17677 INT in_GRi = -1;
17678 INT in_GRj = -1;
17679 INT in_FRintk = -1;
17680 INT in_FRdoublek = -1;
17681 in_GRi = FLD (in_GRi);
17682 in_FRintk = FLD (in_FRintk);
17683 referenced |= 1 << 0;
17684 referenced |= 1 << 2;
17685 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17687 return cycles;
17688 #undef FLD
17691 static int
17692 model_fr550_sthfi (SIM_CPU *current_cpu, void *sem_arg)
17694 #define FLD(f) abuf->fields.sfmt_stbfi.f
17695 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17696 const IDESC * UNUSED idesc = abuf->idesc;
17697 int cycles = 0;
17699 int referenced = 0;
17700 int UNUSED insn_referenced = abuf->written;
17701 INT in_GRi = -1;
17702 INT in_GRj = -1;
17703 INT in_FRintk = -1;
17704 INT in_FRdoublek = -1;
17705 in_GRi = FLD (in_GRi);
17706 in_FRintk = FLD (in_FRintk);
17707 referenced |= 1 << 0;
17708 referenced |= 1 << 2;
17709 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17711 return cycles;
17712 #undef FLD
17715 static int
17716 model_fr550_stfi (SIM_CPU *current_cpu, void *sem_arg)
17718 #define FLD(f) abuf->fields.sfmt_stbfi.f
17719 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17720 const IDESC * UNUSED idesc = abuf->idesc;
17721 int cycles = 0;
17723 int referenced = 0;
17724 int UNUSED insn_referenced = abuf->written;
17725 INT in_GRi = -1;
17726 INT in_GRj = -1;
17727 INT in_FRintk = -1;
17728 INT in_FRdoublek = -1;
17729 in_GRi = FLD (in_GRi);
17730 in_FRintk = FLD (in_FRintk);
17731 referenced |= 1 << 0;
17732 referenced |= 1 << 2;
17733 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17735 return cycles;
17736 #undef FLD
17739 static int
17740 model_fr550_stdi (SIM_CPU *current_cpu, void *sem_arg)
17742 #define FLD(f) abuf->fields.sfmt_stdi.f
17743 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17744 const IDESC * UNUSED idesc = abuf->idesc;
17745 int cycles = 0;
17747 int referenced = 0;
17748 int UNUSED insn_referenced = abuf->written;
17749 INT in_GRi = -1;
17750 INT in_GRj = -1;
17751 INT in_GRk = -1;
17752 INT in_GRdoublek = -1;
17753 in_GRi = FLD (in_GRi);
17754 in_GRdoublek = FLD (in_GRdoublek);
17755 referenced |= 1 << 0;
17756 referenced |= 1 << 3;
17757 cycles += frvbf_model_fr550_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
17759 return cycles;
17760 #undef FLD
17763 static int
17764 model_fr550_stdfi (SIM_CPU *current_cpu, void *sem_arg)
17766 #define FLD(f) abuf->fields.sfmt_stdfi.f
17767 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17768 const IDESC * UNUSED idesc = abuf->idesc;
17769 int cycles = 0;
17771 int referenced = 0;
17772 int UNUSED insn_referenced = abuf->written;
17773 INT in_GRi = -1;
17774 INT in_GRj = -1;
17775 INT in_FRintk = -1;
17776 INT in_FRdoublek = -1;
17777 in_GRi = FLD (in_GRi);
17778 in_FRdoublek = FLD (in_FRdoublek);
17779 referenced |= 1 << 0;
17780 referenced |= 1 << 3;
17781 cycles += frvbf_model_fr550_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
17783 return cycles;
17784 #undef FLD
17787 static int
17788 model_fr550_stqi (SIM_CPU *current_cpu, void *sem_arg)
17790 #define FLD(f) abuf->fields.sfmt_stdi.f
17791 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17792 const IDESC * UNUSED idesc = abuf->idesc;
17793 int cycles = 0;
17795 int referenced = 0;
17796 int UNUSED insn_referenced = abuf->written;
17797 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
17799 return cycles;
17800 #undef FLD
17803 static int
17804 model_fr550_stqfi (SIM_CPU *current_cpu, void *sem_arg)
17806 #define FLD(f) abuf->fields.sfmt_stdfi.f
17807 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17808 const IDESC * UNUSED idesc = abuf->idesc;
17809 int cycles = 0;
17811 int referenced = 0;
17812 int UNUSED insn_referenced = abuf->written;
17813 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
17815 return cycles;
17816 #undef FLD
17819 static int
17820 model_fr550_swap (SIM_CPU *current_cpu, void *sem_arg)
17822 #define FLD(f) abuf->fields.sfmt_cswap.f
17823 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17824 const IDESC * UNUSED idesc = abuf->idesc;
17825 int cycles = 0;
17827 int referenced = 0;
17828 int UNUSED insn_referenced = abuf->written;
17829 INT in_GRi = -1;
17830 INT in_GRj = -1;
17831 INT out_GRk = -1;
17832 in_GRi = FLD (in_GRi);
17833 in_GRj = FLD (in_GRj);
17834 out_GRk = FLD (out_GRk);
17835 referenced |= 1 << 0;
17836 referenced |= 1 << 1;
17837 referenced |= 1 << 2;
17838 cycles += frvbf_model_fr550_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
17840 return cycles;
17841 #undef FLD
17844 static int
17845 model_fr550_swapi (SIM_CPU *current_cpu, void *sem_arg)
17847 #define FLD(f) abuf->fields.sfmt_swapi.f
17848 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17849 const IDESC * UNUSED idesc = abuf->idesc;
17850 int cycles = 0;
17852 int referenced = 0;
17853 int UNUSED insn_referenced = abuf->written;
17854 INT in_GRi = -1;
17855 INT in_GRj = -1;
17856 INT out_GRk = -1;
17857 in_GRi = FLD (in_GRi);
17858 out_GRk = FLD (out_GRk);
17859 referenced |= 1 << 0;
17860 referenced |= 1 << 2;
17861 cycles += frvbf_model_fr550_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
17863 return cycles;
17864 #undef FLD
17867 static int
17868 model_fr550_cswap (SIM_CPU *current_cpu, void *sem_arg)
17870 #define FLD(f) abuf->fields.sfmt_cswap.f
17871 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17872 const IDESC * UNUSED idesc = abuf->idesc;
17873 int cycles = 0;
17875 int referenced = 0;
17876 int UNUSED insn_referenced = abuf->written;
17877 INT in_GRi = -1;
17878 INT in_GRj = -1;
17879 INT out_GRk = -1;
17880 in_GRi = FLD (in_GRi);
17881 in_GRj = FLD (in_GRj);
17882 out_GRk = FLD (out_GRk);
17883 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
17884 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
17885 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
17886 cycles += frvbf_model_fr550_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
17888 return cycles;
17889 #undef FLD
17892 static int
17893 model_fr550_movgf (SIM_CPU *current_cpu, void *sem_arg)
17895 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
17896 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17897 const IDESC * UNUSED idesc = abuf->idesc;
17898 int cycles = 0;
17900 int referenced = 0;
17901 int UNUSED insn_referenced = abuf->written;
17902 INT in_GRj = -1;
17903 INT out_FRintk = -1;
17904 in_GRj = FLD (in_GRj);
17905 out_FRintk = FLD (out_FRintk);
17906 referenced |= 1 << 0;
17907 referenced |= 1 << 1;
17908 cycles += frvbf_model_fr550_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
17910 return cycles;
17911 #undef FLD
17914 static int
17915 model_fr550_movfg (SIM_CPU *current_cpu, void *sem_arg)
17917 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
17918 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17919 const IDESC * UNUSED idesc = abuf->idesc;
17920 int cycles = 0;
17922 int referenced = 0;
17923 int UNUSED insn_referenced = abuf->written;
17924 INT in_FRintk = -1;
17925 INT out_GRj = -1;
17926 in_FRintk = FLD (in_FRintk);
17927 out_GRj = FLD (out_GRj);
17928 referenced |= 1 << 0;
17929 referenced |= 1 << 1;
17930 cycles += frvbf_model_fr550_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
17932 return cycles;
17933 #undef FLD
17936 static int
17937 model_fr550_movgfd (SIM_CPU *current_cpu, void *sem_arg)
17939 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
17940 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17941 const IDESC * UNUSED idesc = abuf->idesc;
17942 int cycles = 0;
17944 int referenced = 0;
17945 int UNUSED insn_referenced = abuf->written;
17946 INT in_GRj = -1;
17947 INT out_FRintk = -1;
17948 in_GRj = FLD (in_GRj);
17949 out_FRintk = FLD (out_FRintk);
17950 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
17951 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
17952 cycles += frvbf_model_fr550_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
17954 return cycles;
17955 #undef FLD
17958 static int
17959 model_fr550_movfgd (SIM_CPU *current_cpu, void *sem_arg)
17961 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
17962 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17963 const IDESC * UNUSED idesc = abuf->idesc;
17964 int cycles = 0;
17966 int referenced = 0;
17967 int UNUSED insn_referenced = abuf->written;
17968 INT in_FRintk = -1;
17969 INT out_GRj = -1;
17970 in_FRintk = FLD (in_FRintk);
17971 out_GRj = FLD (out_GRj);
17972 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
17973 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
17974 cycles += frvbf_model_fr550_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
17976 return cycles;
17977 #undef FLD
17980 static int
17981 model_fr550_movgfq (SIM_CPU *current_cpu, void *sem_arg)
17983 #define FLD(f) abuf->fields.sfmt_movgfq.f
17984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
17985 const IDESC * UNUSED idesc = abuf->idesc;
17986 int cycles = 0;
17988 int referenced = 0;
17989 int UNUSED insn_referenced = abuf->written;
17990 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
17992 return cycles;
17993 #undef FLD
17996 static int
17997 model_fr550_movfgq (SIM_CPU *current_cpu, void *sem_arg)
17999 #define FLD(f) abuf->fields.sfmt_movfgq.f
18000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18001 const IDESC * UNUSED idesc = abuf->idesc;
18002 int cycles = 0;
18004 int referenced = 0;
18005 int UNUSED insn_referenced = abuf->written;
18006 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
18008 return cycles;
18009 #undef FLD
18012 static int
18013 model_fr550_cmovgf (SIM_CPU *current_cpu, void *sem_arg)
18015 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
18016 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18017 const IDESC * UNUSED idesc = abuf->idesc;
18018 int cycles = 0;
18020 int referenced = 0;
18021 int UNUSED insn_referenced = abuf->written;
18022 INT in_GRj = -1;
18023 INT out_FRintk = -1;
18024 in_GRj = FLD (in_GRj);
18025 out_FRintk = FLD (out_FRintk);
18026 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
18027 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
18028 cycles += frvbf_model_fr550_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
18030 return cycles;
18031 #undef FLD
18034 static int
18035 model_fr550_cmovfg (SIM_CPU *current_cpu, void *sem_arg)
18037 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
18038 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18039 const IDESC * UNUSED idesc = abuf->idesc;
18040 int cycles = 0;
18042 int referenced = 0;
18043 int UNUSED insn_referenced = abuf->written;
18044 INT in_FRintk = -1;
18045 INT out_GRj = -1;
18046 in_FRintk = FLD (in_FRintk);
18047 out_GRj = FLD (out_GRj);
18048 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
18049 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
18050 cycles += frvbf_model_fr550_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
18052 return cycles;
18053 #undef FLD
18056 static int
18057 model_fr550_cmovgfd (SIM_CPU *current_cpu, void *sem_arg)
18059 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
18060 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18061 const IDESC * UNUSED idesc = abuf->idesc;
18062 int cycles = 0;
18064 int referenced = 0;
18065 int UNUSED insn_referenced = abuf->written;
18066 INT in_GRj = -1;
18067 INT out_FRintk = -1;
18068 in_GRj = FLD (in_GRj);
18069 out_FRintk = FLD (out_FRintk);
18070 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
18071 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
18072 cycles += frvbf_model_fr550_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
18074 return cycles;
18075 #undef FLD
18078 static int
18079 model_fr550_cmovfgd (SIM_CPU *current_cpu, void *sem_arg)
18081 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
18082 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18083 const IDESC * UNUSED idesc = abuf->idesc;
18084 int cycles = 0;
18086 int referenced = 0;
18087 int UNUSED insn_referenced = abuf->written;
18088 INT in_FRintk = -1;
18089 INT out_GRj = -1;
18090 in_FRintk = FLD (in_FRintk);
18091 out_GRj = FLD (out_GRj);
18092 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
18093 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
18094 cycles += frvbf_model_fr550_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
18096 return cycles;
18097 #undef FLD
18100 static int
18101 model_fr550_movgs (SIM_CPU *current_cpu, void *sem_arg)
18103 #define FLD(f) abuf->fields.sfmt_movgs.f
18104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18105 const IDESC * UNUSED idesc = abuf->idesc;
18106 int cycles = 0;
18108 int referenced = 0;
18109 int UNUSED insn_referenced = abuf->written;
18110 INT in_GRj = -1;
18111 INT out_spr = -1;
18112 in_GRj = FLD (in_GRj);
18113 out_spr = FLD (out_spr);
18114 referenced |= 1 << 0;
18115 referenced |= 1 << 1;
18116 cycles += frvbf_model_fr550_u_gr2spr (current_cpu, idesc, 0, referenced, in_GRj, out_spr);
18118 return cycles;
18119 #undef FLD
18122 static int
18123 model_fr550_movsg (SIM_CPU *current_cpu, void *sem_arg)
18125 #define FLD(f) abuf->fields.sfmt_movsg.f
18126 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18127 const IDESC * UNUSED idesc = abuf->idesc;
18128 int cycles = 0;
18130 int referenced = 0;
18131 int UNUSED insn_referenced = abuf->written;
18132 INT in_spr = -1;
18133 INT out_GRj = -1;
18134 in_spr = FLD (in_spr);
18135 out_GRj = FLD (out_GRj);
18136 referenced |= 1 << 0;
18137 referenced |= 1 << 1;
18138 cycles += frvbf_model_fr550_u_spr2gr (current_cpu, idesc, 0, referenced, in_spr, out_GRj);
18140 return cycles;
18141 #undef FLD
18144 static int
18145 model_fr550_bra (SIM_CPU *current_cpu, void *sem_arg)
18147 #define FLD(f) abuf->fields.sfmt_fbne.f
18148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18149 const IDESC * UNUSED idesc = abuf->idesc;
18150 int cycles = 0;
18152 int referenced = 0;
18153 int UNUSED insn_referenced = abuf->written;
18154 INT in_GRi = -1;
18155 INT in_GRj = -1;
18156 INT in_ICCi_2 = -1;
18157 INT in_FCCi_2 = -1;
18158 referenced |= 1 << 4;
18159 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18161 return cycles;
18162 #undef FLD
18165 static int
18166 model_fr550_bno (SIM_CPU *current_cpu, void *sem_arg)
18168 #define FLD(f) abuf->fields.sfmt_fbne.f
18169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18170 const IDESC * UNUSED idesc = abuf->idesc;
18171 int cycles = 0;
18173 int referenced = 0;
18174 int UNUSED insn_referenced = abuf->written;
18175 INT in_GRi = -1;
18176 INT in_GRj = -1;
18177 INT in_ICCi_2 = -1;
18178 INT in_FCCi_2 = -1;
18179 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18181 return cycles;
18182 #undef FLD
18185 static int
18186 model_fr550_beq (SIM_CPU *current_cpu, void *sem_arg)
18188 #define FLD(f) abuf->fields.sfmt_beq.f
18189 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18190 const IDESC * UNUSED idesc = abuf->idesc;
18191 int cycles = 0;
18193 int referenced = 0;
18194 int UNUSED insn_referenced = abuf->written;
18195 INT in_GRi = -1;
18196 INT in_GRj = -1;
18197 INT in_ICCi_2 = -1;
18198 INT in_FCCi_2 = -1;
18199 in_ICCi_2 = FLD (in_ICCi_2);
18200 referenced |= 1 << 2;
18201 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18202 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18204 return cycles;
18205 #undef FLD
18208 static int
18209 model_fr550_bne (SIM_CPU *current_cpu, void *sem_arg)
18211 #define FLD(f) abuf->fields.sfmt_beq.f
18212 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18213 const IDESC * UNUSED idesc = abuf->idesc;
18214 int cycles = 0;
18216 int referenced = 0;
18217 int UNUSED insn_referenced = abuf->written;
18218 INT in_GRi = -1;
18219 INT in_GRj = -1;
18220 INT in_ICCi_2 = -1;
18221 INT in_FCCi_2 = -1;
18222 in_ICCi_2 = FLD (in_ICCi_2);
18223 referenced |= 1 << 2;
18224 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18225 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18227 return cycles;
18228 #undef FLD
18231 static int
18232 model_fr550_ble (SIM_CPU *current_cpu, void *sem_arg)
18234 #define FLD(f) abuf->fields.sfmt_beq.f
18235 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18236 const IDESC * UNUSED idesc = abuf->idesc;
18237 int cycles = 0;
18239 int referenced = 0;
18240 int UNUSED insn_referenced = abuf->written;
18241 INT in_GRi = -1;
18242 INT in_GRj = -1;
18243 INT in_ICCi_2 = -1;
18244 INT in_FCCi_2 = -1;
18245 in_ICCi_2 = FLD (in_ICCi_2);
18246 referenced |= 1 << 2;
18247 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18248 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18250 return cycles;
18251 #undef FLD
18254 static int
18255 model_fr550_bgt (SIM_CPU *current_cpu, void *sem_arg)
18257 #define FLD(f) abuf->fields.sfmt_beq.f
18258 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18259 const IDESC * UNUSED idesc = abuf->idesc;
18260 int cycles = 0;
18262 int referenced = 0;
18263 int UNUSED insn_referenced = abuf->written;
18264 INT in_GRi = -1;
18265 INT in_GRj = -1;
18266 INT in_ICCi_2 = -1;
18267 INT in_FCCi_2 = -1;
18268 in_ICCi_2 = FLD (in_ICCi_2);
18269 referenced |= 1 << 2;
18270 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18271 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18273 return cycles;
18274 #undef FLD
18277 static int
18278 model_fr550_blt (SIM_CPU *current_cpu, void *sem_arg)
18280 #define FLD(f) abuf->fields.sfmt_beq.f
18281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18282 const IDESC * UNUSED idesc = abuf->idesc;
18283 int cycles = 0;
18285 int referenced = 0;
18286 int UNUSED insn_referenced = abuf->written;
18287 INT in_GRi = -1;
18288 INT in_GRj = -1;
18289 INT in_ICCi_2 = -1;
18290 INT in_FCCi_2 = -1;
18291 in_ICCi_2 = FLD (in_ICCi_2);
18292 referenced |= 1 << 2;
18293 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18294 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18296 return cycles;
18297 #undef FLD
18300 static int
18301 model_fr550_bge (SIM_CPU *current_cpu, void *sem_arg)
18303 #define FLD(f) abuf->fields.sfmt_beq.f
18304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18305 const IDESC * UNUSED idesc = abuf->idesc;
18306 int cycles = 0;
18308 int referenced = 0;
18309 int UNUSED insn_referenced = abuf->written;
18310 INT in_GRi = -1;
18311 INT in_GRj = -1;
18312 INT in_ICCi_2 = -1;
18313 INT in_FCCi_2 = -1;
18314 in_ICCi_2 = FLD (in_ICCi_2);
18315 referenced |= 1 << 2;
18316 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18317 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18319 return cycles;
18320 #undef FLD
18323 static int
18324 model_fr550_bls (SIM_CPU *current_cpu, void *sem_arg)
18326 #define FLD(f) abuf->fields.sfmt_beq.f
18327 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18328 const IDESC * UNUSED idesc = abuf->idesc;
18329 int cycles = 0;
18331 int referenced = 0;
18332 int UNUSED insn_referenced = abuf->written;
18333 INT in_GRi = -1;
18334 INT in_GRj = -1;
18335 INT in_ICCi_2 = -1;
18336 INT in_FCCi_2 = -1;
18337 in_ICCi_2 = FLD (in_ICCi_2);
18338 referenced |= 1 << 2;
18339 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18340 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18342 return cycles;
18343 #undef FLD
18346 static int
18347 model_fr550_bhi (SIM_CPU *current_cpu, void *sem_arg)
18349 #define FLD(f) abuf->fields.sfmt_beq.f
18350 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18351 const IDESC * UNUSED idesc = abuf->idesc;
18352 int cycles = 0;
18354 int referenced = 0;
18355 int UNUSED insn_referenced = abuf->written;
18356 INT in_GRi = -1;
18357 INT in_GRj = -1;
18358 INT in_ICCi_2 = -1;
18359 INT in_FCCi_2 = -1;
18360 in_ICCi_2 = FLD (in_ICCi_2);
18361 referenced |= 1 << 2;
18362 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18363 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18365 return cycles;
18366 #undef FLD
18369 static int
18370 model_fr550_bc (SIM_CPU *current_cpu, void *sem_arg)
18372 #define FLD(f) abuf->fields.sfmt_beq.f
18373 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18374 const IDESC * UNUSED idesc = abuf->idesc;
18375 int cycles = 0;
18377 int referenced = 0;
18378 int UNUSED insn_referenced = abuf->written;
18379 INT in_GRi = -1;
18380 INT in_GRj = -1;
18381 INT in_ICCi_2 = -1;
18382 INT in_FCCi_2 = -1;
18383 in_ICCi_2 = FLD (in_ICCi_2);
18384 referenced |= 1 << 2;
18385 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18386 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18388 return cycles;
18389 #undef FLD
18392 static int
18393 model_fr550_bnc (SIM_CPU *current_cpu, void *sem_arg)
18395 #define FLD(f) abuf->fields.sfmt_beq.f
18396 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18397 const IDESC * UNUSED idesc = abuf->idesc;
18398 int cycles = 0;
18400 int referenced = 0;
18401 int UNUSED insn_referenced = abuf->written;
18402 INT in_GRi = -1;
18403 INT in_GRj = -1;
18404 INT in_ICCi_2 = -1;
18405 INT in_FCCi_2 = -1;
18406 in_ICCi_2 = FLD (in_ICCi_2);
18407 referenced |= 1 << 2;
18408 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18409 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18411 return cycles;
18412 #undef FLD
18415 static int
18416 model_fr550_bn (SIM_CPU *current_cpu, void *sem_arg)
18418 #define FLD(f) abuf->fields.sfmt_beq.f
18419 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18420 const IDESC * UNUSED idesc = abuf->idesc;
18421 int cycles = 0;
18423 int referenced = 0;
18424 int UNUSED insn_referenced = abuf->written;
18425 INT in_GRi = -1;
18426 INT in_GRj = -1;
18427 INT in_ICCi_2 = -1;
18428 INT in_FCCi_2 = -1;
18429 in_ICCi_2 = FLD (in_ICCi_2);
18430 referenced |= 1 << 2;
18431 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18432 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18434 return cycles;
18435 #undef FLD
18438 static int
18439 model_fr550_bp (SIM_CPU *current_cpu, void *sem_arg)
18441 #define FLD(f) abuf->fields.sfmt_beq.f
18442 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18443 const IDESC * UNUSED idesc = abuf->idesc;
18444 int cycles = 0;
18446 int referenced = 0;
18447 int UNUSED insn_referenced = abuf->written;
18448 INT in_GRi = -1;
18449 INT in_GRj = -1;
18450 INT in_ICCi_2 = -1;
18451 INT in_FCCi_2 = -1;
18452 in_ICCi_2 = FLD (in_ICCi_2);
18453 referenced |= 1 << 2;
18454 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18455 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18457 return cycles;
18458 #undef FLD
18461 static int
18462 model_fr550_bv (SIM_CPU *current_cpu, void *sem_arg)
18464 #define FLD(f) abuf->fields.sfmt_beq.f
18465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18466 const IDESC * UNUSED idesc = abuf->idesc;
18467 int cycles = 0;
18469 int referenced = 0;
18470 int UNUSED insn_referenced = abuf->written;
18471 INT in_GRi = -1;
18472 INT in_GRj = -1;
18473 INT in_ICCi_2 = -1;
18474 INT in_FCCi_2 = -1;
18475 in_ICCi_2 = FLD (in_ICCi_2);
18476 referenced |= 1 << 2;
18477 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18478 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18480 return cycles;
18481 #undef FLD
18484 static int
18485 model_fr550_bnv (SIM_CPU *current_cpu, void *sem_arg)
18487 #define FLD(f) abuf->fields.sfmt_beq.f
18488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18489 const IDESC * UNUSED idesc = abuf->idesc;
18490 int cycles = 0;
18492 int referenced = 0;
18493 int UNUSED insn_referenced = abuf->written;
18494 INT in_GRi = -1;
18495 INT in_GRj = -1;
18496 INT in_ICCi_2 = -1;
18497 INT in_FCCi_2 = -1;
18498 in_ICCi_2 = FLD (in_ICCi_2);
18499 referenced |= 1 << 2;
18500 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18501 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18503 return cycles;
18504 #undef FLD
18507 static int
18508 model_fr550_fbra (SIM_CPU *current_cpu, void *sem_arg)
18510 #define FLD(f) abuf->fields.sfmt_fbne.f
18511 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18512 const IDESC * UNUSED idesc = abuf->idesc;
18513 int cycles = 0;
18515 int referenced = 0;
18516 int UNUSED insn_referenced = abuf->written;
18517 INT in_GRi = -1;
18518 INT in_GRj = -1;
18519 INT in_ICCi_2 = -1;
18520 INT in_FCCi_2 = -1;
18521 referenced |= 1 << 4;
18522 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18524 return cycles;
18525 #undef FLD
18528 static int
18529 model_fr550_fbno (SIM_CPU *current_cpu, void *sem_arg)
18531 #define FLD(f) abuf->fields.sfmt_fbne.f
18532 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18533 const IDESC * UNUSED idesc = abuf->idesc;
18534 int cycles = 0;
18536 int referenced = 0;
18537 int UNUSED insn_referenced = abuf->written;
18538 INT in_GRi = -1;
18539 INT in_GRj = -1;
18540 INT in_ICCi_2 = -1;
18541 INT in_FCCi_2 = -1;
18542 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18544 return cycles;
18545 #undef FLD
18548 static int
18549 model_fr550_fbne (SIM_CPU *current_cpu, void *sem_arg)
18551 #define FLD(f) abuf->fields.sfmt_fbne.f
18552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18553 const IDESC * UNUSED idesc = abuf->idesc;
18554 int cycles = 0;
18556 int referenced = 0;
18557 int UNUSED insn_referenced = abuf->written;
18558 INT in_GRi = -1;
18559 INT in_GRj = -1;
18560 INT in_ICCi_2 = -1;
18561 INT in_FCCi_2 = -1;
18562 in_FCCi_2 = FLD (in_FCCi_2);
18563 referenced |= 1 << 3;
18564 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18565 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18567 return cycles;
18568 #undef FLD
18571 static int
18572 model_fr550_fbeq (SIM_CPU *current_cpu, void *sem_arg)
18574 #define FLD(f) abuf->fields.sfmt_fbne.f
18575 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18576 const IDESC * UNUSED idesc = abuf->idesc;
18577 int cycles = 0;
18579 int referenced = 0;
18580 int UNUSED insn_referenced = abuf->written;
18581 INT in_GRi = -1;
18582 INT in_GRj = -1;
18583 INT in_ICCi_2 = -1;
18584 INT in_FCCi_2 = -1;
18585 in_FCCi_2 = FLD (in_FCCi_2);
18586 referenced |= 1 << 3;
18587 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18588 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18590 return cycles;
18591 #undef FLD
18594 static int
18595 model_fr550_fblg (SIM_CPU *current_cpu, void *sem_arg)
18597 #define FLD(f) abuf->fields.sfmt_fbne.f
18598 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18599 const IDESC * UNUSED idesc = abuf->idesc;
18600 int cycles = 0;
18602 int referenced = 0;
18603 int UNUSED insn_referenced = abuf->written;
18604 INT in_GRi = -1;
18605 INT in_GRj = -1;
18606 INT in_ICCi_2 = -1;
18607 INT in_FCCi_2 = -1;
18608 in_FCCi_2 = FLD (in_FCCi_2);
18609 referenced |= 1 << 3;
18610 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18611 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18613 return cycles;
18614 #undef FLD
18617 static int
18618 model_fr550_fbue (SIM_CPU *current_cpu, void *sem_arg)
18620 #define FLD(f) abuf->fields.sfmt_fbne.f
18621 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18622 const IDESC * UNUSED idesc = abuf->idesc;
18623 int cycles = 0;
18625 int referenced = 0;
18626 int UNUSED insn_referenced = abuf->written;
18627 INT in_GRi = -1;
18628 INT in_GRj = -1;
18629 INT in_ICCi_2 = -1;
18630 INT in_FCCi_2 = -1;
18631 in_FCCi_2 = FLD (in_FCCi_2);
18632 referenced |= 1 << 3;
18633 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18634 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18636 return cycles;
18637 #undef FLD
18640 static int
18641 model_fr550_fbul (SIM_CPU *current_cpu, void *sem_arg)
18643 #define FLD(f) abuf->fields.sfmt_fbne.f
18644 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18645 const IDESC * UNUSED idesc = abuf->idesc;
18646 int cycles = 0;
18648 int referenced = 0;
18649 int UNUSED insn_referenced = abuf->written;
18650 INT in_GRi = -1;
18651 INT in_GRj = -1;
18652 INT in_ICCi_2 = -1;
18653 INT in_FCCi_2 = -1;
18654 in_FCCi_2 = FLD (in_FCCi_2);
18655 referenced |= 1 << 3;
18656 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18657 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18659 return cycles;
18660 #undef FLD
18663 static int
18664 model_fr550_fbge (SIM_CPU *current_cpu, void *sem_arg)
18666 #define FLD(f) abuf->fields.sfmt_fbne.f
18667 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18668 const IDESC * UNUSED idesc = abuf->idesc;
18669 int cycles = 0;
18671 int referenced = 0;
18672 int UNUSED insn_referenced = abuf->written;
18673 INT in_GRi = -1;
18674 INT in_GRj = -1;
18675 INT in_ICCi_2 = -1;
18676 INT in_FCCi_2 = -1;
18677 in_FCCi_2 = FLD (in_FCCi_2);
18678 referenced |= 1 << 3;
18679 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18680 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18682 return cycles;
18683 #undef FLD
18686 static int
18687 model_fr550_fblt (SIM_CPU *current_cpu, void *sem_arg)
18689 #define FLD(f) abuf->fields.sfmt_fbne.f
18690 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18691 const IDESC * UNUSED idesc = abuf->idesc;
18692 int cycles = 0;
18694 int referenced = 0;
18695 int UNUSED insn_referenced = abuf->written;
18696 INT in_GRi = -1;
18697 INT in_GRj = -1;
18698 INT in_ICCi_2 = -1;
18699 INT in_FCCi_2 = -1;
18700 in_FCCi_2 = FLD (in_FCCi_2);
18701 referenced |= 1 << 3;
18702 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18703 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18705 return cycles;
18706 #undef FLD
18709 static int
18710 model_fr550_fbuge (SIM_CPU *current_cpu, void *sem_arg)
18712 #define FLD(f) abuf->fields.sfmt_fbne.f
18713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18714 const IDESC * UNUSED idesc = abuf->idesc;
18715 int cycles = 0;
18717 int referenced = 0;
18718 int UNUSED insn_referenced = abuf->written;
18719 INT in_GRi = -1;
18720 INT in_GRj = -1;
18721 INT in_ICCi_2 = -1;
18722 INT in_FCCi_2 = -1;
18723 in_FCCi_2 = FLD (in_FCCi_2);
18724 referenced |= 1 << 3;
18725 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18726 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18728 return cycles;
18729 #undef FLD
18732 static int
18733 model_fr550_fbug (SIM_CPU *current_cpu, void *sem_arg)
18735 #define FLD(f) abuf->fields.sfmt_fbne.f
18736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18737 const IDESC * UNUSED idesc = abuf->idesc;
18738 int cycles = 0;
18740 int referenced = 0;
18741 int UNUSED insn_referenced = abuf->written;
18742 INT in_GRi = -1;
18743 INT in_GRj = -1;
18744 INT in_ICCi_2 = -1;
18745 INT in_FCCi_2 = -1;
18746 in_FCCi_2 = FLD (in_FCCi_2);
18747 referenced |= 1 << 3;
18748 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18749 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18751 return cycles;
18752 #undef FLD
18755 static int
18756 model_fr550_fble (SIM_CPU *current_cpu, void *sem_arg)
18758 #define FLD(f) abuf->fields.sfmt_fbne.f
18759 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18760 const IDESC * UNUSED idesc = abuf->idesc;
18761 int cycles = 0;
18763 int referenced = 0;
18764 int UNUSED insn_referenced = abuf->written;
18765 INT in_GRi = -1;
18766 INT in_GRj = -1;
18767 INT in_ICCi_2 = -1;
18768 INT in_FCCi_2 = -1;
18769 in_FCCi_2 = FLD (in_FCCi_2);
18770 referenced |= 1 << 3;
18771 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18772 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18774 return cycles;
18775 #undef FLD
18778 static int
18779 model_fr550_fbgt (SIM_CPU *current_cpu, void *sem_arg)
18781 #define FLD(f) abuf->fields.sfmt_fbne.f
18782 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18783 const IDESC * UNUSED idesc = abuf->idesc;
18784 int cycles = 0;
18786 int referenced = 0;
18787 int UNUSED insn_referenced = abuf->written;
18788 INT in_GRi = -1;
18789 INT in_GRj = -1;
18790 INT in_ICCi_2 = -1;
18791 INT in_FCCi_2 = -1;
18792 in_FCCi_2 = FLD (in_FCCi_2);
18793 referenced |= 1 << 3;
18794 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18795 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18797 return cycles;
18798 #undef FLD
18801 static int
18802 model_fr550_fbule (SIM_CPU *current_cpu, void *sem_arg)
18804 #define FLD(f) abuf->fields.sfmt_fbne.f
18805 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18806 const IDESC * UNUSED idesc = abuf->idesc;
18807 int cycles = 0;
18809 int referenced = 0;
18810 int UNUSED insn_referenced = abuf->written;
18811 INT in_GRi = -1;
18812 INT in_GRj = -1;
18813 INT in_ICCi_2 = -1;
18814 INT in_FCCi_2 = -1;
18815 in_FCCi_2 = FLD (in_FCCi_2);
18816 referenced |= 1 << 3;
18817 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18818 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18820 return cycles;
18821 #undef FLD
18824 static int
18825 model_fr550_fbu (SIM_CPU *current_cpu, void *sem_arg)
18827 #define FLD(f) abuf->fields.sfmt_fbne.f
18828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18829 const IDESC * UNUSED idesc = abuf->idesc;
18830 int cycles = 0;
18832 int referenced = 0;
18833 int UNUSED insn_referenced = abuf->written;
18834 INT in_GRi = -1;
18835 INT in_GRj = -1;
18836 INT in_ICCi_2 = -1;
18837 INT in_FCCi_2 = -1;
18838 in_FCCi_2 = FLD (in_FCCi_2);
18839 referenced |= 1 << 3;
18840 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18841 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18843 return cycles;
18844 #undef FLD
18847 static int
18848 model_fr550_fbo (SIM_CPU *current_cpu, void *sem_arg)
18850 #define FLD(f) abuf->fields.sfmt_fbne.f
18851 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18852 const IDESC * UNUSED idesc = abuf->idesc;
18853 int cycles = 0;
18855 int referenced = 0;
18856 int UNUSED insn_referenced = abuf->written;
18857 INT in_GRi = -1;
18858 INT in_GRj = -1;
18859 INT in_ICCi_2 = -1;
18860 INT in_FCCi_2 = -1;
18861 in_FCCi_2 = FLD (in_FCCi_2);
18862 referenced |= 1 << 3;
18863 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18864 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18866 return cycles;
18867 #undef FLD
18870 static int
18871 model_fr550_bctrlr (SIM_CPU *current_cpu, void *sem_arg)
18873 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
18874 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18875 const IDESC * UNUSED idesc = abuf->idesc;
18876 int cycles = 0;
18878 int referenced = 0;
18879 int UNUSED insn_referenced = abuf->written;
18880 INT in_GRi = -1;
18881 INT in_GRj = -1;
18882 INT in_ICCi_2 = -1;
18883 INT in_FCCi_2 = -1;
18884 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
18885 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18887 return cycles;
18888 #undef FLD
18891 static int
18892 model_fr550_bralr (SIM_CPU *current_cpu, void *sem_arg)
18894 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
18895 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18896 const IDESC * UNUSED idesc = abuf->idesc;
18897 int cycles = 0;
18899 int referenced = 0;
18900 int UNUSED insn_referenced = abuf->written;
18901 INT in_GRi = -1;
18902 INT in_GRj = -1;
18903 INT in_ICCi_2 = -1;
18904 INT in_FCCi_2 = -1;
18905 referenced |= 1 << 4;
18906 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18908 return cycles;
18909 #undef FLD
18912 static int
18913 model_fr550_bnolr (SIM_CPU *current_cpu, void *sem_arg)
18915 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
18916 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18917 const IDESC * UNUSED idesc = abuf->idesc;
18918 int cycles = 0;
18920 int referenced = 0;
18921 int UNUSED insn_referenced = abuf->written;
18922 INT in_GRi = -1;
18923 INT in_GRj = -1;
18924 INT in_ICCi_2 = -1;
18925 INT in_FCCi_2 = -1;
18926 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18928 return cycles;
18929 #undef FLD
18932 static int
18933 model_fr550_beqlr (SIM_CPU *current_cpu, void *sem_arg)
18935 #define FLD(f) abuf->fields.sfmt_bceqlr.f
18936 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18937 const IDESC * UNUSED idesc = abuf->idesc;
18938 int cycles = 0;
18940 int referenced = 0;
18941 int UNUSED insn_referenced = abuf->written;
18942 INT in_GRi = -1;
18943 INT in_GRj = -1;
18944 INT in_ICCi_2 = -1;
18945 INT in_FCCi_2 = -1;
18946 in_ICCi_2 = FLD (in_ICCi_2);
18947 referenced |= 1 << 2;
18948 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18949 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18951 return cycles;
18952 #undef FLD
18955 static int
18956 model_fr550_bnelr (SIM_CPU *current_cpu, void *sem_arg)
18958 #define FLD(f) abuf->fields.sfmt_bceqlr.f
18959 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18960 const IDESC * UNUSED idesc = abuf->idesc;
18961 int cycles = 0;
18963 int referenced = 0;
18964 int UNUSED insn_referenced = abuf->written;
18965 INT in_GRi = -1;
18966 INT in_GRj = -1;
18967 INT in_ICCi_2 = -1;
18968 INT in_FCCi_2 = -1;
18969 in_ICCi_2 = FLD (in_ICCi_2);
18970 referenced |= 1 << 2;
18971 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18972 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18974 return cycles;
18975 #undef FLD
18978 static int
18979 model_fr550_blelr (SIM_CPU *current_cpu, void *sem_arg)
18981 #define FLD(f) abuf->fields.sfmt_bceqlr.f
18982 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
18983 const IDESC * UNUSED idesc = abuf->idesc;
18984 int cycles = 0;
18986 int referenced = 0;
18987 int UNUSED insn_referenced = abuf->written;
18988 INT in_GRi = -1;
18989 INT in_GRj = -1;
18990 INT in_ICCi_2 = -1;
18991 INT in_FCCi_2 = -1;
18992 in_ICCi_2 = FLD (in_ICCi_2);
18993 referenced |= 1 << 2;
18994 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
18995 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
18997 return cycles;
18998 #undef FLD
19001 static int
19002 model_fr550_bgtlr (SIM_CPU *current_cpu, void *sem_arg)
19004 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19005 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19006 const IDESC * UNUSED idesc = abuf->idesc;
19007 int cycles = 0;
19009 int referenced = 0;
19010 int UNUSED insn_referenced = abuf->written;
19011 INT in_GRi = -1;
19012 INT in_GRj = -1;
19013 INT in_ICCi_2 = -1;
19014 INT in_FCCi_2 = -1;
19015 in_ICCi_2 = FLD (in_ICCi_2);
19016 referenced |= 1 << 2;
19017 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19018 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19020 return cycles;
19021 #undef FLD
19024 static int
19025 model_fr550_bltlr (SIM_CPU *current_cpu, void *sem_arg)
19027 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19028 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19029 const IDESC * UNUSED idesc = abuf->idesc;
19030 int cycles = 0;
19032 int referenced = 0;
19033 int UNUSED insn_referenced = abuf->written;
19034 INT in_GRi = -1;
19035 INT in_GRj = -1;
19036 INT in_ICCi_2 = -1;
19037 INT in_FCCi_2 = -1;
19038 in_ICCi_2 = FLD (in_ICCi_2);
19039 referenced |= 1 << 2;
19040 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19041 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19043 return cycles;
19044 #undef FLD
19047 static int
19048 model_fr550_bgelr (SIM_CPU *current_cpu, void *sem_arg)
19050 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19051 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19052 const IDESC * UNUSED idesc = abuf->idesc;
19053 int cycles = 0;
19055 int referenced = 0;
19056 int UNUSED insn_referenced = abuf->written;
19057 INT in_GRi = -1;
19058 INT in_GRj = -1;
19059 INT in_ICCi_2 = -1;
19060 INT in_FCCi_2 = -1;
19061 in_ICCi_2 = FLD (in_ICCi_2);
19062 referenced |= 1 << 2;
19063 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19064 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19066 return cycles;
19067 #undef FLD
19070 static int
19071 model_fr550_blslr (SIM_CPU *current_cpu, void *sem_arg)
19073 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19074 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19075 const IDESC * UNUSED idesc = abuf->idesc;
19076 int cycles = 0;
19078 int referenced = 0;
19079 int UNUSED insn_referenced = abuf->written;
19080 INT in_GRi = -1;
19081 INT in_GRj = -1;
19082 INT in_ICCi_2 = -1;
19083 INT in_FCCi_2 = -1;
19084 in_ICCi_2 = FLD (in_ICCi_2);
19085 referenced |= 1 << 2;
19086 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19087 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19089 return cycles;
19090 #undef FLD
19093 static int
19094 model_fr550_bhilr (SIM_CPU *current_cpu, void *sem_arg)
19096 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19098 const IDESC * UNUSED idesc = abuf->idesc;
19099 int cycles = 0;
19101 int referenced = 0;
19102 int UNUSED insn_referenced = abuf->written;
19103 INT in_GRi = -1;
19104 INT in_GRj = -1;
19105 INT in_ICCi_2 = -1;
19106 INT in_FCCi_2 = -1;
19107 in_ICCi_2 = FLD (in_ICCi_2);
19108 referenced |= 1 << 2;
19109 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19110 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19112 return cycles;
19113 #undef FLD
19116 static int
19117 model_fr550_bclr (SIM_CPU *current_cpu, void *sem_arg)
19119 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19120 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19121 const IDESC * UNUSED idesc = abuf->idesc;
19122 int cycles = 0;
19124 int referenced = 0;
19125 int UNUSED insn_referenced = abuf->written;
19126 INT in_GRi = -1;
19127 INT in_GRj = -1;
19128 INT in_ICCi_2 = -1;
19129 INT in_FCCi_2 = -1;
19130 in_ICCi_2 = FLD (in_ICCi_2);
19131 referenced |= 1 << 2;
19132 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19133 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19135 return cycles;
19136 #undef FLD
19139 static int
19140 model_fr550_bnclr (SIM_CPU *current_cpu, void *sem_arg)
19142 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19143 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19144 const IDESC * UNUSED idesc = abuf->idesc;
19145 int cycles = 0;
19147 int referenced = 0;
19148 int UNUSED insn_referenced = abuf->written;
19149 INT in_GRi = -1;
19150 INT in_GRj = -1;
19151 INT in_ICCi_2 = -1;
19152 INT in_FCCi_2 = -1;
19153 in_ICCi_2 = FLD (in_ICCi_2);
19154 referenced |= 1 << 2;
19155 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19156 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19158 return cycles;
19159 #undef FLD
19162 static int
19163 model_fr550_bnlr (SIM_CPU *current_cpu, void *sem_arg)
19165 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19166 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19167 const IDESC * UNUSED idesc = abuf->idesc;
19168 int cycles = 0;
19170 int referenced = 0;
19171 int UNUSED insn_referenced = abuf->written;
19172 INT in_GRi = -1;
19173 INT in_GRj = -1;
19174 INT in_ICCi_2 = -1;
19175 INT in_FCCi_2 = -1;
19176 in_ICCi_2 = FLD (in_ICCi_2);
19177 referenced |= 1 << 2;
19178 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19179 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19181 return cycles;
19182 #undef FLD
19185 static int
19186 model_fr550_bplr (SIM_CPU *current_cpu, void *sem_arg)
19188 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19189 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19190 const IDESC * UNUSED idesc = abuf->idesc;
19191 int cycles = 0;
19193 int referenced = 0;
19194 int UNUSED insn_referenced = abuf->written;
19195 INT in_GRi = -1;
19196 INT in_GRj = -1;
19197 INT in_ICCi_2 = -1;
19198 INT in_FCCi_2 = -1;
19199 in_ICCi_2 = FLD (in_ICCi_2);
19200 referenced |= 1 << 2;
19201 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19202 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19204 return cycles;
19205 #undef FLD
19208 static int
19209 model_fr550_bvlr (SIM_CPU *current_cpu, void *sem_arg)
19211 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19212 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19213 const IDESC * UNUSED idesc = abuf->idesc;
19214 int cycles = 0;
19216 int referenced = 0;
19217 int UNUSED insn_referenced = abuf->written;
19218 INT in_GRi = -1;
19219 INT in_GRj = -1;
19220 INT in_ICCi_2 = -1;
19221 INT in_FCCi_2 = -1;
19222 in_ICCi_2 = FLD (in_ICCi_2);
19223 referenced |= 1 << 2;
19224 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19225 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19227 return cycles;
19228 #undef FLD
19231 static int
19232 model_fr550_bnvlr (SIM_CPU *current_cpu, void *sem_arg)
19234 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19235 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19236 const IDESC * UNUSED idesc = abuf->idesc;
19237 int cycles = 0;
19239 int referenced = 0;
19240 int UNUSED insn_referenced = abuf->written;
19241 INT in_GRi = -1;
19242 INT in_GRj = -1;
19243 INT in_ICCi_2 = -1;
19244 INT in_FCCi_2 = -1;
19245 in_ICCi_2 = FLD (in_ICCi_2);
19246 referenced |= 1 << 2;
19247 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19248 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19250 return cycles;
19251 #undef FLD
19254 static int
19255 model_fr550_fbralr (SIM_CPU *current_cpu, void *sem_arg)
19257 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19258 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19259 const IDESC * UNUSED idesc = abuf->idesc;
19260 int cycles = 0;
19262 int referenced = 0;
19263 int UNUSED insn_referenced = abuf->written;
19264 INT in_GRi = -1;
19265 INT in_GRj = -1;
19266 INT in_ICCi_2 = -1;
19267 INT in_FCCi_2 = -1;
19268 referenced |= 1 << 4;
19269 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19271 return cycles;
19272 #undef FLD
19275 static int
19276 model_fr550_fbnolr (SIM_CPU *current_cpu, void *sem_arg)
19278 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19279 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19280 const IDESC * UNUSED idesc = abuf->idesc;
19281 int cycles = 0;
19283 int referenced = 0;
19284 int UNUSED insn_referenced = abuf->written;
19285 INT in_GRi = -1;
19286 INT in_GRj = -1;
19287 INT in_ICCi_2 = -1;
19288 INT in_FCCi_2 = -1;
19289 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19291 return cycles;
19292 #undef FLD
19295 static int
19296 model_fr550_fbeqlr (SIM_CPU *current_cpu, void *sem_arg)
19298 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19299 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19300 const IDESC * UNUSED idesc = abuf->idesc;
19301 int cycles = 0;
19303 int referenced = 0;
19304 int UNUSED insn_referenced = abuf->written;
19305 INT in_GRi = -1;
19306 INT in_GRj = -1;
19307 INT in_ICCi_2 = -1;
19308 INT in_FCCi_2 = -1;
19309 in_FCCi_2 = FLD (in_FCCi_2);
19310 referenced |= 1 << 3;
19311 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19312 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19314 return cycles;
19315 #undef FLD
19318 static int
19319 model_fr550_fbnelr (SIM_CPU *current_cpu, void *sem_arg)
19321 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19322 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19323 const IDESC * UNUSED idesc = abuf->idesc;
19324 int cycles = 0;
19326 int referenced = 0;
19327 int UNUSED insn_referenced = abuf->written;
19328 INT in_GRi = -1;
19329 INT in_GRj = -1;
19330 INT in_ICCi_2 = -1;
19331 INT in_FCCi_2 = -1;
19332 in_FCCi_2 = FLD (in_FCCi_2);
19333 referenced |= 1 << 3;
19334 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19335 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19337 return cycles;
19338 #undef FLD
19341 static int
19342 model_fr550_fblglr (SIM_CPU *current_cpu, void *sem_arg)
19344 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19345 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19346 const IDESC * UNUSED idesc = abuf->idesc;
19347 int cycles = 0;
19349 int referenced = 0;
19350 int UNUSED insn_referenced = abuf->written;
19351 INT in_GRi = -1;
19352 INT in_GRj = -1;
19353 INT in_ICCi_2 = -1;
19354 INT in_FCCi_2 = -1;
19355 in_FCCi_2 = FLD (in_FCCi_2);
19356 referenced |= 1 << 3;
19357 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19358 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19360 return cycles;
19361 #undef FLD
19364 static int
19365 model_fr550_fbuelr (SIM_CPU *current_cpu, void *sem_arg)
19367 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19369 const IDESC * UNUSED idesc = abuf->idesc;
19370 int cycles = 0;
19372 int referenced = 0;
19373 int UNUSED insn_referenced = abuf->written;
19374 INT in_GRi = -1;
19375 INT in_GRj = -1;
19376 INT in_ICCi_2 = -1;
19377 INT in_FCCi_2 = -1;
19378 in_FCCi_2 = FLD (in_FCCi_2);
19379 referenced |= 1 << 3;
19380 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19381 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19383 return cycles;
19384 #undef FLD
19387 static int
19388 model_fr550_fbullr (SIM_CPU *current_cpu, void *sem_arg)
19390 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19391 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19392 const IDESC * UNUSED idesc = abuf->idesc;
19393 int cycles = 0;
19395 int referenced = 0;
19396 int UNUSED insn_referenced = abuf->written;
19397 INT in_GRi = -1;
19398 INT in_GRj = -1;
19399 INT in_ICCi_2 = -1;
19400 INT in_FCCi_2 = -1;
19401 in_FCCi_2 = FLD (in_FCCi_2);
19402 referenced |= 1 << 3;
19403 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19404 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19406 return cycles;
19407 #undef FLD
19410 static int
19411 model_fr550_fbgelr (SIM_CPU *current_cpu, void *sem_arg)
19413 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19414 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19415 const IDESC * UNUSED idesc = abuf->idesc;
19416 int cycles = 0;
19418 int referenced = 0;
19419 int UNUSED insn_referenced = abuf->written;
19420 INT in_GRi = -1;
19421 INT in_GRj = -1;
19422 INT in_ICCi_2 = -1;
19423 INT in_FCCi_2 = -1;
19424 in_FCCi_2 = FLD (in_FCCi_2);
19425 referenced |= 1 << 3;
19426 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19427 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19429 return cycles;
19430 #undef FLD
19433 static int
19434 model_fr550_fbltlr (SIM_CPU *current_cpu, void *sem_arg)
19436 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19437 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19438 const IDESC * UNUSED idesc = abuf->idesc;
19439 int cycles = 0;
19441 int referenced = 0;
19442 int UNUSED insn_referenced = abuf->written;
19443 INT in_GRi = -1;
19444 INT in_GRj = -1;
19445 INT in_ICCi_2 = -1;
19446 INT in_FCCi_2 = -1;
19447 in_FCCi_2 = FLD (in_FCCi_2);
19448 referenced |= 1 << 3;
19449 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19450 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19452 return cycles;
19453 #undef FLD
19456 static int
19457 model_fr550_fbugelr (SIM_CPU *current_cpu, void *sem_arg)
19459 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19460 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19461 const IDESC * UNUSED idesc = abuf->idesc;
19462 int cycles = 0;
19464 int referenced = 0;
19465 int UNUSED insn_referenced = abuf->written;
19466 INT in_GRi = -1;
19467 INT in_GRj = -1;
19468 INT in_ICCi_2 = -1;
19469 INT in_FCCi_2 = -1;
19470 in_FCCi_2 = FLD (in_FCCi_2);
19471 referenced |= 1 << 3;
19472 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19473 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19475 return cycles;
19476 #undef FLD
19479 static int
19480 model_fr550_fbuglr (SIM_CPU *current_cpu, void *sem_arg)
19482 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19483 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19484 const IDESC * UNUSED idesc = abuf->idesc;
19485 int cycles = 0;
19487 int referenced = 0;
19488 int UNUSED insn_referenced = abuf->written;
19489 INT in_GRi = -1;
19490 INT in_GRj = -1;
19491 INT in_ICCi_2 = -1;
19492 INT in_FCCi_2 = -1;
19493 in_FCCi_2 = FLD (in_FCCi_2);
19494 referenced |= 1 << 3;
19495 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19496 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19498 return cycles;
19499 #undef FLD
19502 static int
19503 model_fr550_fblelr (SIM_CPU *current_cpu, void *sem_arg)
19505 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19506 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19507 const IDESC * UNUSED idesc = abuf->idesc;
19508 int cycles = 0;
19510 int referenced = 0;
19511 int UNUSED insn_referenced = abuf->written;
19512 INT in_GRi = -1;
19513 INT in_GRj = -1;
19514 INT in_ICCi_2 = -1;
19515 INT in_FCCi_2 = -1;
19516 in_FCCi_2 = FLD (in_FCCi_2);
19517 referenced |= 1 << 3;
19518 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19519 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19521 return cycles;
19522 #undef FLD
19525 static int
19526 model_fr550_fbgtlr (SIM_CPU *current_cpu, void *sem_arg)
19528 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19529 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19530 const IDESC * UNUSED idesc = abuf->idesc;
19531 int cycles = 0;
19533 int referenced = 0;
19534 int UNUSED insn_referenced = abuf->written;
19535 INT in_GRi = -1;
19536 INT in_GRj = -1;
19537 INT in_ICCi_2 = -1;
19538 INT in_FCCi_2 = -1;
19539 in_FCCi_2 = FLD (in_FCCi_2);
19540 referenced |= 1 << 3;
19541 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19542 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19544 return cycles;
19545 #undef FLD
19548 static int
19549 model_fr550_fbulelr (SIM_CPU *current_cpu, void *sem_arg)
19551 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19553 const IDESC * UNUSED idesc = abuf->idesc;
19554 int cycles = 0;
19556 int referenced = 0;
19557 int UNUSED insn_referenced = abuf->written;
19558 INT in_GRi = -1;
19559 INT in_GRj = -1;
19560 INT in_ICCi_2 = -1;
19561 INT in_FCCi_2 = -1;
19562 in_FCCi_2 = FLD (in_FCCi_2);
19563 referenced |= 1 << 3;
19564 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19565 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19567 return cycles;
19568 #undef FLD
19571 static int
19572 model_fr550_fbulr (SIM_CPU *current_cpu, void *sem_arg)
19574 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19575 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19576 const IDESC * UNUSED idesc = abuf->idesc;
19577 int cycles = 0;
19579 int referenced = 0;
19580 int UNUSED insn_referenced = abuf->written;
19581 INT in_GRi = -1;
19582 INT in_GRj = -1;
19583 INT in_ICCi_2 = -1;
19584 INT in_FCCi_2 = -1;
19585 in_FCCi_2 = FLD (in_FCCi_2);
19586 referenced |= 1 << 3;
19587 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19588 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19590 return cycles;
19591 #undef FLD
19594 static int
19595 model_fr550_fbolr (SIM_CPU *current_cpu, void *sem_arg)
19597 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19598 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19599 const IDESC * UNUSED idesc = abuf->idesc;
19600 int cycles = 0;
19602 int referenced = 0;
19603 int UNUSED insn_referenced = abuf->written;
19604 INT in_GRi = -1;
19605 INT in_GRj = -1;
19606 INT in_ICCi_2 = -1;
19607 INT in_FCCi_2 = -1;
19608 in_FCCi_2 = FLD (in_FCCi_2);
19609 referenced |= 1 << 3;
19610 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
19611 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19613 return cycles;
19614 #undef FLD
19617 static int
19618 model_fr550_bcralr (SIM_CPU *current_cpu, void *sem_arg)
19620 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19621 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19622 const IDESC * UNUSED idesc = abuf->idesc;
19623 int cycles = 0;
19625 int referenced = 0;
19626 int UNUSED insn_referenced = abuf->written;
19627 INT in_GRi = -1;
19628 INT in_GRj = -1;
19629 INT in_ICCi_2 = -1;
19630 INT in_FCCi_2 = -1;
19631 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
19632 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19634 return cycles;
19635 #undef FLD
19638 static int
19639 model_fr550_bcnolr (SIM_CPU *current_cpu, void *sem_arg)
19641 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19642 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19643 const IDESC * UNUSED idesc = abuf->idesc;
19644 int cycles = 0;
19646 int referenced = 0;
19647 int UNUSED insn_referenced = abuf->written;
19648 INT in_GRi = -1;
19649 INT in_GRj = -1;
19650 INT in_ICCi_2 = -1;
19651 INT in_FCCi_2 = -1;
19652 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19654 return cycles;
19655 #undef FLD
19658 static int
19659 model_fr550_bceqlr (SIM_CPU *current_cpu, void *sem_arg)
19661 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19662 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19663 const IDESC * UNUSED idesc = abuf->idesc;
19664 int cycles = 0;
19666 int referenced = 0;
19667 int UNUSED insn_referenced = abuf->written;
19668 INT in_GRi = -1;
19669 INT in_GRj = -1;
19670 INT in_ICCi_2 = -1;
19671 INT in_FCCi_2 = -1;
19672 in_ICCi_2 = FLD (in_ICCi_2);
19673 referenced |= 1 << 2;
19674 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19675 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19677 return cycles;
19678 #undef FLD
19681 static int
19682 model_fr550_bcnelr (SIM_CPU *current_cpu, void *sem_arg)
19684 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19685 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19686 const IDESC * UNUSED idesc = abuf->idesc;
19687 int cycles = 0;
19689 int referenced = 0;
19690 int UNUSED insn_referenced = abuf->written;
19691 INT in_GRi = -1;
19692 INT in_GRj = -1;
19693 INT in_ICCi_2 = -1;
19694 INT in_FCCi_2 = -1;
19695 in_ICCi_2 = FLD (in_ICCi_2);
19696 referenced |= 1 << 2;
19697 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19698 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19700 return cycles;
19701 #undef FLD
19704 static int
19705 model_fr550_bclelr (SIM_CPU *current_cpu, void *sem_arg)
19707 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19708 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19709 const IDESC * UNUSED idesc = abuf->idesc;
19710 int cycles = 0;
19712 int referenced = 0;
19713 int UNUSED insn_referenced = abuf->written;
19714 INT in_GRi = -1;
19715 INT in_GRj = -1;
19716 INT in_ICCi_2 = -1;
19717 INT in_FCCi_2 = -1;
19718 in_ICCi_2 = FLD (in_ICCi_2);
19719 referenced |= 1 << 2;
19720 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19721 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19723 return cycles;
19724 #undef FLD
19727 static int
19728 model_fr550_bcgtlr (SIM_CPU *current_cpu, void *sem_arg)
19730 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19731 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19732 const IDESC * UNUSED idesc = abuf->idesc;
19733 int cycles = 0;
19735 int referenced = 0;
19736 int UNUSED insn_referenced = abuf->written;
19737 INT in_GRi = -1;
19738 INT in_GRj = -1;
19739 INT in_ICCi_2 = -1;
19740 INT in_FCCi_2 = -1;
19741 in_ICCi_2 = FLD (in_ICCi_2);
19742 referenced |= 1 << 2;
19743 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19744 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19746 return cycles;
19747 #undef FLD
19750 static int
19751 model_fr550_bcltlr (SIM_CPU *current_cpu, void *sem_arg)
19753 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19754 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19755 const IDESC * UNUSED idesc = abuf->idesc;
19756 int cycles = 0;
19758 int referenced = 0;
19759 int UNUSED insn_referenced = abuf->written;
19760 INT in_GRi = -1;
19761 INT in_GRj = -1;
19762 INT in_ICCi_2 = -1;
19763 INT in_FCCi_2 = -1;
19764 in_ICCi_2 = FLD (in_ICCi_2);
19765 referenced |= 1 << 2;
19766 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19767 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19769 return cycles;
19770 #undef FLD
19773 static int
19774 model_fr550_bcgelr (SIM_CPU *current_cpu, void *sem_arg)
19776 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19778 const IDESC * UNUSED idesc = abuf->idesc;
19779 int cycles = 0;
19781 int referenced = 0;
19782 int UNUSED insn_referenced = abuf->written;
19783 INT in_GRi = -1;
19784 INT in_GRj = -1;
19785 INT in_ICCi_2 = -1;
19786 INT in_FCCi_2 = -1;
19787 in_ICCi_2 = FLD (in_ICCi_2);
19788 referenced |= 1 << 2;
19789 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19790 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19792 return cycles;
19793 #undef FLD
19796 static int
19797 model_fr550_bclslr (SIM_CPU *current_cpu, void *sem_arg)
19799 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19801 const IDESC * UNUSED idesc = abuf->idesc;
19802 int cycles = 0;
19804 int referenced = 0;
19805 int UNUSED insn_referenced = abuf->written;
19806 INT in_GRi = -1;
19807 INT in_GRj = -1;
19808 INT in_ICCi_2 = -1;
19809 INT in_FCCi_2 = -1;
19810 in_ICCi_2 = FLD (in_ICCi_2);
19811 referenced |= 1 << 2;
19812 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19813 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19815 return cycles;
19816 #undef FLD
19819 static int
19820 model_fr550_bchilr (SIM_CPU *current_cpu, void *sem_arg)
19822 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19823 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19824 const IDESC * UNUSED idesc = abuf->idesc;
19825 int cycles = 0;
19827 int referenced = 0;
19828 int UNUSED insn_referenced = abuf->written;
19829 INT in_GRi = -1;
19830 INT in_GRj = -1;
19831 INT in_ICCi_2 = -1;
19832 INT in_FCCi_2 = -1;
19833 in_ICCi_2 = FLD (in_ICCi_2);
19834 referenced |= 1 << 2;
19835 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19836 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19838 return cycles;
19839 #undef FLD
19842 static int
19843 model_fr550_bcclr (SIM_CPU *current_cpu, void *sem_arg)
19845 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19846 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19847 const IDESC * UNUSED idesc = abuf->idesc;
19848 int cycles = 0;
19850 int referenced = 0;
19851 int UNUSED insn_referenced = abuf->written;
19852 INT in_GRi = -1;
19853 INT in_GRj = -1;
19854 INT in_ICCi_2 = -1;
19855 INT in_FCCi_2 = -1;
19856 in_ICCi_2 = FLD (in_ICCi_2);
19857 referenced |= 1 << 2;
19858 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19859 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19861 return cycles;
19862 #undef FLD
19865 static int
19866 model_fr550_bcnclr (SIM_CPU *current_cpu, void *sem_arg)
19868 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19869 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19870 const IDESC * UNUSED idesc = abuf->idesc;
19871 int cycles = 0;
19873 int referenced = 0;
19874 int UNUSED insn_referenced = abuf->written;
19875 INT in_GRi = -1;
19876 INT in_GRj = -1;
19877 INT in_ICCi_2 = -1;
19878 INT in_FCCi_2 = -1;
19879 in_ICCi_2 = FLD (in_ICCi_2);
19880 referenced |= 1 << 2;
19881 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19882 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19884 return cycles;
19885 #undef FLD
19888 static int
19889 model_fr550_bcnlr (SIM_CPU *current_cpu, void *sem_arg)
19891 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19892 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19893 const IDESC * UNUSED idesc = abuf->idesc;
19894 int cycles = 0;
19896 int referenced = 0;
19897 int UNUSED insn_referenced = abuf->written;
19898 INT in_GRi = -1;
19899 INT in_GRj = -1;
19900 INT in_ICCi_2 = -1;
19901 INT in_FCCi_2 = -1;
19902 in_ICCi_2 = FLD (in_ICCi_2);
19903 referenced |= 1 << 2;
19904 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19905 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19907 return cycles;
19908 #undef FLD
19911 static int
19912 model_fr550_bcplr (SIM_CPU *current_cpu, void *sem_arg)
19914 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19915 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19916 const IDESC * UNUSED idesc = abuf->idesc;
19917 int cycles = 0;
19919 int referenced = 0;
19920 int UNUSED insn_referenced = abuf->written;
19921 INT in_GRi = -1;
19922 INT in_GRj = -1;
19923 INT in_ICCi_2 = -1;
19924 INT in_FCCi_2 = -1;
19925 in_ICCi_2 = FLD (in_ICCi_2);
19926 referenced |= 1 << 2;
19927 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19928 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19930 return cycles;
19931 #undef FLD
19934 static int
19935 model_fr550_bcvlr (SIM_CPU *current_cpu, void *sem_arg)
19937 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19938 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19939 const IDESC * UNUSED idesc = abuf->idesc;
19940 int cycles = 0;
19942 int referenced = 0;
19943 int UNUSED insn_referenced = abuf->written;
19944 INT in_GRi = -1;
19945 INT in_GRj = -1;
19946 INT in_ICCi_2 = -1;
19947 INT in_FCCi_2 = -1;
19948 in_ICCi_2 = FLD (in_ICCi_2);
19949 referenced |= 1 << 2;
19950 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19951 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19953 return cycles;
19954 #undef FLD
19957 static int
19958 model_fr550_bcnvlr (SIM_CPU *current_cpu, void *sem_arg)
19960 #define FLD(f) abuf->fields.sfmt_bceqlr.f
19961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19962 const IDESC * UNUSED idesc = abuf->idesc;
19963 int cycles = 0;
19965 int referenced = 0;
19966 int UNUSED insn_referenced = abuf->written;
19967 INT in_GRi = -1;
19968 INT in_GRj = -1;
19969 INT in_ICCi_2 = -1;
19970 INT in_FCCi_2 = -1;
19971 in_ICCi_2 = FLD (in_ICCi_2);
19972 referenced |= 1 << 2;
19973 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
19974 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19976 return cycles;
19977 #undef FLD
19980 static int
19981 model_fr550_fcbralr (SIM_CPU *current_cpu, void *sem_arg)
19983 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
19984 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
19985 const IDESC * UNUSED idesc = abuf->idesc;
19986 int cycles = 0;
19988 int referenced = 0;
19989 int UNUSED insn_referenced = abuf->written;
19990 INT in_GRi = -1;
19991 INT in_GRj = -1;
19992 INT in_ICCi_2 = -1;
19993 INT in_FCCi_2 = -1;
19994 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
19995 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
19997 return cycles;
19998 #undef FLD
20001 static int
20002 model_fr550_fcbnolr (SIM_CPU *current_cpu, void *sem_arg)
20004 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20005 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20006 const IDESC * UNUSED idesc = abuf->idesc;
20007 int cycles = 0;
20009 int referenced = 0;
20010 int UNUSED insn_referenced = abuf->written;
20011 INT in_GRi = -1;
20012 INT in_GRj = -1;
20013 INT in_ICCi_2 = -1;
20014 INT in_FCCi_2 = -1;
20015 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20017 return cycles;
20018 #undef FLD
20021 static int
20022 model_fr550_fcbeqlr (SIM_CPU *current_cpu, void *sem_arg)
20024 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20026 const IDESC * UNUSED idesc = abuf->idesc;
20027 int cycles = 0;
20029 int referenced = 0;
20030 int UNUSED insn_referenced = abuf->written;
20031 INT in_GRi = -1;
20032 INT in_GRj = -1;
20033 INT in_ICCi_2 = -1;
20034 INT in_FCCi_2 = -1;
20035 in_FCCi_2 = FLD (in_FCCi_2);
20036 referenced |= 1 << 3;
20037 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20038 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20040 return cycles;
20041 #undef FLD
20044 static int
20045 model_fr550_fcbnelr (SIM_CPU *current_cpu, void *sem_arg)
20047 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20049 const IDESC * UNUSED idesc = abuf->idesc;
20050 int cycles = 0;
20052 int referenced = 0;
20053 int UNUSED insn_referenced = abuf->written;
20054 INT in_GRi = -1;
20055 INT in_GRj = -1;
20056 INT in_ICCi_2 = -1;
20057 INT in_FCCi_2 = -1;
20058 in_FCCi_2 = FLD (in_FCCi_2);
20059 referenced |= 1 << 3;
20060 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20061 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20063 return cycles;
20064 #undef FLD
20067 static int
20068 model_fr550_fcblglr (SIM_CPU *current_cpu, void *sem_arg)
20070 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20071 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20072 const IDESC * UNUSED idesc = abuf->idesc;
20073 int cycles = 0;
20075 int referenced = 0;
20076 int UNUSED insn_referenced = abuf->written;
20077 INT in_GRi = -1;
20078 INT in_GRj = -1;
20079 INT in_ICCi_2 = -1;
20080 INT in_FCCi_2 = -1;
20081 in_FCCi_2 = FLD (in_FCCi_2);
20082 referenced |= 1 << 3;
20083 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20084 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20086 return cycles;
20087 #undef FLD
20090 static int
20091 model_fr550_fcbuelr (SIM_CPU *current_cpu, void *sem_arg)
20093 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20094 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20095 const IDESC * UNUSED idesc = abuf->idesc;
20096 int cycles = 0;
20098 int referenced = 0;
20099 int UNUSED insn_referenced = abuf->written;
20100 INT in_GRi = -1;
20101 INT in_GRj = -1;
20102 INT in_ICCi_2 = -1;
20103 INT in_FCCi_2 = -1;
20104 in_FCCi_2 = FLD (in_FCCi_2);
20105 referenced |= 1 << 3;
20106 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20107 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20109 return cycles;
20110 #undef FLD
20113 static int
20114 model_fr550_fcbullr (SIM_CPU *current_cpu, void *sem_arg)
20116 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20118 const IDESC * UNUSED idesc = abuf->idesc;
20119 int cycles = 0;
20121 int referenced = 0;
20122 int UNUSED insn_referenced = abuf->written;
20123 INT in_GRi = -1;
20124 INT in_GRj = -1;
20125 INT in_ICCi_2 = -1;
20126 INT in_FCCi_2 = -1;
20127 in_FCCi_2 = FLD (in_FCCi_2);
20128 referenced |= 1 << 3;
20129 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20130 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20132 return cycles;
20133 #undef FLD
20136 static int
20137 model_fr550_fcbgelr (SIM_CPU *current_cpu, void *sem_arg)
20139 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20140 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20141 const IDESC * UNUSED idesc = abuf->idesc;
20142 int cycles = 0;
20144 int referenced = 0;
20145 int UNUSED insn_referenced = abuf->written;
20146 INT in_GRi = -1;
20147 INT in_GRj = -1;
20148 INT in_ICCi_2 = -1;
20149 INT in_FCCi_2 = -1;
20150 in_FCCi_2 = FLD (in_FCCi_2);
20151 referenced |= 1 << 3;
20152 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20153 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20155 return cycles;
20156 #undef FLD
20159 static int
20160 model_fr550_fcbltlr (SIM_CPU *current_cpu, void *sem_arg)
20162 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20163 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20164 const IDESC * UNUSED idesc = abuf->idesc;
20165 int cycles = 0;
20167 int referenced = 0;
20168 int UNUSED insn_referenced = abuf->written;
20169 INT in_GRi = -1;
20170 INT in_GRj = -1;
20171 INT in_ICCi_2 = -1;
20172 INT in_FCCi_2 = -1;
20173 in_FCCi_2 = FLD (in_FCCi_2);
20174 referenced |= 1 << 3;
20175 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20176 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20178 return cycles;
20179 #undef FLD
20182 static int
20183 model_fr550_fcbugelr (SIM_CPU *current_cpu, void *sem_arg)
20185 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20186 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20187 const IDESC * UNUSED idesc = abuf->idesc;
20188 int cycles = 0;
20190 int referenced = 0;
20191 int UNUSED insn_referenced = abuf->written;
20192 INT in_GRi = -1;
20193 INT in_GRj = -1;
20194 INT in_ICCi_2 = -1;
20195 INT in_FCCi_2 = -1;
20196 in_FCCi_2 = FLD (in_FCCi_2);
20197 referenced |= 1 << 3;
20198 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20199 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20201 return cycles;
20202 #undef FLD
20205 static int
20206 model_fr550_fcbuglr (SIM_CPU *current_cpu, void *sem_arg)
20208 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20210 const IDESC * UNUSED idesc = abuf->idesc;
20211 int cycles = 0;
20213 int referenced = 0;
20214 int UNUSED insn_referenced = abuf->written;
20215 INT in_GRi = -1;
20216 INT in_GRj = -1;
20217 INT in_ICCi_2 = -1;
20218 INT in_FCCi_2 = -1;
20219 in_FCCi_2 = FLD (in_FCCi_2);
20220 referenced |= 1 << 3;
20221 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20222 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20224 return cycles;
20225 #undef FLD
20228 static int
20229 model_fr550_fcblelr (SIM_CPU *current_cpu, void *sem_arg)
20231 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20233 const IDESC * UNUSED idesc = abuf->idesc;
20234 int cycles = 0;
20236 int referenced = 0;
20237 int UNUSED insn_referenced = abuf->written;
20238 INT in_GRi = -1;
20239 INT in_GRj = -1;
20240 INT in_ICCi_2 = -1;
20241 INT in_FCCi_2 = -1;
20242 in_FCCi_2 = FLD (in_FCCi_2);
20243 referenced |= 1 << 3;
20244 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20245 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20247 return cycles;
20248 #undef FLD
20251 static int
20252 model_fr550_fcbgtlr (SIM_CPU *current_cpu, void *sem_arg)
20254 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20255 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20256 const IDESC * UNUSED idesc = abuf->idesc;
20257 int cycles = 0;
20259 int referenced = 0;
20260 int UNUSED insn_referenced = abuf->written;
20261 INT in_GRi = -1;
20262 INT in_GRj = -1;
20263 INT in_ICCi_2 = -1;
20264 INT in_FCCi_2 = -1;
20265 in_FCCi_2 = FLD (in_FCCi_2);
20266 referenced |= 1 << 3;
20267 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20268 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20270 return cycles;
20271 #undef FLD
20274 static int
20275 model_fr550_fcbulelr (SIM_CPU *current_cpu, void *sem_arg)
20277 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20278 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20279 const IDESC * UNUSED idesc = abuf->idesc;
20280 int cycles = 0;
20282 int referenced = 0;
20283 int UNUSED insn_referenced = abuf->written;
20284 INT in_GRi = -1;
20285 INT in_GRj = -1;
20286 INT in_ICCi_2 = -1;
20287 INT in_FCCi_2 = -1;
20288 in_FCCi_2 = FLD (in_FCCi_2);
20289 referenced |= 1 << 3;
20290 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20291 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20293 return cycles;
20294 #undef FLD
20297 static int
20298 model_fr550_fcbulr (SIM_CPU *current_cpu, void *sem_arg)
20300 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20301 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20302 const IDESC * UNUSED idesc = abuf->idesc;
20303 int cycles = 0;
20305 int referenced = 0;
20306 int UNUSED insn_referenced = abuf->written;
20307 INT in_GRi = -1;
20308 INT in_GRj = -1;
20309 INT in_ICCi_2 = -1;
20310 INT in_FCCi_2 = -1;
20311 in_FCCi_2 = FLD (in_FCCi_2);
20312 referenced |= 1 << 3;
20313 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20314 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20316 return cycles;
20317 #undef FLD
20320 static int
20321 model_fr550_fcbolr (SIM_CPU *current_cpu, void *sem_arg)
20323 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
20324 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20325 const IDESC * UNUSED idesc = abuf->idesc;
20326 int cycles = 0;
20328 int referenced = 0;
20329 int UNUSED insn_referenced = abuf->written;
20330 INT in_GRi = -1;
20331 INT in_GRj = -1;
20332 INT in_ICCi_2 = -1;
20333 INT in_FCCi_2 = -1;
20334 in_FCCi_2 = FLD (in_FCCi_2);
20335 referenced |= 1 << 3;
20336 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
20337 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20339 return cycles;
20340 #undef FLD
20343 static int
20344 model_fr550_jmpl (SIM_CPU *current_cpu, void *sem_arg)
20346 #define FLD(f) abuf->fields.sfmt_cjmpl.f
20347 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20348 const IDESC * UNUSED idesc = abuf->idesc;
20349 int cycles = 0;
20351 int referenced = 0;
20352 int UNUSED insn_referenced = abuf->written;
20353 INT in_GRi = -1;
20354 INT in_GRj = -1;
20355 INT in_ICCi_2 = -1;
20356 INT in_FCCi_2 = -1;
20357 in_GRi = FLD (in_GRi);
20358 in_GRj = FLD (in_GRj);
20359 referenced |= 1 << 0;
20360 referenced |= 1 << 1;
20361 referenced |= 1 << 4;
20362 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20364 return cycles;
20365 #undef FLD
20368 static int
20369 model_fr550_calll (SIM_CPU *current_cpu, void *sem_arg)
20371 #define FLD(f) abuf->fields.sfmt_cjmpl.f
20372 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20373 const IDESC * UNUSED idesc = abuf->idesc;
20374 int cycles = 0;
20376 int referenced = 0;
20377 int UNUSED insn_referenced = abuf->written;
20378 INT in_GRi = -1;
20379 INT in_GRj = -1;
20380 INT in_ICCi_2 = -1;
20381 INT in_FCCi_2 = -1;
20382 in_GRi = FLD (in_GRi);
20383 in_GRj = FLD (in_GRj);
20384 referenced |= 1 << 0;
20385 referenced |= 1 << 1;
20386 referenced |= 1 << 4;
20387 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20389 return cycles;
20390 #undef FLD
20393 static int
20394 model_fr550_jmpil (SIM_CPU *current_cpu, void *sem_arg)
20396 #define FLD(f) abuf->fields.sfmt_jmpil.f
20397 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20398 const IDESC * UNUSED idesc = abuf->idesc;
20399 int cycles = 0;
20401 int referenced = 0;
20402 int UNUSED insn_referenced = abuf->written;
20403 INT in_GRi = -1;
20404 INT in_GRj = -1;
20405 INT in_ICCi_2 = -1;
20406 INT in_FCCi_2 = -1;
20407 in_GRi = FLD (in_GRi);
20408 referenced |= 1 << 0;
20409 referenced |= 1 << 4;
20410 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20412 return cycles;
20413 #undef FLD
20416 static int
20417 model_fr550_callil (SIM_CPU *current_cpu, void *sem_arg)
20419 #define FLD(f) abuf->fields.sfmt_jmpil.f
20420 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20421 const IDESC * UNUSED idesc = abuf->idesc;
20422 int cycles = 0;
20424 int referenced = 0;
20425 int UNUSED insn_referenced = abuf->written;
20426 INT in_GRi = -1;
20427 INT in_GRj = -1;
20428 INT in_ICCi_2 = -1;
20429 INT in_FCCi_2 = -1;
20430 in_GRi = FLD (in_GRi);
20431 referenced |= 1 << 0;
20432 referenced |= 1 << 4;
20433 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20435 return cycles;
20436 #undef FLD
20439 static int
20440 model_fr550_call (SIM_CPU *current_cpu, void *sem_arg)
20442 #define FLD(f) abuf->fields.sfmt_call.f
20443 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20444 const IDESC * UNUSED idesc = abuf->idesc;
20445 int cycles = 0;
20447 int referenced = 0;
20448 int UNUSED insn_referenced = abuf->written;
20449 INT in_GRi = -1;
20450 INT in_GRj = -1;
20451 INT in_ICCi_2 = -1;
20452 INT in_FCCi_2 = -1;
20453 referenced |= 1 << 4;
20454 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20456 return cycles;
20457 #undef FLD
20460 static int
20461 model_fr550_rett (SIM_CPU *current_cpu, void *sem_arg)
20463 #define FLD(f) abuf->fields.sfmt_rett.f
20464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20465 const IDESC * UNUSED idesc = abuf->idesc;
20466 int cycles = 0;
20468 int referenced = 0;
20469 int UNUSED insn_referenced = abuf->written;
20470 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
20472 return cycles;
20473 #undef FLD
20476 static int
20477 model_fr550_rei (SIM_CPU *current_cpu, void *sem_arg)
20479 #define FLD(f) abuf->fields.sfmt_empty.f
20480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20481 const IDESC * UNUSED idesc = abuf->idesc;
20482 int cycles = 0;
20484 int referenced = 0;
20485 int UNUSED insn_referenced = abuf->written;
20486 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
20488 return cycles;
20489 #undef FLD
20492 static int
20493 model_fr550_tra (SIM_CPU *current_cpu, void *sem_arg)
20495 #define FLD(f) abuf->fields.sfmt_ftne.f
20496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20497 const IDESC * UNUSED idesc = abuf->idesc;
20498 int cycles = 0;
20500 int referenced = 0;
20501 int UNUSED insn_referenced = abuf->written;
20502 INT in_GRi = -1;
20503 INT in_GRj = -1;
20504 INT in_ICCi_2 = -1;
20505 INT in_FCCi_2 = -1;
20506 in_GRi = FLD (in_GRi);
20507 in_GRj = FLD (in_GRj);
20508 referenced |= 1 << 0;
20509 referenced |= 1 << 1;
20510 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20512 return cycles;
20513 #undef FLD
20516 static int
20517 model_fr550_tno (SIM_CPU *current_cpu, void *sem_arg)
20519 #define FLD(f) abuf->fields.sfmt_empty.f
20520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20521 const IDESC * UNUSED idesc = abuf->idesc;
20522 int cycles = 0;
20524 int referenced = 0;
20525 int UNUSED insn_referenced = abuf->written;
20526 INT in_GRi = -1;
20527 INT in_GRj = -1;
20528 INT in_ICCi_2 = -1;
20529 INT in_FCCi_2 = -1;
20530 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20532 return cycles;
20533 #undef FLD
20536 static int
20537 model_fr550_teq (SIM_CPU *current_cpu, void *sem_arg)
20539 #define FLD(f) abuf->fields.sfmt_teq.f
20540 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20541 const IDESC * UNUSED idesc = abuf->idesc;
20542 int cycles = 0;
20544 int referenced = 0;
20545 int UNUSED insn_referenced = abuf->written;
20546 INT in_GRi = -1;
20547 INT in_GRj = -1;
20548 INT in_ICCi_2 = -1;
20549 INT in_FCCi_2 = -1;
20550 in_GRi = FLD (in_GRi);
20551 in_GRj = FLD (in_GRj);
20552 in_ICCi_2 = FLD (in_ICCi_2);
20553 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20554 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20555 referenced |= 1 << 2;
20556 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20558 return cycles;
20559 #undef FLD
20562 static int
20563 model_fr550_tne (SIM_CPU *current_cpu, void *sem_arg)
20565 #define FLD(f) abuf->fields.sfmt_teq.f
20566 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20567 const IDESC * UNUSED idesc = abuf->idesc;
20568 int cycles = 0;
20570 int referenced = 0;
20571 int UNUSED insn_referenced = abuf->written;
20572 INT in_GRi = -1;
20573 INT in_GRj = -1;
20574 INT in_ICCi_2 = -1;
20575 INT in_FCCi_2 = -1;
20576 in_GRi = FLD (in_GRi);
20577 in_GRj = FLD (in_GRj);
20578 in_ICCi_2 = FLD (in_ICCi_2);
20579 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20580 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20581 referenced |= 1 << 2;
20582 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20584 return cycles;
20585 #undef FLD
20588 static int
20589 model_fr550_tle (SIM_CPU *current_cpu, void *sem_arg)
20591 #define FLD(f) abuf->fields.sfmt_teq.f
20592 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20593 const IDESC * UNUSED idesc = abuf->idesc;
20594 int cycles = 0;
20596 int referenced = 0;
20597 int UNUSED insn_referenced = abuf->written;
20598 INT in_GRi = -1;
20599 INT in_GRj = -1;
20600 INT in_ICCi_2 = -1;
20601 INT in_FCCi_2 = -1;
20602 in_GRi = FLD (in_GRi);
20603 in_GRj = FLD (in_GRj);
20604 in_ICCi_2 = FLD (in_ICCi_2);
20605 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20606 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20607 referenced |= 1 << 2;
20608 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20610 return cycles;
20611 #undef FLD
20614 static int
20615 model_fr550_tgt (SIM_CPU *current_cpu, void *sem_arg)
20617 #define FLD(f) abuf->fields.sfmt_teq.f
20618 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20619 const IDESC * UNUSED idesc = abuf->idesc;
20620 int cycles = 0;
20622 int referenced = 0;
20623 int UNUSED insn_referenced = abuf->written;
20624 INT in_GRi = -1;
20625 INT in_GRj = -1;
20626 INT in_ICCi_2 = -1;
20627 INT in_FCCi_2 = -1;
20628 in_GRi = FLD (in_GRi);
20629 in_GRj = FLD (in_GRj);
20630 in_ICCi_2 = FLD (in_ICCi_2);
20631 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20632 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20633 referenced |= 1 << 2;
20634 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20636 return cycles;
20637 #undef FLD
20640 static int
20641 model_fr550_tlt (SIM_CPU *current_cpu, void *sem_arg)
20643 #define FLD(f) abuf->fields.sfmt_teq.f
20644 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20645 const IDESC * UNUSED idesc = abuf->idesc;
20646 int cycles = 0;
20648 int referenced = 0;
20649 int UNUSED insn_referenced = abuf->written;
20650 INT in_GRi = -1;
20651 INT in_GRj = -1;
20652 INT in_ICCi_2 = -1;
20653 INT in_FCCi_2 = -1;
20654 in_GRi = FLD (in_GRi);
20655 in_GRj = FLD (in_GRj);
20656 in_ICCi_2 = FLD (in_ICCi_2);
20657 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20658 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20659 referenced |= 1 << 2;
20660 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20662 return cycles;
20663 #undef FLD
20666 static int
20667 model_fr550_tge (SIM_CPU *current_cpu, void *sem_arg)
20669 #define FLD(f) abuf->fields.sfmt_teq.f
20670 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20671 const IDESC * UNUSED idesc = abuf->idesc;
20672 int cycles = 0;
20674 int referenced = 0;
20675 int UNUSED insn_referenced = abuf->written;
20676 INT in_GRi = -1;
20677 INT in_GRj = -1;
20678 INT in_ICCi_2 = -1;
20679 INT in_FCCi_2 = -1;
20680 in_GRi = FLD (in_GRi);
20681 in_GRj = FLD (in_GRj);
20682 in_ICCi_2 = FLD (in_ICCi_2);
20683 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20684 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20685 referenced |= 1 << 2;
20686 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20688 return cycles;
20689 #undef FLD
20692 static int
20693 model_fr550_tls (SIM_CPU *current_cpu, void *sem_arg)
20695 #define FLD(f) abuf->fields.sfmt_teq.f
20696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20697 const IDESC * UNUSED idesc = abuf->idesc;
20698 int cycles = 0;
20700 int referenced = 0;
20701 int UNUSED insn_referenced = abuf->written;
20702 INT in_GRi = -1;
20703 INT in_GRj = -1;
20704 INT in_ICCi_2 = -1;
20705 INT in_FCCi_2 = -1;
20706 in_GRi = FLD (in_GRi);
20707 in_GRj = FLD (in_GRj);
20708 in_ICCi_2 = FLD (in_ICCi_2);
20709 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20710 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20711 referenced |= 1 << 2;
20712 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20714 return cycles;
20715 #undef FLD
20718 static int
20719 model_fr550_thi (SIM_CPU *current_cpu, void *sem_arg)
20721 #define FLD(f) abuf->fields.sfmt_teq.f
20722 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20723 const IDESC * UNUSED idesc = abuf->idesc;
20724 int cycles = 0;
20726 int referenced = 0;
20727 int UNUSED insn_referenced = abuf->written;
20728 INT in_GRi = -1;
20729 INT in_GRj = -1;
20730 INT in_ICCi_2 = -1;
20731 INT in_FCCi_2 = -1;
20732 in_GRi = FLD (in_GRi);
20733 in_GRj = FLD (in_GRj);
20734 in_ICCi_2 = FLD (in_ICCi_2);
20735 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20736 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20737 referenced |= 1 << 2;
20738 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20740 return cycles;
20741 #undef FLD
20744 static int
20745 model_fr550_tc (SIM_CPU *current_cpu, void *sem_arg)
20747 #define FLD(f) abuf->fields.sfmt_teq.f
20748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20749 const IDESC * UNUSED idesc = abuf->idesc;
20750 int cycles = 0;
20752 int referenced = 0;
20753 int UNUSED insn_referenced = abuf->written;
20754 INT in_GRi = -1;
20755 INT in_GRj = -1;
20756 INT in_ICCi_2 = -1;
20757 INT in_FCCi_2 = -1;
20758 in_GRi = FLD (in_GRi);
20759 in_GRj = FLD (in_GRj);
20760 in_ICCi_2 = FLD (in_ICCi_2);
20761 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20762 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20763 referenced |= 1 << 2;
20764 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20766 return cycles;
20767 #undef FLD
20770 static int
20771 model_fr550_tnc (SIM_CPU *current_cpu, void *sem_arg)
20773 #define FLD(f) abuf->fields.sfmt_teq.f
20774 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20775 const IDESC * UNUSED idesc = abuf->idesc;
20776 int cycles = 0;
20778 int referenced = 0;
20779 int UNUSED insn_referenced = abuf->written;
20780 INT in_GRi = -1;
20781 INT in_GRj = -1;
20782 INT in_ICCi_2 = -1;
20783 INT in_FCCi_2 = -1;
20784 in_GRi = FLD (in_GRi);
20785 in_GRj = FLD (in_GRj);
20786 in_ICCi_2 = FLD (in_ICCi_2);
20787 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20788 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20789 referenced |= 1 << 2;
20790 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20792 return cycles;
20793 #undef FLD
20796 static int
20797 model_fr550_tn (SIM_CPU *current_cpu, void *sem_arg)
20799 #define FLD(f) abuf->fields.sfmt_teq.f
20800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20801 const IDESC * UNUSED idesc = abuf->idesc;
20802 int cycles = 0;
20804 int referenced = 0;
20805 int UNUSED insn_referenced = abuf->written;
20806 INT in_GRi = -1;
20807 INT in_GRj = -1;
20808 INT in_ICCi_2 = -1;
20809 INT in_FCCi_2 = -1;
20810 in_GRi = FLD (in_GRi);
20811 in_GRj = FLD (in_GRj);
20812 in_ICCi_2 = FLD (in_ICCi_2);
20813 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20814 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20815 referenced |= 1 << 2;
20816 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20818 return cycles;
20819 #undef FLD
20822 static int
20823 model_fr550_tp (SIM_CPU *current_cpu, void *sem_arg)
20825 #define FLD(f) abuf->fields.sfmt_teq.f
20826 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20827 const IDESC * UNUSED idesc = abuf->idesc;
20828 int cycles = 0;
20830 int referenced = 0;
20831 int UNUSED insn_referenced = abuf->written;
20832 INT in_GRi = -1;
20833 INT in_GRj = -1;
20834 INT in_ICCi_2 = -1;
20835 INT in_FCCi_2 = -1;
20836 in_GRi = FLD (in_GRi);
20837 in_GRj = FLD (in_GRj);
20838 in_ICCi_2 = FLD (in_ICCi_2);
20839 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20840 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20841 referenced |= 1 << 2;
20842 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20844 return cycles;
20845 #undef FLD
20848 static int
20849 model_fr550_tv (SIM_CPU *current_cpu, void *sem_arg)
20851 #define FLD(f) abuf->fields.sfmt_teq.f
20852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20853 const IDESC * UNUSED idesc = abuf->idesc;
20854 int cycles = 0;
20856 int referenced = 0;
20857 int UNUSED insn_referenced = abuf->written;
20858 INT in_GRi = -1;
20859 INT in_GRj = -1;
20860 INT in_ICCi_2 = -1;
20861 INT in_FCCi_2 = -1;
20862 in_GRi = FLD (in_GRi);
20863 in_GRj = FLD (in_GRj);
20864 in_ICCi_2 = FLD (in_ICCi_2);
20865 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20866 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20867 referenced |= 1 << 2;
20868 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20870 return cycles;
20871 #undef FLD
20874 static int
20875 model_fr550_tnv (SIM_CPU *current_cpu, void *sem_arg)
20877 #define FLD(f) abuf->fields.sfmt_teq.f
20878 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20879 const IDESC * UNUSED idesc = abuf->idesc;
20880 int cycles = 0;
20882 int referenced = 0;
20883 int UNUSED insn_referenced = abuf->written;
20884 INT in_GRi = -1;
20885 INT in_GRj = -1;
20886 INT in_ICCi_2 = -1;
20887 INT in_FCCi_2 = -1;
20888 in_GRi = FLD (in_GRi);
20889 in_GRj = FLD (in_GRj);
20890 in_ICCi_2 = FLD (in_ICCi_2);
20891 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
20892 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
20893 referenced |= 1 << 2;
20894 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20896 return cycles;
20897 #undef FLD
20900 static int
20901 model_fr550_ftra (SIM_CPU *current_cpu, void *sem_arg)
20903 #define FLD(f) abuf->fields.sfmt_ftne.f
20904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20905 const IDESC * UNUSED idesc = abuf->idesc;
20906 int cycles = 0;
20908 int referenced = 0;
20909 int UNUSED insn_referenced = abuf->written;
20910 INT in_GRi = -1;
20911 INT in_GRj = -1;
20912 INT in_ICCi_2 = -1;
20913 INT in_FCCi_2 = -1;
20914 in_GRi = FLD (in_GRi);
20915 in_GRj = FLD (in_GRj);
20916 referenced |= 1 << 0;
20917 referenced |= 1 << 1;
20918 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20920 return cycles;
20921 #undef FLD
20924 static int
20925 model_fr550_ftno (SIM_CPU *current_cpu, void *sem_arg)
20927 #define FLD(f) abuf->fields.sfmt_empty.f
20928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20929 const IDESC * UNUSED idesc = abuf->idesc;
20930 int cycles = 0;
20932 int referenced = 0;
20933 int UNUSED insn_referenced = abuf->written;
20934 INT in_GRi = -1;
20935 INT in_GRj = -1;
20936 INT in_ICCi_2 = -1;
20937 INT in_FCCi_2 = -1;
20938 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20940 return cycles;
20941 #undef FLD
20944 static int
20945 model_fr550_ftne (SIM_CPU *current_cpu, void *sem_arg)
20947 #define FLD(f) abuf->fields.sfmt_ftne.f
20948 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20949 const IDESC * UNUSED idesc = abuf->idesc;
20950 int cycles = 0;
20952 int referenced = 0;
20953 int UNUSED insn_referenced = abuf->written;
20954 INT in_GRi = -1;
20955 INT in_GRj = -1;
20956 INT in_ICCi_2 = -1;
20957 INT in_FCCi_2 = -1;
20958 in_GRi = FLD (in_GRi);
20959 in_GRj = FLD (in_GRj);
20960 in_FCCi_2 = FLD (in_FCCi_2);
20961 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
20962 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
20963 referenced |= 1 << 3;
20964 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20966 return cycles;
20967 #undef FLD
20970 static int
20971 model_fr550_fteq (SIM_CPU *current_cpu, void *sem_arg)
20973 #define FLD(f) abuf->fields.sfmt_ftne.f
20974 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
20975 const IDESC * UNUSED idesc = abuf->idesc;
20976 int cycles = 0;
20978 int referenced = 0;
20979 int UNUSED insn_referenced = abuf->written;
20980 INT in_GRi = -1;
20981 INT in_GRj = -1;
20982 INT in_ICCi_2 = -1;
20983 INT in_FCCi_2 = -1;
20984 in_GRi = FLD (in_GRi);
20985 in_GRj = FLD (in_GRj);
20986 in_FCCi_2 = FLD (in_FCCi_2);
20987 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
20988 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
20989 referenced |= 1 << 3;
20990 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
20992 return cycles;
20993 #undef FLD
20996 static int
20997 model_fr550_ftlg (SIM_CPU *current_cpu, void *sem_arg)
20999 #define FLD(f) abuf->fields.sfmt_ftne.f
21000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21001 const IDESC * UNUSED idesc = abuf->idesc;
21002 int cycles = 0;
21004 int referenced = 0;
21005 int UNUSED insn_referenced = abuf->written;
21006 INT in_GRi = -1;
21007 INT in_GRj = -1;
21008 INT in_ICCi_2 = -1;
21009 INT in_FCCi_2 = -1;
21010 in_GRi = FLD (in_GRi);
21011 in_GRj = FLD (in_GRj);
21012 in_FCCi_2 = FLD (in_FCCi_2);
21013 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21014 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21015 referenced |= 1 << 3;
21016 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21018 return cycles;
21019 #undef FLD
21022 static int
21023 model_fr550_ftue (SIM_CPU *current_cpu, void *sem_arg)
21025 #define FLD(f) abuf->fields.sfmt_ftne.f
21026 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21027 const IDESC * UNUSED idesc = abuf->idesc;
21028 int cycles = 0;
21030 int referenced = 0;
21031 int UNUSED insn_referenced = abuf->written;
21032 INT in_GRi = -1;
21033 INT in_GRj = -1;
21034 INT in_ICCi_2 = -1;
21035 INT in_FCCi_2 = -1;
21036 in_GRi = FLD (in_GRi);
21037 in_GRj = FLD (in_GRj);
21038 in_FCCi_2 = FLD (in_FCCi_2);
21039 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21040 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21041 referenced |= 1 << 3;
21042 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21044 return cycles;
21045 #undef FLD
21048 static int
21049 model_fr550_ftul (SIM_CPU *current_cpu, void *sem_arg)
21051 #define FLD(f) abuf->fields.sfmt_ftne.f
21052 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21053 const IDESC * UNUSED idesc = abuf->idesc;
21054 int cycles = 0;
21056 int referenced = 0;
21057 int UNUSED insn_referenced = abuf->written;
21058 INT in_GRi = -1;
21059 INT in_GRj = -1;
21060 INT in_ICCi_2 = -1;
21061 INT in_FCCi_2 = -1;
21062 in_GRi = FLD (in_GRi);
21063 in_GRj = FLD (in_GRj);
21064 in_FCCi_2 = FLD (in_FCCi_2);
21065 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21066 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21067 referenced |= 1 << 3;
21068 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21070 return cycles;
21071 #undef FLD
21074 static int
21075 model_fr550_ftge (SIM_CPU *current_cpu, void *sem_arg)
21077 #define FLD(f) abuf->fields.sfmt_ftne.f
21078 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21079 const IDESC * UNUSED idesc = abuf->idesc;
21080 int cycles = 0;
21082 int referenced = 0;
21083 int UNUSED insn_referenced = abuf->written;
21084 INT in_GRi = -1;
21085 INT in_GRj = -1;
21086 INT in_ICCi_2 = -1;
21087 INT in_FCCi_2 = -1;
21088 in_GRi = FLD (in_GRi);
21089 in_GRj = FLD (in_GRj);
21090 in_FCCi_2 = FLD (in_FCCi_2);
21091 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21092 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21093 referenced |= 1 << 3;
21094 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21096 return cycles;
21097 #undef FLD
21100 static int
21101 model_fr550_ftlt (SIM_CPU *current_cpu, void *sem_arg)
21103 #define FLD(f) abuf->fields.sfmt_ftne.f
21104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21105 const IDESC * UNUSED idesc = abuf->idesc;
21106 int cycles = 0;
21108 int referenced = 0;
21109 int UNUSED insn_referenced = abuf->written;
21110 INT in_GRi = -1;
21111 INT in_GRj = -1;
21112 INT in_ICCi_2 = -1;
21113 INT in_FCCi_2 = -1;
21114 in_GRi = FLD (in_GRi);
21115 in_GRj = FLD (in_GRj);
21116 in_FCCi_2 = FLD (in_FCCi_2);
21117 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21118 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21119 referenced |= 1 << 3;
21120 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21122 return cycles;
21123 #undef FLD
21126 static int
21127 model_fr550_ftuge (SIM_CPU *current_cpu, void *sem_arg)
21129 #define FLD(f) abuf->fields.sfmt_ftne.f
21130 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21131 const IDESC * UNUSED idesc = abuf->idesc;
21132 int cycles = 0;
21134 int referenced = 0;
21135 int UNUSED insn_referenced = abuf->written;
21136 INT in_GRi = -1;
21137 INT in_GRj = -1;
21138 INT in_ICCi_2 = -1;
21139 INT in_FCCi_2 = -1;
21140 in_GRi = FLD (in_GRi);
21141 in_GRj = FLD (in_GRj);
21142 in_FCCi_2 = FLD (in_FCCi_2);
21143 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21144 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21145 referenced |= 1 << 3;
21146 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21148 return cycles;
21149 #undef FLD
21152 static int
21153 model_fr550_ftug (SIM_CPU *current_cpu, void *sem_arg)
21155 #define FLD(f) abuf->fields.sfmt_ftne.f
21156 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21157 const IDESC * UNUSED idesc = abuf->idesc;
21158 int cycles = 0;
21160 int referenced = 0;
21161 int UNUSED insn_referenced = abuf->written;
21162 INT in_GRi = -1;
21163 INT in_GRj = -1;
21164 INT in_ICCi_2 = -1;
21165 INT in_FCCi_2 = -1;
21166 in_GRi = FLD (in_GRi);
21167 in_GRj = FLD (in_GRj);
21168 in_FCCi_2 = FLD (in_FCCi_2);
21169 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21170 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21171 referenced |= 1 << 3;
21172 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21174 return cycles;
21175 #undef FLD
21178 static int
21179 model_fr550_ftle (SIM_CPU *current_cpu, void *sem_arg)
21181 #define FLD(f) abuf->fields.sfmt_ftne.f
21182 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21183 const IDESC * UNUSED idesc = abuf->idesc;
21184 int cycles = 0;
21186 int referenced = 0;
21187 int UNUSED insn_referenced = abuf->written;
21188 INT in_GRi = -1;
21189 INT in_GRj = -1;
21190 INT in_ICCi_2 = -1;
21191 INT in_FCCi_2 = -1;
21192 in_GRi = FLD (in_GRi);
21193 in_GRj = FLD (in_GRj);
21194 in_FCCi_2 = FLD (in_FCCi_2);
21195 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21196 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21197 referenced |= 1 << 3;
21198 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21200 return cycles;
21201 #undef FLD
21204 static int
21205 model_fr550_ftgt (SIM_CPU *current_cpu, void *sem_arg)
21207 #define FLD(f) abuf->fields.sfmt_ftne.f
21208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21209 const IDESC * UNUSED idesc = abuf->idesc;
21210 int cycles = 0;
21212 int referenced = 0;
21213 int UNUSED insn_referenced = abuf->written;
21214 INT in_GRi = -1;
21215 INT in_GRj = -1;
21216 INT in_ICCi_2 = -1;
21217 INT in_FCCi_2 = -1;
21218 in_GRi = FLD (in_GRi);
21219 in_GRj = FLD (in_GRj);
21220 in_FCCi_2 = FLD (in_FCCi_2);
21221 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21222 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21223 referenced |= 1 << 3;
21224 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21226 return cycles;
21227 #undef FLD
21230 static int
21231 model_fr550_ftule (SIM_CPU *current_cpu, void *sem_arg)
21233 #define FLD(f) abuf->fields.sfmt_ftne.f
21234 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21235 const IDESC * UNUSED idesc = abuf->idesc;
21236 int cycles = 0;
21238 int referenced = 0;
21239 int UNUSED insn_referenced = abuf->written;
21240 INT in_GRi = -1;
21241 INT in_GRj = -1;
21242 INT in_ICCi_2 = -1;
21243 INT in_FCCi_2 = -1;
21244 in_GRi = FLD (in_GRi);
21245 in_GRj = FLD (in_GRj);
21246 in_FCCi_2 = FLD (in_FCCi_2);
21247 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21248 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21249 referenced |= 1 << 3;
21250 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21252 return cycles;
21253 #undef FLD
21256 static int
21257 model_fr550_ftu (SIM_CPU *current_cpu, void *sem_arg)
21259 #define FLD(f) abuf->fields.sfmt_ftne.f
21260 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21261 const IDESC * UNUSED idesc = abuf->idesc;
21262 int cycles = 0;
21264 int referenced = 0;
21265 int UNUSED insn_referenced = abuf->written;
21266 INT in_GRi = -1;
21267 INT in_GRj = -1;
21268 INT in_ICCi_2 = -1;
21269 INT in_FCCi_2 = -1;
21270 in_GRi = FLD (in_GRi);
21271 in_GRj = FLD (in_GRj);
21272 in_FCCi_2 = FLD (in_FCCi_2);
21273 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21274 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21275 referenced |= 1 << 3;
21276 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21278 return cycles;
21279 #undef FLD
21282 static int
21283 model_fr550_fto (SIM_CPU *current_cpu, void *sem_arg)
21285 #define FLD(f) abuf->fields.sfmt_ftne.f
21286 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21287 const IDESC * UNUSED idesc = abuf->idesc;
21288 int cycles = 0;
21290 int referenced = 0;
21291 int UNUSED insn_referenced = abuf->written;
21292 INT in_GRi = -1;
21293 INT in_GRj = -1;
21294 INT in_ICCi_2 = -1;
21295 INT in_FCCi_2 = -1;
21296 in_GRi = FLD (in_GRi);
21297 in_GRj = FLD (in_GRj);
21298 in_FCCi_2 = FLD (in_FCCi_2);
21299 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21300 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
21301 referenced |= 1 << 3;
21302 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21304 return cycles;
21305 #undef FLD
21308 static int
21309 model_fr550_tira (SIM_CPU *current_cpu, void *sem_arg)
21311 #define FLD(f) abuf->fields.sfmt_ftine.f
21312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21313 const IDESC * UNUSED idesc = abuf->idesc;
21314 int cycles = 0;
21316 int referenced = 0;
21317 int UNUSED insn_referenced = abuf->written;
21318 INT in_GRi = -1;
21319 INT in_GRj = -1;
21320 INT in_ICCi_2 = -1;
21321 INT in_FCCi_2 = -1;
21322 in_GRi = FLD (in_GRi);
21323 referenced |= 1 << 0;
21324 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21326 return cycles;
21327 #undef FLD
21330 static int
21331 model_fr550_tino (SIM_CPU *current_cpu, void *sem_arg)
21333 #define FLD(f) abuf->fields.sfmt_empty.f
21334 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21335 const IDESC * UNUSED idesc = abuf->idesc;
21336 int cycles = 0;
21338 int referenced = 0;
21339 int UNUSED insn_referenced = abuf->written;
21340 INT in_GRi = -1;
21341 INT in_GRj = -1;
21342 INT in_ICCi_2 = -1;
21343 INT in_FCCi_2 = -1;
21344 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21346 return cycles;
21347 #undef FLD
21350 static int
21351 model_fr550_tieq (SIM_CPU *current_cpu, void *sem_arg)
21353 #define FLD(f) abuf->fields.sfmt_tieq.f
21354 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21355 const IDESC * UNUSED idesc = abuf->idesc;
21356 int cycles = 0;
21358 int referenced = 0;
21359 int UNUSED insn_referenced = abuf->written;
21360 INT in_GRi = -1;
21361 INT in_GRj = -1;
21362 INT in_ICCi_2 = -1;
21363 INT in_FCCi_2 = -1;
21364 in_GRi = FLD (in_GRi);
21365 in_ICCi_2 = FLD (in_ICCi_2);
21366 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21367 referenced |= 1 << 2;
21368 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21370 return cycles;
21371 #undef FLD
21374 static int
21375 model_fr550_tine (SIM_CPU *current_cpu, void *sem_arg)
21377 #define FLD(f) abuf->fields.sfmt_tieq.f
21378 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21379 const IDESC * UNUSED idesc = abuf->idesc;
21380 int cycles = 0;
21382 int referenced = 0;
21383 int UNUSED insn_referenced = abuf->written;
21384 INT in_GRi = -1;
21385 INT in_GRj = -1;
21386 INT in_ICCi_2 = -1;
21387 INT in_FCCi_2 = -1;
21388 in_GRi = FLD (in_GRi);
21389 in_ICCi_2 = FLD (in_ICCi_2);
21390 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21391 referenced |= 1 << 2;
21392 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21394 return cycles;
21395 #undef FLD
21398 static int
21399 model_fr550_tile (SIM_CPU *current_cpu, void *sem_arg)
21401 #define FLD(f) abuf->fields.sfmt_tieq.f
21402 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21403 const IDESC * UNUSED idesc = abuf->idesc;
21404 int cycles = 0;
21406 int referenced = 0;
21407 int UNUSED insn_referenced = abuf->written;
21408 INT in_GRi = -1;
21409 INT in_GRj = -1;
21410 INT in_ICCi_2 = -1;
21411 INT in_FCCi_2 = -1;
21412 in_GRi = FLD (in_GRi);
21413 in_ICCi_2 = FLD (in_ICCi_2);
21414 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21415 referenced |= 1 << 2;
21416 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21418 return cycles;
21419 #undef FLD
21422 static int
21423 model_fr550_tigt (SIM_CPU *current_cpu, void *sem_arg)
21425 #define FLD(f) abuf->fields.sfmt_tieq.f
21426 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21427 const IDESC * UNUSED idesc = abuf->idesc;
21428 int cycles = 0;
21430 int referenced = 0;
21431 int UNUSED insn_referenced = abuf->written;
21432 INT in_GRi = -1;
21433 INT in_GRj = -1;
21434 INT in_ICCi_2 = -1;
21435 INT in_FCCi_2 = -1;
21436 in_GRi = FLD (in_GRi);
21437 in_ICCi_2 = FLD (in_ICCi_2);
21438 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21439 referenced |= 1 << 2;
21440 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21442 return cycles;
21443 #undef FLD
21446 static int
21447 model_fr550_tilt (SIM_CPU *current_cpu, void *sem_arg)
21449 #define FLD(f) abuf->fields.sfmt_tieq.f
21450 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21451 const IDESC * UNUSED idesc = abuf->idesc;
21452 int cycles = 0;
21454 int referenced = 0;
21455 int UNUSED insn_referenced = abuf->written;
21456 INT in_GRi = -1;
21457 INT in_GRj = -1;
21458 INT in_ICCi_2 = -1;
21459 INT in_FCCi_2 = -1;
21460 in_GRi = FLD (in_GRi);
21461 in_ICCi_2 = FLD (in_ICCi_2);
21462 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21463 referenced |= 1 << 2;
21464 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21466 return cycles;
21467 #undef FLD
21470 static int
21471 model_fr550_tige (SIM_CPU *current_cpu, void *sem_arg)
21473 #define FLD(f) abuf->fields.sfmt_tieq.f
21474 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21475 const IDESC * UNUSED idesc = abuf->idesc;
21476 int cycles = 0;
21478 int referenced = 0;
21479 int UNUSED insn_referenced = abuf->written;
21480 INT in_GRi = -1;
21481 INT in_GRj = -1;
21482 INT in_ICCi_2 = -1;
21483 INT in_FCCi_2 = -1;
21484 in_GRi = FLD (in_GRi);
21485 in_ICCi_2 = FLD (in_ICCi_2);
21486 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21487 referenced |= 1 << 2;
21488 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21490 return cycles;
21491 #undef FLD
21494 static int
21495 model_fr550_tils (SIM_CPU *current_cpu, void *sem_arg)
21497 #define FLD(f) abuf->fields.sfmt_tieq.f
21498 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21499 const IDESC * UNUSED idesc = abuf->idesc;
21500 int cycles = 0;
21502 int referenced = 0;
21503 int UNUSED insn_referenced = abuf->written;
21504 INT in_GRi = -1;
21505 INT in_GRj = -1;
21506 INT in_ICCi_2 = -1;
21507 INT in_FCCi_2 = -1;
21508 in_GRi = FLD (in_GRi);
21509 in_ICCi_2 = FLD (in_ICCi_2);
21510 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21511 referenced |= 1 << 2;
21512 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21514 return cycles;
21515 #undef FLD
21518 static int
21519 model_fr550_tihi (SIM_CPU *current_cpu, void *sem_arg)
21521 #define FLD(f) abuf->fields.sfmt_tieq.f
21522 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21523 const IDESC * UNUSED idesc = abuf->idesc;
21524 int cycles = 0;
21526 int referenced = 0;
21527 int UNUSED insn_referenced = abuf->written;
21528 INT in_GRi = -1;
21529 INT in_GRj = -1;
21530 INT in_ICCi_2 = -1;
21531 INT in_FCCi_2 = -1;
21532 in_GRi = FLD (in_GRi);
21533 in_ICCi_2 = FLD (in_ICCi_2);
21534 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21535 referenced |= 1 << 2;
21536 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21538 return cycles;
21539 #undef FLD
21542 static int
21543 model_fr550_tic (SIM_CPU *current_cpu, void *sem_arg)
21545 #define FLD(f) abuf->fields.sfmt_tieq.f
21546 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21547 const IDESC * UNUSED idesc = abuf->idesc;
21548 int cycles = 0;
21550 int referenced = 0;
21551 int UNUSED insn_referenced = abuf->written;
21552 INT in_GRi = -1;
21553 INT in_GRj = -1;
21554 INT in_ICCi_2 = -1;
21555 INT in_FCCi_2 = -1;
21556 in_GRi = FLD (in_GRi);
21557 in_ICCi_2 = FLD (in_ICCi_2);
21558 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21559 referenced |= 1 << 2;
21560 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21562 return cycles;
21563 #undef FLD
21566 static int
21567 model_fr550_tinc (SIM_CPU *current_cpu, void *sem_arg)
21569 #define FLD(f) abuf->fields.sfmt_tieq.f
21570 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21571 const IDESC * UNUSED idesc = abuf->idesc;
21572 int cycles = 0;
21574 int referenced = 0;
21575 int UNUSED insn_referenced = abuf->written;
21576 INT in_GRi = -1;
21577 INT in_GRj = -1;
21578 INT in_ICCi_2 = -1;
21579 INT in_FCCi_2 = -1;
21580 in_GRi = FLD (in_GRi);
21581 in_ICCi_2 = FLD (in_ICCi_2);
21582 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21583 referenced |= 1 << 2;
21584 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21586 return cycles;
21587 #undef FLD
21590 static int
21591 model_fr550_tin (SIM_CPU *current_cpu, void *sem_arg)
21593 #define FLD(f) abuf->fields.sfmt_tieq.f
21594 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21595 const IDESC * UNUSED idesc = abuf->idesc;
21596 int cycles = 0;
21598 int referenced = 0;
21599 int UNUSED insn_referenced = abuf->written;
21600 INT in_GRi = -1;
21601 INT in_GRj = -1;
21602 INT in_ICCi_2 = -1;
21603 INT in_FCCi_2 = -1;
21604 in_GRi = FLD (in_GRi);
21605 in_ICCi_2 = FLD (in_ICCi_2);
21606 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21607 referenced |= 1 << 2;
21608 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21610 return cycles;
21611 #undef FLD
21614 static int
21615 model_fr550_tip (SIM_CPU *current_cpu, void *sem_arg)
21617 #define FLD(f) abuf->fields.sfmt_tieq.f
21618 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21619 const IDESC * UNUSED idesc = abuf->idesc;
21620 int cycles = 0;
21622 int referenced = 0;
21623 int UNUSED insn_referenced = abuf->written;
21624 INT in_GRi = -1;
21625 INT in_GRj = -1;
21626 INT in_ICCi_2 = -1;
21627 INT in_FCCi_2 = -1;
21628 in_GRi = FLD (in_GRi);
21629 in_ICCi_2 = FLD (in_ICCi_2);
21630 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21631 referenced |= 1 << 2;
21632 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21634 return cycles;
21635 #undef FLD
21638 static int
21639 model_fr550_tiv (SIM_CPU *current_cpu, void *sem_arg)
21641 #define FLD(f) abuf->fields.sfmt_tieq.f
21642 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21643 const IDESC * UNUSED idesc = abuf->idesc;
21644 int cycles = 0;
21646 int referenced = 0;
21647 int UNUSED insn_referenced = abuf->written;
21648 INT in_GRi = -1;
21649 INT in_GRj = -1;
21650 INT in_ICCi_2 = -1;
21651 INT in_FCCi_2 = -1;
21652 in_GRi = FLD (in_GRi);
21653 in_ICCi_2 = FLD (in_ICCi_2);
21654 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21655 referenced |= 1 << 2;
21656 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21658 return cycles;
21659 #undef FLD
21662 static int
21663 model_fr550_tinv (SIM_CPU *current_cpu, void *sem_arg)
21665 #define FLD(f) abuf->fields.sfmt_tieq.f
21666 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21667 const IDESC * UNUSED idesc = abuf->idesc;
21668 int cycles = 0;
21670 int referenced = 0;
21671 int UNUSED insn_referenced = abuf->written;
21672 INT in_GRi = -1;
21673 INT in_GRj = -1;
21674 INT in_ICCi_2 = -1;
21675 INT in_FCCi_2 = -1;
21676 in_GRi = FLD (in_GRi);
21677 in_ICCi_2 = FLD (in_ICCi_2);
21678 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
21679 referenced |= 1 << 2;
21680 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21682 return cycles;
21683 #undef FLD
21686 static int
21687 model_fr550_ftira (SIM_CPU *current_cpu, void *sem_arg)
21689 #define FLD(f) abuf->fields.sfmt_ftine.f
21690 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21691 const IDESC * UNUSED idesc = abuf->idesc;
21692 int cycles = 0;
21694 int referenced = 0;
21695 int UNUSED insn_referenced = abuf->written;
21696 INT in_GRi = -1;
21697 INT in_GRj = -1;
21698 INT in_ICCi_2 = -1;
21699 INT in_FCCi_2 = -1;
21700 in_GRi = FLD (in_GRi);
21701 referenced |= 1 << 0;
21702 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21704 return cycles;
21705 #undef FLD
21708 static int
21709 model_fr550_ftino (SIM_CPU *current_cpu, void *sem_arg)
21711 #define FLD(f) abuf->fields.sfmt_empty.f
21712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21713 const IDESC * UNUSED idesc = abuf->idesc;
21714 int cycles = 0;
21716 int referenced = 0;
21717 int UNUSED insn_referenced = abuf->written;
21718 INT in_GRi = -1;
21719 INT in_GRj = -1;
21720 INT in_ICCi_2 = -1;
21721 INT in_FCCi_2 = -1;
21722 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21724 return cycles;
21725 #undef FLD
21728 static int
21729 model_fr550_ftine (SIM_CPU *current_cpu, void *sem_arg)
21731 #define FLD(f) abuf->fields.sfmt_ftine.f
21732 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21733 const IDESC * UNUSED idesc = abuf->idesc;
21734 int cycles = 0;
21736 int referenced = 0;
21737 int UNUSED insn_referenced = abuf->written;
21738 INT in_GRi = -1;
21739 INT in_GRj = -1;
21740 INT in_ICCi_2 = -1;
21741 INT in_FCCi_2 = -1;
21742 in_GRi = FLD (in_GRi);
21743 in_FCCi_2 = FLD (in_FCCi_2);
21744 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21745 referenced |= 1 << 3;
21746 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21748 return cycles;
21749 #undef FLD
21752 static int
21753 model_fr550_ftieq (SIM_CPU *current_cpu, void *sem_arg)
21755 #define FLD(f) abuf->fields.sfmt_ftine.f
21756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21757 const IDESC * UNUSED idesc = abuf->idesc;
21758 int cycles = 0;
21760 int referenced = 0;
21761 int UNUSED insn_referenced = abuf->written;
21762 INT in_GRi = -1;
21763 INT in_GRj = -1;
21764 INT in_ICCi_2 = -1;
21765 INT in_FCCi_2 = -1;
21766 in_GRi = FLD (in_GRi);
21767 in_FCCi_2 = FLD (in_FCCi_2);
21768 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21769 referenced |= 1 << 3;
21770 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21772 return cycles;
21773 #undef FLD
21776 static int
21777 model_fr550_ftilg (SIM_CPU *current_cpu, void *sem_arg)
21779 #define FLD(f) abuf->fields.sfmt_ftine.f
21780 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21781 const IDESC * UNUSED idesc = abuf->idesc;
21782 int cycles = 0;
21784 int referenced = 0;
21785 int UNUSED insn_referenced = abuf->written;
21786 INT in_GRi = -1;
21787 INT in_GRj = -1;
21788 INT in_ICCi_2 = -1;
21789 INT in_FCCi_2 = -1;
21790 in_GRi = FLD (in_GRi);
21791 in_FCCi_2 = FLD (in_FCCi_2);
21792 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21793 referenced |= 1 << 3;
21794 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21796 return cycles;
21797 #undef FLD
21800 static int
21801 model_fr550_ftiue (SIM_CPU *current_cpu, void *sem_arg)
21803 #define FLD(f) abuf->fields.sfmt_ftine.f
21804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21805 const IDESC * UNUSED idesc = abuf->idesc;
21806 int cycles = 0;
21808 int referenced = 0;
21809 int UNUSED insn_referenced = abuf->written;
21810 INT in_GRi = -1;
21811 INT in_GRj = -1;
21812 INT in_ICCi_2 = -1;
21813 INT in_FCCi_2 = -1;
21814 in_GRi = FLD (in_GRi);
21815 in_FCCi_2 = FLD (in_FCCi_2);
21816 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21817 referenced |= 1 << 3;
21818 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21820 return cycles;
21821 #undef FLD
21824 static int
21825 model_fr550_ftiul (SIM_CPU *current_cpu, void *sem_arg)
21827 #define FLD(f) abuf->fields.sfmt_ftine.f
21828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21829 const IDESC * UNUSED idesc = abuf->idesc;
21830 int cycles = 0;
21832 int referenced = 0;
21833 int UNUSED insn_referenced = abuf->written;
21834 INT in_GRi = -1;
21835 INT in_GRj = -1;
21836 INT in_ICCi_2 = -1;
21837 INT in_FCCi_2 = -1;
21838 in_GRi = FLD (in_GRi);
21839 in_FCCi_2 = FLD (in_FCCi_2);
21840 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21841 referenced |= 1 << 3;
21842 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21844 return cycles;
21845 #undef FLD
21848 static int
21849 model_fr550_ftige (SIM_CPU *current_cpu, void *sem_arg)
21851 #define FLD(f) abuf->fields.sfmt_ftine.f
21852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21853 const IDESC * UNUSED idesc = abuf->idesc;
21854 int cycles = 0;
21856 int referenced = 0;
21857 int UNUSED insn_referenced = abuf->written;
21858 INT in_GRi = -1;
21859 INT in_GRj = -1;
21860 INT in_ICCi_2 = -1;
21861 INT in_FCCi_2 = -1;
21862 in_GRi = FLD (in_GRi);
21863 in_FCCi_2 = FLD (in_FCCi_2);
21864 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21865 referenced |= 1 << 3;
21866 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21868 return cycles;
21869 #undef FLD
21872 static int
21873 model_fr550_ftilt (SIM_CPU *current_cpu, void *sem_arg)
21875 #define FLD(f) abuf->fields.sfmt_ftine.f
21876 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21877 const IDESC * UNUSED idesc = abuf->idesc;
21878 int cycles = 0;
21880 int referenced = 0;
21881 int UNUSED insn_referenced = abuf->written;
21882 INT in_GRi = -1;
21883 INT in_GRj = -1;
21884 INT in_ICCi_2 = -1;
21885 INT in_FCCi_2 = -1;
21886 in_GRi = FLD (in_GRi);
21887 in_FCCi_2 = FLD (in_FCCi_2);
21888 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21889 referenced |= 1 << 3;
21890 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21892 return cycles;
21893 #undef FLD
21896 static int
21897 model_fr550_ftiuge (SIM_CPU *current_cpu, void *sem_arg)
21899 #define FLD(f) abuf->fields.sfmt_ftine.f
21900 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21901 const IDESC * UNUSED idesc = abuf->idesc;
21902 int cycles = 0;
21904 int referenced = 0;
21905 int UNUSED insn_referenced = abuf->written;
21906 INT in_GRi = -1;
21907 INT in_GRj = -1;
21908 INT in_ICCi_2 = -1;
21909 INT in_FCCi_2 = -1;
21910 in_GRi = FLD (in_GRi);
21911 in_FCCi_2 = FLD (in_FCCi_2);
21912 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21913 referenced |= 1 << 3;
21914 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21916 return cycles;
21917 #undef FLD
21920 static int
21921 model_fr550_ftiug (SIM_CPU *current_cpu, void *sem_arg)
21923 #define FLD(f) abuf->fields.sfmt_ftine.f
21924 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21925 const IDESC * UNUSED idesc = abuf->idesc;
21926 int cycles = 0;
21928 int referenced = 0;
21929 int UNUSED insn_referenced = abuf->written;
21930 INT in_GRi = -1;
21931 INT in_GRj = -1;
21932 INT in_ICCi_2 = -1;
21933 INT in_FCCi_2 = -1;
21934 in_GRi = FLD (in_GRi);
21935 in_FCCi_2 = FLD (in_FCCi_2);
21936 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21937 referenced |= 1 << 3;
21938 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21940 return cycles;
21941 #undef FLD
21944 static int
21945 model_fr550_ftile (SIM_CPU *current_cpu, void *sem_arg)
21947 #define FLD(f) abuf->fields.sfmt_ftine.f
21948 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21949 const IDESC * UNUSED idesc = abuf->idesc;
21950 int cycles = 0;
21952 int referenced = 0;
21953 int UNUSED insn_referenced = abuf->written;
21954 INT in_GRi = -1;
21955 INT in_GRj = -1;
21956 INT in_ICCi_2 = -1;
21957 INT in_FCCi_2 = -1;
21958 in_GRi = FLD (in_GRi);
21959 in_FCCi_2 = FLD (in_FCCi_2);
21960 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21961 referenced |= 1 << 3;
21962 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21964 return cycles;
21965 #undef FLD
21968 static int
21969 model_fr550_ftigt (SIM_CPU *current_cpu, void *sem_arg)
21971 #define FLD(f) abuf->fields.sfmt_ftine.f
21972 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21973 const IDESC * UNUSED idesc = abuf->idesc;
21974 int cycles = 0;
21976 int referenced = 0;
21977 int UNUSED insn_referenced = abuf->written;
21978 INT in_GRi = -1;
21979 INT in_GRj = -1;
21980 INT in_ICCi_2 = -1;
21981 INT in_FCCi_2 = -1;
21982 in_GRi = FLD (in_GRi);
21983 in_FCCi_2 = FLD (in_FCCi_2);
21984 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
21985 referenced |= 1 << 3;
21986 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
21988 return cycles;
21989 #undef FLD
21992 static int
21993 model_fr550_ftiule (SIM_CPU *current_cpu, void *sem_arg)
21995 #define FLD(f) abuf->fields.sfmt_ftine.f
21996 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
21997 const IDESC * UNUSED idesc = abuf->idesc;
21998 int cycles = 0;
22000 int referenced = 0;
22001 int UNUSED insn_referenced = abuf->written;
22002 INT in_GRi = -1;
22003 INT in_GRj = -1;
22004 INT in_ICCi_2 = -1;
22005 INT in_FCCi_2 = -1;
22006 in_GRi = FLD (in_GRi);
22007 in_FCCi_2 = FLD (in_FCCi_2);
22008 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
22009 referenced |= 1 << 3;
22010 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
22012 return cycles;
22013 #undef FLD
22016 static int
22017 model_fr550_ftiu (SIM_CPU *current_cpu, void *sem_arg)
22019 #define FLD(f) abuf->fields.sfmt_ftine.f
22020 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22021 const IDESC * UNUSED idesc = abuf->idesc;
22022 int cycles = 0;
22024 int referenced = 0;
22025 int UNUSED insn_referenced = abuf->written;
22026 INT in_GRi = -1;
22027 INT in_GRj = -1;
22028 INT in_ICCi_2 = -1;
22029 INT in_FCCi_2 = -1;
22030 in_GRi = FLD (in_GRi);
22031 in_FCCi_2 = FLD (in_FCCi_2);
22032 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
22033 referenced |= 1 << 3;
22034 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
22036 return cycles;
22037 #undef FLD
22040 static int
22041 model_fr550_ftio (SIM_CPU *current_cpu, void *sem_arg)
22043 #define FLD(f) abuf->fields.sfmt_ftine.f
22044 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22045 const IDESC * UNUSED idesc = abuf->idesc;
22046 int cycles = 0;
22048 int referenced = 0;
22049 int UNUSED insn_referenced = abuf->written;
22050 INT in_GRi = -1;
22051 INT in_GRj = -1;
22052 INT in_ICCi_2 = -1;
22053 INT in_FCCi_2 = -1;
22054 in_GRi = FLD (in_GRi);
22055 in_FCCi_2 = FLD (in_FCCi_2);
22056 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
22057 referenced |= 1 << 3;
22058 cycles += frvbf_model_fr550_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
22060 return cycles;
22061 #undef FLD
22064 static int
22065 model_fr550_break (SIM_CPU *current_cpu, void *sem_arg)
22067 #define FLD(f) abuf->fields.sfmt_break.f
22068 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22069 const IDESC * UNUSED idesc = abuf->idesc;
22070 int cycles = 0;
22072 int referenced = 0;
22073 int UNUSED insn_referenced = abuf->written;
22074 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22076 return cycles;
22077 #undef FLD
22080 static int
22081 model_fr550_mtrap (SIM_CPU *current_cpu, void *sem_arg)
22083 #define FLD(f) abuf->fields.sfmt_empty.f
22084 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22085 const IDESC * UNUSED idesc = abuf->idesc;
22086 int cycles = 0;
22088 int referenced = 0;
22089 int UNUSED insn_referenced = abuf->written;
22090 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22092 return cycles;
22093 #undef FLD
22096 static int
22097 model_fr550_andcr (SIM_CPU *current_cpu, void *sem_arg)
22099 #define FLD(f) abuf->fields.sfmt_andcr.f
22100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22101 const IDESC * UNUSED idesc = abuf->idesc;
22102 int cycles = 0;
22104 int referenced = 0;
22105 int UNUSED insn_referenced = abuf->written;
22106 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22108 return cycles;
22109 #undef FLD
22112 static int
22113 model_fr550_orcr (SIM_CPU *current_cpu, void *sem_arg)
22115 #define FLD(f) abuf->fields.sfmt_andcr.f
22116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22117 const IDESC * UNUSED idesc = abuf->idesc;
22118 int cycles = 0;
22120 int referenced = 0;
22121 int UNUSED insn_referenced = abuf->written;
22122 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22124 return cycles;
22125 #undef FLD
22128 static int
22129 model_fr550_xorcr (SIM_CPU *current_cpu, void *sem_arg)
22131 #define FLD(f) abuf->fields.sfmt_andcr.f
22132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22133 const IDESC * UNUSED idesc = abuf->idesc;
22134 int cycles = 0;
22136 int referenced = 0;
22137 int UNUSED insn_referenced = abuf->written;
22138 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22140 return cycles;
22141 #undef FLD
22144 static int
22145 model_fr550_nandcr (SIM_CPU *current_cpu, void *sem_arg)
22147 #define FLD(f) abuf->fields.sfmt_andcr.f
22148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22149 const IDESC * UNUSED idesc = abuf->idesc;
22150 int cycles = 0;
22152 int referenced = 0;
22153 int UNUSED insn_referenced = abuf->written;
22154 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22156 return cycles;
22157 #undef FLD
22160 static int
22161 model_fr550_norcr (SIM_CPU *current_cpu, void *sem_arg)
22163 #define FLD(f) abuf->fields.sfmt_andcr.f
22164 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22165 const IDESC * UNUSED idesc = abuf->idesc;
22166 int cycles = 0;
22168 int referenced = 0;
22169 int UNUSED insn_referenced = abuf->written;
22170 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22172 return cycles;
22173 #undef FLD
22176 static int
22177 model_fr550_andncr (SIM_CPU *current_cpu, void *sem_arg)
22179 #define FLD(f) abuf->fields.sfmt_andcr.f
22180 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22181 const IDESC * UNUSED idesc = abuf->idesc;
22182 int cycles = 0;
22184 int referenced = 0;
22185 int UNUSED insn_referenced = abuf->written;
22186 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22188 return cycles;
22189 #undef FLD
22192 static int
22193 model_fr550_orncr (SIM_CPU *current_cpu, void *sem_arg)
22195 #define FLD(f) abuf->fields.sfmt_andcr.f
22196 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22197 const IDESC * UNUSED idesc = abuf->idesc;
22198 int cycles = 0;
22200 int referenced = 0;
22201 int UNUSED insn_referenced = abuf->written;
22202 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22204 return cycles;
22205 #undef FLD
22208 static int
22209 model_fr550_nandncr (SIM_CPU *current_cpu, void *sem_arg)
22211 #define FLD(f) abuf->fields.sfmt_andcr.f
22212 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22213 const IDESC * UNUSED idesc = abuf->idesc;
22214 int cycles = 0;
22216 int referenced = 0;
22217 int UNUSED insn_referenced = abuf->written;
22218 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22220 return cycles;
22221 #undef FLD
22224 static int
22225 model_fr550_norncr (SIM_CPU *current_cpu, void *sem_arg)
22227 #define FLD(f) abuf->fields.sfmt_andcr.f
22228 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22229 const IDESC * UNUSED idesc = abuf->idesc;
22230 int cycles = 0;
22232 int referenced = 0;
22233 int UNUSED insn_referenced = abuf->written;
22234 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22236 return cycles;
22237 #undef FLD
22240 static int
22241 model_fr550_notcr (SIM_CPU *current_cpu, void *sem_arg)
22243 #define FLD(f) abuf->fields.sfmt_andcr.f
22244 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22245 const IDESC * UNUSED idesc = abuf->idesc;
22246 int cycles = 0;
22248 int referenced = 0;
22249 int UNUSED insn_referenced = abuf->written;
22250 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
22252 return cycles;
22253 #undef FLD
22256 static int
22257 model_fr550_ckra (SIM_CPU *current_cpu, void *sem_arg)
22259 #define FLD(f) abuf->fields.sfmt_cckeq.f
22260 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22261 const IDESC * UNUSED idesc = abuf->idesc;
22262 int cycles = 0;
22264 int referenced = 0;
22265 int UNUSED insn_referenced = abuf->written;
22266 INT in_ICCi_3 = -1;
22267 INT in_FCCi_3 = -1;
22268 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22270 return cycles;
22271 #undef FLD
22274 static int
22275 model_fr550_ckno (SIM_CPU *current_cpu, void *sem_arg)
22277 #define FLD(f) abuf->fields.sfmt_cckeq.f
22278 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22279 const IDESC * UNUSED idesc = abuf->idesc;
22280 int cycles = 0;
22282 int referenced = 0;
22283 int UNUSED insn_referenced = abuf->written;
22284 INT in_ICCi_3 = -1;
22285 INT in_FCCi_3 = -1;
22286 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22288 return cycles;
22289 #undef FLD
22292 static int
22293 model_fr550_ckeq (SIM_CPU *current_cpu, void *sem_arg)
22295 #define FLD(f) abuf->fields.sfmt_cckeq.f
22296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22297 const IDESC * UNUSED idesc = abuf->idesc;
22298 int cycles = 0;
22300 int referenced = 0;
22301 int UNUSED insn_referenced = abuf->written;
22302 INT in_ICCi_3 = -1;
22303 INT in_FCCi_3 = -1;
22304 in_ICCi_3 = FLD (in_ICCi_3);
22305 referenced |= 1 << 0;
22306 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22308 return cycles;
22309 #undef FLD
22312 static int
22313 model_fr550_ckne (SIM_CPU *current_cpu, void *sem_arg)
22315 #define FLD(f) abuf->fields.sfmt_cckeq.f
22316 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22317 const IDESC * UNUSED idesc = abuf->idesc;
22318 int cycles = 0;
22320 int referenced = 0;
22321 int UNUSED insn_referenced = abuf->written;
22322 INT in_ICCi_3 = -1;
22323 INT in_FCCi_3 = -1;
22324 in_ICCi_3 = FLD (in_ICCi_3);
22325 referenced |= 1 << 0;
22326 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22328 return cycles;
22329 #undef FLD
22332 static int
22333 model_fr550_ckle (SIM_CPU *current_cpu, void *sem_arg)
22335 #define FLD(f) abuf->fields.sfmt_cckeq.f
22336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22337 const IDESC * UNUSED idesc = abuf->idesc;
22338 int cycles = 0;
22340 int referenced = 0;
22341 int UNUSED insn_referenced = abuf->written;
22342 INT in_ICCi_3 = -1;
22343 INT in_FCCi_3 = -1;
22344 in_ICCi_3 = FLD (in_ICCi_3);
22345 referenced |= 1 << 0;
22346 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22348 return cycles;
22349 #undef FLD
22352 static int
22353 model_fr550_ckgt (SIM_CPU *current_cpu, void *sem_arg)
22355 #define FLD(f) abuf->fields.sfmt_cckeq.f
22356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22357 const IDESC * UNUSED idesc = abuf->idesc;
22358 int cycles = 0;
22360 int referenced = 0;
22361 int UNUSED insn_referenced = abuf->written;
22362 INT in_ICCi_3 = -1;
22363 INT in_FCCi_3 = -1;
22364 in_ICCi_3 = FLD (in_ICCi_3);
22365 referenced |= 1 << 0;
22366 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22368 return cycles;
22369 #undef FLD
22372 static int
22373 model_fr550_cklt (SIM_CPU *current_cpu, void *sem_arg)
22375 #define FLD(f) abuf->fields.sfmt_cckeq.f
22376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22377 const IDESC * UNUSED idesc = abuf->idesc;
22378 int cycles = 0;
22380 int referenced = 0;
22381 int UNUSED insn_referenced = abuf->written;
22382 INT in_ICCi_3 = -1;
22383 INT in_FCCi_3 = -1;
22384 in_ICCi_3 = FLD (in_ICCi_3);
22385 referenced |= 1 << 0;
22386 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22388 return cycles;
22389 #undef FLD
22392 static int
22393 model_fr550_ckge (SIM_CPU *current_cpu, void *sem_arg)
22395 #define FLD(f) abuf->fields.sfmt_cckeq.f
22396 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22397 const IDESC * UNUSED idesc = abuf->idesc;
22398 int cycles = 0;
22400 int referenced = 0;
22401 int UNUSED insn_referenced = abuf->written;
22402 INT in_ICCi_3 = -1;
22403 INT in_FCCi_3 = -1;
22404 in_ICCi_3 = FLD (in_ICCi_3);
22405 referenced |= 1 << 0;
22406 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22408 return cycles;
22409 #undef FLD
22412 static int
22413 model_fr550_ckls (SIM_CPU *current_cpu, void *sem_arg)
22415 #define FLD(f) abuf->fields.sfmt_cckeq.f
22416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22417 const IDESC * UNUSED idesc = abuf->idesc;
22418 int cycles = 0;
22420 int referenced = 0;
22421 int UNUSED insn_referenced = abuf->written;
22422 INT in_ICCi_3 = -1;
22423 INT in_FCCi_3 = -1;
22424 in_ICCi_3 = FLD (in_ICCi_3);
22425 referenced |= 1 << 0;
22426 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22428 return cycles;
22429 #undef FLD
22432 static int
22433 model_fr550_ckhi (SIM_CPU *current_cpu, void *sem_arg)
22435 #define FLD(f) abuf->fields.sfmt_cckeq.f
22436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22437 const IDESC * UNUSED idesc = abuf->idesc;
22438 int cycles = 0;
22440 int referenced = 0;
22441 int UNUSED insn_referenced = abuf->written;
22442 INT in_ICCi_3 = -1;
22443 INT in_FCCi_3 = -1;
22444 in_ICCi_3 = FLD (in_ICCi_3);
22445 referenced |= 1 << 0;
22446 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22448 return cycles;
22449 #undef FLD
22452 static int
22453 model_fr550_ckc (SIM_CPU *current_cpu, void *sem_arg)
22455 #define FLD(f) abuf->fields.sfmt_cckeq.f
22456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22457 const IDESC * UNUSED idesc = abuf->idesc;
22458 int cycles = 0;
22460 int referenced = 0;
22461 int UNUSED insn_referenced = abuf->written;
22462 INT in_ICCi_3 = -1;
22463 INT in_FCCi_3 = -1;
22464 in_ICCi_3 = FLD (in_ICCi_3);
22465 referenced |= 1 << 0;
22466 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22468 return cycles;
22469 #undef FLD
22472 static int
22473 model_fr550_cknc (SIM_CPU *current_cpu, void *sem_arg)
22475 #define FLD(f) abuf->fields.sfmt_cckeq.f
22476 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22477 const IDESC * UNUSED idesc = abuf->idesc;
22478 int cycles = 0;
22480 int referenced = 0;
22481 int UNUSED insn_referenced = abuf->written;
22482 INT in_ICCi_3 = -1;
22483 INT in_FCCi_3 = -1;
22484 in_ICCi_3 = FLD (in_ICCi_3);
22485 referenced |= 1 << 0;
22486 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22488 return cycles;
22489 #undef FLD
22492 static int
22493 model_fr550_ckn (SIM_CPU *current_cpu, void *sem_arg)
22495 #define FLD(f) abuf->fields.sfmt_cckeq.f
22496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22497 const IDESC * UNUSED idesc = abuf->idesc;
22498 int cycles = 0;
22500 int referenced = 0;
22501 int UNUSED insn_referenced = abuf->written;
22502 INT in_ICCi_3 = -1;
22503 INT in_FCCi_3 = -1;
22504 in_ICCi_3 = FLD (in_ICCi_3);
22505 referenced |= 1 << 0;
22506 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22508 return cycles;
22509 #undef FLD
22512 static int
22513 model_fr550_ckp (SIM_CPU *current_cpu, void *sem_arg)
22515 #define FLD(f) abuf->fields.sfmt_cckeq.f
22516 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22517 const IDESC * UNUSED idesc = abuf->idesc;
22518 int cycles = 0;
22520 int referenced = 0;
22521 int UNUSED insn_referenced = abuf->written;
22522 INT in_ICCi_3 = -1;
22523 INT in_FCCi_3 = -1;
22524 in_ICCi_3 = FLD (in_ICCi_3);
22525 referenced |= 1 << 0;
22526 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22528 return cycles;
22529 #undef FLD
22532 static int
22533 model_fr550_ckv (SIM_CPU *current_cpu, void *sem_arg)
22535 #define FLD(f) abuf->fields.sfmt_cckeq.f
22536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22537 const IDESC * UNUSED idesc = abuf->idesc;
22538 int cycles = 0;
22540 int referenced = 0;
22541 int UNUSED insn_referenced = abuf->written;
22542 INT in_ICCi_3 = -1;
22543 INT in_FCCi_3 = -1;
22544 in_ICCi_3 = FLD (in_ICCi_3);
22545 referenced |= 1 << 0;
22546 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22548 return cycles;
22549 #undef FLD
22552 static int
22553 model_fr550_cknv (SIM_CPU *current_cpu, void *sem_arg)
22555 #define FLD(f) abuf->fields.sfmt_cckeq.f
22556 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22557 const IDESC * UNUSED idesc = abuf->idesc;
22558 int cycles = 0;
22560 int referenced = 0;
22561 int UNUSED insn_referenced = abuf->written;
22562 INT in_ICCi_3 = -1;
22563 INT in_FCCi_3 = -1;
22564 in_ICCi_3 = FLD (in_ICCi_3);
22565 referenced |= 1 << 0;
22566 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22568 return cycles;
22569 #undef FLD
22572 static int
22573 model_fr550_fckra (SIM_CPU *current_cpu, void *sem_arg)
22575 #define FLD(f) abuf->fields.sfmt_cfckne.f
22576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22577 const IDESC * UNUSED idesc = abuf->idesc;
22578 int cycles = 0;
22580 int referenced = 0;
22581 int UNUSED insn_referenced = abuf->written;
22582 INT in_ICCi_3 = -1;
22583 INT in_FCCi_3 = -1;
22584 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22586 return cycles;
22587 #undef FLD
22590 static int
22591 model_fr550_fckno (SIM_CPU *current_cpu, void *sem_arg)
22593 #define FLD(f) abuf->fields.sfmt_cfckne.f
22594 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22595 const IDESC * UNUSED idesc = abuf->idesc;
22596 int cycles = 0;
22598 int referenced = 0;
22599 int UNUSED insn_referenced = abuf->written;
22600 INT in_ICCi_3 = -1;
22601 INT in_FCCi_3 = -1;
22602 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22604 return cycles;
22605 #undef FLD
22608 static int
22609 model_fr550_fckne (SIM_CPU *current_cpu, void *sem_arg)
22611 #define FLD(f) abuf->fields.sfmt_cfckne.f
22612 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22613 const IDESC * UNUSED idesc = abuf->idesc;
22614 int cycles = 0;
22616 int referenced = 0;
22617 int UNUSED insn_referenced = abuf->written;
22618 INT in_ICCi_3 = -1;
22619 INT in_FCCi_3 = -1;
22620 in_FCCi_3 = FLD (in_FCCi_3);
22621 referenced |= 1 << 1;
22622 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22624 return cycles;
22625 #undef FLD
22628 static int
22629 model_fr550_fckeq (SIM_CPU *current_cpu, void *sem_arg)
22631 #define FLD(f) abuf->fields.sfmt_cfckne.f
22632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22633 const IDESC * UNUSED idesc = abuf->idesc;
22634 int cycles = 0;
22636 int referenced = 0;
22637 int UNUSED insn_referenced = abuf->written;
22638 INT in_ICCi_3 = -1;
22639 INT in_FCCi_3 = -1;
22640 in_FCCi_3 = FLD (in_FCCi_3);
22641 referenced |= 1 << 1;
22642 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22644 return cycles;
22645 #undef FLD
22648 static int
22649 model_fr550_fcklg (SIM_CPU *current_cpu, void *sem_arg)
22651 #define FLD(f) abuf->fields.sfmt_cfckne.f
22652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22653 const IDESC * UNUSED idesc = abuf->idesc;
22654 int cycles = 0;
22656 int referenced = 0;
22657 int UNUSED insn_referenced = abuf->written;
22658 INT in_ICCi_3 = -1;
22659 INT in_FCCi_3 = -1;
22660 in_FCCi_3 = FLD (in_FCCi_3);
22661 referenced |= 1 << 1;
22662 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22664 return cycles;
22665 #undef FLD
22668 static int
22669 model_fr550_fckue (SIM_CPU *current_cpu, void *sem_arg)
22671 #define FLD(f) abuf->fields.sfmt_cfckne.f
22672 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22673 const IDESC * UNUSED idesc = abuf->idesc;
22674 int cycles = 0;
22676 int referenced = 0;
22677 int UNUSED insn_referenced = abuf->written;
22678 INT in_ICCi_3 = -1;
22679 INT in_FCCi_3 = -1;
22680 in_FCCi_3 = FLD (in_FCCi_3);
22681 referenced |= 1 << 1;
22682 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22684 return cycles;
22685 #undef FLD
22688 static int
22689 model_fr550_fckul (SIM_CPU *current_cpu, void *sem_arg)
22691 #define FLD(f) abuf->fields.sfmt_cfckne.f
22692 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22693 const IDESC * UNUSED idesc = abuf->idesc;
22694 int cycles = 0;
22696 int referenced = 0;
22697 int UNUSED insn_referenced = abuf->written;
22698 INT in_ICCi_3 = -1;
22699 INT in_FCCi_3 = -1;
22700 in_FCCi_3 = FLD (in_FCCi_3);
22701 referenced |= 1 << 1;
22702 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22704 return cycles;
22705 #undef FLD
22708 static int
22709 model_fr550_fckge (SIM_CPU *current_cpu, void *sem_arg)
22711 #define FLD(f) abuf->fields.sfmt_cfckne.f
22712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22713 const IDESC * UNUSED idesc = abuf->idesc;
22714 int cycles = 0;
22716 int referenced = 0;
22717 int UNUSED insn_referenced = abuf->written;
22718 INT in_ICCi_3 = -1;
22719 INT in_FCCi_3 = -1;
22720 in_FCCi_3 = FLD (in_FCCi_3);
22721 referenced |= 1 << 1;
22722 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22724 return cycles;
22725 #undef FLD
22728 static int
22729 model_fr550_fcklt (SIM_CPU *current_cpu, void *sem_arg)
22731 #define FLD(f) abuf->fields.sfmt_cfckne.f
22732 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22733 const IDESC * UNUSED idesc = abuf->idesc;
22734 int cycles = 0;
22736 int referenced = 0;
22737 int UNUSED insn_referenced = abuf->written;
22738 INT in_ICCi_3 = -1;
22739 INT in_FCCi_3 = -1;
22740 in_FCCi_3 = FLD (in_FCCi_3);
22741 referenced |= 1 << 1;
22742 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22744 return cycles;
22745 #undef FLD
22748 static int
22749 model_fr550_fckuge (SIM_CPU *current_cpu, void *sem_arg)
22751 #define FLD(f) abuf->fields.sfmt_cfckne.f
22752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22753 const IDESC * UNUSED idesc = abuf->idesc;
22754 int cycles = 0;
22756 int referenced = 0;
22757 int UNUSED insn_referenced = abuf->written;
22758 INT in_ICCi_3 = -1;
22759 INT in_FCCi_3 = -1;
22760 in_FCCi_3 = FLD (in_FCCi_3);
22761 referenced |= 1 << 1;
22762 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22764 return cycles;
22765 #undef FLD
22768 static int
22769 model_fr550_fckug (SIM_CPU *current_cpu, void *sem_arg)
22771 #define FLD(f) abuf->fields.sfmt_cfckne.f
22772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22773 const IDESC * UNUSED idesc = abuf->idesc;
22774 int cycles = 0;
22776 int referenced = 0;
22777 int UNUSED insn_referenced = abuf->written;
22778 INT in_ICCi_3 = -1;
22779 INT in_FCCi_3 = -1;
22780 in_FCCi_3 = FLD (in_FCCi_3);
22781 referenced |= 1 << 1;
22782 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22784 return cycles;
22785 #undef FLD
22788 static int
22789 model_fr550_fckle (SIM_CPU *current_cpu, void *sem_arg)
22791 #define FLD(f) abuf->fields.sfmt_cfckne.f
22792 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22793 const IDESC * UNUSED idesc = abuf->idesc;
22794 int cycles = 0;
22796 int referenced = 0;
22797 int UNUSED insn_referenced = abuf->written;
22798 INT in_ICCi_3 = -1;
22799 INT in_FCCi_3 = -1;
22800 in_FCCi_3 = FLD (in_FCCi_3);
22801 referenced |= 1 << 1;
22802 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22804 return cycles;
22805 #undef FLD
22808 static int
22809 model_fr550_fckgt (SIM_CPU *current_cpu, void *sem_arg)
22811 #define FLD(f) abuf->fields.sfmt_cfckne.f
22812 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22813 const IDESC * UNUSED idesc = abuf->idesc;
22814 int cycles = 0;
22816 int referenced = 0;
22817 int UNUSED insn_referenced = abuf->written;
22818 INT in_ICCi_3 = -1;
22819 INT in_FCCi_3 = -1;
22820 in_FCCi_3 = FLD (in_FCCi_3);
22821 referenced |= 1 << 1;
22822 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22824 return cycles;
22825 #undef FLD
22828 static int
22829 model_fr550_fckule (SIM_CPU *current_cpu, void *sem_arg)
22831 #define FLD(f) abuf->fields.sfmt_cfckne.f
22832 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22833 const IDESC * UNUSED idesc = abuf->idesc;
22834 int cycles = 0;
22836 int referenced = 0;
22837 int UNUSED insn_referenced = abuf->written;
22838 INT in_ICCi_3 = -1;
22839 INT in_FCCi_3 = -1;
22840 in_FCCi_3 = FLD (in_FCCi_3);
22841 referenced |= 1 << 1;
22842 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22844 return cycles;
22845 #undef FLD
22848 static int
22849 model_fr550_fcku (SIM_CPU *current_cpu, void *sem_arg)
22851 #define FLD(f) abuf->fields.sfmt_cfckne.f
22852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22853 const IDESC * UNUSED idesc = abuf->idesc;
22854 int cycles = 0;
22856 int referenced = 0;
22857 int UNUSED insn_referenced = abuf->written;
22858 INT in_ICCi_3 = -1;
22859 INT in_FCCi_3 = -1;
22860 in_FCCi_3 = FLD (in_FCCi_3);
22861 referenced |= 1 << 1;
22862 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22864 return cycles;
22865 #undef FLD
22868 static int
22869 model_fr550_fcko (SIM_CPU *current_cpu, void *sem_arg)
22871 #define FLD(f) abuf->fields.sfmt_cfckne.f
22872 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22873 const IDESC * UNUSED idesc = abuf->idesc;
22874 int cycles = 0;
22876 int referenced = 0;
22877 int UNUSED insn_referenced = abuf->written;
22878 INT in_ICCi_3 = -1;
22879 INT in_FCCi_3 = -1;
22880 in_FCCi_3 = FLD (in_FCCi_3);
22881 referenced |= 1 << 1;
22882 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22884 return cycles;
22885 #undef FLD
22888 static int
22889 model_fr550_cckra (SIM_CPU *current_cpu, void *sem_arg)
22891 #define FLD(f) abuf->fields.sfmt_cckeq.f
22892 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22893 const IDESC * UNUSED idesc = abuf->idesc;
22894 int cycles = 0;
22896 int referenced = 0;
22897 int UNUSED insn_referenced = abuf->written;
22898 INT in_ICCi_3 = -1;
22899 INT in_FCCi_3 = -1;
22900 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22902 return cycles;
22903 #undef FLD
22906 static int
22907 model_fr550_cckno (SIM_CPU *current_cpu, void *sem_arg)
22909 #define FLD(f) abuf->fields.sfmt_cckeq.f
22910 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22911 const IDESC * UNUSED idesc = abuf->idesc;
22912 int cycles = 0;
22914 int referenced = 0;
22915 int UNUSED insn_referenced = abuf->written;
22916 INT in_ICCi_3 = -1;
22917 INT in_FCCi_3 = -1;
22918 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22920 return cycles;
22921 #undef FLD
22924 static int
22925 model_fr550_cckeq (SIM_CPU *current_cpu, void *sem_arg)
22927 #define FLD(f) abuf->fields.sfmt_cckeq.f
22928 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22929 const IDESC * UNUSED idesc = abuf->idesc;
22930 int cycles = 0;
22932 int referenced = 0;
22933 int UNUSED insn_referenced = abuf->written;
22934 INT in_ICCi_3 = -1;
22935 INT in_FCCi_3 = -1;
22936 in_ICCi_3 = FLD (in_ICCi_3);
22937 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
22938 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22940 return cycles;
22941 #undef FLD
22944 static int
22945 model_fr550_cckne (SIM_CPU *current_cpu, void *sem_arg)
22947 #define FLD(f) abuf->fields.sfmt_cckeq.f
22948 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22949 const IDESC * UNUSED idesc = abuf->idesc;
22950 int cycles = 0;
22952 int referenced = 0;
22953 int UNUSED insn_referenced = abuf->written;
22954 INT in_ICCi_3 = -1;
22955 INT in_FCCi_3 = -1;
22956 in_ICCi_3 = FLD (in_ICCi_3);
22957 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
22958 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22960 return cycles;
22961 #undef FLD
22964 static int
22965 model_fr550_cckle (SIM_CPU *current_cpu, void *sem_arg)
22967 #define FLD(f) abuf->fields.sfmt_cckeq.f
22968 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22969 const IDESC * UNUSED idesc = abuf->idesc;
22970 int cycles = 0;
22972 int referenced = 0;
22973 int UNUSED insn_referenced = abuf->written;
22974 INT in_ICCi_3 = -1;
22975 INT in_FCCi_3 = -1;
22976 in_ICCi_3 = FLD (in_ICCi_3);
22977 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
22978 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
22980 return cycles;
22981 #undef FLD
22984 static int
22985 model_fr550_cckgt (SIM_CPU *current_cpu, void *sem_arg)
22987 #define FLD(f) abuf->fields.sfmt_cckeq.f
22988 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
22989 const IDESC * UNUSED idesc = abuf->idesc;
22990 int cycles = 0;
22992 int referenced = 0;
22993 int UNUSED insn_referenced = abuf->written;
22994 INT in_ICCi_3 = -1;
22995 INT in_FCCi_3 = -1;
22996 in_ICCi_3 = FLD (in_ICCi_3);
22997 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
22998 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23000 return cycles;
23001 #undef FLD
23004 static int
23005 model_fr550_ccklt (SIM_CPU *current_cpu, void *sem_arg)
23007 #define FLD(f) abuf->fields.sfmt_cckeq.f
23008 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23009 const IDESC * UNUSED idesc = abuf->idesc;
23010 int cycles = 0;
23012 int referenced = 0;
23013 int UNUSED insn_referenced = abuf->written;
23014 INT in_ICCi_3 = -1;
23015 INT in_FCCi_3 = -1;
23016 in_ICCi_3 = FLD (in_ICCi_3);
23017 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23018 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23020 return cycles;
23021 #undef FLD
23024 static int
23025 model_fr550_cckge (SIM_CPU *current_cpu, void *sem_arg)
23027 #define FLD(f) abuf->fields.sfmt_cckeq.f
23028 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23029 const IDESC * UNUSED idesc = abuf->idesc;
23030 int cycles = 0;
23032 int referenced = 0;
23033 int UNUSED insn_referenced = abuf->written;
23034 INT in_ICCi_3 = -1;
23035 INT in_FCCi_3 = -1;
23036 in_ICCi_3 = FLD (in_ICCi_3);
23037 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23038 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23040 return cycles;
23041 #undef FLD
23044 static int
23045 model_fr550_cckls (SIM_CPU *current_cpu, void *sem_arg)
23047 #define FLD(f) abuf->fields.sfmt_cckeq.f
23048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23049 const IDESC * UNUSED idesc = abuf->idesc;
23050 int cycles = 0;
23052 int referenced = 0;
23053 int UNUSED insn_referenced = abuf->written;
23054 INT in_ICCi_3 = -1;
23055 INT in_FCCi_3 = -1;
23056 in_ICCi_3 = FLD (in_ICCi_3);
23057 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23058 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23060 return cycles;
23061 #undef FLD
23064 static int
23065 model_fr550_cckhi (SIM_CPU *current_cpu, void *sem_arg)
23067 #define FLD(f) abuf->fields.sfmt_cckeq.f
23068 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23069 const IDESC * UNUSED idesc = abuf->idesc;
23070 int cycles = 0;
23072 int referenced = 0;
23073 int UNUSED insn_referenced = abuf->written;
23074 INT in_ICCi_3 = -1;
23075 INT in_FCCi_3 = -1;
23076 in_ICCi_3 = FLD (in_ICCi_3);
23077 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23078 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23080 return cycles;
23081 #undef FLD
23084 static int
23085 model_fr550_cckc (SIM_CPU *current_cpu, void *sem_arg)
23087 #define FLD(f) abuf->fields.sfmt_cckeq.f
23088 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23089 const IDESC * UNUSED idesc = abuf->idesc;
23090 int cycles = 0;
23092 int referenced = 0;
23093 int UNUSED insn_referenced = abuf->written;
23094 INT in_ICCi_3 = -1;
23095 INT in_FCCi_3 = -1;
23096 in_ICCi_3 = FLD (in_ICCi_3);
23097 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23098 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23100 return cycles;
23101 #undef FLD
23104 static int
23105 model_fr550_ccknc (SIM_CPU *current_cpu, void *sem_arg)
23107 #define FLD(f) abuf->fields.sfmt_cckeq.f
23108 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23109 const IDESC * UNUSED idesc = abuf->idesc;
23110 int cycles = 0;
23112 int referenced = 0;
23113 int UNUSED insn_referenced = abuf->written;
23114 INT in_ICCi_3 = -1;
23115 INT in_FCCi_3 = -1;
23116 in_ICCi_3 = FLD (in_ICCi_3);
23117 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23118 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23120 return cycles;
23121 #undef FLD
23124 static int
23125 model_fr550_cckn (SIM_CPU *current_cpu, void *sem_arg)
23127 #define FLD(f) abuf->fields.sfmt_cckeq.f
23128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23129 const IDESC * UNUSED idesc = abuf->idesc;
23130 int cycles = 0;
23132 int referenced = 0;
23133 int UNUSED insn_referenced = abuf->written;
23134 INT in_ICCi_3 = -1;
23135 INT in_FCCi_3 = -1;
23136 in_ICCi_3 = FLD (in_ICCi_3);
23137 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23138 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23140 return cycles;
23141 #undef FLD
23144 static int
23145 model_fr550_cckp (SIM_CPU *current_cpu, void *sem_arg)
23147 #define FLD(f) abuf->fields.sfmt_cckeq.f
23148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23149 const IDESC * UNUSED idesc = abuf->idesc;
23150 int cycles = 0;
23152 int referenced = 0;
23153 int UNUSED insn_referenced = abuf->written;
23154 INT in_ICCi_3 = -1;
23155 INT in_FCCi_3 = -1;
23156 in_ICCi_3 = FLD (in_ICCi_3);
23157 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23158 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23160 return cycles;
23161 #undef FLD
23164 static int
23165 model_fr550_cckv (SIM_CPU *current_cpu, void *sem_arg)
23167 #define FLD(f) abuf->fields.sfmt_cckeq.f
23168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23169 const IDESC * UNUSED idesc = abuf->idesc;
23170 int cycles = 0;
23172 int referenced = 0;
23173 int UNUSED insn_referenced = abuf->written;
23174 INT in_ICCi_3 = -1;
23175 INT in_FCCi_3 = -1;
23176 in_ICCi_3 = FLD (in_ICCi_3);
23177 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23178 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23180 return cycles;
23181 #undef FLD
23184 static int
23185 model_fr550_ccknv (SIM_CPU *current_cpu, void *sem_arg)
23187 #define FLD(f) abuf->fields.sfmt_cckeq.f
23188 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23189 const IDESC * UNUSED idesc = abuf->idesc;
23190 int cycles = 0;
23192 int referenced = 0;
23193 int UNUSED insn_referenced = abuf->written;
23194 INT in_ICCi_3 = -1;
23195 INT in_FCCi_3 = -1;
23196 in_ICCi_3 = FLD (in_ICCi_3);
23197 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23198 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23200 return cycles;
23201 #undef FLD
23204 static int
23205 model_fr550_cfckra (SIM_CPU *current_cpu, void *sem_arg)
23207 #define FLD(f) abuf->fields.sfmt_cfckne.f
23208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23209 const IDESC * UNUSED idesc = abuf->idesc;
23210 int cycles = 0;
23212 int referenced = 0;
23213 int UNUSED insn_referenced = abuf->written;
23214 INT in_ICCi_3 = -1;
23215 INT in_FCCi_3 = -1;
23216 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23218 return cycles;
23219 #undef FLD
23222 static int
23223 model_fr550_cfckno (SIM_CPU *current_cpu, void *sem_arg)
23225 #define FLD(f) abuf->fields.sfmt_cfckne.f
23226 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23227 const IDESC * UNUSED idesc = abuf->idesc;
23228 int cycles = 0;
23230 int referenced = 0;
23231 int UNUSED insn_referenced = abuf->written;
23232 INT in_ICCi_3 = -1;
23233 INT in_FCCi_3 = -1;
23234 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23236 return cycles;
23237 #undef FLD
23240 static int
23241 model_fr550_cfckne (SIM_CPU *current_cpu, void *sem_arg)
23243 #define FLD(f) abuf->fields.sfmt_cfckne.f
23244 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23245 const IDESC * UNUSED idesc = abuf->idesc;
23246 int cycles = 0;
23248 int referenced = 0;
23249 int UNUSED insn_referenced = abuf->written;
23250 INT in_ICCi_3 = -1;
23251 INT in_FCCi_3 = -1;
23252 in_FCCi_3 = FLD (in_FCCi_3);
23253 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23254 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23256 return cycles;
23257 #undef FLD
23260 static int
23261 model_fr550_cfckeq (SIM_CPU *current_cpu, void *sem_arg)
23263 #define FLD(f) abuf->fields.sfmt_cfckne.f
23264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23265 const IDESC * UNUSED idesc = abuf->idesc;
23266 int cycles = 0;
23268 int referenced = 0;
23269 int UNUSED insn_referenced = abuf->written;
23270 INT in_ICCi_3 = -1;
23271 INT in_FCCi_3 = -1;
23272 in_FCCi_3 = FLD (in_FCCi_3);
23273 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23274 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23276 return cycles;
23277 #undef FLD
23280 static int
23281 model_fr550_cfcklg (SIM_CPU *current_cpu, void *sem_arg)
23283 #define FLD(f) abuf->fields.sfmt_cfckne.f
23284 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23285 const IDESC * UNUSED idesc = abuf->idesc;
23286 int cycles = 0;
23288 int referenced = 0;
23289 int UNUSED insn_referenced = abuf->written;
23290 INT in_ICCi_3 = -1;
23291 INT in_FCCi_3 = -1;
23292 in_FCCi_3 = FLD (in_FCCi_3);
23293 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23294 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23296 return cycles;
23297 #undef FLD
23300 static int
23301 model_fr550_cfckue (SIM_CPU *current_cpu, void *sem_arg)
23303 #define FLD(f) abuf->fields.sfmt_cfckne.f
23304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23305 const IDESC * UNUSED idesc = abuf->idesc;
23306 int cycles = 0;
23308 int referenced = 0;
23309 int UNUSED insn_referenced = abuf->written;
23310 INT in_ICCi_3 = -1;
23311 INT in_FCCi_3 = -1;
23312 in_FCCi_3 = FLD (in_FCCi_3);
23313 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23314 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23316 return cycles;
23317 #undef FLD
23320 static int
23321 model_fr550_cfckul (SIM_CPU *current_cpu, void *sem_arg)
23323 #define FLD(f) abuf->fields.sfmt_cfckne.f
23324 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23325 const IDESC * UNUSED idesc = abuf->idesc;
23326 int cycles = 0;
23328 int referenced = 0;
23329 int UNUSED insn_referenced = abuf->written;
23330 INT in_ICCi_3 = -1;
23331 INT in_FCCi_3 = -1;
23332 in_FCCi_3 = FLD (in_FCCi_3);
23333 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23334 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23336 return cycles;
23337 #undef FLD
23340 static int
23341 model_fr550_cfckge (SIM_CPU *current_cpu, void *sem_arg)
23343 #define FLD(f) abuf->fields.sfmt_cfckne.f
23344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23345 const IDESC * UNUSED idesc = abuf->idesc;
23346 int cycles = 0;
23348 int referenced = 0;
23349 int UNUSED insn_referenced = abuf->written;
23350 INT in_ICCi_3 = -1;
23351 INT in_FCCi_3 = -1;
23352 in_FCCi_3 = FLD (in_FCCi_3);
23353 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23354 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23356 return cycles;
23357 #undef FLD
23360 static int
23361 model_fr550_cfcklt (SIM_CPU *current_cpu, void *sem_arg)
23363 #define FLD(f) abuf->fields.sfmt_cfckne.f
23364 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23365 const IDESC * UNUSED idesc = abuf->idesc;
23366 int cycles = 0;
23368 int referenced = 0;
23369 int UNUSED insn_referenced = abuf->written;
23370 INT in_ICCi_3 = -1;
23371 INT in_FCCi_3 = -1;
23372 in_FCCi_3 = FLD (in_FCCi_3);
23373 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23374 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23376 return cycles;
23377 #undef FLD
23380 static int
23381 model_fr550_cfckuge (SIM_CPU *current_cpu, void *sem_arg)
23383 #define FLD(f) abuf->fields.sfmt_cfckne.f
23384 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23385 const IDESC * UNUSED idesc = abuf->idesc;
23386 int cycles = 0;
23388 int referenced = 0;
23389 int UNUSED insn_referenced = abuf->written;
23390 INT in_ICCi_3 = -1;
23391 INT in_FCCi_3 = -1;
23392 in_FCCi_3 = FLD (in_FCCi_3);
23393 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23394 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23396 return cycles;
23397 #undef FLD
23400 static int
23401 model_fr550_cfckug (SIM_CPU *current_cpu, void *sem_arg)
23403 #define FLD(f) abuf->fields.sfmt_cfckne.f
23404 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23405 const IDESC * UNUSED idesc = abuf->idesc;
23406 int cycles = 0;
23408 int referenced = 0;
23409 int UNUSED insn_referenced = abuf->written;
23410 INT in_ICCi_3 = -1;
23411 INT in_FCCi_3 = -1;
23412 in_FCCi_3 = FLD (in_FCCi_3);
23413 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23414 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23416 return cycles;
23417 #undef FLD
23420 static int
23421 model_fr550_cfckle (SIM_CPU *current_cpu, void *sem_arg)
23423 #define FLD(f) abuf->fields.sfmt_cfckne.f
23424 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23425 const IDESC * UNUSED idesc = abuf->idesc;
23426 int cycles = 0;
23428 int referenced = 0;
23429 int UNUSED insn_referenced = abuf->written;
23430 INT in_ICCi_3 = -1;
23431 INT in_FCCi_3 = -1;
23432 in_FCCi_3 = FLD (in_FCCi_3);
23433 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23434 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23436 return cycles;
23437 #undef FLD
23440 static int
23441 model_fr550_cfckgt (SIM_CPU *current_cpu, void *sem_arg)
23443 #define FLD(f) abuf->fields.sfmt_cfckne.f
23444 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23445 const IDESC * UNUSED idesc = abuf->idesc;
23446 int cycles = 0;
23448 int referenced = 0;
23449 int UNUSED insn_referenced = abuf->written;
23450 INT in_ICCi_3 = -1;
23451 INT in_FCCi_3 = -1;
23452 in_FCCi_3 = FLD (in_FCCi_3);
23453 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23454 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23456 return cycles;
23457 #undef FLD
23460 static int
23461 model_fr550_cfckule (SIM_CPU *current_cpu, void *sem_arg)
23463 #define FLD(f) abuf->fields.sfmt_cfckne.f
23464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23465 const IDESC * UNUSED idesc = abuf->idesc;
23466 int cycles = 0;
23468 int referenced = 0;
23469 int UNUSED insn_referenced = abuf->written;
23470 INT in_ICCi_3 = -1;
23471 INT in_FCCi_3 = -1;
23472 in_FCCi_3 = FLD (in_FCCi_3);
23473 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23474 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23476 return cycles;
23477 #undef FLD
23480 static int
23481 model_fr550_cfcku (SIM_CPU *current_cpu, void *sem_arg)
23483 #define FLD(f) abuf->fields.sfmt_cfckne.f
23484 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23485 const IDESC * UNUSED idesc = abuf->idesc;
23486 int cycles = 0;
23488 int referenced = 0;
23489 int UNUSED insn_referenced = abuf->written;
23490 INT in_ICCi_3 = -1;
23491 INT in_FCCi_3 = -1;
23492 in_FCCi_3 = FLD (in_FCCi_3);
23493 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23494 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23496 return cycles;
23497 #undef FLD
23500 static int
23501 model_fr550_cfcko (SIM_CPU *current_cpu, void *sem_arg)
23503 #define FLD(f) abuf->fields.sfmt_cfckne.f
23504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23505 const IDESC * UNUSED idesc = abuf->idesc;
23506 int cycles = 0;
23508 int referenced = 0;
23509 int UNUSED insn_referenced = abuf->written;
23510 INT in_ICCi_3 = -1;
23511 INT in_FCCi_3 = -1;
23512 in_FCCi_3 = FLD (in_FCCi_3);
23513 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23514 cycles += frvbf_model_fr550_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
23516 return cycles;
23517 #undef FLD
23520 static int
23521 model_fr550_cjmpl (SIM_CPU *current_cpu, void *sem_arg)
23523 #define FLD(f) abuf->fields.sfmt_cjmpl.f
23524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23525 const IDESC * UNUSED idesc = abuf->idesc;
23526 int cycles = 0;
23528 int referenced = 0;
23529 int UNUSED insn_referenced = abuf->written;
23530 INT in_GRi = -1;
23531 INT in_GRj = -1;
23532 INT in_ICCi_2 = -1;
23533 INT in_FCCi_2 = -1;
23534 in_GRi = FLD (in_GRi);
23535 in_GRj = FLD (in_GRj);
23536 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23537 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
23538 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
23539 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
23541 return cycles;
23542 #undef FLD
23545 static int
23546 model_fr550_ccalll (SIM_CPU *current_cpu, void *sem_arg)
23548 #define FLD(f) abuf->fields.sfmt_cjmpl.f
23549 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23550 const IDESC * UNUSED idesc = abuf->idesc;
23551 int cycles = 0;
23553 int referenced = 0;
23554 int UNUSED insn_referenced = abuf->written;
23555 INT in_GRi = -1;
23556 INT in_GRj = -1;
23557 INT in_ICCi_2 = -1;
23558 INT in_FCCi_2 = -1;
23559 in_GRi = FLD (in_GRi);
23560 in_GRj = FLD (in_GRj);
23561 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
23562 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
23563 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
23564 cycles += frvbf_model_fr550_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
23566 return cycles;
23567 #undef FLD
23570 static int
23571 model_fr550_ici (SIM_CPU *current_cpu, void *sem_arg)
23573 #define FLD(f) abuf->fields.sfmt_icpl.f
23574 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23575 const IDESC * UNUSED idesc = abuf->idesc;
23576 int cycles = 0;
23578 int referenced = 0;
23579 int UNUSED insn_referenced = abuf->written;
23580 INT in_GRi = -1;
23581 INT in_GRj = -1;
23582 in_GRi = FLD (in_GRi);
23583 in_GRj = FLD (in_GRj);
23584 referenced |= 1 << 0;
23585 referenced |= 1 << 1;
23586 cycles += frvbf_model_fr550_u_ici (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23588 return cycles;
23589 #undef FLD
23592 static int
23593 model_fr550_dci (SIM_CPU *current_cpu, void *sem_arg)
23595 #define FLD(f) abuf->fields.sfmt_icpl.f
23596 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23597 const IDESC * UNUSED idesc = abuf->idesc;
23598 int cycles = 0;
23600 int referenced = 0;
23601 int UNUSED insn_referenced = abuf->written;
23602 INT in_GRi = -1;
23603 INT in_GRj = -1;
23604 in_GRi = FLD (in_GRi);
23605 in_GRj = FLD (in_GRj);
23606 referenced |= 1 << 0;
23607 referenced |= 1 << 1;
23608 cycles += frvbf_model_fr550_u_dci (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23610 return cycles;
23611 #undef FLD
23614 static int
23615 model_fr550_icei (SIM_CPU *current_cpu, void *sem_arg)
23617 #define FLD(f) abuf->fields.sfmt_icei.f
23618 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23619 const IDESC * UNUSED idesc = abuf->idesc;
23620 int cycles = 0;
23622 int referenced = 0;
23623 int UNUSED insn_referenced = abuf->written;
23624 INT in_GRi = -1;
23625 INT in_GRj = -1;
23626 in_GRi = FLD (in_GRi);
23627 in_GRj = FLD (in_GRj);
23628 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
23629 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23630 cycles += frvbf_model_fr550_u_ici (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23632 return cycles;
23633 #undef FLD
23636 static int
23637 model_fr550_dcei (SIM_CPU *current_cpu, void *sem_arg)
23639 #define FLD(f) abuf->fields.sfmt_icei.f
23640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23641 const IDESC * UNUSED idesc = abuf->idesc;
23642 int cycles = 0;
23644 int referenced = 0;
23645 int UNUSED insn_referenced = abuf->written;
23646 INT in_GRi = -1;
23647 INT in_GRj = -1;
23648 in_GRi = FLD (in_GRi);
23649 in_GRj = FLD (in_GRj);
23650 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
23651 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23652 cycles += frvbf_model_fr550_u_dci (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23654 return cycles;
23655 #undef FLD
23658 static int
23659 model_fr550_dcf (SIM_CPU *current_cpu, void *sem_arg)
23661 #define FLD(f) abuf->fields.sfmt_icpl.f
23662 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23663 const IDESC * UNUSED idesc = abuf->idesc;
23664 int cycles = 0;
23666 int referenced = 0;
23667 int UNUSED insn_referenced = abuf->written;
23668 INT in_GRi = -1;
23669 INT in_GRj = -1;
23670 in_GRi = FLD (in_GRi);
23671 in_GRj = FLD (in_GRj);
23672 referenced |= 1 << 0;
23673 referenced |= 1 << 1;
23674 cycles += frvbf_model_fr550_u_dcf (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23676 return cycles;
23677 #undef FLD
23680 static int
23681 model_fr550_dcef (SIM_CPU *current_cpu, void *sem_arg)
23683 #define FLD(f) abuf->fields.sfmt_icei.f
23684 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23685 const IDESC * UNUSED idesc = abuf->idesc;
23686 int cycles = 0;
23688 int referenced = 0;
23689 int UNUSED insn_referenced = abuf->written;
23690 INT in_GRi = -1;
23691 INT in_GRj = -1;
23692 in_GRi = FLD (in_GRi);
23693 in_GRj = FLD (in_GRj);
23694 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
23695 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
23696 cycles += frvbf_model_fr550_u_dcf (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23698 return cycles;
23699 #undef FLD
23702 static int
23703 model_fr550_witlb (SIM_CPU *current_cpu, void *sem_arg)
23705 #define FLD(f) abuf->fields.sfmt_empty.f
23706 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23707 const IDESC * UNUSED idesc = abuf->idesc;
23708 int cycles = 0;
23710 int referenced = 0;
23711 int UNUSED insn_referenced = abuf->written;
23712 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23714 return cycles;
23715 #undef FLD
23718 static int
23719 model_fr550_wdtlb (SIM_CPU *current_cpu, void *sem_arg)
23721 #define FLD(f) abuf->fields.sfmt_empty.f
23722 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23723 const IDESC * UNUSED idesc = abuf->idesc;
23724 int cycles = 0;
23726 int referenced = 0;
23727 int UNUSED insn_referenced = abuf->written;
23728 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23730 return cycles;
23731 #undef FLD
23734 static int
23735 model_fr550_itlbi (SIM_CPU *current_cpu, void *sem_arg)
23737 #define FLD(f) abuf->fields.sfmt_empty.f
23738 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23739 const IDESC * UNUSED idesc = abuf->idesc;
23740 int cycles = 0;
23742 int referenced = 0;
23743 int UNUSED insn_referenced = abuf->written;
23744 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23746 return cycles;
23747 #undef FLD
23750 static int
23751 model_fr550_dtlbi (SIM_CPU *current_cpu, void *sem_arg)
23753 #define FLD(f) abuf->fields.sfmt_empty.f
23754 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23755 const IDESC * UNUSED idesc = abuf->idesc;
23756 int cycles = 0;
23758 int referenced = 0;
23759 int UNUSED insn_referenced = abuf->written;
23760 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23762 return cycles;
23763 #undef FLD
23766 static int
23767 model_fr550_icpl (SIM_CPU *current_cpu, void *sem_arg)
23769 #define FLD(f) abuf->fields.sfmt_icpl.f
23770 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23771 const IDESC * UNUSED idesc = abuf->idesc;
23772 int cycles = 0;
23774 int referenced = 0;
23775 int UNUSED insn_referenced = abuf->written;
23776 INT in_GRi = -1;
23777 INT in_GRj = -1;
23778 in_GRi = FLD (in_GRi);
23779 in_GRj = FLD (in_GRj);
23780 referenced |= 1 << 0;
23781 referenced |= 1 << 1;
23782 cycles += frvbf_model_fr550_u_icpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23784 return cycles;
23785 #undef FLD
23788 static int
23789 model_fr550_dcpl (SIM_CPU *current_cpu, void *sem_arg)
23791 #define FLD(f) abuf->fields.sfmt_icpl.f
23792 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23793 const IDESC * UNUSED idesc = abuf->idesc;
23794 int cycles = 0;
23796 int referenced = 0;
23797 int UNUSED insn_referenced = abuf->written;
23798 INT in_GRi = -1;
23799 INT in_GRj = -1;
23800 in_GRi = FLD (in_GRi);
23801 in_GRj = FLD (in_GRj);
23802 referenced |= 1 << 0;
23803 referenced |= 1 << 1;
23804 cycles += frvbf_model_fr550_u_dcpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23806 return cycles;
23807 #undef FLD
23810 static int
23811 model_fr550_icul (SIM_CPU *current_cpu, void *sem_arg)
23813 #define FLD(f) abuf->fields.sfmt_jmpil.f
23814 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23815 const IDESC * UNUSED idesc = abuf->idesc;
23816 int cycles = 0;
23818 int referenced = 0;
23819 int UNUSED insn_referenced = abuf->written;
23820 INT in_GRi = -1;
23821 INT in_GRj = -1;
23822 in_GRi = FLD (in_GRi);
23823 referenced |= 1 << 0;
23824 cycles += frvbf_model_fr550_u_icul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23826 return cycles;
23827 #undef FLD
23830 static int
23831 model_fr550_dcul (SIM_CPU *current_cpu, void *sem_arg)
23833 #define FLD(f) abuf->fields.sfmt_jmpil.f
23834 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23835 const IDESC * UNUSED idesc = abuf->idesc;
23836 int cycles = 0;
23838 int referenced = 0;
23839 int UNUSED insn_referenced = abuf->written;
23840 INT in_GRi = -1;
23841 INT in_GRj = -1;
23842 in_GRi = FLD (in_GRi);
23843 referenced |= 1 << 0;
23844 cycles += frvbf_model_fr550_u_dcul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
23846 return cycles;
23847 #undef FLD
23850 static int
23851 model_fr550_bar (SIM_CPU *current_cpu, void *sem_arg)
23853 #define FLD(f) abuf->fields.sfmt_empty.f
23854 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23855 const IDESC * UNUSED idesc = abuf->idesc;
23856 int cycles = 0;
23858 int referenced = 0;
23859 int UNUSED insn_referenced = abuf->written;
23860 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23862 return cycles;
23863 #undef FLD
23866 static int
23867 model_fr550_membar (SIM_CPU *current_cpu, void *sem_arg)
23869 #define FLD(f) abuf->fields.sfmt_empty.f
23870 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23871 const IDESC * UNUSED idesc = abuf->idesc;
23872 int cycles = 0;
23874 int referenced = 0;
23875 int UNUSED insn_referenced = abuf->written;
23876 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23878 return cycles;
23879 #undef FLD
23882 static int
23883 model_fr550_lrai (SIM_CPU *current_cpu, void *sem_arg)
23885 #define FLD(f) abuf->fields.sfmt_empty.f
23886 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23887 const IDESC * UNUSED idesc = abuf->idesc;
23888 int cycles = 0;
23890 int referenced = 0;
23891 int UNUSED insn_referenced = abuf->written;
23892 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23894 return cycles;
23895 #undef FLD
23898 static int
23899 model_fr550_lrad (SIM_CPU *current_cpu, void *sem_arg)
23901 #define FLD(f) abuf->fields.sfmt_empty.f
23902 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23903 const IDESC * UNUSED idesc = abuf->idesc;
23904 int cycles = 0;
23906 int referenced = 0;
23907 int UNUSED insn_referenced = abuf->written;
23908 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23910 return cycles;
23911 #undef FLD
23914 static int
23915 model_fr550_tlbpr (SIM_CPU *current_cpu, void *sem_arg)
23917 #define FLD(f) abuf->fields.sfmt_empty.f
23918 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23919 const IDESC * UNUSED idesc = abuf->idesc;
23920 int cycles = 0;
23922 int referenced = 0;
23923 int UNUSED insn_referenced = abuf->written;
23924 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23926 return cycles;
23927 #undef FLD
23930 static int
23931 model_fr550_cop1 (SIM_CPU *current_cpu, void *sem_arg)
23933 #define FLD(f) abuf->fields.sfmt_empty.f
23934 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23935 const IDESC * UNUSED idesc = abuf->idesc;
23936 int cycles = 0;
23938 int referenced = 0;
23939 int UNUSED insn_referenced = abuf->written;
23940 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23942 return cycles;
23943 #undef FLD
23946 static int
23947 model_fr550_cop2 (SIM_CPU *current_cpu, void *sem_arg)
23949 #define FLD(f) abuf->fields.sfmt_empty.f
23950 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23951 const IDESC * UNUSED idesc = abuf->idesc;
23952 int cycles = 0;
23954 int referenced = 0;
23955 int UNUSED insn_referenced = abuf->written;
23956 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
23958 return cycles;
23959 #undef FLD
23962 static int
23963 model_fr550_clrgr (SIM_CPU *current_cpu, void *sem_arg)
23965 #define FLD(f) abuf->fields.sfmt_swapi.f
23966 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23967 const IDESC * UNUSED idesc = abuf->idesc;
23968 int cycles = 0;
23970 int referenced = 0;
23971 int UNUSED insn_referenced = abuf->written;
23972 INT in_GRk = -1;
23973 in_GRk = FLD (in_GRk);
23974 referenced |= 1 << 0;
23975 cycles += frvbf_model_fr550_u_clrgr (current_cpu, idesc, 0, referenced, in_GRk);
23977 return cycles;
23978 #undef FLD
23981 static int
23982 model_fr550_clrfr (SIM_CPU *current_cpu, void *sem_arg)
23984 #define FLD(f) abuf->fields.sfmt_cfmadds.f
23985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
23986 const IDESC * UNUSED idesc = abuf->idesc;
23987 int cycles = 0;
23989 int referenced = 0;
23990 int UNUSED insn_referenced = abuf->written;
23991 INT in_FRk = -1;
23992 in_FRk = FLD (in_FRk);
23993 referenced |= 1 << 0;
23994 cycles += frvbf_model_fr550_u_clrfr (current_cpu, idesc, 0, referenced, in_FRk);
23996 return cycles;
23997 #undef FLD
24000 static int
24001 model_fr550_clrga (SIM_CPU *current_cpu, void *sem_arg)
24003 #define FLD(f) abuf->fields.sfmt_empty.f
24004 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24005 const IDESC * UNUSED idesc = abuf->idesc;
24006 int cycles = 0;
24008 int referenced = 0;
24009 int UNUSED insn_referenced = abuf->written;
24010 INT in_GRk = -1;
24011 cycles += frvbf_model_fr550_u_clrgr (current_cpu, idesc, 0, referenced, in_GRk);
24013 return cycles;
24014 #undef FLD
24017 static int
24018 model_fr550_clrfa (SIM_CPU *current_cpu, void *sem_arg)
24020 #define FLD(f) abuf->fields.sfmt_empty.f
24021 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24022 const IDESC * UNUSED idesc = abuf->idesc;
24023 int cycles = 0;
24025 int referenced = 0;
24026 int UNUSED insn_referenced = abuf->written;
24027 INT in_FRk = -1;
24028 cycles += frvbf_model_fr550_u_clrfr (current_cpu, idesc, 0, referenced, in_FRk);
24030 return cycles;
24031 #undef FLD
24034 static int
24035 model_fr550_commitgr (SIM_CPU *current_cpu, void *sem_arg)
24037 #define FLD(f) abuf->fields.sfmt_setlos.f
24038 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24039 const IDESC * UNUSED idesc = abuf->idesc;
24040 int cycles = 0;
24042 int referenced = 0;
24043 int UNUSED insn_referenced = abuf->written;
24044 INT in_GRk = -1;
24045 INT in_FRk = -1;
24046 cycles += frvbf_model_fr550_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
24048 return cycles;
24049 #undef FLD
24052 static int
24053 model_fr550_commitfr (SIM_CPU *current_cpu, void *sem_arg)
24055 #define FLD(f) abuf->fields.sfmt_mhsethis.f
24056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24057 const IDESC * UNUSED idesc = abuf->idesc;
24058 int cycles = 0;
24060 int referenced = 0;
24061 int UNUSED insn_referenced = abuf->written;
24062 INT in_GRk = -1;
24063 INT in_FRk = -1;
24064 cycles += frvbf_model_fr550_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
24066 return cycles;
24067 #undef FLD
24070 static int
24071 model_fr550_commitga (SIM_CPU *current_cpu, void *sem_arg)
24073 #define FLD(f) abuf->fields.sfmt_empty.f
24074 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24075 const IDESC * UNUSED idesc = abuf->idesc;
24076 int cycles = 0;
24078 int referenced = 0;
24079 int UNUSED insn_referenced = abuf->written;
24080 INT in_GRk = -1;
24081 INT in_FRk = -1;
24082 cycles += frvbf_model_fr550_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
24084 return cycles;
24085 #undef FLD
24088 static int
24089 model_fr550_commitfa (SIM_CPU *current_cpu, void *sem_arg)
24091 #define FLD(f) abuf->fields.sfmt_empty.f
24092 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24093 const IDESC * UNUSED idesc = abuf->idesc;
24094 int cycles = 0;
24096 int referenced = 0;
24097 int UNUSED insn_referenced = abuf->written;
24098 INT in_GRk = -1;
24099 INT in_FRk = -1;
24100 cycles += frvbf_model_fr550_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
24102 return cycles;
24103 #undef FLD
24106 static int
24107 model_fr550_fitos (SIM_CPU *current_cpu, void *sem_arg)
24109 #define FLD(f) abuf->fields.sfmt_fditos.f
24110 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24111 const IDESC * UNUSED idesc = abuf->idesc;
24112 int cycles = 0;
24114 int referenced = 0;
24115 int UNUSED insn_referenced = abuf->written;
24116 INT in_FRj = -1;
24117 INT in_FRintj = -1;
24118 INT in_FRdoublej = -1;
24119 INT out_FRk = -1;
24120 INT out_FRintk = -1;
24121 INT out_FRdoublek = -1;
24122 in_FRintj = FLD (in_FRintj);
24123 out_FRk = FLD (out_FRk);
24124 referenced |= 1 << 1;
24125 referenced |= 1 << 3;
24126 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24128 return cycles;
24129 #undef FLD
24132 static int
24133 model_fr550_fstoi (SIM_CPU *current_cpu, void *sem_arg)
24135 #define FLD(f) abuf->fields.sfmt_fdstoi.f
24136 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24137 const IDESC * UNUSED idesc = abuf->idesc;
24138 int cycles = 0;
24140 int referenced = 0;
24141 int UNUSED insn_referenced = abuf->written;
24142 INT in_FRj = -1;
24143 INT in_FRintj = -1;
24144 INT in_FRdoublej = -1;
24145 INT out_FRk = -1;
24146 INT out_FRintk = -1;
24147 INT out_FRdoublek = -1;
24148 in_FRj = FLD (in_FRj);
24149 out_FRintk = FLD (out_FRintk);
24150 referenced |= 1 << 0;
24151 referenced |= 1 << 4;
24152 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24154 return cycles;
24155 #undef FLD
24158 static int
24159 model_fr550_fitod (SIM_CPU *current_cpu, void *sem_arg)
24161 #define FLD(f) abuf->fields.sfmt_fitod.f
24162 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24163 const IDESC * UNUSED idesc = abuf->idesc;
24164 int cycles = 0;
24166 int referenced = 0;
24167 int UNUSED insn_referenced = abuf->written;
24168 INT in_FRj = -1;
24169 INT in_FRintj = -1;
24170 INT in_FRdoublej = -1;
24171 INT out_FRk = -1;
24172 INT out_FRintk = -1;
24173 INT out_FRdoublek = -1;
24174 in_FRintj = FLD (in_FRintj);
24175 out_FRdoublek = FLD (out_FRdoublek);
24176 referenced |= 1 << 1;
24177 referenced |= 1 << 5;
24178 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24180 return cycles;
24181 #undef FLD
24184 static int
24185 model_fr550_fdtoi (SIM_CPU *current_cpu, void *sem_arg)
24187 #define FLD(f) abuf->fields.sfmt_fdtoi.f
24188 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24189 const IDESC * UNUSED idesc = abuf->idesc;
24190 int cycles = 0;
24192 int referenced = 0;
24193 int UNUSED insn_referenced = abuf->written;
24194 INT in_FRj = -1;
24195 INT in_FRintj = -1;
24196 INT in_FRdoublej = -1;
24197 INT out_FRk = -1;
24198 INT out_FRintk = -1;
24199 INT out_FRdoublek = -1;
24200 in_FRdoublej = FLD (in_FRdoublej);
24201 out_FRintk = FLD (out_FRintk);
24202 referenced |= 1 << 2;
24203 referenced |= 1 << 4;
24204 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24206 return cycles;
24207 #undef FLD
24210 static int
24211 model_fr550_fditos (SIM_CPU *current_cpu, void *sem_arg)
24213 #define FLD(f) abuf->fields.sfmt_fditos.f
24214 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24215 const IDESC * UNUSED idesc = abuf->idesc;
24216 int cycles = 0;
24218 int referenced = 0;
24219 int UNUSED insn_referenced = abuf->written;
24220 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24222 return cycles;
24223 #undef FLD
24226 static int
24227 model_fr550_fdstoi (SIM_CPU *current_cpu, void *sem_arg)
24229 #define FLD(f) abuf->fields.sfmt_fdstoi.f
24230 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24231 const IDESC * UNUSED idesc = abuf->idesc;
24232 int cycles = 0;
24234 int referenced = 0;
24235 int UNUSED insn_referenced = abuf->written;
24236 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24238 return cycles;
24239 #undef FLD
24242 static int
24243 model_fr550_nfditos (SIM_CPU *current_cpu, void *sem_arg)
24245 #define FLD(f) abuf->fields.sfmt_fditos.f
24246 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24247 const IDESC * UNUSED idesc = abuf->idesc;
24248 int cycles = 0;
24250 int referenced = 0;
24251 int UNUSED insn_referenced = abuf->written;
24252 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24254 return cycles;
24255 #undef FLD
24258 static int
24259 model_fr550_nfdstoi (SIM_CPU *current_cpu, void *sem_arg)
24261 #define FLD(f) abuf->fields.sfmt_fdstoi.f
24262 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24263 const IDESC * UNUSED idesc = abuf->idesc;
24264 int cycles = 0;
24266 int referenced = 0;
24267 int UNUSED insn_referenced = abuf->written;
24268 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24270 return cycles;
24271 #undef FLD
24274 static int
24275 model_fr550_cfitos (SIM_CPU *current_cpu, void *sem_arg)
24277 #define FLD(f) abuf->fields.sfmt_cfitos.f
24278 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24279 const IDESC * UNUSED idesc = abuf->idesc;
24280 int cycles = 0;
24282 int referenced = 0;
24283 int UNUSED insn_referenced = abuf->written;
24284 INT in_FRj = -1;
24285 INT in_FRintj = -1;
24286 INT in_FRdoublej = -1;
24287 INT out_FRk = -1;
24288 INT out_FRintk = -1;
24289 INT out_FRdoublek = -1;
24290 in_FRintj = FLD (in_FRintj);
24291 out_FRk = FLD (out_FRk);
24292 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
24293 if (insn_referenced & (1 << 3)) referenced |= 1 << 3;
24294 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24296 return cycles;
24297 #undef FLD
24300 static int
24301 model_fr550_cfstoi (SIM_CPU *current_cpu, void *sem_arg)
24303 #define FLD(f) abuf->fields.sfmt_cfstoi.f
24304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24305 const IDESC * UNUSED idesc = abuf->idesc;
24306 int cycles = 0;
24308 int referenced = 0;
24309 int UNUSED insn_referenced = abuf->written;
24310 INT in_FRj = -1;
24311 INT in_FRintj = -1;
24312 INT in_FRdoublej = -1;
24313 INT out_FRk = -1;
24314 INT out_FRintk = -1;
24315 INT out_FRdoublek = -1;
24316 in_FRj = FLD (in_FRj);
24317 out_FRintk = FLD (out_FRintk);
24318 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
24319 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
24320 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24322 return cycles;
24323 #undef FLD
24326 static int
24327 model_fr550_nfitos (SIM_CPU *current_cpu, void *sem_arg)
24329 #define FLD(f) abuf->fields.sfmt_fditos.f
24330 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24331 const IDESC * UNUSED idesc = abuf->idesc;
24332 int cycles = 0;
24334 int referenced = 0;
24335 int UNUSED insn_referenced = abuf->written;
24336 INT in_FRj = -1;
24337 INT in_FRintj = -1;
24338 INT in_FRdoublej = -1;
24339 INT out_FRk = -1;
24340 INT out_FRintk = -1;
24341 INT out_FRdoublek = -1;
24342 in_FRintj = FLD (in_FRintj);
24343 out_FRk = FLD (out_FRk);
24344 referenced |= 1 << 1;
24345 referenced |= 1 << 3;
24346 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24348 return cycles;
24349 #undef FLD
24352 static int
24353 model_fr550_nfstoi (SIM_CPU *current_cpu, void *sem_arg)
24355 #define FLD(f) abuf->fields.sfmt_fdstoi.f
24356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24357 const IDESC * UNUSED idesc = abuf->idesc;
24358 int cycles = 0;
24360 int referenced = 0;
24361 int UNUSED insn_referenced = abuf->written;
24362 INT in_FRj = -1;
24363 INT in_FRintj = -1;
24364 INT in_FRdoublej = -1;
24365 INT out_FRk = -1;
24366 INT out_FRintk = -1;
24367 INT out_FRdoublek = -1;
24368 in_FRj = FLD (in_FRj);
24369 out_FRintk = FLD (out_FRintk);
24370 referenced |= 1 << 0;
24371 referenced |= 1 << 4;
24372 cycles += frvbf_model_fr550_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
24374 return cycles;
24375 #undef FLD
24378 static int
24379 model_fr550_fmovs (SIM_CPU *current_cpu, void *sem_arg)
24381 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24382 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24383 const IDESC * UNUSED idesc = abuf->idesc;
24384 int cycles = 0;
24386 int referenced = 0;
24387 int UNUSED insn_referenced = abuf->written;
24388 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24390 return cycles;
24391 #undef FLD
24394 static int
24395 model_fr550_fmovd (SIM_CPU *current_cpu, void *sem_arg)
24397 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24398 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24399 const IDESC * UNUSED idesc = abuf->idesc;
24400 int cycles = 0;
24402 int referenced = 0;
24403 int UNUSED insn_referenced = abuf->written;
24404 INT in_FRi = -1;
24405 INT out_FRk = -1;
24406 cycles += frvbf_model_fr550_u_fr2fr (current_cpu, idesc, 0, referenced, in_FRi, out_FRk);
24408 return cycles;
24409 #undef FLD
24412 static int
24413 model_fr550_fdmovs (SIM_CPU *current_cpu, void *sem_arg)
24415 #define FLD(f) abuf->fields.sfmt_fdmadds.f
24416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24417 const IDESC * UNUSED idesc = abuf->idesc;
24418 int cycles = 0;
24420 int referenced = 0;
24421 int UNUSED insn_referenced = abuf->written;
24422 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24424 return cycles;
24425 #undef FLD
24428 static int
24429 model_fr550_cfmovs (SIM_CPU *current_cpu, void *sem_arg)
24431 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24433 const IDESC * UNUSED idesc = abuf->idesc;
24434 int cycles = 0;
24436 int referenced = 0;
24437 int UNUSED insn_referenced = abuf->written;
24438 INT in_FRi = -1;
24439 INT out_FRk = -1;
24440 out_FRk = FLD (out_FRk);
24441 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
24442 cycles += frvbf_model_fr550_u_fr2fr (current_cpu, idesc, 0, referenced, in_FRi, out_FRk);
24444 return cycles;
24445 #undef FLD
24448 static int
24449 model_fr550_fnegs (SIM_CPU *current_cpu, void *sem_arg)
24451 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24452 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24453 const IDESC * UNUSED idesc = abuf->idesc;
24454 int cycles = 0;
24456 int referenced = 0;
24457 int UNUSED insn_referenced = abuf->written;
24458 INT in_FRi = -1;
24459 INT in_FRj = -1;
24460 INT in_FRdoublei = -1;
24461 INT in_FRdoublej = -1;
24462 INT out_FRk = -1;
24463 INT out_FRdoublek = -1;
24464 in_FRj = FLD (in_FRj);
24465 out_FRk = FLD (out_FRk);
24466 referenced |= 1 << 1;
24467 referenced |= 1 << 4;
24468 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24470 return cycles;
24471 #undef FLD
24474 static int
24475 model_fr550_fnegd (SIM_CPU *current_cpu, void *sem_arg)
24477 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24478 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24479 const IDESC * UNUSED idesc = abuf->idesc;
24480 int cycles = 0;
24482 int referenced = 0;
24483 int UNUSED insn_referenced = abuf->written;
24484 INT in_FRi = -1;
24485 INT in_FRj = -1;
24486 INT in_FRdoublei = -1;
24487 INT in_FRdoublej = -1;
24488 INT out_FRk = -1;
24489 INT out_FRdoublek = -1;
24490 in_FRdoublej = FLD (in_FRdoublej);
24491 out_FRdoublek = FLD (out_FRdoublek);
24492 referenced |= 1 << 3;
24493 referenced |= 1 << 5;
24494 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24496 return cycles;
24497 #undef FLD
24500 static int
24501 model_fr550_fdnegs (SIM_CPU *current_cpu, void *sem_arg)
24503 #define FLD(f) abuf->fields.sfmt_fdmadds.f
24504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24505 const IDESC * UNUSED idesc = abuf->idesc;
24506 int cycles = 0;
24508 int referenced = 0;
24509 int UNUSED insn_referenced = abuf->written;
24510 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24512 return cycles;
24513 #undef FLD
24516 static int
24517 model_fr550_cfnegs (SIM_CPU *current_cpu, void *sem_arg)
24519 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24521 const IDESC * UNUSED idesc = abuf->idesc;
24522 int cycles = 0;
24524 int referenced = 0;
24525 int UNUSED insn_referenced = abuf->written;
24526 INT in_FRi = -1;
24527 INT in_FRj = -1;
24528 INT in_FRdoublei = -1;
24529 INT in_FRdoublej = -1;
24530 INT out_FRk = -1;
24531 INT out_FRdoublek = -1;
24532 in_FRj = FLD (in_FRj);
24533 out_FRk = FLD (out_FRk);
24534 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
24535 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
24536 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24538 return cycles;
24539 #undef FLD
24542 static int
24543 model_fr550_fabss (SIM_CPU *current_cpu, void *sem_arg)
24545 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24546 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24547 const IDESC * UNUSED idesc = abuf->idesc;
24548 int cycles = 0;
24550 int referenced = 0;
24551 int UNUSED insn_referenced = abuf->written;
24552 INT in_FRi = -1;
24553 INT in_FRj = -1;
24554 INT in_FRdoublei = -1;
24555 INT in_FRdoublej = -1;
24556 INT out_FRk = -1;
24557 INT out_FRdoublek = -1;
24558 in_FRj = FLD (in_FRj);
24559 out_FRk = FLD (out_FRk);
24560 referenced |= 1 << 1;
24561 referenced |= 1 << 4;
24562 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24564 return cycles;
24565 #undef FLD
24568 static int
24569 model_fr550_fabsd (SIM_CPU *current_cpu, void *sem_arg)
24571 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24572 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24573 const IDESC * UNUSED idesc = abuf->idesc;
24574 int cycles = 0;
24576 int referenced = 0;
24577 int UNUSED insn_referenced = abuf->written;
24578 INT in_FRi = -1;
24579 INT in_FRj = -1;
24580 INT in_FRdoublei = -1;
24581 INT in_FRdoublej = -1;
24582 INT out_FRk = -1;
24583 INT out_FRdoublek = -1;
24584 in_FRdoublej = FLD (in_FRdoublej);
24585 out_FRdoublek = FLD (out_FRdoublek);
24586 referenced |= 1 << 3;
24587 referenced |= 1 << 5;
24588 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24590 return cycles;
24591 #undef FLD
24594 static int
24595 model_fr550_fdabss (SIM_CPU *current_cpu, void *sem_arg)
24597 #define FLD(f) abuf->fields.sfmt_fdmadds.f
24598 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24599 const IDESC * UNUSED idesc = abuf->idesc;
24600 int cycles = 0;
24602 int referenced = 0;
24603 int UNUSED insn_referenced = abuf->written;
24604 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24606 return cycles;
24607 #undef FLD
24610 static int
24611 model_fr550_cfabss (SIM_CPU *current_cpu, void *sem_arg)
24613 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24614 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24615 const IDESC * UNUSED idesc = abuf->idesc;
24616 int cycles = 0;
24618 int referenced = 0;
24619 int UNUSED insn_referenced = abuf->written;
24620 INT in_FRi = -1;
24621 INT in_FRj = -1;
24622 INT in_FRdoublei = -1;
24623 INT in_FRdoublej = -1;
24624 INT out_FRk = -1;
24625 INT out_FRdoublek = -1;
24626 in_FRj = FLD (in_FRj);
24627 out_FRk = FLD (out_FRk);
24628 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
24629 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
24630 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24632 return cycles;
24633 #undef FLD
24636 static int
24637 model_fr550_fsqrts (SIM_CPU *current_cpu, void *sem_arg)
24639 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24641 const IDESC * UNUSED idesc = abuf->idesc;
24642 int cycles = 0;
24644 int referenced = 0;
24645 int UNUSED insn_referenced = abuf->written;
24646 INT in_FRj = -1;
24647 INT in_FRdoublej = -1;
24648 INT out_FRk = -1;
24649 INT out_FRdoublek = -1;
24650 in_FRj = FLD (in_FRj);
24651 out_FRk = FLD (out_FRk);
24652 referenced |= 1 << 0;
24653 referenced |= 1 << 2;
24654 cycles += frvbf_model_fr550_u_float_sqrt (current_cpu, idesc, 0, referenced, in_FRj, in_FRdoublej, out_FRk, out_FRdoublek);
24656 return cycles;
24657 #undef FLD
24660 static int
24661 model_fr550_fdsqrts (SIM_CPU *current_cpu, void *sem_arg)
24663 #define FLD(f) abuf->fields.sfmt_fdmadds.f
24664 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24665 const IDESC * UNUSED idesc = abuf->idesc;
24666 int cycles = 0;
24668 int referenced = 0;
24669 int UNUSED insn_referenced = abuf->written;
24670 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24672 return cycles;
24673 #undef FLD
24676 static int
24677 model_fr550_nfdsqrts (SIM_CPU *current_cpu, void *sem_arg)
24679 #define FLD(f) abuf->fields.sfmt_fdmadds.f
24680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24681 const IDESC * UNUSED idesc = abuf->idesc;
24682 int cycles = 0;
24684 int referenced = 0;
24685 int UNUSED insn_referenced = abuf->written;
24686 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24688 return cycles;
24689 #undef FLD
24692 static int
24693 model_fr550_fsqrtd (SIM_CPU *current_cpu, void *sem_arg)
24695 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24697 const IDESC * UNUSED idesc = abuf->idesc;
24698 int cycles = 0;
24700 int referenced = 0;
24701 int UNUSED insn_referenced = abuf->written;
24702 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24704 return cycles;
24705 #undef FLD
24708 static int
24709 model_fr550_cfsqrts (SIM_CPU *current_cpu, void *sem_arg)
24711 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24713 const IDESC * UNUSED idesc = abuf->idesc;
24714 int cycles = 0;
24716 int referenced = 0;
24717 int UNUSED insn_referenced = abuf->written;
24718 INT in_FRj = -1;
24719 INT in_FRdoublej = -1;
24720 INT out_FRk = -1;
24721 INT out_FRdoublek = -1;
24722 in_FRj = FLD (in_FRj);
24723 out_FRk = FLD (out_FRk);
24724 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
24725 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
24726 cycles += frvbf_model_fr550_u_float_sqrt (current_cpu, idesc, 0, referenced, in_FRj, in_FRdoublej, out_FRk, out_FRdoublek);
24728 return cycles;
24729 #undef FLD
24732 static int
24733 model_fr550_nfsqrts (SIM_CPU *current_cpu, void *sem_arg)
24735 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24737 const IDESC * UNUSED idesc = abuf->idesc;
24738 int cycles = 0;
24740 int referenced = 0;
24741 int UNUSED insn_referenced = abuf->written;
24742 INT in_FRj = -1;
24743 INT in_FRdoublej = -1;
24744 INT out_FRk = -1;
24745 INT out_FRdoublek = -1;
24746 in_FRj = FLD (in_FRj);
24747 out_FRk = FLD (out_FRk);
24748 referenced |= 1 << 0;
24749 referenced |= 1 << 2;
24750 cycles += frvbf_model_fr550_u_float_sqrt (current_cpu, idesc, 0, referenced, in_FRj, in_FRdoublej, out_FRk, out_FRdoublek);
24752 return cycles;
24753 #undef FLD
24756 static int
24757 model_fr550_fadds (SIM_CPU *current_cpu, void *sem_arg)
24759 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24760 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24761 const IDESC * UNUSED idesc = abuf->idesc;
24762 int cycles = 0;
24764 int referenced = 0;
24765 int UNUSED insn_referenced = abuf->written;
24766 INT in_FRi = -1;
24767 INT in_FRj = -1;
24768 INT in_FRdoublei = -1;
24769 INT in_FRdoublej = -1;
24770 INT out_FRk = -1;
24771 INT out_FRdoublek = -1;
24772 in_FRi = FLD (in_FRi);
24773 in_FRj = FLD (in_FRj);
24774 out_FRk = FLD (out_FRk);
24775 referenced |= 1 << 0;
24776 referenced |= 1 << 1;
24777 referenced |= 1 << 4;
24778 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24780 return cycles;
24781 #undef FLD
24784 static int
24785 model_fr550_fsubs (SIM_CPU *current_cpu, void *sem_arg)
24787 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24788 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24789 const IDESC * UNUSED idesc = abuf->idesc;
24790 int cycles = 0;
24792 int referenced = 0;
24793 int UNUSED insn_referenced = abuf->written;
24794 INT in_FRi = -1;
24795 INT in_FRj = -1;
24796 INT in_FRdoublei = -1;
24797 INT in_FRdoublej = -1;
24798 INT out_FRk = -1;
24799 INT out_FRdoublek = -1;
24800 in_FRi = FLD (in_FRi);
24801 in_FRj = FLD (in_FRj);
24802 out_FRk = FLD (out_FRk);
24803 referenced |= 1 << 0;
24804 referenced |= 1 << 1;
24805 referenced |= 1 << 4;
24806 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24808 return cycles;
24809 #undef FLD
24812 static int
24813 model_fr550_fmuls (SIM_CPU *current_cpu, void *sem_arg)
24815 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24816 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24817 const IDESC * UNUSED idesc = abuf->idesc;
24818 int cycles = 0;
24820 int referenced = 0;
24821 int UNUSED insn_referenced = abuf->written;
24822 INT in_FRi = -1;
24823 INT in_FRj = -1;
24824 INT in_FRdoublei = -1;
24825 INT in_FRdoublej = -1;
24826 INT out_FRk = -1;
24827 INT out_FRdoublek = -1;
24828 in_FRi = FLD (in_FRi);
24829 in_FRj = FLD (in_FRj);
24830 out_FRk = FLD (out_FRk);
24831 referenced |= 1 << 0;
24832 referenced |= 1 << 1;
24833 referenced |= 1 << 4;
24834 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24836 return cycles;
24837 #undef FLD
24840 static int
24841 model_fr550_fdivs (SIM_CPU *current_cpu, void *sem_arg)
24843 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24844 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24845 const IDESC * UNUSED idesc = abuf->idesc;
24846 int cycles = 0;
24848 int referenced = 0;
24849 int UNUSED insn_referenced = abuf->written;
24850 INT in_FRi = -1;
24851 INT in_FRj = -1;
24852 INT out_FRk = -1;
24853 in_FRi = FLD (in_FRi);
24854 in_FRj = FLD (in_FRj);
24855 out_FRk = FLD (out_FRk);
24856 referenced |= 1 << 0;
24857 referenced |= 1 << 1;
24858 referenced |= 1 << 2;
24859 cycles += frvbf_model_fr550_u_float_div (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FRk);
24861 return cycles;
24862 #undef FLD
24865 static int
24866 model_fr550_faddd (SIM_CPU *current_cpu, void *sem_arg)
24868 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24869 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24870 const IDESC * UNUSED idesc = abuf->idesc;
24871 int cycles = 0;
24873 int referenced = 0;
24874 int UNUSED insn_referenced = abuf->written;
24875 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24877 return cycles;
24878 #undef FLD
24881 static int
24882 model_fr550_fsubd (SIM_CPU *current_cpu, void *sem_arg)
24884 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24885 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24886 const IDESC * UNUSED idesc = abuf->idesc;
24887 int cycles = 0;
24889 int referenced = 0;
24890 int UNUSED insn_referenced = abuf->written;
24891 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24893 return cycles;
24894 #undef FLD
24897 static int
24898 model_fr550_fmuld (SIM_CPU *current_cpu, void *sem_arg)
24900 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24901 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24902 const IDESC * UNUSED idesc = abuf->idesc;
24903 int cycles = 0;
24905 int referenced = 0;
24906 int UNUSED insn_referenced = abuf->written;
24907 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24909 return cycles;
24910 #undef FLD
24913 static int
24914 model_fr550_fdivd (SIM_CPU *current_cpu, void *sem_arg)
24916 #define FLD(f) abuf->fields.sfmt_fmaddd.f
24917 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24918 const IDESC * UNUSED idesc = abuf->idesc;
24919 int cycles = 0;
24921 int referenced = 0;
24922 int UNUSED insn_referenced = abuf->written;
24923 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
24925 return cycles;
24926 #undef FLD
24929 static int
24930 model_fr550_cfadds (SIM_CPU *current_cpu, void *sem_arg)
24932 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24933 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24934 const IDESC * UNUSED idesc = abuf->idesc;
24935 int cycles = 0;
24937 int referenced = 0;
24938 int UNUSED insn_referenced = abuf->written;
24939 INT in_FRi = -1;
24940 INT in_FRj = -1;
24941 INT in_FRdoublei = -1;
24942 INT in_FRdoublej = -1;
24943 INT out_FRk = -1;
24944 INT out_FRdoublek = -1;
24945 in_FRi = FLD (in_FRi);
24946 in_FRj = FLD (in_FRj);
24947 out_FRk = FLD (out_FRk);
24948 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
24949 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
24950 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
24951 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24953 return cycles;
24954 #undef FLD
24957 static int
24958 model_fr550_cfsubs (SIM_CPU *current_cpu, void *sem_arg)
24960 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24962 const IDESC * UNUSED idesc = abuf->idesc;
24963 int cycles = 0;
24965 int referenced = 0;
24966 int UNUSED insn_referenced = abuf->written;
24967 INT in_FRi = -1;
24968 INT in_FRj = -1;
24969 INT in_FRdoublei = -1;
24970 INT in_FRdoublej = -1;
24971 INT out_FRk = -1;
24972 INT out_FRdoublek = -1;
24973 in_FRi = FLD (in_FRi);
24974 in_FRj = FLD (in_FRj);
24975 out_FRk = FLD (out_FRk);
24976 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
24977 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
24978 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
24979 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
24981 return cycles;
24982 #undef FLD
24985 static int
24986 model_fr550_cfmuls (SIM_CPU *current_cpu, void *sem_arg)
24988 #define FLD(f) abuf->fields.sfmt_cfmadds.f
24989 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
24990 const IDESC * UNUSED idesc = abuf->idesc;
24991 int cycles = 0;
24993 int referenced = 0;
24994 int UNUSED insn_referenced = abuf->written;
24995 INT in_FRi = -1;
24996 INT in_FRj = -1;
24997 INT in_FRdoublei = -1;
24998 INT in_FRdoublej = -1;
24999 INT out_FRk = -1;
25000 INT out_FRdoublek = -1;
25001 in_FRi = FLD (in_FRi);
25002 in_FRj = FLD (in_FRj);
25003 out_FRk = FLD (out_FRk);
25004 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
25005 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
25006 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
25007 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25009 return cycles;
25010 #undef FLD
25013 static int
25014 model_fr550_cfdivs (SIM_CPU *current_cpu, void *sem_arg)
25016 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25018 const IDESC * UNUSED idesc = abuf->idesc;
25019 int cycles = 0;
25021 int referenced = 0;
25022 int UNUSED insn_referenced = abuf->written;
25023 INT in_FRi = -1;
25024 INT in_FRj = -1;
25025 INT out_FRk = -1;
25026 in_FRi = FLD (in_FRi);
25027 in_FRj = FLD (in_FRj);
25028 out_FRk = FLD (out_FRk);
25029 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
25030 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
25031 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
25032 cycles += frvbf_model_fr550_u_float_div (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FRk);
25034 return cycles;
25035 #undef FLD
25038 static int
25039 model_fr550_nfadds (SIM_CPU *current_cpu, void *sem_arg)
25041 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25042 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25043 const IDESC * UNUSED idesc = abuf->idesc;
25044 int cycles = 0;
25046 int referenced = 0;
25047 int UNUSED insn_referenced = abuf->written;
25048 INT in_FRi = -1;
25049 INT in_FRj = -1;
25050 INT in_FRdoublei = -1;
25051 INT in_FRdoublej = -1;
25052 INT out_FRk = -1;
25053 INT out_FRdoublek = -1;
25054 in_FRi = FLD (in_FRi);
25055 in_FRj = FLD (in_FRj);
25056 out_FRk = FLD (out_FRk);
25057 referenced |= 1 << 0;
25058 referenced |= 1 << 1;
25059 referenced |= 1 << 4;
25060 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25062 return cycles;
25063 #undef FLD
25066 static int
25067 model_fr550_nfsubs (SIM_CPU *current_cpu, void *sem_arg)
25069 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25070 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25071 const IDESC * UNUSED idesc = abuf->idesc;
25072 int cycles = 0;
25074 int referenced = 0;
25075 int UNUSED insn_referenced = abuf->written;
25076 INT in_FRi = -1;
25077 INT in_FRj = -1;
25078 INT in_FRdoublei = -1;
25079 INT in_FRdoublej = -1;
25080 INT out_FRk = -1;
25081 INT out_FRdoublek = -1;
25082 in_FRi = FLD (in_FRi);
25083 in_FRj = FLD (in_FRj);
25084 out_FRk = FLD (out_FRk);
25085 referenced |= 1 << 0;
25086 referenced |= 1 << 1;
25087 referenced |= 1 << 4;
25088 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25090 return cycles;
25091 #undef FLD
25094 static int
25095 model_fr550_nfmuls (SIM_CPU *current_cpu, void *sem_arg)
25097 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25098 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25099 const IDESC * UNUSED idesc = abuf->idesc;
25100 int cycles = 0;
25102 int referenced = 0;
25103 int UNUSED insn_referenced = abuf->written;
25104 INT in_FRi = -1;
25105 INT in_FRj = -1;
25106 INT in_FRdoublei = -1;
25107 INT in_FRdoublej = -1;
25108 INT out_FRk = -1;
25109 INT out_FRdoublek = -1;
25110 in_FRi = FLD (in_FRi);
25111 in_FRj = FLD (in_FRj);
25112 out_FRk = FLD (out_FRk);
25113 referenced |= 1 << 0;
25114 referenced |= 1 << 1;
25115 referenced |= 1 << 4;
25116 cycles += frvbf_model_fr550_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
25118 return cycles;
25119 #undef FLD
25122 static int
25123 model_fr550_nfdivs (SIM_CPU *current_cpu, void *sem_arg)
25125 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25126 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25127 const IDESC * UNUSED idesc = abuf->idesc;
25128 int cycles = 0;
25130 int referenced = 0;
25131 int UNUSED insn_referenced = abuf->written;
25132 INT in_FRi = -1;
25133 INT in_FRj = -1;
25134 INT out_FRk = -1;
25135 in_FRi = FLD (in_FRi);
25136 in_FRj = FLD (in_FRj);
25137 out_FRk = FLD (out_FRk);
25138 referenced |= 1 << 0;
25139 referenced |= 1 << 1;
25140 referenced |= 1 << 2;
25141 cycles += frvbf_model_fr550_u_float_div (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FRk);
25143 return cycles;
25144 #undef FLD
25147 static int
25148 model_fr550_fcmps (SIM_CPU *current_cpu, void *sem_arg)
25150 #define FLD(f) abuf->fields.sfmt_cfcmps.f
25151 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25152 const IDESC * UNUSED idesc = abuf->idesc;
25153 int cycles = 0;
25155 int referenced = 0;
25156 int UNUSED insn_referenced = abuf->written;
25157 INT in_FRi = -1;
25158 INT in_FRj = -1;
25159 INT in_FRdoublei = -1;
25160 INT in_FRdoublej = -1;
25161 INT out_FCCi_2 = -1;
25162 in_FRi = FLD (in_FRi);
25163 in_FRj = FLD (in_FRj);
25164 out_FCCi_2 = FLD (out_FCCi_2);
25165 referenced |= 1 << 0;
25166 referenced |= 1 << 1;
25167 if (insn_referenced & (1 << 2)) referenced |= 1 << 4;
25168 cycles += frvbf_model_fr550_u_float_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FCCi_2);
25170 return cycles;
25171 #undef FLD
25174 static int
25175 model_fr550_fcmpd (SIM_CPU *current_cpu, void *sem_arg)
25177 #define FLD(f) abuf->fields.sfmt_fcmpd.f
25178 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25179 const IDESC * UNUSED idesc = abuf->idesc;
25180 int cycles = 0;
25182 int referenced = 0;
25183 int UNUSED insn_referenced = abuf->written;
25184 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25186 return cycles;
25187 #undef FLD
25190 static int
25191 model_fr550_cfcmps (SIM_CPU *current_cpu, void *sem_arg)
25193 #define FLD(f) abuf->fields.sfmt_cfcmps.f
25194 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25195 const IDESC * UNUSED idesc = abuf->idesc;
25196 int cycles = 0;
25198 int referenced = 0;
25199 int UNUSED insn_referenced = abuf->written;
25200 INT in_FRi = -1;
25201 INT in_FRj = -1;
25202 INT in_FRdoublei = -1;
25203 INT in_FRdoublej = -1;
25204 INT out_FCCi_2 = -1;
25205 in_FRi = FLD (in_FRi);
25206 in_FRj = FLD (in_FRj);
25207 out_FCCi_2 = FLD (out_FCCi_2);
25208 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
25209 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
25210 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
25211 cycles += frvbf_model_fr550_u_float_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FCCi_2);
25213 return cycles;
25214 #undef FLD
25217 static int
25218 model_fr550_fdcmps (SIM_CPU *current_cpu, void *sem_arg)
25220 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
25221 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25222 const IDESC * UNUSED idesc = abuf->idesc;
25223 int cycles = 0;
25225 int referenced = 0;
25226 int UNUSED insn_referenced = abuf->written;
25227 INT in_FRi = -1;
25228 INT in_FRj = -1;
25229 INT out_FCCi_2 = -1;
25230 in_FRi = FLD (in_FRi);
25231 in_FRj = FLD (in_FRj);
25232 out_FCCi_2 = FLD (out_FCCi_2);
25233 referenced |= 1 << 0;
25234 referenced |= 1 << 1;
25235 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
25236 cycles += frvbf_model_fr550_u_float_dual_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FCCi_2);
25238 return cycles;
25239 #undef FLD
25242 static int
25243 model_fr550_fmadds (SIM_CPU *current_cpu, void *sem_arg)
25245 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25246 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25247 const IDESC * UNUSED idesc = abuf->idesc;
25248 int cycles = 0;
25250 int referenced = 0;
25251 int UNUSED insn_referenced = abuf->written;
25252 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25254 return cycles;
25255 #undef FLD
25258 static int
25259 model_fr550_fmsubs (SIM_CPU *current_cpu, void *sem_arg)
25261 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25262 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25263 const IDESC * UNUSED idesc = abuf->idesc;
25264 int cycles = 0;
25266 int referenced = 0;
25267 int UNUSED insn_referenced = abuf->written;
25268 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25270 return cycles;
25271 #undef FLD
25274 static int
25275 model_fr550_fmaddd (SIM_CPU *current_cpu, void *sem_arg)
25277 #define FLD(f) abuf->fields.sfmt_fmaddd.f
25278 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25279 const IDESC * UNUSED idesc = abuf->idesc;
25280 int cycles = 0;
25282 int referenced = 0;
25283 int UNUSED insn_referenced = abuf->written;
25284 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25286 return cycles;
25287 #undef FLD
25290 static int
25291 model_fr550_fmsubd (SIM_CPU *current_cpu, void *sem_arg)
25293 #define FLD(f) abuf->fields.sfmt_fmaddd.f
25294 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25295 const IDESC * UNUSED idesc = abuf->idesc;
25296 int cycles = 0;
25298 int referenced = 0;
25299 int UNUSED insn_referenced = abuf->written;
25300 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25302 return cycles;
25303 #undef FLD
25306 static int
25307 model_fr550_fdmadds (SIM_CPU *current_cpu, void *sem_arg)
25309 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25310 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25311 const IDESC * UNUSED idesc = abuf->idesc;
25312 int cycles = 0;
25314 int referenced = 0;
25315 int UNUSED insn_referenced = abuf->written;
25316 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25318 return cycles;
25319 #undef FLD
25322 static int
25323 model_fr550_nfdmadds (SIM_CPU *current_cpu, void *sem_arg)
25325 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25326 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25327 const IDESC * UNUSED idesc = abuf->idesc;
25328 int cycles = 0;
25330 int referenced = 0;
25331 int UNUSED insn_referenced = abuf->written;
25332 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25334 return cycles;
25335 #undef FLD
25338 static int
25339 model_fr550_cfmadds (SIM_CPU *current_cpu, void *sem_arg)
25341 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25342 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25343 const IDESC * UNUSED idesc = abuf->idesc;
25344 int cycles = 0;
25346 int referenced = 0;
25347 int UNUSED insn_referenced = abuf->written;
25348 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25350 return cycles;
25351 #undef FLD
25354 static int
25355 model_fr550_cfmsubs (SIM_CPU *current_cpu, void *sem_arg)
25357 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25358 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25359 const IDESC * UNUSED idesc = abuf->idesc;
25360 int cycles = 0;
25362 int referenced = 0;
25363 int UNUSED insn_referenced = abuf->written;
25364 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25366 return cycles;
25367 #undef FLD
25370 static int
25371 model_fr550_nfmadds (SIM_CPU *current_cpu, void *sem_arg)
25373 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25374 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25375 const IDESC * UNUSED idesc = abuf->idesc;
25376 int cycles = 0;
25378 int referenced = 0;
25379 int UNUSED insn_referenced = abuf->written;
25380 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25382 return cycles;
25383 #undef FLD
25386 static int
25387 model_fr550_nfmsubs (SIM_CPU *current_cpu, void *sem_arg)
25389 #define FLD(f) abuf->fields.sfmt_cfmadds.f
25390 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25391 const IDESC * UNUSED idesc = abuf->idesc;
25392 int cycles = 0;
25394 int referenced = 0;
25395 int UNUSED insn_referenced = abuf->written;
25396 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25398 return cycles;
25399 #undef FLD
25402 static int
25403 model_fr550_fmas (SIM_CPU *current_cpu, void *sem_arg)
25405 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25406 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25407 const IDESC * UNUSED idesc = abuf->idesc;
25408 int cycles = 0;
25410 int referenced = 0;
25411 int UNUSED insn_referenced = abuf->written;
25412 INT in_FRi = -1;
25413 INT in_FRj = -1;
25414 INT in_FRdoublei = -1;
25415 INT in_FRdoublej = -1;
25416 INT out_FRk = -1;
25417 INT out_FRdoublek = -1;
25418 in_FRi = FLD (in_FRi);
25419 in_FRj = FLD (in_FRj);
25420 out_FRk = FLD (out_FRk);
25421 referenced |= 1 << 0;
25422 referenced |= 1 << 1;
25423 referenced |= 1 << 4;
25424 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);
25426 return cycles;
25427 #undef FLD
25430 static int
25431 model_fr550_fmss (SIM_CPU *current_cpu, void *sem_arg)
25433 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25434 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25435 const IDESC * UNUSED idesc = abuf->idesc;
25436 int cycles = 0;
25438 int referenced = 0;
25439 int UNUSED insn_referenced = abuf->written;
25440 INT in_FRi = -1;
25441 INT in_FRj = -1;
25442 INT in_FRdoublei = -1;
25443 INT in_FRdoublej = -1;
25444 INT out_FRk = -1;
25445 INT out_FRdoublek = -1;
25446 in_FRi = FLD (in_FRi);
25447 in_FRj = FLD (in_FRj);
25448 out_FRk = FLD (out_FRk);
25449 referenced |= 1 << 0;
25450 referenced |= 1 << 1;
25451 referenced |= 1 << 4;
25452 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);
25454 return cycles;
25455 #undef FLD
25458 static int
25459 model_fr550_fdmas (SIM_CPU *current_cpu, void *sem_arg)
25461 #define FLD(f) abuf->fields.sfmt_fdmas.f
25462 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25463 const IDESC * UNUSED idesc = abuf->idesc;
25464 int cycles = 0;
25466 int referenced = 0;
25467 int UNUSED insn_referenced = abuf->written;
25468 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25470 return cycles;
25471 #undef FLD
25474 static int
25475 model_fr550_fdmss (SIM_CPU *current_cpu, void *sem_arg)
25477 #define FLD(f) abuf->fields.sfmt_fdmas.f
25478 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25479 const IDESC * UNUSED idesc = abuf->idesc;
25480 int cycles = 0;
25482 int referenced = 0;
25483 int UNUSED insn_referenced = abuf->written;
25484 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25486 return cycles;
25487 #undef FLD
25490 static int
25491 model_fr550_nfdmas (SIM_CPU *current_cpu, void *sem_arg)
25493 #define FLD(f) abuf->fields.sfmt_fdmas.f
25494 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25495 const IDESC * UNUSED idesc = abuf->idesc;
25496 int cycles = 0;
25498 int referenced = 0;
25499 int UNUSED insn_referenced = abuf->written;
25500 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25502 return cycles;
25503 #undef FLD
25506 static int
25507 model_fr550_nfdmss (SIM_CPU *current_cpu, void *sem_arg)
25509 #define FLD(f) abuf->fields.sfmt_fdmas.f
25510 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25511 const IDESC * UNUSED idesc = abuf->idesc;
25512 int cycles = 0;
25514 int referenced = 0;
25515 int UNUSED insn_referenced = abuf->written;
25516 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25518 return cycles;
25519 #undef FLD
25522 static int
25523 model_fr550_cfmas (SIM_CPU *current_cpu, void *sem_arg)
25525 #define FLD(f) abuf->fields.sfmt_cfmas.f
25526 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25527 const IDESC * UNUSED idesc = abuf->idesc;
25528 int cycles = 0;
25530 int referenced = 0;
25531 int UNUSED insn_referenced = abuf->written;
25532 INT in_FRi = -1;
25533 INT in_FRj = -1;
25534 INT in_FRdoublei = -1;
25535 INT in_FRdoublej = -1;
25536 INT out_FRk = -1;
25537 INT out_FRdoublek = -1;
25538 in_FRi = FLD (in_FRi);
25539 in_FRj = FLD (in_FRj);
25540 out_FRk = FLD (out_FRk);
25541 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
25542 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
25543 if (insn_referenced & (1 << 9)) referenced |= 1 << 4;
25544 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);
25546 return cycles;
25547 #undef FLD
25550 static int
25551 model_fr550_cfmss (SIM_CPU *current_cpu, void *sem_arg)
25553 #define FLD(f) abuf->fields.sfmt_cfmas.f
25554 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25555 const IDESC * UNUSED idesc = abuf->idesc;
25556 int cycles = 0;
25558 int referenced = 0;
25559 int UNUSED insn_referenced = abuf->written;
25560 INT in_FRi = -1;
25561 INT in_FRj = -1;
25562 INT in_FRdoublei = -1;
25563 INT in_FRdoublej = -1;
25564 INT out_FRk = -1;
25565 INT out_FRdoublek = -1;
25566 in_FRi = FLD (in_FRi);
25567 in_FRj = FLD (in_FRj);
25568 out_FRk = FLD (out_FRk);
25569 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
25570 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
25571 if (insn_referenced & (1 << 9)) referenced |= 1 << 4;
25572 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);
25574 return cycles;
25575 #undef FLD
25578 static int
25579 model_fr550_fmad (SIM_CPU *current_cpu, void *sem_arg)
25581 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25582 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25583 const IDESC * UNUSED idesc = abuf->idesc;
25584 int cycles = 0;
25586 int referenced = 0;
25587 int UNUSED insn_referenced = abuf->written;
25588 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25590 return cycles;
25591 #undef FLD
25594 static int
25595 model_fr550_fmsd (SIM_CPU *current_cpu, void *sem_arg)
25597 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25598 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25599 const IDESC * UNUSED idesc = abuf->idesc;
25600 int cycles = 0;
25602 int referenced = 0;
25603 int UNUSED insn_referenced = abuf->written;
25604 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
25606 return cycles;
25607 #undef FLD
25610 static int
25611 model_fr550_nfmas (SIM_CPU *current_cpu, void *sem_arg)
25613 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25614 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25615 const IDESC * UNUSED idesc = abuf->idesc;
25616 int cycles = 0;
25618 int referenced = 0;
25619 int UNUSED insn_referenced = abuf->written;
25620 INT in_FRi = -1;
25621 INT in_FRj = -1;
25622 INT in_FRdoublei = -1;
25623 INT in_FRdoublej = -1;
25624 INT out_FRk = -1;
25625 INT out_FRdoublek = -1;
25626 in_FRi = FLD (in_FRi);
25627 in_FRj = FLD (in_FRj);
25628 out_FRk = FLD (out_FRk);
25629 referenced |= 1 << 0;
25630 referenced |= 1 << 1;
25631 referenced |= 1 << 4;
25632 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);
25634 return cycles;
25635 #undef FLD
25638 static int
25639 model_fr550_nfmss (SIM_CPU *current_cpu, void *sem_arg)
25641 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25642 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25643 const IDESC * UNUSED idesc = abuf->idesc;
25644 int cycles = 0;
25646 int referenced = 0;
25647 int UNUSED insn_referenced = abuf->written;
25648 INT in_FRi = -1;
25649 INT in_FRj = -1;
25650 INT in_FRdoublei = -1;
25651 INT in_FRdoublej = -1;
25652 INT out_FRk = -1;
25653 INT out_FRdoublek = -1;
25654 in_FRi = FLD (in_FRi);
25655 in_FRj = FLD (in_FRj);
25656 out_FRk = FLD (out_FRk);
25657 referenced |= 1 << 0;
25658 referenced |= 1 << 1;
25659 referenced |= 1 << 4;
25660 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);
25662 return cycles;
25663 #undef FLD
25666 static int
25667 model_fr550_fdadds (SIM_CPU *current_cpu, void *sem_arg)
25669 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25670 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25671 const IDESC * UNUSED idesc = abuf->idesc;
25672 int cycles = 0;
25674 int referenced = 0;
25675 int UNUSED insn_referenced = abuf->written;
25676 INT in_FRi = -1;
25677 INT in_FRj = -1;
25678 INT in_FRdoublei = -1;
25679 INT in_FRdoublej = -1;
25680 INT out_FRk = -1;
25681 INT out_FRdoublek = -1;
25682 in_FRi = FLD (in_FRi);
25683 in_FRj = FLD (in_FRj);
25684 out_FRk = FLD (out_FRk);
25685 referenced |= 1 << 0;
25686 referenced |= 1 << 1;
25687 referenced |= 1 << 4;
25688 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);
25690 return cycles;
25691 #undef FLD
25694 static int
25695 model_fr550_fdsubs (SIM_CPU *current_cpu, void *sem_arg)
25697 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25698 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25699 const IDESC * UNUSED idesc = abuf->idesc;
25700 int cycles = 0;
25702 int referenced = 0;
25703 int UNUSED insn_referenced = abuf->written;
25704 INT in_FRi = -1;
25705 INT in_FRj = -1;
25706 INT in_FRdoublei = -1;
25707 INT in_FRdoublej = -1;
25708 INT out_FRk = -1;
25709 INT out_FRdoublek = -1;
25710 in_FRi = FLD (in_FRi);
25711 in_FRj = FLD (in_FRj);
25712 out_FRk = FLD (out_FRk);
25713 referenced |= 1 << 0;
25714 referenced |= 1 << 1;
25715 referenced |= 1 << 4;
25716 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);
25718 return cycles;
25719 #undef FLD
25722 static int
25723 model_fr550_fdmuls (SIM_CPU *current_cpu, void *sem_arg)
25725 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25726 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25727 const IDESC * UNUSED idesc = abuf->idesc;
25728 int cycles = 0;
25730 int referenced = 0;
25731 int UNUSED insn_referenced = abuf->written;
25732 INT in_FRi = -1;
25733 INT in_FRj = -1;
25734 INT in_FRdoublei = -1;
25735 INT in_FRdoublej = -1;
25736 INT out_FRk = -1;
25737 INT out_FRdoublek = -1;
25738 in_FRi = FLD (in_FRi);
25739 in_FRj = FLD (in_FRj);
25740 out_FRk = FLD (out_FRk);
25741 referenced |= 1 << 0;
25742 referenced |= 1 << 1;
25743 referenced |= 1 << 4;
25744 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);
25746 return cycles;
25747 #undef FLD
25750 static int
25751 model_fr550_fddivs (SIM_CPU *current_cpu, void *sem_arg)
25753 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25754 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25755 const IDESC * UNUSED idesc = abuf->idesc;
25756 int cycles = 0;
25758 int referenced = 0;
25759 int UNUSED insn_referenced = abuf->written;
25760 INT in_FRi = -1;
25761 INT in_FRj = -1;
25762 INT in_FRdoublei = -1;
25763 INT in_FRdoublej = -1;
25764 INT out_FRk = -1;
25765 INT out_FRdoublek = -1;
25766 in_FRi = FLD (in_FRi);
25767 in_FRj = FLD (in_FRj);
25768 out_FRk = FLD (out_FRk);
25769 referenced |= 1 << 0;
25770 referenced |= 1 << 1;
25771 referenced |= 1 << 4;
25772 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);
25774 return cycles;
25775 #undef FLD
25778 static int
25779 model_fr550_fdsads (SIM_CPU *current_cpu, void *sem_arg)
25781 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25782 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25783 const IDESC * UNUSED idesc = abuf->idesc;
25784 int cycles = 0;
25786 int referenced = 0;
25787 int UNUSED insn_referenced = abuf->written;
25788 INT in_FRi = -1;
25789 INT in_FRj = -1;
25790 INT in_FRdoublei = -1;
25791 INT in_FRdoublej = -1;
25792 INT out_FRk = -1;
25793 INT out_FRdoublek = -1;
25794 in_FRi = FLD (in_FRi);
25795 in_FRj = FLD (in_FRj);
25796 out_FRk = FLD (out_FRk);
25797 referenced |= 1 << 0;
25798 referenced |= 1 << 1;
25799 referenced |= 1 << 4;
25800 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);
25802 return cycles;
25803 #undef FLD
25806 static int
25807 model_fr550_fdmulcs (SIM_CPU *current_cpu, void *sem_arg)
25809 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25810 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25811 const IDESC * UNUSED idesc = abuf->idesc;
25812 int cycles = 0;
25814 int referenced = 0;
25815 int UNUSED insn_referenced = abuf->written;
25816 INT in_FRi = -1;
25817 INT in_FRj = -1;
25818 INT in_FRdoublei = -1;
25819 INT in_FRdoublej = -1;
25820 INT out_FRk = -1;
25821 INT out_FRdoublek = -1;
25822 in_FRi = FLD (in_FRi);
25823 in_FRj = FLD (in_FRj);
25824 out_FRk = FLD (out_FRk);
25825 referenced |= 1 << 0;
25826 referenced |= 1 << 1;
25827 referenced |= 1 << 4;
25828 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);
25830 return cycles;
25831 #undef FLD
25834 static int
25835 model_fr550_nfdmulcs (SIM_CPU *current_cpu, void *sem_arg)
25837 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25838 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25839 const IDESC * UNUSED idesc = abuf->idesc;
25840 int cycles = 0;
25842 int referenced = 0;
25843 int UNUSED insn_referenced = abuf->written;
25844 INT in_FRi = -1;
25845 INT in_FRj = -1;
25846 INT in_FRdoublei = -1;
25847 INT in_FRdoublej = -1;
25848 INT out_FRk = -1;
25849 INT out_FRdoublek = -1;
25850 in_FRi = FLD (in_FRi);
25851 in_FRj = FLD (in_FRj);
25852 out_FRk = FLD (out_FRk);
25853 referenced |= 1 << 0;
25854 referenced |= 1 << 1;
25855 referenced |= 1 << 4;
25856 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);
25858 return cycles;
25859 #undef FLD
25862 static int
25863 model_fr550_nfdadds (SIM_CPU *current_cpu, void *sem_arg)
25865 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25866 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25867 const IDESC * UNUSED idesc = abuf->idesc;
25868 int cycles = 0;
25870 int referenced = 0;
25871 int UNUSED insn_referenced = abuf->written;
25872 INT in_FRi = -1;
25873 INT in_FRj = -1;
25874 INT in_FRdoublei = -1;
25875 INT in_FRdoublej = -1;
25876 INT out_FRk = -1;
25877 INT out_FRdoublek = -1;
25878 in_FRi = FLD (in_FRi);
25879 in_FRj = FLD (in_FRj);
25880 out_FRk = FLD (out_FRk);
25881 referenced |= 1 << 0;
25882 referenced |= 1 << 1;
25883 referenced |= 1 << 4;
25884 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);
25886 return cycles;
25887 #undef FLD
25890 static int
25891 model_fr550_nfdsubs (SIM_CPU *current_cpu, void *sem_arg)
25893 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25894 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25895 const IDESC * UNUSED idesc = abuf->idesc;
25896 int cycles = 0;
25898 int referenced = 0;
25899 int UNUSED insn_referenced = abuf->written;
25900 INT in_FRi = -1;
25901 INT in_FRj = -1;
25902 INT in_FRdoublei = -1;
25903 INT in_FRdoublej = -1;
25904 INT out_FRk = -1;
25905 INT out_FRdoublek = -1;
25906 in_FRi = FLD (in_FRi);
25907 in_FRj = FLD (in_FRj);
25908 out_FRk = FLD (out_FRk);
25909 referenced |= 1 << 0;
25910 referenced |= 1 << 1;
25911 referenced |= 1 << 4;
25912 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);
25914 return cycles;
25915 #undef FLD
25918 static int
25919 model_fr550_nfdmuls (SIM_CPU *current_cpu, void *sem_arg)
25921 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25922 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25923 const IDESC * UNUSED idesc = abuf->idesc;
25924 int cycles = 0;
25926 int referenced = 0;
25927 int UNUSED insn_referenced = abuf->written;
25928 INT in_FRi = -1;
25929 INT in_FRj = -1;
25930 INT in_FRdoublei = -1;
25931 INT in_FRdoublej = -1;
25932 INT out_FRk = -1;
25933 INT out_FRdoublek = -1;
25934 in_FRi = FLD (in_FRi);
25935 in_FRj = FLD (in_FRj);
25936 out_FRk = FLD (out_FRk);
25937 referenced |= 1 << 0;
25938 referenced |= 1 << 1;
25939 referenced |= 1 << 4;
25940 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);
25942 return cycles;
25943 #undef FLD
25946 static int
25947 model_fr550_nfddivs (SIM_CPU *current_cpu, void *sem_arg)
25949 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25950 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25951 const IDESC * UNUSED idesc = abuf->idesc;
25952 int cycles = 0;
25954 int referenced = 0;
25955 int UNUSED insn_referenced = abuf->written;
25956 INT in_FRi = -1;
25957 INT in_FRj = -1;
25958 INT in_FRdoublei = -1;
25959 INT in_FRdoublej = -1;
25960 INT out_FRk = -1;
25961 INT out_FRdoublek = -1;
25962 in_FRi = FLD (in_FRi);
25963 in_FRj = FLD (in_FRj);
25964 out_FRk = FLD (out_FRk);
25965 referenced |= 1 << 0;
25966 referenced |= 1 << 1;
25967 referenced |= 1 << 4;
25968 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);
25970 return cycles;
25971 #undef FLD
25974 static int
25975 model_fr550_nfdsads (SIM_CPU *current_cpu, void *sem_arg)
25977 #define FLD(f) abuf->fields.sfmt_fdmadds.f
25978 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
25979 const IDESC * UNUSED idesc = abuf->idesc;
25980 int cycles = 0;
25982 int referenced = 0;
25983 int UNUSED insn_referenced = abuf->written;
25984 INT in_FRi = -1;
25985 INT in_FRj = -1;
25986 INT in_FRdoublei = -1;
25987 INT in_FRdoublej = -1;
25988 INT out_FRk = -1;
25989 INT out_FRdoublek = -1;
25990 in_FRi = FLD (in_FRi);
25991 in_FRj = FLD (in_FRj);
25992 out_FRk = FLD (out_FRk);
25993 referenced |= 1 << 0;
25994 referenced |= 1 << 1;
25995 referenced |= 1 << 4;
25996 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);
25998 return cycles;
25999 #undef FLD
26002 static int
26003 model_fr550_nfdcmps (SIM_CPU *current_cpu, void *sem_arg)
26005 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
26006 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26007 const IDESC * UNUSED idesc = abuf->idesc;
26008 int cycles = 0;
26010 int referenced = 0;
26011 int UNUSED insn_referenced = abuf->written;
26012 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
26014 return cycles;
26015 #undef FLD
26018 static int
26019 model_fr550_mhsetlos (SIM_CPU *current_cpu, void *sem_arg)
26021 #define FLD(f) abuf->fields.sfmt_mhsetlos.f
26022 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26023 const IDESC * UNUSED idesc = abuf->idesc;
26024 int cycles = 0;
26026 int referenced = 0;
26027 int UNUSED insn_referenced = abuf->written;
26028 INT out_FRintk = -1;
26029 out_FRintk = FLD (out_FRklo);
26030 cycles += frvbf_model_fr550_u_media_set (current_cpu, idesc, 0, referenced, out_FRintk);
26032 return cycles;
26033 #undef FLD
26036 static int
26037 model_fr550_mhsethis (SIM_CPU *current_cpu, void *sem_arg)
26039 #define FLD(f) abuf->fields.sfmt_mhsethis.f
26040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26041 const IDESC * UNUSED idesc = abuf->idesc;
26042 int cycles = 0;
26044 int referenced = 0;
26045 int UNUSED insn_referenced = abuf->written;
26046 INT out_FRintk = -1;
26047 out_FRintk = FLD (out_FRkhi);
26048 cycles += frvbf_model_fr550_u_media_set (current_cpu, idesc, 0, referenced, out_FRintk);
26050 return cycles;
26051 #undef FLD
26054 static int
26055 model_fr550_mhdsets (SIM_CPU *current_cpu, void *sem_arg)
26057 #define FLD(f) abuf->fields.sfmt_mhdsets.f
26058 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26059 const IDESC * UNUSED idesc = abuf->idesc;
26060 int cycles = 0;
26062 int referenced = 0;
26063 int UNUSED insn_referenced = abuf->written;
26064 INT out_FRintk = -1;
26065 out_FRintk = FLD (out_FRintk);
26066 referenced |= 1 << 0;
26067 cycles += frvbf_model_fr550_u_media_set (current_cpu, idesc, 0, referenced, out_FRintk);
26069 return cycles;
26070 #undef FLD
26073 static int
26074 model_fr550_mhsetloh (SIM_CPU *current_cpu, void *sem_arg)
26076 #define FLD(f) abuf->fields.sfmt_mhsetloh.f
26077 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26078 const IDESC * UNUSED idesc = abuf->idesc;
26079 int cycles = 0;
26081 int referenced = 0;
26082 int UNUSED insn_referenced = abuf->written;
26083 INT out_FRintk = -1;
26084 out_FRintk = FLD (out_FRklo);
26085 cycles += frvbf_model_fr550_u_media_set (current_cpu, idesc, 0, referenced, out_FRintk);
26087 return cycles;
26088 #undef FLD
26091 static int
26092 model_fr550_mhsethih (SIM_CPU *current_cpu, void *sem_arg)
26094 #define FLD(f) abuf->fields.sfmt_mhsethih.f
26095 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26096 const IDESC * UNUSED idesc = abuf->idesc;
26097 int cycles = 0;
26099 int referenced = 0;
26100 int UNUSED insn_referenced = abuf->written;
26101 INT out_FRintk = -1;
26102 out_FRintk = FLD (out_FRkhi);
26103 cycles += frvbf_model_fr550_u_media_set (current_cpu, idesc, 0, referenced, out_FRintk);
26105 return cycles;
26106 #undef FLD
26109 static int
26110 model_fr550_mhdseth (SIM_CPU *current_cpu, void *sem_arg)
26112 #define FLD(f) abuf->fields.sfmt_mhdseth.f
26113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26114 const IDESC * UNUSED idesc = abuf->idesc;
26115 int cycles = 0;
26117 int referenced = 0;
26118 int UNUSED insn_referenced = abuf->written;
26119 INT out_FRintk = -1;
26120 out_FRintk = FLD (out_FRintk);
26121 referenced |= 1 << 0;
26122 cycles += frvbf_model_fr550_u_media_set (current_cpu, idesc, 0, referenced, out_FRintk);
26124 return cycles;
26125 #undef FLD
26128 static int
26129 model_fr550_mand (SIM_CPU *current_cpu, void *sem_arg)
26131 #define FLD(f) abuf->fields.sfmt_mwcut.f
26132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26133 const IDESC * UNUSED idesc = abuf->idesc;
26134 int cycles = 0;
26136 int referenced = 0;
26137 int UNUSED insn_referenced = abuf->written;
26138 INT in_FRinti = -1;
26139 INT in_FRintj = -1;
26140 INT out_FRintk = -1;
26141 in_FRinti = FLD (in_FRinti);
26142 in_FRintj = FLD (in_FRintj);
26143 out_FRintk = FLD (out_FRintk);
26144 referenced |= 1 << 0;
26145 referenced |= 1 << 1;
26146 referenced |= 1 << 2;
26147 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26149 return cycles;
26150 #undef FLD
26153 static int
26154 model_fr550_mor (SIM_CPU *current_cpu, void *sem_arg)
26156 #define FLD(f) abuf->fields.sfmt_mwcut.f
26157 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26158 const IDESC * UNUSED idesc = abuf->idesc;
26159 int cycles = 0;
26161 int referenced = 0;
26162 int UNUSED insn_referenced = abuf->written;
26163 INT in_FRinti = -1;
26164 INT in_FRintj = -1;
26165 INT out_FRintk = -1;
26166 in_FRinti = FLD (in_FRinti);
26167 in_FRintj = FLD (in_FRintj);
26168 out_FRintk = FLD (out_FRintk);
26169 referenced |= 1 << 0;
26170 referenced |= 1 << 1;
26171 referenced |= 1 << 2;
26172 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26174 return cycles;
26175 #undef FLD
26178 static int
26179 model_fr550_mxor (SIM_CPU *current_cpu, void *sem_arg)
26181 #define FLD(f) abuf->fields.sfmt_mwcut.f
26182 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26183 const IDESC * UNUSED idesc = abuf->idesc;
26184 int cycles = 0;
26186 int referenced = 0;
26187 int UNUSED insn_referenced = abuf->written;
26188 INT in_FRinti = -1;
26189 INT in_FRintj = -1;
26190 INT out_FRintk = -1;
26191 in_FRinti = FLD (in_FRinti);
26192 in_FRintj = FLD (in_FRintj);
26193 out_FRintk = FLD (out_FRintk);
26194 referenced |= 1 << 0;
26195 referenced |= 1 << 1;
26196 referenced |= 1 << 2;
26197 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26199 return cycles;
26200 #undef FLD
26203 static int
26204 model_fr550_cmand (SIM_CPU *current_cpu, void *sem_arg)
26206 #define FLD(f) abuf->fields.sfmt_cmand.f
26207 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26208 const IDESC * UNUSED idesc = abuf->idesc;
26209 int cycles = 0;
26211 int referenced = 0;
26212 int UNUSED insn_referenced = abuf->written;
26213 INT in_FRinti = -1;
26214 INT in_FRintj = -1;
26215 INT out_FRintk = -1;
26216 in_FRinti = FLD (in_FRinti);
26217 in_FRintj = FLD (in_FRintj);
26218 out_FRintk = FLD (out_FRintk);
26219 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
26220 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
26221 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
26222 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26224 return cycles;
26225 #undef FLD
26228 static int
26229 model_fr550_cmor (SIM_CPU *current_cpu, void *sem_arg)
26231 #define FLD(f) abuf->fields.sfmt_cmand.f
26232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26233 const IDESC * UNUSED idesc = abuf->idesc;
26234 int cycles = 0;
26236 int referenced = 0;
26237 int UNUSED insn_referenced = abuf->written;
26238 INT in_FRinti = -1;
26239 INT in_FRintj = -1;
26240 INT out_FRintk = -1;
26241 in_FRinti = FLD (in_FRinti);
26242 in_FRintj = FLD (in_FRintj);
26243 out_FRintk = FLD (out_FRintk);
26244 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
26245 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
26246 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
26247 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26249 return cycles;
26250 #undef FLD
26253 static int
26254 model_fr550_cmxor (SIM_CPU *current_cpu, void *sem_arg)
26256 #define FLD(f) abuf->fields.sfmt_cmand.f
26257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26258 const IDESC * UNUSED idesc = abuf->idesc;
26259 int cycles = 0;
26261 int referenced = 0;
26262 int UNUSED insn_referenced = abuf->written;
26263 INT in_FRinti = -1;
26264 INT in_FRintj = -1;
26265 INT out_FRintk = -1;
26266 in_FRinti = FLD (in_FRinti);
26267 in_FRintj = FLD (in_FRintj);
26268 out_FRintk = FLD (out_FRintk);
26269 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
26270 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
26271 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
26272 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26274 return cycles;
26275 #undef FLD
26278 static int
26279 model_fr550_mnot (SIM_CPU *current_cpu, void *sem_arg)
26281 #define FLD(f) abuf->fields.sfmt_mcut.f
26282 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26283 const IDESC * UNUSED idesc = abuf->idesc;
26284 int cycles = 0;
26286 int referenced = 0;
26287 int UNUSED insn_referenced = abuf->written;
26288 INT in_FRinti = -1;
26289 INT in_FRintj = -1;
26290 INT out_FRintk = -1;
26291 in_FRintj = FLD (in_FRintj);
26292 out_FRintk = FLD (out_FRintk);
26293 referenced |= 1 << 1;
26294 referenced |= 1 << 2;
26295 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26297 return cycles;
26298 #undef FLD
26301 static int
26302 model_fr550_cmnot (SIM_CPU *current_cpu, void *sem_arg)
26304 #define FLD(f) abuf->fields.sfmt_cmand.f
26305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26306 const IDESC * UNUSED idesc = abuf->idesc;
26307 int cycles = 0;
26309 int referenced = 0;
26310 int UNUSED insn_referenced = abuf->written;
26311 INT in_FRinti = -1;
26312 INT in_FRintj = -1;
26313 INT out_FRintk = -1;
26314 in_FRintj = FLD (in_FRintj);
26315 out_FRintk = FLD (out_FRintk);
26316 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
26317 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
26318 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26320 return cycles;
26321 #undef FLD
26324 static int
26325 model_fr550_mrotli (SIM_CPU *current_cpu, void *sem_arg)
26327 #define FLD(f) abuf->fields.sfmt_mwcuti.f
26328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26329 const IDESC * UNUSED idesc = abuf->idesc;
26330 int cycles = 0;
26332 int referenced = 0;
26333 int UNUSED insn_referenced = abuf->written;
26334 INT in_FRinti = -1;
26335 INT in_FRintj = -1;
26336 INT out_FRintk = -1;
26337 in_FRinti = FLD (in_FRinti);
26338 out_FRintk = FLD (out_FRintk);
26339 referenced |= 1 << 0;
26340 referenced |= 1 << 2;
26341 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26343 return cycles;
26344 #undef FLD
26347 static int
26348 model_fr550_mrotri (SIM_CPU *current_cpu, void *sem_arg)
26350 #define FLD(f) abuf->fields.sfmt_mwcuti.f
26351 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26352 const IDESC * UNUSED idesc = abuf->idesc;
26353 int cycles = 0;
26355 int referenced = 0;
26356 int UNUSED insn_referenced = abuf->written;
26357 INT in_FRinti = -1;
26358 INT in_FRintj = -1;
26359 INT out_FRintk = -1;
26360 in_FRinti = FLD (in_FRinti);
26361 out_FRintk = FLD (out_FRintk);
26362 referenced |= 1 << 0;
26363 referenced |= 1 << 2;
26364 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26366 return cycles;
26367 #undef FLD
26370 static int
26371 model_fr550_mwcut (SIM_CPU *current_cpu, void *sem_arg)
26373 #define FLD(f) abuf->fields.sfmt_mwcut.f
26374 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26375 const IDESC * UNUSED idesc = abuf->idesc;
26376 int cycles = 0;
26378 int referenced = 0;
26379 int UNUSED insn_referenced = abuf->written;
26380 INT in_FRinti = -1;
26381 INT in_FRintj = -1;
26382 INT out_FRintk = -1;
26383 in_FRinti = FLD (in_FRinti);
26384 in_FRintj = FLD (in_FRintj);
26385 out_FRintk = FLD (out_FRintk);
26386 referenced |= 1 << 0;
26387 referenced |= 1 << 1;
26388 referenced |= 1 << 2;
26389 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26391 return cycles;
26392 #undef FLD
26395 static int
26396 model_fr550_mwcuti (SIM_CPU *current_cpu, void *sem_arg)
26398 #define FLD(f) abuf->fields.sfmt_mwcuti.f
26399 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26400 const IDESC * UNUSED idesc = abuf->idesc;
26401 int cycles = 0;
26403 int referenced = 0;
26404 int UNUSED insn_referenced = abuf->written;
26405 INT in_FRinti = -1;
26406 INT in_FRintj = -1;
26407 INT out_FRintk = -1;
26408 in_FRinti = FLD (in_FRinti);
26409 out_FRintk = FLD (out_FRintk);
26410 referenced |= 1 << 0;
26411 referenced |= 1 << 2;
26412 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26414 return cycles;
26415 #undef FLD
26418 static int
26419 model_fr550_mcut (SIM_CPU *current_cpu, void *sem_arg)
26421 #define FLD(f) abuf->fields.sfmt_mcut.f
26422 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26423 const IDESC * UNUSED idesc = abuf->idesc;
26424 int cycles = 0;
26426 int referenced = 0;
26427 int UNUSED insn_referenced = abuf->written;
26428 INT in_FRintj = -1;
26429 INT in_ACC40Si = -1;
26430 INT out_FRintk = -1;
26431 in_FRintj = FLD (in_FRintj);
26432 in_ACC40Si = FLD (in_ACC40Si);
26433 out_FRintk = FLD (out_FRintk);
26434 referenced |= 1 << 0;
26435 referenced |= 1 << 1;
26436 referenced |= 1 << 2;
26437 cycles += frvbf_model_fr550_u_media_3_acc (current_cpu, idesc, 0, referenced, in_FRintj, in_ACC40Si, out_FRintk);
26439 return cycles;
26440 #undef FLD
26443 static int
26444 model_fr550_mcuti (SIM_CPU *current_cpu, void *sem_arg)
26446 #define FLD(f) abuf->fields.sfmt_mcuti.f
26447 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26448 const IDESC * UNUSED idesc = abuf->idesc;
26449 int cycles = 0;
26451 int referenced = 0;
26452 int UNUSED insn_referenced = abuf->written;
26453 INT in_FRintj = -1;
26454 INT in_ACC40Si = -1;
26455 INT out_FRintk = -1;
26456 in_ACC40Si = FLD (in_ACC40Si);
26457 out_FRintk = FLD (out_FRintk);
26458 referenced |= 1 << 1;
26459 referenced |= 1 << 2;
26460 cycles += frvbf_model_fr550_u_media_3_acc (current_cpu, idesc, 0, referenced, in_FRintj, in_ACC40Si, out_FRintk);
26462 return cycles;
26463 #undef FLD
26466 static int
26467 model_fr550_mcutss (SIM_CPU *current_cpu, void *sem_arg)
26469 #define FLD(f) abuf->fields.sfmt_mcut.f
26470 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26471 const IDESC * UNUSED idesc = abuf->idesc;
26472 int cycles = 0;
26474 int referenced = 0;
26475 int UNUSED insn_referenced = abuf->written;
26476 INT in_FRintj = -1;
26477 INT in_ACC40Si = -1;
26478 INT out_FRintk = -1;
26479 in_FRintj = FLD (in_FRintj);
26480 in_ACC40Si = FLD (in_ACC40Si);
26481 out_FRintk = FLD (out_FRintk);
26482 referenced |= 1 << 0;
26483 referenced |= 1 << 1;
26484 referenced |= 1 << 2;
26485 cycles += frvbf_model_fr550_u_media_3_acc (current_cpu, idesc, 0, referenced, in_FRintj, in_ACC40Si, out_FRintk);
26487 return cycles;
26488 #undef FLD
26491 static int
26492 model_fr550_mcutssi (SIM_CPU *current_cpu, void *sem_arg)
26494 #define FLD(f) abuf->fields.sfmt_mcuti.f
26495 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26496 const IDESC * UNUSED idesc = abuf->idesc;
26497 int cycles = 0;
26499 int referenced = 0;
26500 int UNUSED insn_referenced = abuf->written;
26501 INT in_FRintj = -1;
26502 INT in_ACC40Si = -1;
26503 INT out_FRintk = -1;
26504 in_ACC40Si = FLD (in_ACC40Si);
26505 out_FRintk = FLD (out_FRintk);
26506 referenced |= 1 << 1;
26507 referenced |= 1 << 2;
26508 cycles += frvbf_model_fr550_u_media_3_acc (current_cpu, idesc, 0, referenced, in_FRintj, in_ACC40Si, out_FRintk);
26510 return cycles;
26511 #undef FLD
26514 static int
26515 model_fr550_mdcutssi (SIM_CPU *current_cpu, void *sem_arg)
26517 #define FLD(f) abuf->fields.sfmt_mdcutssi.f
26518 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26519 const IDESC * UNUSED idesc = abuf->idesc;
26520 int cycles = 0;
26522 int referenced = 0;
26523 int UNUSED insn_referenced = abuf->written;
26524 INT in_ACC40Si = -1;
26525 INT out_FRintkeven = -1;
26526 in_ACC40Si = FLD (in_ACC40Si);
26527 out_FRintkeven = FLD (out_FRintkeven);
26528 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
26529 if (insn_referenced & (1 << 5)) referenced |= 1 << 1;
26530 cycles += frvbf_model_fr550_u_media_3_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_FRintkeven);
26532 return cycles;
26533 #undef FLD
26536 static int
26537 model_fr550_maveh (SIM_CPU *current_cpu, void *sem_arg)
26539 #define FLD(f) abuf->fields.sfmt_mwcut.f
26540 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26541 const IDESC * UNUSED idesc = abuf->idesc;
26542 int cycles = 0;
26544 int referenced = 0;
26545 int UNUSED insn_referenced = abuf->written;
26546 INT in_FRinti = -1;
26547 INT in_FRintj = -1;
26548 INT out_FRintk = -1;
26549 in_FRinti = FLD (in_FRinti);
26550 in_FRintj = FLD (in_FRintj);
26551 out_FRintk = FLD (out_FRintk);
26552 referenced |= 1 << 0;
26553 referenced |= 1 << 1;
26554 referenced |= 1 << 2;
26555 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26557 return cycles;
26558 #undef FLD
26561 static int
26562 model_fr550_msllhi (SIM_CPU *current_cpu, void *sem_arg)
26564 #define FLD(f) abuf->fields.sfmt_msllhi.f
26565 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26566 const IDESC * UNUSED idesc = abuf->idesc;
26567 int cycles = 0;
26569 int referenced = 0;
26570 int UNUSED insn_referenced = abuf->written;
26571 INT in_FRinti = -1;
26572 INT in_FRintj = -1;
26573 INT out_FRintk = -1;
26574 in_FRinti = FLD (in_FRinti);
26575 out_FRintk = FLD (out_FRintk);
26576 referenced |= 1 << 0;
26577 referenced |= 1 << 2;
26578 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26580 return cycles;
26581 #undef FLD
26584 static int
26585 model_fr550_msrlhi (SIM_CPU *current_cpu, void *sem_arg)
26587 #define FLD(f) abuf->fields.sfmt_msllhi.f
26588 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26589 const IDESC * UNUSED idesc = abuf->idesc;
26590 int cycles = 0;
26592 int referenced = 0;
26593 int UNUSED insn_referenced = abuf->written;
26594 INT in_FRinti = -1;
26595 INT in_FRintj = -1;
26596 INT out_FRintk = -1;
26597 in_FRinti = FLD (in_FRinti);
26598 out_FRintk = FLD (out_FRintk);
26599 referenced |= 1 << 0;
26600 referenced |= 1 << 2;
26601 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26603 return cycles;
26604 #undef FLD
26607 static int
26608 model_fr550_msrahi (SIM_CPU *current_cpu, void *sem_arg)
26610 #define FLD(f) abuf->fields.sfmt_msllhi.f
26611 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26612 const IDESC * UNUSED idesc = abuf->idesc;
26613 int cycles = 0;
26615 int referenced = 0;
26616 int UNUSED insn_referenced = abuf->written;
26617 INT in_FRinti = -1;
26618 INT in_FRintj = -1;
26619 INT out_FRintk = -1;
26620 in_FRinti = FLD (in_FRinti);
26621 out_FRintk = FLD (out_FRintk);
26622 referenced |= 1 << 0;
26623 referenced |= 1 << 2;
26624 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26626 return cycles;
26627 #undef FLD
26630 static int
26631 model_fr550_mdrotli (SIM_CPU *current_cpu, void *sem_arg)
26633 #define FLD(f) abuf->fields.sfmt_mdrotli.f
26634 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26635 const IDESC * UNUSED idesc = abuf->idesc;
26636 int cycles = 0;
26638 int referenced = 0;
26639 int UNUSED insn_referenced = abuf->written;
26640 INT in_FRintieven = -1;
26641 INT in_FRintjeven = -1;
26642 INT out_FRintkeven = -1;
26643 in_FRintieven = FLD (in_FRintieven);
26644 out_FRintkeven = FLD (out_FRintkeven);
26645 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
26646 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
26647 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
26649 return cycles;
26650 #undef FLD
26653 static int
26654 model_fr550_mcplhi (SIM_CPU *current_cpu, void *sem_arg)
26656 #define FLD(f) abuf->fields.sfmt_mcplhi.f
26657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26658 const IDESC * UNUSED idesc = abuf->idesc;
26659 int cycles = 0;
26661 int referenced = 0;
26662 int UNUSED insn_referenced = abuf->written;
26663 INT in_FRinti = -1;
26664 INT out_FRintk = -1;
26665 in_FRinti = FLD (in_FRinti);
26666 out_FRintk = FLD (out_FRintk);
26667 referenced |= 1 << 0;
26668 referenced |= 1 << 1;
26669 cycles += frvbf_model_fr550_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
26671 return cycles;
26672 #undef FLD
26675 static int
26676 model_fr550_mcpli (SIM_CPU *current_cpu, void *sem_arg)
26678 #define FLD(f) abuf->fields.sfmt_mwcuti.f
26679 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26680 const IDESC * UNUSED idesc = abuf->idesc;
26681 int cycles = 0;
26683 int referenced = 0;
26684 int UNUSED insn_referenced = abuf->written;
26685 INT in_FRinti = -1;
26686 INT out_FRintk = -1;
26687 in_FRinti = FLD (in_FRinti);
26688 out_FRintk = FLD (out_FRintk);
26689 referenced |= 1 << 0;
26690 referenced |= 1 << 1;
26691 cycles += frvbf_model_fr550_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
26693 return cycles;
26694 #undef FLD
26697 static int
26698 model_fr550_msaths (SIM_CPU *current_cpu, void *sem_arg)
26700 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26701 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26702 const IDESC * UNUSED idesc = abuf->idesc;
26703 int cycles = 0;
26705 int referenced = 0;
26706 int UNUSED insn_referenced = abuf->written;
26707 INT in_FRinti = -1;
26708 INT in_FRintj = -1;
26709 INT out_FRintk = -1;
26710 in_FRinti = FLD (in_FRinti);
26711 in_FRintj = FLD (in_FRintj);
26712 referenced |= 1 << 0;
26713 referenced |= 1 << 1;
26714 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26716 return cycles;
26717 #undef FLD
26720 static int
26721 model_fr550_mqsaths (SIM_CPU *current_cpu, void *sem_arg)
26723 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
26724 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26725 const IDESC * UNUSED idesc = abuf->idesc;
26726 int cycles = 0;
26728 int referenced = 0;
26729 int UNUSED insn_referenced = abuf->written;
26730 INT in_FRintieven = -1;
26731 INT in_FRintjeven = -1;
26732 INT out_FRintkeven = -1;
26733 in_FRintieven = FLD (in_FRintieven);
26734 in_FRintjeven = FLD (in_FRintjeven);
26735 out_FRintkeven = FLD (out_FRintkeven);
26736 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
26737 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
26738 if (insn_referenced & (1 << 14)) referenced |= 1 << 2;
26739 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
26741 return cycles;
26742 #undef FLD
26745 static int
26746 model_fr550_msathu (SIM_CPU *current_cpu, void *sem_arg)
26748 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26749 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26750 const IDESC * UNUSED idesc = abuf->idesc;
26751 int cycles = 0;
26753 int referenced = 0;
26754 int UNUSED insn_referenced = abuf->written;
26755 INT in_FRinti = -1;
26756 INT in_FRintj = -1;
26757 INT out_FRintk = -1;
26758 in_FRinti = FLD (in_FRinti);
26759 in_FRintj = FLD (in_FRintj);
26760 referenced |= 1 << 0;
26761 referenced |= 1 << 1;
26762 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26764 return cycles;
26765 #undef FLD
26768 static int
26769 model_fr550_mcmpsh (SIM_CPU *current_cpu, void *sem_arg)
26771 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
26772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26773 const IDESC * UNUSED idesc = abuf->idesc;
26774 int cycles = 0;
26776 int referenced = 0;
26777 int UNUSED insn_referenced = abuf->written;
26778 INT in_FRinti = -1;
26779 INT in_FRintj = -1;
26780 INT out_FRintk = -1;
26781 in_FRinti = FLD (in_FRinti);
26782 in_FRintj = FLD (in_FRintj);
26783 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
26784 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
26785 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26787 return cycles;
26788 #undef FLD
26791 static int
26792 model_fr550_mcmpuh (SIM_CPU *current_cpu, void *sem_arg)
26794 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
26795 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26796 const IDESC * UNUSED idesc = abuf->idesc;
26797 int cycles = 0;
26799 int referenced = 0;
26800 int UNUSED insn_referenced = abuf->written;
26801 INT in_FRinti = -1;
26802 INT in_FRintj = -1;
26803 INT out_FRintk = -1;
26804 in_FRinti = FLD (in_FRinti);
26805 in_FRintj = FLD (in_FRintj);
26806 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
26807 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
26808 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26810 return cycles;
26811 #undef FLD
26814 static int
26815 model_fr550_mabshs (SIM_CPU *current_cpu, void *sem_arg)
26817 #define FLD(f) abuf->fields.sfmt_mabshs.f
26818 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26819 const IDESC * UNUSED idesc = abuf->idesc;
26820 int cycles = 0;
26822 int referenced = 0;
26823 int UNUSED insn_referenced = abuf->written;
26824 INT in_FRinti = -1;
26825 INT in_FRintj = -1;
26826 INT out_FRintk = -1;
26827 in_FRintj = FLD (in_FRintj);
26828 out_FRintk = FLD (out_FRintk);
26829 referenced |= 1 << 1;
26830 referenced |= 1 << 2;
26831 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26833 return cycles;
26834 #undef FLD
26837 static int
26838 model_fr550_maddhss (SIM_CPU *current_cpu, void *sem_arg)
26840 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26842 const IDESC * UNUSED idesc = abuf->idesc;
26843 int cycles = 0;
26845 int referenced = 0;
26846 int UNUSED insn_referenced = abuf->written;
26847 INT in_FRinti = -1;
26848 INT in_FRintj = -1;
26849 INT out_FRintk = -1;
26850 in_FRinti = FLD (in_FRinti);
26851 in_FRintj = FLD (in_FRintj);
26852 referenced |= 1 << 0;
26853 referenced |= 1 << 1;
26854 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26856 return cycles;
26857 #undef FLD
26860 static int
26861 model_fr550_maddhus (SIM_CPU *current_cpu, void *sem_arg)
26863 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26864 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26865 const IDESC * UNUSED idesc = abuf->idesc;
26866 int cycles = 0;
26868 int referenced = 0;
26869 int UNUSED insn_referenced = abuf->written;
26870 INT in_FRinti = -1;
26871 INT in_FRintj = -1;
26872 INT out_FRintk = -1;
26873 in_FRinti = FLD (in_FRinti);
26874 in_FRintj = FLD (in_FRintj);
26875 referenced |= 1 << 0;
26876 referenced |= 1 << 1;
26877 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26879 return cycles;
26880 #undef FLD
26883 static int
26884 model_fr550_msubhss (SIM_CPU *current_cpu, void *sem_arg)
26886 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26887 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26888 const IDESC * UNUSED idesc = abuf->idesc;
26889 int cycles = 0;
26891 int referenced = 0;
26892 int UNUSED insn_referenced = abuf->written;
26893 INT in_FRinti = -1;
26894 INT in_FRintj = -1;
26895 INT out_FRintk = -1;
26896 in_FRinti = FLD (in_FRinti);
26897 in_FRintj = FLD (in_FRintj);
26898 referenced |= 1 << 0;
26899 referenced |= 1 << 1;
26900 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26902 return cycles;
26903 #undef FLD
26906 static int
26907 model_fr550_msubhus (SIM_CPU *current_cpu, void *sem_arg)
26909 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26910 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26911 const IDESC * UNUSED idesc = abuf->idesc;
26912 int cycles = 0;
26914 int referenced = 0;
26915 int UNUSED insn_referenced = abuf->written;
26916 INT in_FRinti = -1;
26917 INT in_FRintj = -1;
26918 INT out_FRintk = -1;
26919 in_FRinti = FLD (in_FRinti);
26920 in_FRintj = FLD (in_FRintj);
26921 referenced |= 1 << 0;
26922 referenced |= 1 << 1;
26923 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26925 return cycles;
26926 #undef FLD
26929 static int
26930 model_fr550_cmaddhss (SIM_CPU *current_cpu, void *sem_arg)
26932 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26933 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26934 const IDESC * UNUSED idesc = abuf->idesc;
26935 int cycles = 0;
26937 int referenced = 0;
26938 int UNUSED insn_referenced = abuf->written;
26939 INT in_FRinti = -1;
26940 INT in_FRintj = -1;
26941 INT out_FRintk = -1;
26942 in_FRinti = FLD (in_FRinti);
26943 in_FRintj = FLD (in_FRintj);
26944 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
26945 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
26946 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26948 return cycles;
26949 #undef FLD
26952 static int
26953 model_fr550_cmaddhus (SIM_CPU *current_cpu, void *sem_arg)
26955 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26956 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26957 const IDESC * UNUSED idesc = abuf->idesc;
26958 int cycles = 0;
26960 int referenced = 0;
26961 int UNUSED insn_referenced = abuf->written;
26962 INT in_FRinti = -1;
26963 INT in_FRintj = -1;
26964 INT out_FRintk = -1;
26965 in_FRinti = FLD (in_FRinti);
26966 in_FRintj = FLD (in_FRintj);
26967 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
26968 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
26969 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26971 return cycles;
26972 #undef FLD
26975 static int
26976 model_fr550_cmsubhss (SIM_CPU *current_cpu, void *sem_arg)
26978 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
26979 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
26980 const IDESC * UNUSED idesc = abuf->idesc;
26981 int cycles = 0;
26983 int referenced = 0;
26984 int UNUSED insn_referenced = abuf->written;
26985 INT in_FRinti = -1;
26986 INT in_FRintj = -1;
26987 INT out_FRintk = -1;
26988 in_FRinti = FLD (in_FRinti);
26989 in_FRintj = FLD (in_FRintj);
26990 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
26991 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
26992 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
26994 return cycles;
26995 #undef FLD
26998 static int
26999 model_fr550_cmsubhus (SIM_CPU *current_cpu, void *sem_arg)
27001 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
27002 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27003 const IDESC * UNUSED idesc = abuf->idesc;
27004 int cycles = 0;
27006 int referenced = 0;
27007 int UNUSED insn_referenced = abuf->written;
27008 INT in_FRinti = -1;
27009 INT in_FRintj = -1;
27010 INT out_FRintk = -1;
27011 in_FRinti = FLD (in_FRinti);
27012 in_FRintj = FLD (in_FRintj);
27013 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27014 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27015 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
27017 return cycles;
27018 #undef FLD
27021 static int
27022 model_fr550_mqaddhss (SIM_CPU *current_cpu, void *sem_arg)
27024 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27026 const IDESC * UNUSED idesc = abuf->idesc;
27027 int cycles = 0;
27029 int referenced = 0;
27030 int UNUSED insn_referenced = abuf->written;
27031 INT in_FRintieven = -1;
27032 INT in_FRintjeven = -1;
27033 INT out_FRintkeven = -1;
27034 in_FRintieven = FLD (in_FRintieven);
27035 in_FRintjeven = FLD (in_FRintjeven);
27036 out_FRintkeven = FLD (out_FRintkeven);
27037 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27038 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27039 if (insn_referenced & (1 << 14)) referenced |= 1 << 2;
27040 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27042 return cycles;
27043 #undef FLD
27046 static int
27047 model_fr550_mqaddhus (SIM_CPU *current_cpu, void *sem_arg)
27049 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27050 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27051 const IDESC * UNUSED idesc = abuf->idesc;
27052 int cycles = 0;
27054 int referenced = 0;
27055 int UNUSED insn_referenced = abuf->written;
27056 INT in_FRintieven = -1;
27057 INT in_FRintjeven = -1;
27058 INT out_FRintkeven = -1;
27059 in_FRintieven = FLD (in_FRintieven);
27060 in_FRintjeven = FLD (in_FRintjeven);
27061 out_FRintkeven = FLD (out_FRintkeven);
27062 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27063 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27064 if (insn_referenced & (1 << 14)) referenced |= 1 << 2;
27065 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27067 return cycles;
27068 #undef FLD
27071 static int
27072 model_fr550_mqsubhss (SIM_CPU *current_cpu, void *sem_arg)
27074 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27075 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27076 const IDESC * UNUSED idesc = abuf->idesc;
27077 int cycles = 0;
27079 int referenced = 0;
27080 int UNUSED insn_referenced = abuf->written;
27081 INT in_FRintieven = -1;
27082 INT in_FRintjeven = -1;
27083 INT out_FRintkeven = -1;
27084 in_FRintieven = FLD (in_FRintieven);
27085 in_FRintjeven = FLD (in_FRintjeven);
27086 out_FRintkeven = FLD (out_FRintkeven);
27087 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27088 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27089 if (insn_referenced & (1 << 14)) referenced |= 1 << 2;
27090 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27092 return cycles;
27093 #undef FLD
27096 static int
27097 model_fr550_mqsubhus (SIM_CPU *current_cpu, void *sem_arg)
27099 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27101 const IDESC * UNUSED idesc = abuf->idesc;
27102 int cycles = 0;
27104 int referenced = 0;
27105 int UNUSED insn_referenced = abuf->written;
27106 INT in_FRintieven = -1;
27107 INT in_FRintjeven = -1;
27108 INT out_FRintkeven = -1;
27109 in_FRintieven = FLD (in_FRintieven);
27110 in_FRintjeven = FLD (in_FRintjeven);
27111 out_FRintkeven = FLD (out_FRintkeven);
27112 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27113 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27114 if (insn_referenced & (1 << 14)) referenced |= 1 << 2;
27115 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27117 return cycles;
27118 #undef FLD
27121 static int
27122 model_fr550_cmqaddhss (SIM_CPU *current_cpu, void *sem_arg)
27124 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27126 const IDESC * UNUSED idesc = abuf->idesc;
27127 int cycles = 0;
27129 int referenced = 0;
27130 int UNUSED insn_referenced = abuf->written;
27131 INT in_FRintieven = -1;
27132 INT in_FRintjeven = -1;
27133 INT out_FRintkeven = -1;
27134 in_FRintieven = FLD (in_FRintieven);
27135 in_FRintjeven = FLD (in_FRintjeven);
27136 out_FRintkeven = FLD (out_FRintkeven);
27137 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27138 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27139 if (insn_referenced & (1 << 16)) referenced |= 1 << 2;
27140 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27142 return cycles;
27143 #undef FLD
27146 static int
27147 model_fr550_cmqaddhus (SIM_CPU *current_cpu, void *sem_arg)
27149 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27150 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27151 const IDESC * UNUSED idesc = abuf->idesc;
27152 int cycles = 0;
27154 int referenced = 0;
27155 int UNUSED insn_referenced = abuf->written;
27156 INT in_FRintieven = -1;
27157 INT in_FRintjeven = -1;
27158 INT out_FRintkeven = -1;
27159 in_FRintieven = FLD (in_FRintieven);
27160 in_FRintjeven = FLD (in_FRintjeven);
27161 out_FRintkeven = FLD (out_FRintkeven);
27162 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27163 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27164 if (insn_referenced & (1 << 16)) referenced |= 1 << 2;
27165 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27167 return cycles;
27168 #undef FLD
27171 static int
27172 model_fr550_cmqsubhss (SIM_CPU *current_cpu, void *sem_arg)
27174 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27175 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27176 const IDESC * UNUSED idesc = abuf->idesc;
27177 int cycles = 0;
27179 int referenced = 0;
27180 int UNUSED insn_referenced = abuf->written;
27181 INT in_FRintieven = -1;
27182 INT in_FRintjeven = -1;
27183 INT out_FRintkeven = -1;
27184 in_FRintieven = FLD (in_FRintieven);
27185 in_FRintjeven = FLD (in_FRintjeven);
27186 out_FRintkeven = FLD (out_FRintkeven);
27187 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27188 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27189 if (insn_referenced & (1 << 16)) referenced |= 1 << 2;
27190 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27192 return cycles;
27193 #undef FLD
27196 static int
27197 model_fr550_cmqsubhus (SIM_CPU *current_cpu, void *sem_arg)
27199 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27201 const IDESC * UNUSED idesc = abuf->idesc;
27202 int cycles = 0;
27204 int referenced = 0;
27205 int UNUSED insn_referenced = abuf->written;
27206 INT in_FRintieven = -1;
27207 INT in_FRintjeven = -1;
27208 INT out_FRintkeven = -1;
27209 in_FRintieven = FLD (in_FRintieven);
27210 in_FRintjeven = FLD (in_FRintjeven);
27211 out_FRintkeven = FLD (out_FRintkeven);
27212 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27213 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27214 if (insn_referenced & (1 << 16)) referenced |= 1 << 2;
27215 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
27217 return cycles;
27218 #undef FLD
27221 static int
27222 model_fr550_mqlclrhs (SIM_CPU *current_cpu, void *sem_arg)
27224 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27226 const IDESC * UNUSED idesc = abuf->idesc;
27227 int cycles = 0;
27229 int referenced = 0;
27230 int UNUSED insn_referenced = abuf->written;
27231 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
27233 return cycles;
27234 #undef FLD
27237 static int
27238 model_fr550_mqlmths (SIM_CPU *current_cpu, void *sem_arg)
27240 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
27241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27242 const IDESC * UNUSED idesc = abuf->idesc;
27243 int cycles = 0;
27245 int referenced = 0;
27246 int UNUSED insn_referenced = abuf->written;
27247 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
27249 return cycles;
27250 #undef FLD
27253 static int
27254 model_fr550_mqsllhi (SIM_CPU *current_cpu, void *sem_arg)
27256 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
27257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27258 const IDESC * UNUSED idesc = abuf->idesc;
27259 int cycles = 0;
27261 int referenced = 0;
27262 int UNUSED insn_referenced = abuf->written;
27263 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
27265 return cycles;
27266 #undef FLD
27269 static int
27270 model_fr550_mqsrahi (SIM_CPU *current_cpu, void *sem_arg)
27272 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
27273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27274 const IDESC * UNUSED idesc = abuf->idesc;
27275 int cycles = 0;
27277 int referenced = 0;
27278 int UNUSED insn_referenced = abuf->written;
27279 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
27281 return cycles;
27282 #undef FLD
27285 static int
27286 model_fr550_maddaccs (SIM_CPU *current_cpu, void *sem_arg)
27288 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
27289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27290 const IDESC * UNUSED idesc = abuf->idesc;
27291 int cycles = 0;
27293 int referenced = 0;
27294 int UNUSED insn_referenced = abuf->written;
27295 INT in_ACC40Si = -1;
27296 INT out_ACC40Sk = -1;
27297 in_ACC40Si = FLD (in_ACC40Si);
27298 out_ACC40Sk = FLD (out_ACC40Sk);
27299 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27300 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
27301 cycles += frvbf_model_fr550_u_media_4_acc (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
27303 return cycles;
27304 #undef FLD
27307 static int
27308 model_fr550_msubaccs (SIM_CPU *current_cpu, void *sem_arg)
27310 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
27311 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27312 const IDESC * UNUSED idesc = abuf->idesc;
27313 int cycles = 0;
27315 int referenced = 0;
27316 int UNUSED insn_referenced = abuf->written;
27317 INT in_ACC40Si = -1;
27318 INT out_ACC40Sk = -1;
27319 in_ACC40Si = FLD (in_ACC40Si);
27320 out_ACC40Sk = FLD (out_ACC40Sk);
27321 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27322 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
27323 cycles += frvbf_model_fr550_u_media_4_acc (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
27325 return cycles;
27326 #undef FLD
27329 static int
27330 model_fr550_mdaddaccs (SIM_CPU *current_cpu, void *sem_arg)
27332 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
27333 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27334 const IDESC * UNUSED idesc = abuf->idesc;
27335 int cycles = 0;
27337 int referenced = 0;
27338 int UNUSED insn_referenced = abuf->written;
27339 INT in_ACC40Si = -1;
27340 INT out_ACC40Sk = -1;
27341 in_ACC40Si = FLD (in_ACC40Si);
27342 out_ACC40Sk = FLD (out_ACC40Sk);
27343 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27344 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
27345 cycles += frvbf_model_fr550_u_media_4_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
27347 return cycles;
27348 #undef FLD
27351 static int
27352 model_fr550_mdsubaccs (SIM_CPU *current_cpu, void *sem_arg)
27354 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
27355 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27356 const IDESC * UNUSED idesc = abuf->idesc;
27357 int cycles = 0;
27359 int referenced = 0;
27360 int UNUSED insn_referenced = abuf->written;
27361 INT in_ACC40Si = -1;
27362 INT out_ACC40Sk = -1;
27363 in_ACC40Si = FLD (in_ACC40Si);
27364 out_ACC40Sk = FLD (out_ACC40Sk);
27365 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27366 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
27367 cycles += frvbf_model_fr550_u_media_4_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
27369 return cycles;
27370 #undef FLD
27373 static int
27374 model_fr550_masaccs (SIM_CPU *current_cpu, void *sem_arg)
27376 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
27377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27378 const IDESC * UNUSED idesc = abuf->idesc;
27379 int cycles = 0;
27381 int referenced = 0;
27382 int UNUSED insn_referenced = abuf->written;
27383 INT in_ACC40Si = -1;
27384 INT out_ACC40Sk = -1;
27385 in_ACC40Si = FLD (in_ACC40Si);
27386 out_ACC40Sk = FLD (out_ACC40Sk);
27387 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27388 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
27389 cycles += frvbf_model_fr550_u_media_4_add_sub (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
27391 return cycles;
27392 #undef FLD
27395 static int
27396 model_fr550_mdasaccs (SIM_CPU *current_cpu, void *sem_arg)
27398 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
27399 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27400 const IDESC * UNUSED idesc = abuf->idesc;
27401 int cycles = 0;
27403 int referenced = 0;
27404 int UNUSED insn_referenced = abuf->written;
27405 INT in_ACC40Si = -1;
27406 INT out_ACC40Sk = -1;
27407 in_ACC40Si = FLD (in_ACC40Si);
27408 out_ACC40Sk = FLD (out_ACC40Sk);
27409 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27410 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
27411 cycles += frvbf_model_fr550_u_media_4_add_sub_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
27413 return cycles;
27414 #undef FLD
27417 static int
27418 model_fr550_mmulhs (SIM_CPU *current_cpu, void *sem_arg)
27420 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27421 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27422 const IDESC * UNUSED idesc = abuf->idesc;
27423 int cycles = 0;
27425 int referenced = 0;
27426 int UNUSED insn_referenced = abuf->written;
27427 INT in_FRinti = -1;
27428 INT in_FRintj = -1;
27429 INT out_ACC40Sk = -1;
27430 INT out_ACC40Uk = -1;
27431 in_FRinti = FLD (in_FRinti);
27432 in_FRintj = FLD (in_FRintj);
27433 out_ACC40Sk = FLD (out_ACC40Sk);
27434 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27435 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27436 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
27437 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27439 return cycles;
27440 #undef FLD
27443 static int
27444 model_fr550_mmulhu (SIM_CPU *current_cpu, void *sem_arg)
27446 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27447 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27448 const IDESC * UNUSED idesc = abuf->idesc;
27449 int cycles = 0;
27451 int referenced = 0;
27452 int UNUSED insn_referenced = abuf->written;
27453 INT in_FRinti = -1;
27454 INT in_FRintj = -1;
27455 INT out_ACC40Sk = -1;
27456 INT out_ACC40Uk = -1;
27457 in_FRinti = FLD (in_FRinti);
27458 in_FRintj = FLD (in_FRintj);
27459 out_ACC40Sk = FLD (out_ACC40Sk);
27460 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27461 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27462 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
27463 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27465 return cycles;
27466 #undef FLD
27469 static int
27470 model_fr550_mmulxhs (SIM_CPU *current_cpu, void *sem_arg)
27472 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27474 const IDESC * UNUSED idesc = abuf->idesc;
27475 int cycles = 0;
27477 int referenced = 0;
27478 int UNUSED insn_referenced = abuf->written;
27479 INT in_FRinti = -1;
27480 INT in_FRintj = -1;
27481 INT out_ACC40Sk = -1;
27482 INT out_ACC40Uk = -1;
27483 in_FRinti = FLD (in_FRinti);
27484 in_FRintj = FLD (in_FRintj);
27485 out_ACC40Sk = FLD (out_ACC40Sk);
27486 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27487 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27488 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
27489 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27491 return cycles;
27492 #undef FLD
27495 static int
27496 model_fr550_mmulxhu (SIM_CPU *current_cpu, void *sem_arg)
27498 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27499 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27500 const IDESC * UNUSED idesc = abuf->idesc;
27501 int cycles = 0;
27503 int referenced = 0;
27504 int UNUSED insn_referenced = abuf->written;
27505 INT in_FRinti = -1;
27506 INT in_FRintj = -1;
27507 INT out_ACC40Sk = -1;
27508 INT out_ACC40Uk = -1;
27509 in_FRinti = FLD (in_FRinti);
27510 in_FRintj = FLD (in_FRintj);
27511 out_ACC40Sk = FLD (out_ACC40Sk);
27512 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27513 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27514 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
27515 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27517 return cycles;
27518 #undef FLD
27521 static int
27522 model_fr550_cmmulhs (SIM_CPU *current_cpu, void *sem_arg)
27524 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27525 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27526 const IDESC * UNUSED idesc = abuf->idesc;
27527 int cycles = 0;
27529 int referenced = 0;
27530 int UNUSED insn_referenced = abuf->written;
27531 INT in_FRinti = -1;
27532 INT in_FRintj = -1;
27533 INT out_ACC40Sk = -1;
27534 INT out_ACC40Uk = -1;
27535 in_FRinti = FLD (in_FRinti);
27536 in_FRintj = FLD (in_FRintj);
27537 out_ACC40Sk = FLD (out_ACC40Sk);
27538 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27539 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27540 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
27541 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27543 return cycles;
27544 #undef FLD
27547 static int
27548 model_fr550_cmmulhu (SIM_CPU *current_cpu, void *sem_arg)
27550 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27551 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27552 const IDESC * UNUSED idesc = abuf->idesc;
27553 int cycles = 0;
27555 int referenced = 0;
27556 int UNUSED insn_referenced = abuf->written;
27557 INT in_FRinti = -1;
27558 INT in_FRintj = -1;
27559 INT out_ACC40Sk = -1;
27560 INT out_ACC40Uk = -1;
27561 in_FRinti = FLD (in_FRinti);
27562 in_FRintj = FLD (in_FRintj);
27563 out_ACC40Sk = FLD (out_ACC40Sk);
27564 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27565 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27566 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
27567 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27569 return cycles;
27570 #undef FLD
27573 static int
27574 model_fr550_mqmulhs (SIM_CPU *current_cpu, void *sem_arg)
27576 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27578 const IDESC * UNUSED idesc = abuf->idesc;
27579 int cycles = 0;
27581 int referenced = 0;
27582 int UNUSED insn_referenced = abuf->written;
27583 INT in_FRintieven = -1;
27584 INT in_FRintjeven = -1;
27585 INT out_ACC40Sk = -1;
27586 INT out_ACC40Uk = -1;
27587 in_FRintieven = FLD (in_FRintieven);
27588 in_FRintjeven = FLD (in_FRintjeven);
27589 out_ACC40Sk = FLD (out_ACC40Sk);
27590 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27591 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27592 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
27593 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27595 return cycles;
27596 #undef FLD
27599 static int
27600 model_fr550_mqmulhu (SIM_CPU *current_cpu, void *sem_arg)
27602 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27603 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27604 const IDESC * UNUSED idesc = abuf->idesc;
27605 int cycles = 0;
27607 int referenced = 0;
27608 int UNUSED insn_referenced = abuf->written;
27609 INT in_FRintieven = -1;
27610 INT in_FRintjeven = -1;
27611 INT out_ACC40Sk = -1;
27612 INT out_ACC40Uk = -1;
27613 in_FRintieven = FLD (in_FRintieven);
27614 in_FRintjeven = FLD (in_FRintjeven);
27615 out_ACC40Sk = FLD (out_ACC40Sk);
27616 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27617 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27618 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
27619 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27621 return cycles;
27622 #undef FLD
27625 static int
27626 model_fr550_mqmulxhs (SIM_CPU *current_cpu, void *sem_arg)
27628 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27629 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27630 const IDESC * UNUSED idesc = abuf->idesc;
27631 int cycles = 0;
27633 int referenced = 0;
27634 int UNUSED insn_referenced = abuf->written;
27635 INT in_FRintieven = -1;
27636 INT in_FRintjeven = -1;
27637 INT out_ACC40Sk = -1;
27638 INT out_ACC40Uk = -1;
27639 in_FRintieven = FLD (in_FRintieven);
27640 in_FRintjeven = FLD (in_FRintjeven);
27641 out_ACC40Sk = FLD (out_ACC40Sk);
27642 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27643 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27644 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
27645 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27647 return cycles;
27648 #undef FLD
27651 static int
27652 model_fr550_mqmulxhu (SIM_CPU *current_cpu, void *sem_arg)
27654 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27655 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27656 const IDESC * UNUSED idesc = abuf->idesc;
27657 int cycles = 0;
27659 int referenced = 0;
27660 int UNUSED insn_referenced = abuf->written;
27661 INT in_FRintieven = -1;
27662 INT in_FRintjeven = -1;
27663 INT out_ACC40Sk = -1;
27664 INT out_ACC40Uk = -1;
27665 in_FRintieven = FLD (in_FRintieven);
27666 in_FRintjeven = FLD (in_FRintjeven);
27667 out_ACC40Sk = FLD (out_ACC40Sk);
27668 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
27669 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
27670 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
27671 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27673 return cycles;
27674 #undef FLD
27677 static int
27678 model_fr550_cmqmulhs (SIM_CPU *current_cpu, void *sem_arg)
27680 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27682 const IDESC * UNUSED idesc = abuf->idesc;
27683 int cycles = 0;
27685 int referenced = 0;
27686 int UNUSED insn_referenced = abuf->written;
27687 INT in_FRintieven = -1;
27688 INT in_FRintjeven = -1;
27689 INT out_ACC40Sk = -1;
27690 INT out_ACC40Uk = -1;
27691 in_FRintieven = FLD (in_FRintieven);
27692 in_FRintjeven = FLD (in_FRintjeven);
27693 out_ACC40Sk = FLD (out_ACC40Sk);
27694 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27695 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27696 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
27697 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27699 return cycles;
27700 #undef FLD
27703 static int
27704 model_fr550_cmqmulhu (SIM_CPU *current_cpu, void *sem_arg)
27706 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27707 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27708 const IDESC * UNUSED idesc = abuf->idesc;
27709 int cycles = 0;
27711 int referenced = 0;
27712 int UNUSED insn_referenced = abuf->written;
27713 INT in_FRintieven = -1;
27714 INT in_FRintjeven = -1;
27715 INT out_ACC40Sk = -1;
27716 INT out_ACC40Uk = -1;
27717 in_FRintieven = FLD (in_FRintieven);
27718 in_FRintjeven = FLD (in_FRintjeven);
27719 out_ACC40Sk = FLD (out_ACC40Sk);
27720 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27721 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27722 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
27723 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27725 return cycles;
27726 #undef FLD
27729 static int
27730 model_fr550_mmachs (SIM_CPU *current_cpu, void *sem_arg)
27732 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27733 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27734 const IDESC * UNUSED idesc = abuf->idesc;
27735 int cycles = 0;
27737 int referenced = 0;
27738 int UNUSED insn_referenced = abuf->written;
27739 INT in_FRinti = -1;
27740 INT in_FRintj = -1;
27741 INT out_ACC40Sk = -1;
27742 INT out_ACC40Uk = -1;
27743 in_FRinti = FLD (in_FRinti);
27744 in_FRintj = FLD (in_FRintj);
27745 out_ACC40Sk = FLD (out_ACC40Sk);
27746 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27747 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27748 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
27749 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27751 return cycles;
27752 #undef FLD
27755 static int
27756 model_fr550_mmachu (SIM_CPU *current_cpu, void *sem_arg)
27758 #define FLD(f) abuf->fields.sfmt_cmmachu.f
27759 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27760 const IDESC * UNUSED idesc = abuf->idesc;
27761 int cycles = 0;
27763 int referenced = 0;
27764 int UNUSED insn_referenced = abuf->written;
27765 INT in_FRinti = -1;
27766 INT in_FRintj = -1;
27767 INT out_ACC40Sk = -1;
27768 INT out_ACC40Uk = -1;
27769 in_FRinti = FLD (in_FRinti);
27770 in_FRintj = FLD (in_FRintj);
27771 out_ACC40Uk = FLD (out_ACC40Uk);
27772 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27773 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27774 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
27775 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27777 return cycles;
27778 #undef FLD
27781 static int
27782 model_fr550_mmrdhs (SIM_CPU *current_cpu, void *sem_arg)
27784 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27786 const IDESC * UNUSED idesc = abuf->idesc;
27787 int cycles = 0;
27789 int referenced = 0;
27790 int UNUSED insn_referenced = abuf->written;
27791 INT in_FRinti = -1;
27792 INT in_FRintj = -1;
27793 INT out_ACC40Sk = -1;
27794 INT out_ACC40Uk = -1;
27795 in_FRinti = FLD (in_FRinti);
27796 in_FRintj = FLD (in_FRintj);
27797 out_ACC40Sk = FLD (out_ACC40Sk);
27798 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27799 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27800 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
27801 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27803 return cycles;
27804 #undef FLD
27807 static int
27808 model_fr550_mmrdhu (SIM_CPU *current_cpu, void *sem_arg)
27810 #define FLD(f) abuf->fields.sfmt_cmmachu.f
27811 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27812 const IDESC * UNUSED idesc = abuf->idesc;
27813 int cycles = 0;
27815 int referenced = 0;
27816 int UNUSED insn_referenced = abuf->written;
27817 INT in_FRinti = -1;
27818 INT in_FRintj = -1;
27819 INT out_ACC40Sk = -1;
27820 INT out_ACC40Uk = -1;
27821 in_FRinti = FLD (in_FRinti);
27822 in_FRintj = FLD (in_FRintj);
27823 out_ACC40Uk = FLD (out_ACC40Uk);
27824 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27825 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27826 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
27827 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27829 return cycles;
27830 #undef FLD
27833 static int
27834 model_fr550_cmmachs (SIM_CPU *current_cpu, void *sem_arg)
27836 #define FLD(f) abuf->fields.sfmt_cmmachs.f
27837 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27838 const IDESC * UNUSED idesc = abuf->idesc;
27839 int cycles = 0;
27841 int referenced = 0;
27842 int UNUSED insn_referenced = abuf->written;
27843 INT in_FRinti = -1;
27844 INT in_FRintj = -1;
27845 INT out_ACC40Sk = -1;
27846 INT out_ACC40Uk = -1;
27847 in_FRinti = FLD (in_FRinti);
27848 in_FRintj = FLD (in_FRintj);
27849 out_ACC40Sk = FLD (out_ACC40Sk);
27850 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
27851 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
27852 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
27853 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27855 return cycles;
27856 #undef FLD
27859 static int
27860 model_fr550_cmmachu (SIM_CPU *current_cpu, void *sem_arg)
27862 #define FLD(f) abuf->fields.sfmt_cmmachu.f
27863 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27864 const IDESC * UNUSED idesc = abuf->idesc;
27865 int cycles = 0;
27867 int referenced = 0;
27868 int UNUSED insn_referenced = abuf->written;
27869 INT in_FRinti = -1;
27870 INT in_FRintj = -1;
27871 INT out_ACC40Sk = -1;
27872 INT out_ACC40Uk = -1;
27873 in_FRinti = FLD (in_FRinti);
27874 in_FRintj = FLD (in_FRintj);
27875 out_ACC40Uk = FLD (out_ACC40Uk);
27876 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
27877 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
27878 if (insn_referenced & (1 << 13)) referenced |= 1 << 3;
27879 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
27881 return cycles;
27882 #undef FLD
27885 static int
27886 model_fr550_mqmachs (SIM_CPU *current_cpu, void *sem_arg)
27888 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27890 const IDESC * UNUSED idesc = abuf->idesc;
27891 int cycles = 0;
27893 int referenced = 0;
27894 int UNUSED insn_referenced = abuf->written;
27895 INT in_FRintieven = -1;
27896 INT in_FRintjeven = -1;
27897 INT out_ACC40Sk = -1;
27898 INT out_ACC40Uk = -1;
27899 in_FRintieven = FLD (in_FRintieven);
27900 in_FRintjeven = FLD (in_FRintjeven);
27901 out_ACC40Sk = FLD (out_ACC40Sk);
27902 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27903 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27904 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
27905 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27907 return cycles;
27908 #undef FLD
27911 static int
27912 model_fr550_mqmachu (SIM_CPU *current_cpu, void *sem_arg)
27914 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
27915 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27916 const IDESC * UNUSED idesc = abuf->idesc;
27917 int cycles = 0;
27919 int referenced = 0;
27920 int UNUSED insn_referenced = abuf->written;
27921 INT in_FRintieven = -1;
27922 INT in_FRintjeven = -1;
27923 INT out_ACC40Sk = -1;
27924 INT out_ACC40Uk = -1;
27925 in_FRintieven = FLD (in_FRintieven);
27926 in_FRintjeven = FLD (in_FRintjeven);
27927 out_ACC40Uk = FLD (out_ACC40Uk);
27928 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
27929 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
27930 if (insn_referenced & (1 << 17)) referenced |= 1 << 3;
27931 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27933 return cycles;
27934 #undef FLD
27937 static int
27938 model_fr550_cmqmachs (SIM_CPU *current_cpu, void *sem_arg)
27940 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27941 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27942 const IDESC * UNUSED idesc = abuf->idesc;
27943 int cycles = 0;
27945 int referenced = 0;
27946 int UNUSED insn_referenced = abuf->written;
27947 INT in_FRintieven = -1;
27948 INT in_FRintjeven = -1;
27949 INT out_ACC40Sk = -1;
27950 INT out_ACC40Uk = -1;
27951 in_FRintieven = FLD (in_FRintieven);
27952 in_FRintjeven = FLD (in_FRintjeven);
27953 out_ACC40Sk = FLD (out_ACC40Sk);
27954 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
27955 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
27956 if (insn_referenced & (1 << 19)) referenced |= 1 << 2;
27957 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27959 return cycles;
27960 #undef FLD
27963 static int
27964 model_fr550_cmqmachu (SIM_CPU *current_cpu, void *sem_arg)
27966 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
27967 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27968 const IDESC * UNUSED idesc = abuf->idesc;
27969 int cycles = 0;
27971 int referenced = 0;
27972 int UNUSED insn_referenced = abuf->written;
27973 INT in_FRintieven = -1;
27974 INT in_FRintjeven = -1;
27975 INT out_ACC40Sk = -1;
27976 INT out_ACC40Uk = -1;
27977 in_FRintieven = FLD (in_FRintieven);
27978 in_FRintjeven = FLD (in_FRintjeven);
27979 out_ACC40Uk = FLD (out_ACC40Uk);
27980 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
27981 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
27982 if (insn_referenced & (1 << 19)) referenced |= 1 << 3;
27983 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
27985 return cycles;
27986 #undef FLD
27989 static int
27990 model_fr550_mqxmachs (SIM_CPU *current_cpu, void *sem_arg)
27992 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
27993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
27994 const IDESC * UNUSED idesc = abuf->idesc;
27995 int cycles = 0;
27997 int referenced = 0;
27998 int UNUSED insn_referenced = abuf->written;
27999 INT in_FRintieven = -1;
28000 INT in_FRintjeven = -1;
28001 INT out_ACC40Sk = -1;
28002 INT out_ACC40Uk = -1;
28003 in_FRintieven = FLD (in_FRintieven);
28004 in_FRintjeven = FLD (in_FRintjeven);
28005 out_ACC40Sk = FLD (out_ACC40Sk);
28006 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
28007 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
28008 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
28009 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
28011 return cycles;
28012 #undef FLD
28015 static int
28016 model_fr550_mqxmacxhs (SIM_CPU *current_cpu, void *sem_arg)
28018 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
28019 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28020 const IDESC * UNUSED idesc = abuf->idesc;
28021 int cycles = 0;
28023 int referenced = 0;
28024 int UNUSED insn_referenced = abuf->written;
28025 INT in_FRintieven = -1;
28026 INT in_FRintjeven = -1;
28027 INT out_ACC40Sk = -1;
28028 INT out_ACC40Uk = -1;
28029 in_FRintieven = FLD (in_FRintieven);
28030 in_FRintjeven = FLD (in_FRintjeven);
28031 out_ACC40Sk = FLD (out_ACC40Sk);
28032 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
28033 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
28034 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
28035 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
28037 return cycles;
28038 #undef FLD
28041 static int
28042 model_fr550_mqmacxhs (SIM_CPU *current_cpu, void *sem_arg)
28044 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
28045 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28046 const IDESC * UNUSED idesc = abuf->idesc;
28047 int cycles = 0;
28049 int referenced = 0;
28050 int UNUSED insn_referenced = abuf->written;
28051 INT in_FRintieven = -1;
28052 INT in_FRintjeven = -1;
28053 INT out_ACC40Sk = -1;
28054 INT out_ACC40Uk = -1;
28055 in_FRintieven = FLD (in_FRintieven);
28056 in_FRintjeven = FLD (in_FRintjeven);
28057 out_ACC40Sk = FLD (out_ACC40Sk);
28058 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
28059 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
28060 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
28061 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
28063 return cycles;
28064 #undef FLD
28067 static int
28068 model_fr550_mcpxrs (SIM_CPU *current_cpu, void *sem_arg)
28070 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28071 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28072 const IDESC * UNUSED idesc = abuf->idesc;
28073 int cycles = 0;
28075 int referenced = 0;
28076 int UNUSED insn_referenced = abuf->written;
28077 INT in_FRinti = -1;
28078 INT in_FRintj = -1;
28079 INT out_ACC40Sk = -1;
28080 INT out_ACC40Uk = -1;
28081 in_FRinti = FLD (in_FRinti);
28082 in_FRintj = FLD (in_FRintj);
28083 out_ACC40Sk = FLD (out_ACC40Sk);
28084 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28085 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28086 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
28087 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28089 return cycles;
28090 #undef FLD
28093 static int
28094 model_fr550_mcpxru (SIM_CPU *current_cpu, void *sem_arg)
28096 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28098 const IDESC * UNUSED idesc = abuf->idesc;
28099 int cycles = 0;
28101 int referenced = 0;
28102 int UNUSED insn_referenced = abuf->written;
28103 INT in_FRinti = -1;
28104 INT in_FRintj = -1;
28105 INT out_ACC40Sk = -1;
28106 INT out_ACC40Uk = -1;
28107 in_FRinti = FLD (in_FRinti);
28108 in_FRintj = FLD (in_FRintj);
28109 out_ACC40Sk = FLD (out_ACC40Sk);
28110 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28111 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28112 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
28113 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28115 return cycles;
28116 #undef FLD
28119 static int
28120 model_fr550_mcpxis (SIM_CPU *current_cpu, void *sem_arg)
28122 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28123 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28124 const IDESC * UNUSED idesc = abuf->idesc;
28125 int cycles = 0;
28127 int referenced = 0;
28128 int UNUSED insn_referenced = abuf->written;
28129 INT in_FRinti = -1;
28130 INT in_FRintj = -1;
28131 INT out_ACC40Sk = -1;
28132 INT out_ACC40Uk = -1;
28133 in_FRinti = FLD (in_FRinti);
28134 in_FRintj = FLD (in_FRintj);
28135 out_ACC40Sk = FLD (out_ACC40Sk);
28136 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28137 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28138 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
28139 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28141 return cycles;
28142 #undef FLD
28145 static int
28146 model_fr550_mcpxiu (SIM_CPU *current_cpu, void *sem_arg)
28148 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28149 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28150 const IDESC * UNUSED idesc = abuf->idesc;
28151 int cycles = 0;
28153 int referenced = 0;
28154 int UNUSED insn_referenced = abuf->written;
28155 INT in_FRinti = -1;
28156 INT in_FRintj = -1;
28157 INT out_ACC40Sk = -1;
28158 INT out_ACC40Uk = -1;
28159 in_FRinti = FLD (in_FRinti);
28160 in_FRintj = FLD (in_FRintj);
28161 out_ACC40Sk = FLD (out_ACC40Sk);
28162 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28163 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28164 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
28165 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28167 return cycles;
28168 #undef FLD
28171 static int
28172 model_fr550_cmcpxrs (SIM_CPU *current_cpu, void *sem_arg)
28174 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28175 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28176 const IDESC * UNUSED idesc = abuf->idesc;
28177 int cycles = 0;
28179 int referenced = 0;
28180 int UNUSED insn_referenced = abuf->written;
28181 INT in_FRinti = -1;
28182 INT in_FRintj = -1;
28183 INT out_ACC40Sk = -1;
28184 INT out_ACC40Uk = -1;
28185 in_FRinti = FLD (in_FRinti);
28186 in_FRintj = FLD (in_FRintj);
28187 out_ACC40Sk = FLD (out_ACC40Sk);
28188 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
28189 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
28190 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
28191 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28193 return cycles;
28194 #undef FLD
28197 static int
28198 model_fr550_cmcpxru (SIM_CPU *current_cpu, void *sem_arg)
28200 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28201 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28202 const IDESC * UNUSED idesc = abuf->idesc;
28203 int cycles = 0;
28205 int referenced = 0;
28206 int UNUSED insn_referenced = abuf->written;
28207 INT in_FRinti = -1;
28208 INT in_FRintj = -1;
28209 INT out_ACC40Sk = -1;
28210 INT out_ACC40Uk = -1;
28211 in_FRinti = FLD (in_FRinti);
28212 in_FRintj = FLD (in_FRintj);
28213 out_ACC40Sk = FLD (out_ACC40Sk);
28214 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
28215 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
28216 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
28217 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28219 return cycles;
28220 #undef FLD
28223 static int
28224 model_fr550_cmcpxis (SIM_CPU *current_cpu, void *sem_arg)
28226 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28227 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28228 const IDESC * UNUSED idesc = abuf->idesc;
28229 int cycles = 0;
28231 int referenced = 0;
28232 int UNUSED insn_referenced = abuf->written;
28233 INT in_FRinti = -1;
28234 INT in_FRintj = -1;
28235 INT out_ACC40Sk = -1;
28236 INT out_ACC40Uk = -1;
28237 in_FRinti = FLD (in_FRinti);
28238 in_FRintj = FLD (in_FRintj);
28239 out_ACC40Sk = FLD (out_ACC40Sk);
28240 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
28241 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
28242 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
28243 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28245 return cycles;
28246 #undef FLD
28249 static int
28250 model_fr550_cmcpxiu (SIM_CPU *current_cpu, void *sem_arg)
28252 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28253 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28254 const IDESC * UNUSED idesc = abuf->idesc;
28255 int cycles = 0;
28257 int referenced = 0;
28258 int UNUSED insn_referenced = abuf->written;
28259 INT in_FRinti = -1;
28260 INT in_FRintj = -1;
28261 INT out_ACC40Sk = -1;
28262 INT out_ACC40Uk = -1;
28263 in_FRinti = FLD (in_FRinti);
28264 in_FRintj = FLD (in_FRintj);
28265 out_ACC40Sk = FLD (out_ACC40Sk);
28266 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
28267 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
28268 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
28269 cycles += frvbf_model_fr550_u_media_4 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
28271 return cycles;
28272 #undef FLD
28275 static int
28276 model_fr550_mqcpxrs (SIM_CPU *current_cpu, void *sem_arg)
28278 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
28279 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28280 const IDESC * UNUSED idesc = abuf->idesc;
28281 int cycles = 0;
28283 int referenced = 0;
28284 int UNUSED insn_referenced = abuf->written;
28285 INT in_FRintieven = -1;
28286 INT in_FRintjeven = -1;
28287 INT out_ACC40Sk = -1;
28288 INT out_ACC40Uk = -1;
28289 in_FRintieven = FLD (in_FRintieven);
28290 in_FRintjeven = FLD (in_FRintjeven);
28291 out_ACC40Sk = FLD (out_ACC40Sk);
28292 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28293 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28294 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
28295 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
28297 return cycles;
28298 #undef FLD
28301 static int
28302 model_fr550_mqcpxru (SIM_CPU *current_cpu, void *sem_arg)
28304 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
28305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28306 const IDESC * UNUSED idesc = abuf->idesc;
28307 int cycles = 0;
28309 int referenced = 0;
28310 int UNUSED insn_referenced = abuf->written;
28311 INT in_FRintieven = -1;
28312 INT in_FRintjeven = -1;
28313 INT out_ACC40Sk = -1;
28314 INT out_ACC40Uk = -1;
28315 in_FRintieven = FLD (in_FRintieven);
28316 in_FRintjeven = FLD (in_FRintjeven);
28317 out_ACC40Sk = FLD (out_ACC40Sk);
28318 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28319 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28320 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
28321 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
28323 return cycles;
28324 #undef FLD
28327 static int
28328 model_fr550_mqcpxis (SIM_CPU *current_cpu, void *sem_arg)
28330 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
28331 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28332 const IDESC * UNUSED idesc = abuf->idesc;
28333 int cycles = 0;
28335 int referenced = 0;
28336 int UNUSED insn_referenced = abuf->written;
28337 INT in_FRintieven = -1;
28338 INT in_FRintjeven = -1;
28339 INT out_ACC40Sk = -1;
28340 INT out_ACC40Uk = -1;
28341 in_FRintieven = FLD (in_FRintieven);
28342 in_FRintjeven = FLD (in_FRintjeven);
28343 out_ACC40Sk = FLD (out_ACC40Sk);
28344 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28345 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28346 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
28347 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
28349 return cycles;
28350 #undef FLD
28353 static int
28354 model_fr550_mqcpxiu (SIM_CPU *current_cpu, void *sem_arg)
28356 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
28357 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28358 const IDESC * UNUSED idesc = abuf->idesc;
28359 int cycles = 0;
28361 int referenced = 0;
28362 int UNUSED insn_referenced = abuf->written;
28363 INT in_FRintieven = -1;
28364 INT in_FRintjeven = -1;
28365 INT out_ACC40Sk = -1;
28366 INT out_ACC40Uk = -1;
28367 in_FRintieven = FLD (in_FRintieven);
28368 in_FRintjeven = FLD (in_FRintjeven);
28369 out_ACC40Sk = FLD (out_ACC40Sk);
28370 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28371 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28372 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
28373 cycles += frvbf_model_fr550_u_media_4_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_ACC40Sk, out_ACC40Uk);
28375 return cycles;
28376 #undef FLD
28379 static int
28380 model_fr550_mexpdhw (SIM_CPU *current_cpu, void *sem_arg)
28382 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
28383 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28384 const IDESC * UNUSED idesc = abuf->idesc;
28385 int cycles = 0;
28387 int referenced = 0;
28388 int UNUSED insn_referenced = abuf->written;
28389 INT in_FRinti = -1;
28390 INT in_FRintj = -1;
28391 INT out_FRintk = -1;
28392 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
28394 return cycles;
28395 #undef FLD
28398 static int
28399 model_fr550_cmexpdhw (SIM_CPU *current_cpu, void *sem_arg)
28401 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
28402 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28403 const IDESC * UNUSED idesc = abuf->idesc;
28404 int cycles = 0;
28406 int referenced = 0;
28407 int UNUSED insn_referenced = abuf->written;
28408 INT in_FRinti = -1;
28409 INT in_FRintj = -1;
28410 INT out_FRintk = -1;
28411 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
28413 return cycles;
28414 #undef FLD
28417 static int
28418 model_fr550_mexpdhd (SIM_CPU *current_cpu, void *sem_arg)
28420 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
28421 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28422 const IDESC * UNUSED idesc = abuf->idesc;
28423 int cycles = 0;
28425 int referenced = 0;
28426 int UNUSED insn_referenced = abuf->written;
28427 INT in_FRinti = -1;
28428 INT out_FRintkeven = -1;
28429 out_FRintkeven = FLD (out_FRintkeven);
28430 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
28431 cycles += frvbf_model_fr550_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintkeven);
28433 return cycles;
28434 #undef FLD
28437 static int
28438 model_fr550_cmexpdhd (SIM_CPU *current_cpu, void *sem_arg)
28440 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
28441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28442 const IDESC * UNUSED idesc = abuf->idesc;
28443 int cycles = 0;
28445 int referenced = 0;
28446 int UNUSED insn_referenced = abuf->written;
28447 INT in_FRinti = -1;
28448 INT out_FRintkeven = -1;
28449 out_FRintkeven = FLD (out_FRintkeven);
28450 if (insn_referenced & (1 << 8)) referenced |= 1 << 1;
28451 cycles += frvbf_model_fr550_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintkeven);
28453 return cycles;
28454 #undef FLD
28457 static int
28458 model_fr550_mpackh (SIM_CPU *current_cpu, void *sem_arg)
28460 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
28461 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28462 const IDESC * UNUSED idesc = abuf->idesc;
28463 int cycles = 0;
28465 int referenced = 0;
28466 int UNUSED insn_referenced = abuf->written;
28467 INT in_FRinti = -1;
28468 INT in_FRintj = -1;
28469 INT out_FRintk = -1;
28470 cycles += frvbf_model_fr550_u_media (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
28472 return cycles;
28473 #undef FLD
28476 static int
28477 model_fr550_mdpackh (SIM_CPU *current_cpu, void *sem_arg)
28479 #define FLD(f) abuf->fields.sfmt_mdpackh.f
28480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28481 const IDESC * UNUSED idesc = abuf->idesc;
28482 int cycles = 0;
28484 int referenced = 0;
28485 int UNUSED insn_referenced = abuf->written;
28486 INT in_FRintieven = -1;
28487 INT in_FRintjeven = -1;
28488 INT out_FRintkeven = -1;
28489 in_FRintieven = FLD (in_FRintieven);
28490 in_FRintjeven = FLD (in_FRintjeven);
28491 out_FRintkeven = FLD (out_FRintkeven);
28492 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28493 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
28494 if (insn_referenced & (1 << 12)) referenced |= 1 << 2;
28495 cycles += frvbf_model_fr550_u_media_quad (current_cpu, idesc, 0, referenced, in_FRintieven, in_FRintjeven, out_FRintkeven);
28497 return cycles;
28498 #undef FLD
28501 static int
28502 model_fr550_munpackh (SIM_CPU *current_cpu, void *sem_arg)
28504 #define FLD(f) abuf->fields.sfmt_munpackh.f
28505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28506 const IDESC * UNUSED idesc = abuf->idesc;
28507 int cycles = 0;
28509 int referenced = 0;
28510 int UNUSED insn_referenced = abuf->written;
28511 INT in_FRinti = -1;
28512 INT out_FRintkeven = -1;
28513 in_FRinti = FLD (in_FRinti);
28514 out_FRintkeven = FLD (out_FRintkeven);
28515 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
28516 if (insn_referenced & (1 << 7)) referenced |= 1 << 1;
28517 cycles += frvbf_model_fr550_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintkeven);
28519 return cycles;
28520 #undef FLD
28523 static int
28524 model_fr550_mdunpackh (SIM_CPU *current_cpu, void *sem_arg)
28526 #define FLD(f) abuf->fields.sfmt_mdunpackh.f
28527 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28528 const IDESC * UNUSED idesc = abuf->idesc;
28529 int cycles = 0;
28531 int referenced = 0;
28532 int UNUSED insn_referenced = abuf->written;
28533 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
28535 return cycles;
28536 #undef FLD
28539 static int
28540 model_fr550_mbtoh (SIM_CPU *current_cpu, void *sem_arg)
28542 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
28543 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28544 const IDESC * UNUSED idesc = abuf->idesc;
28545 int cycles = 0;
28547 int referenced = 0;
28548 int UNUSED insn_referenced = abuf->written;
28549 INT in_FRinti = -1;
28550 INT out_FRintkeven = -1;
28551 out_FRintkeven = FLD (out_FRintkeven);
28552 referenced |= 1 << 1;
28553 cycles += frvbf_model_fr550_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintkeven);
28555 return cycles;
28556 #undef FLD
28559 static int
28560 model_fr550_cmbtoh (SIM_CPU *current_cpu, void *sem_arg)
28562 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
28563 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28564 const IDESC * UNUSED idesc = abuf->idesc;
28565 int cycles = 0;
28567 int referenced = 0;
28568 int UNUSED insn_referenced = abuf->written;
28569 INT in_FRinti = -1;
28570 INT out_FRintkeven = -1;
28571 out_FRintkeven = FLD (out_FRintkeven);
28572 in_FRinti = FLD (in_FRintj);
28573 referenced |= 1 << 1;
28574 cycles += frvbf_model_fr550_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintkeven);
28576 return cycles;
28577 #undef FLD
28580 static int
28581 model_fr550_mhtob (SIM_CPU *current_cpu, void *sem_arg)
28583 #define FLD(f) abuf->fields.sfmt_cmhtob.f
28584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28585 const IDESC * UNUSED idesc = abuf->idesc;
28586 int cycles = 0;
28588 int referenced = 0;
28589 int UNUSED insn_referenced = abuf->written;
28590 INT in_FRinti = -1;
28591 INT out_FRintk = -1;
28592 out_FRintk = FLD (out_FRintk);
28593 in_FRinti = FLD (in_FRintjeven);
28594 referenced |= 1 << 1;
28595 cycles += frvbf_model_fr550_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
28597 return cycles;
28598 #undef FLD
28601 static int
28602 model_fr550_cmhtob (SIM_CPU *current_cpu, void *sem_arg)
28604 #define FLD(f) abuf->fields.sfmt_cmhtob.f
28605 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28606 const IDESC * UNUSED idesc = abuf->idesc;
28607 int cycles = 0;
28609 int referenced = 0;
28610 int UNUSED insn_referenced = abuf->written;
28611 INT in_FRinti = -1;
28612 INT out_FRintk = -1;
28613 out_FRintk = FLD (out_FRintk);
28614 in_FRinti = FLD (in_FRintjeven);
28615 referenced |= 1 << 1;
28616 cycles += frvbf_model_fr550_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
28618 return cycles;
28619 #undef FLD
28622 static int
28623 model_fr550_mbtohe (SIM_CPU *current_cpu, void *sem_arg)
28625 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
28626 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28627 const IDESC * UNUSED idesc = abuf->idesc;
28628 int cycles = 0;
28630 int referenced = 0;
28631 int UNUSED insn_referenced = abuf->written;
28632 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
28634 return cycles;
28635 #undef FLD
28638 static int
28639 model_fr550_cmbtohe (SIM_CPU *current_cpu, void *sem_arg)
28641 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
28642 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28643 const IDESC * UNUSED idesc = abuf->idesc;
28644 int cycles = 0;
28646 int referenced = 0;
28647 int UNUSED insn_referenced = abuf->written;
28648 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
28650 return cycles;
28651 #undef FLD
28654 static int
28655 model_fr550_mnop (SIM_CPU *current_cpu, void *sem_arg)
28657 #define FLD(f) abuf->fields.sfmt_empty.f
28658 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28659 const IDESC * UNUSED idesc = abuf->idesc;
28660 int cycles = 0;
28662 int referenced = 0;
28663 int UNUSED insn_referenced = abuf->written;
28664 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
28666 return cycles;
28667 #undef FLD
28670 static int
28671 model_fr550_mclracc_0 (SIM_CPU *current_cpu, void *sem_arg)
28673 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
28674 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28675 const IDESC * UNUSED idesc = abuf->idesc;
28676 int cycles = 0;
28678 int referenced = 0;
28679 int UNUSED insn_referenced = abuf->written;
28680 cycles += frvbf_model_fr550_u_media_3_mclracc (current_cpu, idesc, 0, referenced);
28682 return cycles;
28683 #undef FLD
28686 static int
28687 model_fr550_mclracc_1 (SIM_CPU *current_cpu, void *sem_arg)
28689 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
28690 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28691 const IDESC * UNUSED idesc = abuf->idesc;
28692 int cycles = 0;
28694 int referenced = 0;
28695 int UNUSED insn_referenced = abuf->written;
28696 cycles += frvbf_model_fr550_u_media_3_mclracc (current_cpu, idesc, 0, referenced);
28698 return cycles;
28699 #undef FLD
28702 static int
28703 model_fr550_mrdacc (SIM_CPU *current_cpu, void *sem_arg)
28705 #define FLD(f) abuf->fields.sfmt_mcuti.f
28706 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28707 const IDESC * UNUSED idesc = abuf->idesc;
28708 int cycles = 0;
28710 int referenced = 0;
28711 int UNUSED insn_referenced = abuf->written;
28712 INT in_FRintj = -1;
28713 INT in_ACC40Si = -1;
28714 INT out_FRintk = -1;
28715 in_ACC40Si = FLD (in_ACC40Si);
28716 out_FRintk = FLD (out_FRintk);
28717 referenced |= 1 << 1;
28718 referenced |= 1 << 2;
28719 cycles += frvbf_model_fr550_u_media_3_acc (current_cpu, idesc, 0, referenced, in_FRintj, in_ACC40Si, out_FRintk);
28721 return cycles;
28722 #undef FLD
28725 static int
28726 model_fr550_mrdaccg (SIM_CPU *current_cpu, void *sem_arg)
28728 #define FLD(f) abuf->fields.sfmt_mrdaccg.f
28729 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28730 const IDESC * UNUSED idesc = abuf->idesc;
28731 int cycles = 0;
28733 int referenced = 0;
28734 int UNUSED insn_referenced = abuf->written;
28735 INT in_FRintj = -1;
28736 INT in_ACC40Si = -1;
28737 INT out_FRintk = -1;
28738 out_FRintk = FLD (out_FRintk);
28739 in_ACC40Si = FLD (in_ACCGi);
28740 referenced |= 1 << 2;
28741 cycles += frvbf_model_fr550_u_media_3_acc (current_cpu, idesc, 0, referenced, in_FRintj, in_ACC40Si, out_FRintk);
28743 return cycles;
28744 #undef FLD
28747 static int
28748 model_fr550_mwtacc (SIM_CPU *current_cpu, void *sem_arg)
28750 #define FLD(f) abuf->fields.sfmt_cmmachs.f
28751 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28752 const IDESC * UNUSED idesc = abuf->idesc;
28753 int cycles = 0;
28755 int referenced = 0;
28756 int UNUSED insn_referenced = abuf->written;
28757 INT in_FRinti = -1;
28758 INT in_ACC40Sk = -1;
28759 in_FRinti = FLD (in_FRinti);
28760 in_ACC40Sk = FLD (in_ACC40Sk);
28761 referenced |= 1 << 0;
28762 referenced |= 1 << 1;
28763 cycles += frvbf_model_fr550_u_media_3_wtacc (current_cpu, idesc, 0, referenced, in_FRinti, in_ACC40Sk);
28765 return cycles;
28766 #undef FLD
28769 static int
28770 model_fr550_mwtaccg (SIM_CPU *current_cpu, void *sem_arg)
28772 #define FLD(f) abuf->fields.sfmt_mwtaccg.f
28773 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28774 const IDESC * UNUSED idesc = abuf->idesc;
28775 int cycles = 0;
28777 int referenced = 0;
28778 int UNUSED insn_referenced = abuf->written;
28779 INT in_FRinti = -1;
28780 INT in_ACC40Sk = -1;
28781 in_FRinti = FLD (in_FRinti);
28782 in_ACC40Sk = FLD (in_ACCGk);
28783 referenced |= 1 << 0;
28784 cycles += frvbf_model_fr550_u_media_3_wtacc (current_cpu, idesc, 0, referenced, in_FRinti, in_ACC40Sk);
28786 return cycles;
28787 #undef FLD
28790 static int
28791 model_fr550_mcop1 (SIM_CPU *current_cpu, void *sem_arg)
28793 #define FLD(f) abuf->fields.sfmt_empty.f
28794 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28795 const IDESC * UNUSED idesc = abuf->idesc;
28796 int cycles = 0;
28798 int referenced = 0;
28799 int UNUSED insn_referenced = abuf->written;
28800 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
28802 return cycles;
28803 #undef FLD
28806 static int
28807 model_fr550_mcop2 (SIM_CPU *current_cpu, void *sem_arg)
28809 #define FLD(f) abuf->fields.sfmt_empty.f
28810 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28811 const IDESC * UNUSED idesc = abuf->idesc;
28812 int cycles = 0;
28814 int referenced = 0;
28815 int UNUSED insn_referenced = abuf->written;
28816 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
28818 return cycles;
28819 #undef FLD
28822 static int
28823 model_fr550_fnop (SIM_CPU *current_cpu, void *sem_arg)
28825 #define FLD(f) abuf->fields.sfmt_empty.f
28826 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28827 const IDESC * UNUSED idesc = abuf->idesc;
28828 int cycles = 0;
28830 int referenced = 0;
28831 int UNUSED insn_referenced = abuf->written;
28832 cycles += frvbf_model_fr550_u_exec (current_cpu, idesc, 0, referenced);
28834 return cycles;
28835 #undef FLD
28838 static int
28839 model_fr500_add (SIM_CPU *current_cpu, void *sem_arg)
28841 #define FLD(f) abuf->fields.sfmt_addcc.f
28842 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28843 const IDESC * UNUSED idesc = abuf->idesc;
28844 int cycles = 0;
28846 int referenced = 0;
28847 int UNUSED insn_referenced = abuf->written;
28848 INT in_GRi = -1;
28849 INT in_GRj = -1;
28850 INT out_GRk = -1;
28851 INT out_ICCi_1 = -1;
28852 in_GRi = FLD (in_GRi);
28853 in_GRj = FLD (in_GRj);
28854 out_GRk = FLD (out_GRk);
28855 referenced |= 1 << 0;
28856 referenced |= 1 << 1;
28857 referenced |= 1 << 2;
28858 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
28860 return cycles;
28861 #undef FLD
28864 static int
28865 model_fr500_sub (SIM_CPU *current_cpu, void *sem_arg)
28867 #define FLD(f) abuf->fields.sfmt_addcc.f
28868 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28869 const IDESC * UNUSED idesc = abuf->idesc;
28870 int cycles = 0;
28872 int referenced = 0;
28873 int UNUSED insn_referenced = abuf->written;
28874 INT in_GRi = -1;
28875 INT in_GRj = -1;
28876 INT out_GRk = -1;
28877 INT out_ICCi_1 = -1;
28878 in_GRi = FLD (in_GRi);
28879 in_GRj = FLD (in_GRj);
28880 out_GRk = FLD (out_GRk);
28881 referenced |= 1 << 0;
28882 referenced |= 1 << 1;
28883 referenced |= 1 << 2;
28884 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
28886 return cycles;
28887 #undef FLD
28890 static int
28891 model_fr500_and (SIM_CPU *current_cpu, void *sem_arg)
28893 #define FLD(f) abuf->fields.sfmt_addcc.f
28894 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28895 const IDESC * UNUSED idesc = abuf->idesc;
28896 int cycles = 0;
28898 int referenced = 0;
28899 int UNUSED insn_referenced = abuf->written;
28900 INT in_GRi = -1;
28901 INT in_GRj = -1;
28902 INT out_GRk = -1;
28903 INT out_ICCi_1 = -1;
28904 in_GRi = FLD (in_GRi);
28905 in_GRj = FLD (in_GRj);
28906 out_GRk = FLD (out_GRk);
28907 referenced |= 1 << 0;
28908 referenced |= 1 << 1;
28909 referenced |= 1 << 2;
28910 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
28912 return cycles;
28913 #undef FLD
28916 static int
28917 model_fr500_or (SIM_CPU *current_cpu, void *sem_arg)
28919 #define FLD(f) abuf->fields.sfmt_addcc.f
28920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28921 const IDESC * UNUSED idesc = abuf->idesc;
28922 int cycles = 0;
28924 int referenced = 0;
28925 int UNUSED insn_referenced = abuf->written;
28926 INT in_GRi = -1;
28927 INT in_GRj = -1;
28928 INT out_GRk = -1;
28929 INT out_ICCi_1 = -1;
28930 in_GRi = FLD (in_GRi);
28931 in_GRj = FLD (in_GRj);
28932 out_GRk = FLD (out_GRk);
28933 referenced |= 1 << 0;
28934 referenced |= 1 << 1;
28935 referenced |= 1 << 2;
28936 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
28938 return cycles;
28939 #undef FLD
28942 static int
28943 model_fr500_xor (SIM_CPU *current_cpu, void *sem_arg)
28945 #define FLD(f) abuf->fields.sfmt_addcc.f
28946 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28947 const IDESC * UNUSED idesc = abuf->idesc;
28948 int cycles = 0;
28950 int referenced = 0;
28951 int UNUSED insn_referenced = abuf->written;
28952 INT in_GRi = -1;
28953 INT in_GRj = -1;
28954 INT out_GRk = -1;
28955 INT out_ICCi_1 = -1;
28956 in_GRi = FLD (in_GRi);
28957 in_GRj = FLD (in_GRj);
28958 out_GRk = FLD (out_GRk);
28959 referenced |= 1 << 0;
28960 referenced |= 1 << 1;
28961 referenced |= 1 << 2;
28962 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
28964 return cycles;
28965 #undef FLD
28968 static int
28969 model_fr500_not (SIM_CPU *current_cpu, void *sem_arg)
28971 #define FLD(f) abuf->fields.sfmt_scutss.f
28972 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28973 const IDESC * UNUSED idesc = abuf->idesc;
28974 int cycles = 0;
28976 int referenced = 0;
28977 int UNUSED insn_referenced = abuf->written;
28978 INT in_GRi = -1;
28979 INT in_GRj = -1;
28980 INT out_GRk = -1;
28981 INT out_ICCi_1 = -1;
28982 in_GRj = FLD (in_GRj);
28983 out_GRk = FLD (out_GRk);
28984 referenced |= 1 << 1;
28985 referenced |= 1 << 2;
28986 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
28988 return cycles;
28989 #undef FLD
28992 static int
28993 model_fr500_sdiv (SIM_CPU *current_cpu, void *sem_arg)
28995 #define FLD(f) abuf->fields.sfmt_addcc.f
28996 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
28997 const IDESC * UNUSED idesc = abuf->idesc;
28998 int cycles = 0;
29000 int referenced = 0;
29001 int UNUSED insn_referenced = abuf->written;
29002 INT in_GRi = -1;
29003 INT in_GRj = -1;
29004 INT out_GRk = -1;
29005 INT out_ICCi_1 = -1;
29006 in_GRi = FLD (in_GRi);
29007 in_GRj = FLD (in_GRj);
29008 out_GRk = FLD (out_GRk);
29009 referenced |= 1 << 0;
29010 referenced |= 1 << 1;
29011 referenced |= 1 << 2;
29012 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29014 return cycles;
29015 #undef FLD
29018 static int
29019 model_fr500_nsdiv (SIM_CPU *current_cpu, void *sem_arg)
29021 #define FLD(f) abuf->fields.sfmt_addcc.f
29022 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29023 const IDESC * UNUSED idesc = abuf->idesc;
29024 int cycles = 0;
29026 int referenced = 0;
29027 int UNUSED insn_referenced = abuf->written;
29028 INT in_GRi = -1;
29029 INT in_GRj = -1;
29030 INT out_GRk = -1;
29031 INT out_ICCi_1 = -1;
29032 in_GRi = FLD (in_GRi);
29033 in_GRj = FLD (in_GRj);
29034 out_GRk = FLD (out_GRk);
29035 referenced |= 1 << 0;
29036 referenced |= 1 << 1;
29037 referenced |= 1 << 2;
29038 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29040 return cycles;
29041 #undef FLD
29044 static int
29045 model_fr500_udiv (SIM_CPU *current_cpu, void *sem_arg)
29047 #define FLD(f) abuf->fields.sfmt_addcc.f
29048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29049 const IDESC * UNUSED idesc = abuf->idesc;
29050 int cycles = 0;
29052 int referenced = 0;
29053 int UNUSED insn_referenced = abuf->written;
29054 INT in_GRi = -1;
29055 INT in_GRj = -1;
29056 INT out_GRk = -1;
29057 INT out_ICCi_1 = -1;
29058 in_GRi = FLD (in_GRi);
29059 in_GRj = FLD (in_GRj);
29060 out_GRk = FLD (out_GRk);
29061 referenced |= 1 << 0;
29062 referenced |= 1 << 1;
29063 referenced |= 1 << 2;
29064 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29066 return cycles;
29067 #undef FLD
29070 static int
29071 model_fr500_nudiv (SIM_CPU *current_cpu, void *sem_arg)
29073 #define FLD(f) abuf->fields.sfmt_addcc.f
29074 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29075 const IDESC * UNUSED idesc = abuf->idesc;
29076 int cycles = 0;
29078 int referenced = 0;
29079 int UNUSED insn_referenced = abuf->written;
29080 INT in_GRi = -1;
29081 INT in_GRj = -1;
29082 INT out_GRk = -1;
29083 INT out_ICCi_1 = -1;
29084 in_GRi = FLD (in_GRi);
29085 in_GRj = FLD (in_GRj);
29086 out_GRk = FLD (out_GRk);
29087 referenced |= 1 << 0;
29088 referenced |= 1 << 1;
29089 referenced |= 1 << 2;
29090 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29092 return cycles;
29093 #undef FLD
29096 static int
29097 model_fr500_smul (SIM_CPU *current_cpu, void *sem_arg)
29099 #define FLD(f) abuf->fields.sfmt_smulcc.f
29100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29101 const IDESC * UNUSED idesc = abuf->idesc;
29102 int cycles = 0;
29104 int referenced = 0;
29105 int UNUSED insn_referenced = abuf->written;
29106 INT in_GRi = -1;
29107 INT in_GRj = -1;
29108 INT out_GRdoublek = -1;
29109 INT out_ICCi_1 = -1;
29110 in_GRi = FLD (in_GRi);
29111 in_GRj = FLD (in_GRj);
29112 out_GRdoublek = FLD (out_GRdoublek);
29113 referenced |= 1 << 0;
29114 referenced |= 1 << 1;
29115 referenced |= 1 << 2;
29116 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
29118 return cycles;
29119 #undef FLD
29122 static int
29123 model_fr500_umul (SIM_CPU *current_cpu, void *sem_arg)
29125 #define FLD(f) abuf->fields.sfmt_smulcc.f
29126 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29127 const IDESC * UNUSED idesc = abuf->idesc;
29128 int cycles = 0;
29130 int referenced = 0;
29131 int UNUSED insn_referenced = abuf->written;
29132 INT in_GRi = -1;
29133 INT in_GRj = -1;
29134 INT out_GRdoublek = -1;
29135 INT out_ICCi_1 = -1;
29136 in_GRi = FLD (in_GRi);
29137 in_GRj = FLD (in_GRj);
29138 out_GRdoublek = FLD (out_GRdoublek);
29139 referenced |= 1 << 0;
29140 referenced |= 1 << 1;
29141 referenced |= 1 << 2;
29142 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
29144 return cycles;
29145 #undef FLD
29148 static int
29149 model_fr500_smu (SIM_CPU *current_cpu, void *sem_arg)
29151 #define FLD(f) abuf->fields.sfmt_smass.f
29152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29153 const IDESC * UNUSED idesc = abuf->idesc;
29154 int cycles = 0;
29156 int referenced = 0;
29157 int UNUSED insn_referenced = abuf->written;
29158 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
29160 return cycles;
29161 #undef FLD
29164 static int
29165 model_fr500_smass (SIM_CPU *current_cpu, void *sem_arg)
29167 #define FLD(f) abuf->fields.sfmt_smass.f
29168 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29169 const IDESC * UNUSED idesc = abuf->idesc;
29170 int cycles = 0;
29172 int referenced = 0;
29173 int UNUSED insn_referenced = abuf->written;
29174 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
29176 return cycles;
29177 #undef FLD
29180 static int
29181 model_fr500_smsss (SIM_CPU *current_cpu, void *sem_arg)
29183 #define FLD(f) abuf->fields.sfmt_smass.f
29184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29185 const IDESC * UNUSED idesc = abuf->idesc;
29186 int cycles = 0;
29188 int referenced = 0;
29189 int UNUSED insn_referenced = abuf->written;
29190 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
29192 return cycles;
29193 #undef FLD
29196 static int
29197 model_fr500_sll (SIM_CPU *current_cpu, void *sem_arg)
29199 #define FLD(f) abuf->fields.sfmt_addcc.f
29200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29201 const IDESC * UNUSED idesc = abuf->idesc;
29202 int cycles = 0;
29204 int referenced = 0;
29205 int UNUSED insn_referenced = abuf->written;
29206 INT in_GRi = -1;
29207 INT in_GRj = -1;
29208 INT out_GRk = -1;
29209 INT out_ICCi_1 = -1;
29210 in_GRi = FLD (in_GRi);
29211 in_GRj = FLD (in_GRj);
29212 out_GRk = FLD (out_GRk);
29213 referenced |= 1 << 0;
29214 referenced |= 1 << 1;
29215 referenced |= 1 << 2;
29216 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29218 return cycles;
29219 #undef FLD
29222 static int
29223 model_fr500_srl (SIM_CPU *current_cpu, void *sem_arg)
29225 #define FLD(f) abuf->fields.sfmt_addcc.f
29226 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29227 const IDESC * UNUSED idesc = abuf->idesc;
29228 int cycles = 0;
29230 int referenced = 0;
29231 int UNUSED insn_referenced = abuf->written;
29232 INT in_GRi = -1;
29233 INT in_GRj = -1;
29234 INT out_GRk = -1;
29235 INT out_ICCi_1 = -1;
29236 in_GRi = FLD (in_GRi);
29237 in_GRj = FLD (in_GRj);
29238 out_GRk = FLD (out_GRk);
29239 referenced |= 1 << 0;
29240 referenced |= 1 << 1;
29241 referenced |= 1 << 2;
29242 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29244 return cycles;
29245 #undef FLD
29248 static int
29249 model_fr500_sra (SIM_CPU *current_cpu, void *sem_arg)
29251 #define FLD(f) abuf->fields.sfmt_addcc.f
29252 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29253 const IDESC * UNUSED idesc = abuf->idesc;
29254 int cycles = 0;
29256 int referenced = 0;
29257 int UNUSED insn_referenced = abuf->written;
29258 INT in_GRi = -1;
29259 INT in_GRj = -1;
29260 INT out_GRk = -1;
29261 INT out_ICCi_1 = -1;
29262 in_GRi = FLD (in_GRi);
29263 in_GRj = FLD (in_GRj);
29264 out_GRk = FLD (out_GRk);
29265 referenced |= 1 << 0;
29266 referenced |= 1 << 1;
29267 referenced |= 1 << 2;
29268 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29270 return cycles;
29271 #undef FLD
29274 static int
29275 model_fr500_slass (SIM_CPU *current_cpu, void *sem_arg)
29277 #define FLD(f) abuf->fields.sfmt_addcc.f
29278 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29279 const IDESC * UNUSED idesc = abuf->idesc;
29280 int cycles = 0;
29282 int referenced = 0;
29283 int UNUSED insn_referenced = abuf->written;
29284 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
29286 return cycles;
29287 #undef FLD
29290 static int
29291 model_fr500_scutss (SIM_CPU *current_cpu, void *sem_arg)
29293 #define FLD(f) abuf->fields.sfmt_scutss.f
29294 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29295 const IDESC * UNUSED idesc = abuf->idesc;
29296 int cycles = 0;
29298 int referenced = 0;
29299 int UNUSED insn_referenced = abuf->written;
29300 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
29302 return cycles;
29303 #undef FLD
29306 static int
29307 model_fr500_scan (SIM_CPU *current_cpu, void *sem_arg)
29309 #define FLD(f) abuf->fields.sfmt_addcc.f
29310 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29311 const IDESC * UNUSED idesc = abuf->idesc;
29312 int cycles = 0;
29314 int referenced = 0;
29315 int UNUSED insn_referenced = abuf->written;
29316 INT in_GRi = -1;
29317 INT in_GRj = -1;
29318 INT out_GRk = -1;
29319 INT out_ICCi_1 = -1;
29320 in_GRi = FLD (in_GRi);
29321 in_GRj = FLD (in_GRj);
29322 out_GRk = FLD (out_GRk);
29323 referenced |= 1 << 0;
29324 referenced |= 1 << 1;
29325 referenced |= 1 << 2;
29326 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29328 return cycles;
29329 #undef FLD
29332 static int
29333 model_fr500_cadd (SIM_CPU *current_cpu, void *sem_arg)
29335 #define FLD(f) abuf->fields.sfmt_cswap.f
29336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29337 const IDESC * UNUSED idesc = abuf->idesc;
29338 int cycles = 0;
29340 int referenced = 0;
29341 int UNUSED insn_referenced = abuf->written;
29342 INT in_GRi = -1;
29343 INT in_GRj = -1;
29344 INT out_GRk = -1;
29345 INT out_ICCi_1 = -1;
29346 in_GRi = FLD (in_GRi);
29347 in_GRj = FLD (in_GRj);
29348 out_GRk = FLD (out_GRk);
29349 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29350 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29351 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29352 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29354 return cycles;
29355 #undef FLD
29358 static int
29359 model_fr500_csub (SIM_CPU *current_cpu, void *sem_arg)
29361 #define FLD(f) abuf->fields.sfmt_cswap.f
29362 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29363 const IDESC * UNUSED idesc = abuf->idesc;
29364 int cycles = 0;
29366 int referenced = 0;
29367 int UNUSED insn_referenced = abuf->written;
29368 INT in_GRi = -1;
29369 INT in_GRj = -1;
29370 INT out_GRk = -1;
29371 INT out_ICCi_1 = -1;
29372 in_GRi = FLD (in_GRi);
29373 in_GRj = FLD (in_GRj);
29374 out_GRk = FLD (out_GRk);
29375 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29376 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29377 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29378 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29380 return cycles;
29381 #undef FLD
29384 static int
29385 model_fr500_cand (SIM_CPU *current_cpu, void *sem_arg)
29387 #define FLD(f) abuf->fields.sfmt_cswap.f
29388 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29389 const IDESC * UNUSED idesc = abuf->idesc;
29390 int cycles = 0;
29392 int referenced = 0;
29393 int UNUSED insn_referenced = abuf->written;
29394 INT in_GRi = -1;
29395 INT in_GRj = -1;
29396 INT out_GRk = -1;
29397 INT out_ICCi_1 = -1;
29398 in_GRi = FLD (in_GRi);
29399 in_GRj = FLD (in_GRj);
29400 out_GRk = FLD (out_GRk);
29401 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29402 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29403 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29404 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29406 return cycles;
29407 #undef FLD
29410 static int
29411 model_fr500_cor (SIM_CPU *current_cpu, void *sem_arg)
29413 #define FLD(f) abuf->fields.sfmt_cswap.f
29414 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29415 const IDESC * UNUSED idesc = abuf->idesc;
29416 int cycles = 0;
29418 int referenced = 0;
29419 int UNUSED insn_referenced = abuf->written;
29420 INT in_GRi = -1;
29421 INT in_GRj = -1;
29422 INT out_GRk = -1;
29423 INT out_ICCi_1 = -1;
29424 in_GRi = FLD (in_GRi);
29425 in_GRj = FLD (in_GRj);
29426 out_GRk = FLD (out_GRk);
29427 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29428 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29429 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29430 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29432 return cycles;
29433 #undef FLD
29436 static int
29437 model_fr500_cxor (SIM_CPU *current_cpu, void *sem_arg)
29439 #define FLD(f) abuf->fields.sfmt_cswap.f
29440 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29441 const IDESC * UNUSED idesc = abuf->idesc;
29442 int cycles = 0;
29444 int referenced = 0;
29445 int UNUSED insn_referenced = abuf->written;
29446 INT in_GRi = -1;
29447 INT in_GRj = -1;
29448 INT out_GRk = -1;
29449 INT out_ICCi_1 = -1;
29450 in_GRi = FLD (in_GRi);
29451 in_GRj = FLD (in_GRj);
29452 out_GRk = FLD (out_GRk);
29453 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29454 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29455 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29456 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29458 return cycles;
29459 #undef FLD
29462 static int
29463 model_fr500_cnot (SIM_CPU *current_cpu, void *sem_arg)
29465 #define FLD(f) abuf->fields.sfmt_cswap.f
29466 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29467 const IDESC * UNUSED idesc = abuf->idesc;
29468 int cycles = 0;
29470 int referenced = 0;
29471 int UNUSED insn_referenced = abuf->written;
29472 INT in_GRi = -1;
29473 INT in_GRj = -1;
29474 INT out_GRk = -1;
29475 INT out_ICCi_1 = -1;
29476 in_GRj = FLD (in_GRj);
29477 out_GRk = FLD (out_GRk);
29478 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
29479 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
29480 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29482 return cycles;
29483 #undef FLD
29486 static int
29487 model_fr500_csmul (SIM_CPU *current_cpu, void *sem_arg)
29489 #define FLD(f) abuf->fields.sfmt_clddu.f
29490 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29491 const IDESC * UNUSED idesc = abuf->idesc;
29492 int cycles = 0;
29494 int referenced = 0;
29495 int UNUSED insn_referenced = abuf->written;
29496 INT in_GRi = -1;
29497 INT in_GRj = -1;
29498 INT out_GRdoublek = -1;
29499 INT out_ICCi_1 = -1;
29500 in_GRi = FLD (in_GRi);
29501 in_GRj = FLD (in_GRj);
29502 out_GRdoublek = FLD (out_GRdoublek);
29503 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29504 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29505 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29506 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
29508 return cycles;
29509 #undef FLD
29512 static int
29513 model_fr500_csdiv (SIM_CPU *current_cpu, void *sem_arg)
29515 #define FLD(f) abuf->fields.sfmt_cswap.f
29516 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29517 const IDESC * UNUSED idesc = abuf->idesc;
29518 int cycles = 0;
29520 int referenced = 0;
29521 int UNUSED insn_referenced = abuf->written;
29522 INT in_GRi = -1;
29523 INT in_GRj = -1;
29524 INT out_GRk = -1;
29525 INT out_ICCi_1 = -1;
29526 in_GRi = FLD (in_GRi);
29527 in_GRj = FLD (in_GRj);
29528 out_GRk = FLD (out_GRk);
29529 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29530 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29531 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
29532 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29534 return cycles;
29535 #undef FLD
29538 static int
29539 model_fr500_cudiv (SIM_CPU *current_cpu, void *sem_arg)
29541 #define FLD(f) abuf->fields.sfmt_cswap.f
29542 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29543 const IDESC * UNUSED idesc = abuf->idesc;
29544 int cycles = 0;
29546 int referenced = 0;
29547 int UNUSED insn_referenced = abuf->written;
29548 INT in_GRi = -1;
29549 INT in_GRj = -1;
29550 INT out_GRk = -1;
29551 INT out_ICCi_1 = -1;
29552 in_GRi = FLD (in_GRi);
29553 in_GRj = FLD (in_GRj);
29554 out_GRk = FLD (out_GRk);
29555 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29556 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29557 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
29558 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29560 return cycles;
29561 #undef FLD
29564 static int
29565 model_fr500_csll (SIM_CPU *current_cpu, void *sem_arg)
29567 #define FLD(f) abuf->fields.sfmt_cswap.f
29568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29569 const IDESC * UNUSED idesc = abuf->idesc;
29570 int cycles = 0;
29572 int referenced = 0;
29573 int UNUSED insn_referenced = abuf->written;
29574 INT in_GRi = -1;
29575 INT in_GRj = -1;
29576 INT out_GRk = -1;
29577 INT out_ICCi_1 = -1;
29578 in_GRi = FLD (in_GRi);
29579 in_GRj = FLD (in_GRj);
29580 out_GRk = FLD (out_GRk);
29581 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29582 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29583 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29584 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29586 return cycles;
29587 #undef FLD
29590 static int
29591 model_fr500_csrl (SIM_CPU *current_cpu, void *sem_arg)
29593 #define FLD(f) abuf->fields.sfmt_cswap.f
29594 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29595 const IDESC * UNUSED idesc = abuf->idesc;
29596 int cycles = 0;
29598 int referenced = 0;
29599 int UNUSED insn_referenced = abuf->written;
29600 INT in_GRi = -1;
29601 INT in_GRj = -1;
29602 INT out_GRk = -1;
29603 INT out_ICCi_1 = -1;
29604 in_GRi = FLD (in_GRi);
29605 in_GRj = FLD (in_GRj);
29606 out_GRk = FLD (out_GRk);
29607 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29608 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29609 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29610 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29612 return cycles;
29613 #undef FLD
29616 static int
29617 model_fr500_csra (SIM_CPU *current_cpu, void *sem_arg)
29619 #define FLD(f) abuf->fields.sfmt_cswap.f
29620 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29621 const IDESC * UNUSED idesc = abuf->idesc;
29622 int cycles = 0;
29624 int referenced = 0;
29625 int UNUSED insn_referenced = abuf->written;
29626 INT in_GRi = -1;
29627 INT in_GRj = -1;
29628 INT out_GRk = -1;
29629 INT out_ICCi_1 = -1;
29630 in_GRi = FLD (in_GRi);
29631 in_GRj = FLD (in_GRj);
29632 out_GRk = FLD (out_GRk);
29633 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29634 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29635 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29636 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29638 return cycles;
29639 #undef FLD
29642 static int
29643 model_fr500_cscan (SIM_CPU *current_cpu, void *sem_arg)
29645 #define FLD(f) abuf->fields.sfmt_cswap.f
29646 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29647 const IDESC * UNUSED idesc = abuf->idesc;
29648 int cycles = 0;
29650 int referenced = 0;
29651 int UNUSED insn_referenced = abuf->written;
29652 INT in_GRi = -1;
29653 INT in_GRj = -1;
29654 INT out_GRk = -1;
29655 INT out_ICCi_1 = -1;
29656 in_GRi = FLD (in_GRi);
29657 in_GRj = FLD (in_GRj);
29658 out_GRk = FLD (out_GRk);
29659 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29660 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29661 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
29662 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29664 return cycles;
29665 #undef FLD
29668 static int
29669 model_fr500_addcc (SIM_CPU *current_cpu, void *sem_arg)
29671 #define FLD(f) abuf->fields.sfmt_addcc.f
29672 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29673 const IDESC * UNUSED idesc = abuf->idesc;
29674 int cycles = 0;
29676 int referenced = 0;
29677 int UNUSED insn_referenced = abuf->written;
29678 INT in_GRi = -1;
29679 INT in_GRj = -1;
29680 INT out_GRk = -1;
29681 INT out_ICCi_1 = -1;
29682 in_GRi = FLD (in_GRi);
29683 in_GRj = FLD (in_GRj);
29684 out_GRk = FLD (out_GRk);
29685 out_ICCi_1 = FLD (out_ICCi_1);
29686 referenced |= 1 << 0;
29687 referenced |= 1 << 1;
29688 referenced |= 1 << 2;
29689 referenced |= 1 << 3;
29690 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29692 return cycles;
29693 #undef FLD
29696 static int
29697 model_fr500_subcc (SIM_CPU *current_cpu, void *sem_arg)
29699 #define FLD(f) abuf->fields.sfmt_addcc.f
29700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29701 const IDESC * UNUSED idesc = abuf->idesc;
29702 int cycles = 0;
29704 int referenced = 0;
29705 int UNUSED insn_referenced = abuf->written;
29706 INT in_GRi = -1;
29707 INT in_GRj = -1;
29708 INT out_GRk = -1;
29709 INT out_ICCi_1 = -1;
29710 in_GRi = FLD (in_GRi);
29711 in_GRj = FLD (in_GRj);
29712 out_GRk = FLD (out_GRk);
29713 out_ICCi_1 = FLD (out_ICCi_1);
29714 referenced |= 1 << 0;
29715 referenced |= 1 << 1;
29716 referenced |= 1 << 2;
29717 referenced |= 1 << 3;
29718 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29720 return cycles;
29721 #undef FLD
29724 static int
29725 model_fr500_andcc (SIM_CPU *current_cpu, void *sem_arg)
29727 #define FLD(f) abuf->fields.sfmt_addcc.f
29728 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29729 const IDESC * UNUSED idesc = abuf->idesc;
29730 int cycles = 0;
29732 int referenced = 0;
29733 int UNUSED insn_referenced = abuf->written;
29734 INT in_GRi = -1;
29735 INT in_GRj = -1;
29736 INT out_GRk = -1;
29737 INT out_ICCi_1 = -1;
29738 in_GRi = FLD (in_GRi);
29739 in_GRj = FLD (in_GRj);
29740 out_GRk = FLD (out_GRk);
29741 out_ICCi_1 = FLD (out_ICCi_1);
29742 referenced |= 1 << 0;
29743 referenced |= 1 << 1;
29744 referenced |= 1 << 2;
29745 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
29746 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29748 return cycles;
29749 #undef FLD
29752 static int
29753 model_fr500_orcc (SIM_CPU *current_cpu, void *sem_arg)
29755 #define FLD(f) abuf->fields.sfmt_addcc.f
29756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29757 const IDESC * UNUSED idesc = abuf->idesc;
29758 int cycles = 0;
29760 int referenced = 0;
29761 int UNUSED insn_referenced = abuf->written;
29762 INT in_GRi = -1;
29763 INT in_GRj = -1;
29764 INT out_GRk = -1;
29765 INT out_ICCi_1 = -1;
29766 in_GRi = FLD (in_GRi);
29767 in_GRj = FLD (in_GRj);
29768 out_GRk = FLD (out_GRk);
29769 out_ICCi_1 = FLD (out_ICCi_1);
29770 referenced |= 1 << 0;
29771 referenced |= 1 << 1;
29772 referenced |= 1 << 2;
29773 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
29774 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29776 return cycles;
29777 #undef FLD
29780 static int
29781 model_fr500_xorcc (SIM_CPU *current_cpu, void *sem_arg)
29783 #define FLD(f) abuf->fields.sfmt_addcc.f
29784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29785 const IDESC * UNUSED idesc = abuf->idesc;
29786 int cycles = 0;
29788 int referenced = 0;
29789 int UNUSED insn_referenced = abuf->written;
29790 INT in_GRi = -1;
29791 INT in_GRj = -1;
29792 INT out_GRk = -1;
29793 INT out_ICCi_1 = -1;
29794 in_GRi = FLD (in_GRi);
29795 in_GRj = FLD (in_GRj);
29796 out_GRk = FLD (out_GRk);
29797 out_ICCi_1 = FLD (out_ICCi_1);
29798 referenced |= 1 << 0;
29799 referenced |= 1 << 1;
29800 referenced |= 1 << 2;
29801 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
29802 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29804 return cycles;
29805 #undef FLD
29808 static int
29809 model_fr500_sllcc (SIM_CPU *current_cpu, void *sem_arg)
29811 #define FLD(f) abuf->fields.sfmt_addcc.f
29812 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29813 const IDESC * UNUSED idesc = abuf->idesc;
29814 int cycles = 0;
29816 int referenced = 0;
29817 int UNUSED insn_referenced = abuf->written;
29818 INT in_GRi = -1;
29819 INT in_GRj = -1;
29820 INT out_GRk = -1;
29821 INT out_ICCi_1 = -1;
29822 in_GRi = FLD (in_GRi);
29823 in_GRj = FLD (in_GRj);
29824 out_GRk = FLD (out_GRk);
29825 out_ICCi_1 = FLD (out_ICCi_1);
29826 referenced |= 1 << 0;
29827 referenced |= 1 << 1;
29828 referenced |= 1 << 2;
29829 referenced |= 1 << 3;
29830 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29832 return cycles;
29833 #undef FLD
29836 static int
29837 model_fr500_srlcc (SIM_CPU *current_cpu, void *sem_arg)
29839 #define FLD(f) abuf->fields.sfmt_addcc.f
29840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29841 const IDESC * UNUSED idesc = abuf->idesc;
29842 int cycles = 0;
29844 int referenced = 0;
29845 int UNUSED insn_referenced = abuf->written;
29846 INT in_GRi = -1;
29847 INT in_GRj = -1;
29848 INT out_GRk = -1;
29849 INT out_ICCi_1 = -1;
29850 in_GRi = FLD (in_GRi);
29851 in_GRj = FLD (in_GRj);
29852 out_GRk = FLD (out_GRk);
29853 out_ICCi_1 = FLD (out_ICCi_1);
29854 referenced |= 1 << 0;
29855 referenced |= 1 << 1;
29856 referenced |= 1 << 2;
29857 referenced |= 1 << 3;
29858 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29860 return cycles;
29861 #undef FLD
29864 static int
29865 model_fr500_sracc (SIM_CPU *current_cpu, void *sem_arg)
29867 #define FLD(f) abuf->fields.sfmt_addcc.f
29868 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29869 const IDESC * UNUSED idesc = abuf->idesc;
29870 int cycles = 0;
29872 int referenced = 0;
29873 int UNUSED insn_referenced = abuf->written;
29874 INT in_GRi = -1;
29875 INT in_GRj = -1;
29876 INT out_GRk = -1;
29877 INT out_ICCi_1 = -1;
29878 in_GRi = FLD (in_GRi);
29879 in_GRj = FLD (in_GRj);
29880 out_GRk = FLD (out_GRk);
29881 out_ICCi_1 = FLD (out_ICCi_1);
29882 referenced |= 1 << 0;
29883 referenced |= 1 << 1;
29884 referenced |= 1 << 2;
29885 referenced |= 1 << 3;
29886 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29888 return cycles;
29889 #undef FLD
29892 static int
29893 model_fr500_smulcc (SIM_CPU *current_cpu, void *sem_arg)
29895 #define FLD(f) abuf->fields.sfmt_smulcc.f
29896 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29897 const IDESC * UNUSED idesc = abuf->idesc;
29898 int cycles = 0;
29900 int referenced = 0;
29901 int UNUSED insn_referenced = abuf->written;
29902 INT in_GRi = -1;
29903 INT in_GRj = -1;
29904 INT out_GRdoublek = -1;
29905 INT out_ICCi_1 = -1;
29906 in_GRi = FLD (in_GRi);
29907 in_GRj = FLD (in_GRj);
29908 out_GRdoublek = FLD (out_GRdoublek);
29909 out_ICCi_1 = FLD (out_ICCi_1);
29910 referenced |= 1 << 0;
29911 referenced |= 1 << 1;
29912 referenced |= 1 << 2;
29913 referenced |= 1 << 3;
29914 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
29916 return cycles;
29917 #undef FLD
29920 static int
29921 model_fr500_umulcc (SIM_CPU *current_cpu, void *sem_arg)
29923 #define FLD(f) abuf->fields.sfmt_smulcc.f
29924 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29925 const IDESC * UNUSED idesc = abuf->idesc;
29926 int cycles = 0;
29928 int referenced = 0;
29929 int UNUSED insn_referenced = abuf->written;
29930 INT in_GRi = -1;
29931 INT in_GRj = -1;
29932 INT out_GRdoublek = -1;
29933 INT out_ICCi_1 = -1;
29934 in_GRi = FLD (in_GRi);
29935 in_GRj = FLD (in_GRj);
29936 out_GRdoublek = FLD (out_GRdoublek);
29937 out_ICCi_1 = FLD (out_ICCi_1);
29938 referenced |= 1 << 0;
29939 referenced |= 1 << 1;
29940 referenced |= 1 << 2;
29941 referenced |= 1 << 3;
29942 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
29944 return cycles;
29945 #undef FLD
29948 static int
29949 model_fr500_caddcc (SIM_CPU *current_cpu, void *sem_arg)
29951 #define FLD(f) abuf->fields.sfmt_caddcc.f
29952 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29953 const IDESC * UNUSED idesc = abuf->idesc;
29954 int cycles = 0;
29956 int referenced = 0;
29957 int UNUSED insn_referenced = abuf->written;
29958 INT in_GRi = -1;
29959 INT in_GRj = -1;
29960 INT out_GRk = -1;
29961 INT out_ICCi_1 = -1;
29962 in_GRi = FLD (in_GRi);
29963 in_GRj = FLD (in_GRj);
29964 out_GRk = FLD (out_GRk);
29965 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29966 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29967 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
29968 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29970 return cycles;
29971 #undef FLD
29974 static int
29975 model_fr500_csubcc (SIM_CPU *current_cpu, void *sem_arg)
29977 #define FLD(f) abuf->fields.sfmt_caddcc.f
29978 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
29979 const IDESC * UNUSED idesc = abuf->idesc;
29980 int cycles = 0;
29982 int referenced = 0;
29983 int UNUSED insn_referenced = abuf->written;
29984 INT in_GRi = -1;
29985 INT in_GRj = -1;
29986 INT out_GRk = -1;
29987 INT out_ICCi_1 = -1;
29988 in_GRi = FLD (in_GRi);
29989 in_GRj = FLD (in_GRj);
29990 out_GRk = FLD (out_GRk);
29991 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
29992 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
29993 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
29994 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
29996 return cycles;
29997 #undef FLD
30000 static int
30001 model_fr500_csmulcc (SIM_CPU *current_cpu, void *sem_arg)
30003 #define FLD(f) abuf->fields.sfmt_csmulcc.f
30004 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30005 const IDESC * UNUSED idesc = abuf->idesc;
30006 int cycles = 0;
30008 int referenced = 0;
30009 int UNUSED insn_referenced = abuf->written;
30010 INT in_GRi = -1;
30011 INT in_GRj = -1;
30012 INT out_GRdoublek = -1;
30013 INT out_ICCi_1 = -1;
30014 in_GRi = FLD (in_GRi);
30015 in_GRj = FLD (in_GRj);
30016 out_GRdoublek = FLD (out_GRdoublek);
30017 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
30018 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
30019 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
30020 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
30022 return cycles;
30023 #undef FLD
30026 static int
30027 model_fr500_candcc (SIM_CPU *current_cpu, void *sem_arg)
30029 #define FLD(f) abuf->fields.sfmt_caddcc.f
30030 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30031 const IDESC * UNUSED idesc = abuf->idesc;
30032 int cycles = 0;
30034 int referenced = 0;
30035 int UNUSED insn_referenced = abuf->written;
30036 INT in_GRi = -1;
30037 INT in_GRj = -1;
30038 INT out_GRk = -1;
30039 INT out_ICCi_1 = -1;
30040 in_GRi = FLD (in_GRi);
30041 in_GRj = FLD (in_GRj);
30042 out_GRk = FLD (out_GRk);
30043 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
30044 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
30045 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
30046 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30048 return cycles;
30049 #undef FLD
30052 static int
30053 model_fr500_corcc (SIM_CPU *current_cpu, void *sem_arg)
30055 #define FLD(f) abuf->fields.sfmt_caddcc.f
30056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30057 const IDESC * UNUSED idesc = abuf->idesc;
30058 int cycles = 0;
30060 int referenced = 0;
30061 int UNUSED insn_referenced = abuf->written;
30062 INT in_GRi = -1;
30063 INT in_GRj = -1;
30064 INT out_GRk = -1;
30065 INT out_ICCi_1 = -1;
30066 in_GRi = FLD (in_GRi);
30067 in_GRj = FLD (in_GRj);
30068 out_GRk = FLD (out_GRk);
30069 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
30070 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
30071 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
30072 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30074 return cycles;
30075 #undef FLD
30078 static int
30079 model_fr500_cxorcc (SIM_CPU *current_cpu, void *sem_arg)
30081 #define FLD(f) abuf->fields.sfmt_caddcc.f
30082 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30083 const IDESC * UNUSED idesc = abuf->idesc;
30084 int cycles = 0;
30086 int referenced = 0;
30087 int UNUSED insn_referenced = abuf->written;
30088 INT in_GRi = -1;
30089 INT in_GRj = -1;
30090 INT out_GRk = -1;
30091 INT out_ICCi_1 = -1;
30092 in_GRi = FLD (in_GRi);
30093 in_GRj = FLD (in_GRj);
30094 out_GRk = FLD (out_GRk);
30095 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
30096 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
30097 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
30098 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30100 return cycles;
30101 #undef FLD
30104 static int
30105 model_fr500_csllcc (SIM_CPU *current_cpu, void *sem_arg)
30107 #define FLD(f) abuf->fields.sfmt_caddcc.f
30108 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30109 const IDESC * UNUSED idesc = abuf->idesc;
30110 int cycles = 0;
30112 int referenced = 0;
30113 int UNUSED insn_referenced = abuf->written;
30114 INT in_GRi = -1;
30115 INT in_GRj = -1;
30116 INT out_GRk = -1;
30117 INT out_ICCi_1 = -1;
30118 in_GRi = FLD (in_GRi);
30119 in_GRj = FLD (in_GRj);
30120 out_GRk = FLD (out_GRk);
30121 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
30122 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
30123 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
30124 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30126 return cycles;
30127 #undef FLD
30130 static int
30131 model_fr500_csrlcc (SIM_CPU *current_cpu, void *sem_arg)
30133 #define FLD(f) abuf->fields.sfmt_caddcc.f
30134 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30135 const IDESC * UNUSED idesc = abuf->idesc;
30136 int cycles = 0;
30138 int referenced = 0;
30139 int UNUSED insn_referenced = abuf->written;
30140 INT in_GRi = -1;
30141 INT in_GRj = -1;
30142 INT out_GRk = -1;
30143 INT out_ICCi_1 = -1;
30144 in_GRi = FLD (in_GRi);
30145 in_GRj = FLD (in_GRj);
30146 out_GRk = FLD (out_GRk);
30147 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
30148 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
30149 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
30150 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30152 return cycles;
30153 #undef FLD
30156 static int
30157 model_fr500_csracc (SIM_CPU *current_cpu, void *sem_arg)
30159 #define FLD(f) abuf->fields.sfmt_caddcc.f
30160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30161 const IDESC * UNUSED idesc = abuf->idesc;
30162 int cycles = 0;
30164 int referenced = 0;
30165 int UNUSED insn_referenced = abuf->written;
30166 INT in_GRi = -1;
30167 INT in_GRj = -1;
30168 INT out_GRk = -1;
30169 INT out_ICCi_1 = -1;
30170 in_GRi = FLD (in_GRi);
30171 in_GRj = FLD (in_GRj);
30172 out_GRk = FLD (out_GRk);
30173 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
30174 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
30175 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
30176 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30178 return cycles;
30179 #undef FLD
30182 static int
30183 model_fr500_addx (SIM_CPU *current_cpu, void *sem_arg)
30185 #define FLD(f) abuf->fields.sfmt_addcc.f
30186 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30187 const IDESC * UNUSED idesc = abuf->idesc;
30188 int cycles = 0;
30190 int referenced = 0;
30191 int UNUSED insn_referenced = abuf->written;
30192 INT in_GRi = -1;
30193 INT in_GRj = -1;
30194 INT out_GRk = -1;
30195 INT out_ICCi_1 = -1;
30196 in_GRi = FLD (in_GRi);
30197 in_GRj = FLD (in_GRj);
30198 out_GRk = FLD (out_GRk);
30199 referenced |= 1 << 0;
30200 referenced |= 1 << 1;
30201 referenced |= 1 << 2;
30202 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30204 return cycles;
30205 #undef FLD
30208 static int
30209 model_fr500_subx (SIM_CPU *current_cpu, void *sem_arg)
30211 #define FLD(f) abuf->fields.sfmt_addcc.f
30212 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30213 const IDESC * UNUSED idesc = abuf->idesc;
30214 int cycles = 0;
30216 int referenced = 0;
30217 int UNUSED insn_referenced = abuf->written;
30218 INT in_GRi = -1;
30219 INT in_GRj = -1;
30220 INT out_GRk = -1;
30221 INT out_ICCi_1 = -1;
30222 in_GRi = FLD (in_GRi);
30223 in_GRj = FLD (in_GRj);
30224 out_GRk = FLD (out_GRk);
30225 referenced |= 1 << 0;
30226 referenced |= 1 << 1;
30227 referenced |= 1 << 2;
30228 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30230 return cycles;
30231 #undef FLD
30234 static int
30235 model_fr500_addxcc (SIM_CPU *current_cpu, void *sem_arg)
30237 #define FLD(f) abuf->fields.sfmt_addcc.f
30238 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30239 const IDESC * UNUSED idesc = abuf->idesc;
30240 int cycles = 0;
30242 int referenced = 0;
30243 int UNUSED insn_referenced = abuf->written;
30244 INT in_GRi = -1;
30245 INT in_GRj = -1;
30246 INT out_GRk = -1;
30247 INT out_ICCi_1 = -1;
30248 in_GRi = FLD (in_GRi);
30249 in_GRj = FLD (in_GRj);
30250 out_GRk = FLD (out_GRk);
30251 out_ICCi_1 = FLD (out_ICCi_1);
30252 referenced |= 1 << 0;
30253 referenced |= 1 << 1;
30254 referenced |= 1 << 2;
30255 referenced |= 1 << 3;
30256 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30258 return cycles;
30259 #undef FLD
30262 static int
30263 model_fr500_subxcc (SIM_CPU *current_cpu, void *sem_arg)
30265 #define FLD(f) abuf->fields.sfmt_addcc.f
30266 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30267 const IDESC * UNUSED idesc = abuf->idesc;
30268 int cycles = 0;
30270 int referenced = 0;
30271 int UNUSED insn_referenced = abuf->written;
30272 INT in_GRi = -1;
30273 INT in_GRj = -1;
30274 INT out_GRk = -1;
30275 INT out_ICCi_1 = -1;
30276 in_GRi = FLD (in_GRi);
30277 in_GRj = FLD (in_GRj);
30278 out_GRk = FLD (out_GRk);
30279 out_ICCi_1 = FLD (out_ICCi_1);
30280 referenced |= 1 << 0;
30281 referenced |= 1 << 1;
30282 referenced |= 1 << 2;
30283 referenced |= 1 << 3;
30284 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30286 return cycles;
30287 #undef FLD
30290 static int
30291 model_fr500_addss (SIM_CPU *current_cpu, void *sem_arg)
30293 #define FLD(f) abuf->fields.sfmt_addcc.f
30294 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30295 const IDESC * UNUSED idesc = abuf->idesc;
30296 int cycles = 0;
30298 int referenced = 0;
30299 int UNUSED insn_referenced = abuf->written;
30300 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
30302 return cycles;
30303 #undef FLD
30306 static int
30307 model_fr500_subss (SIM_CPU *current_cpu, void *sem_arg)
30309 #define FLD(f) abuf->fields.sfmt_addcc.f
30310 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30311 const IDESC * UNUSED idesc = abuf->idesc;
30312 int cycles = 0;
30314 int referenced = 0;
30315 int UNUSED insn_referenced = abuf->written;
30316 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
30318 return cycles;
30319 #undef FLD
30322 static int
30323 model_fr500_addi (SIM_CPU *current_cpu, void *sem_arg)
30325 #define FLD(f) abuf->fields.sfmt_swapi.f
30326 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30327 const IDESC * UNUSED idesc = abuf->idesc;
30328 int cycles = 0;
30330 int referenced = 0;
30331 int UNUSED insn_referenced = abuf->written;
30332 INT in_GRi = -1;
30333 INT in_GRj = -1;
30334 INT out_GRk = -1;
30335 INT out_ICCi_1 = -1;
30336 in_GRi = FLD (in_GRi);
30337 out_GRk = FLD (out_GRk);
30338 referenced |= 1 << 0;
30339 referenced |= 1 << 2;
30340 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30342 return cycles;
30343 #undef FLD
30346 static int
30347 model_fr500_subi (SIM_CPU *current_cpu, void *sem_arg)
30349 #define FLD(f) abuf->fields.sfmt_swapi.f
30350 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30351 const IDESC * UNUSED idesc = abuf->idesc;
30352 int cycles = 0;
30354 int referenced = 0;
30355 int UNUSED insn_referenced = abuf->written;
30356 INT in_GRi = -1;
30357 INT in_GRj = -1;
30358 INT out_GRk = -1;
30359 INT out_ICCi_1 = -1;
30360 in_GRi = FLD (in_GRi);
30361 out_GRk = FLD (out_GRk);
30362 referenced |= 1 << 0;
30363 referenced |= 1 << 2;
30364 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30366 return cycles;
30367 #undef FLD
30370 static int
30371 model_fr500_andi (SIM_CPU *current_cpu, void *sem_arg)
30373 #define FLD(f) abuf->fields.sfmt_swapi.f
30374 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30375 const IDESC * UNUSED idesc = abuf->idesc;
30376 int cycles = 0;
30378 int referenced = 0;
30379 int UNUSED insn_referenced = abuf->written;
30380 INT in_GRi = -1;
30381 INT in_GRj = -1;
30382 INT out_GRk = -1;
30383 INT out_ICCi_1 = -1;
30384 in_GRi = FLD (in_GRi);
30385 out_GRk = FLD (out_GRk);
30386 referenced |= 1 << 0;
30387 referenced |= 1 << 2;
30388 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30390 return cycles;
30391 #undef FLD
30394 static int
30395 model_fr500_ori (SIM_CPU *current_cpu, void *sem_arg)
30397 #define FLD(f) abuf->fields.sfmt_swapi.f
30398 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30399 const IDESC * UNUSED idesc = abuf->idesc;
30400 int cycles = 0;
30402 int referenced = 0;
30403 int UNUSED insn_referenced = abuf->written;
30404 INT in_GRi = -1;
30405 INT in_GRj = -1;
30406 INT out_GRk = -1;
30407 INT out_ICCi_1 = -1;
30408 in_GRi = FLD (in_GRi);
30409 out_GRk = FLD (out_GRk);
30410 referenced |= 1 << 0;
30411 referenced |= 1 << 2;
30412 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30414 return cycles;
30415 #undef FLD
30418 static int
30419 model_fr500_xori (SIM_CPU *current_cpu, void *sem_arg)
30421 #define FLD(f) abuf->fields.sfmt_swapi.f
30422 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30423 const IDESC * UNUSED idesc = abuf->idesc;
30424 int cycles = 0;
30426 int referenced = 0;
30427 int UNUSED insn_referenced = abuf->written;
30428 INT in_GRi = -1;
30429 INT in_GRj = -1;
30430 INT out_GRk = -1;
30431 INT out_ICCi_1 = -1;
30432 in_GRi = FLD (in_GRi);
30433 out_GRk = FLD (out_GRk);
30434 referenced |= 1 << 0;
30435 referenced |= 1 << 2;
30436 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30438 return cycles;
30439 #undef FLD
30442 static int
30443 model_fr500_sdivi (SIM_CPU *current_cpu, void *sem_arg)
30445 #define FLD(f) abuf->fields.sfmt_swapi.f
30446 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30447 const IDESC * UNUSED idesc = abuf->idesc;
30448 int cycles = 0;
30450 int referenced = 0;
30451 int UNUSED insn_referenced = abuf->written;
30452 INT in_GRi = -1;
30453 INT in_GRj = -1;
30454 INT out_GRk = -1;
30455 INT out_ICCi_1 = -1;
30456 in_GRi = FLD (in_GRi);
30457 out_GRk = FLD (out_GRk);
30458 referenced |= 1 << 0;
30459 referenced |= 1 << 2;
30460 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30462 return cycles;
30463 #undef FLD
30466 static int
30467 model_fr500_nsdivi (SIM_CPU *current_cpu, void *sem_arg)
30469 #define FLD(f) abuf->fields.sfmt_swapi.f
30470 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30471 const IDESC * UNUSED idesc = abuf->idesc;
30472 int cycles = 0;
30474 int referenced = 0;
30475 int UNUSED insn_referenced = abuf->written;
30476 INT in_GRi = -1;
30477 INT in_GRj = -1;
30478 INT out_GRk = -1;
30479 INT out_ICCi_1 = -1;
30480 in_GRi = FLD (in_GRi);
30481 out_GRk = FLD (out_GRk);
30482 referenced |= 1 << 0;
30483 referenced |= 1 << 2;
30484 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30486 return cycles;
30487 #undef FLD
30490 static int
30491 model_fr500_udivi (SIM_CPU *current_cpu, void *sem_arg)
30493 #define FLD(f) abuf->fields.sfmt_swapi.f
30494 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30495 const IDESC * UNUSED idesc = abuf->idesc;
30496 int cycles = 0;
30498 int referenced = 0;
30499 int UNUSED insn_referenced = abuf->written;
30500 INT in_GRi = -1;
30501 INT in_GRj = -1;
30502 INT out_GRk = -1;
30503 INT out_ICCi_1 = -1;
30504 in_GRi = FLD (in_GRi);
30505 out_GRk = FLD (out_GRk);
30506 referenced |= 1 << 0;
30507 referenced |= 1 << 2;
30508 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30510 return cycles;
30511 #undef FLD
30514 static int
30515 model_fr500_nudivi (SIM_CPU *current_cpu, void *sem_arg)
30517 #define FLD(f) abuf->fields.sfmt_swapi.f
30518 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30519 const IDESC * UNUSED idesc = abuf->idesc;
30520 int cycles = 0;
30522 int referenced = 0;
30523 int UNUSED insn_referenced = abuf->written;
30524 INT in_GRi = -1;
30525 INT in_GRj = -1;
30526 INT out_GRk = -1;
30527 INT out_ICCi_1 = -1;
30528 in_GRi = FLD (in_GRi);
30529 out_GRk = FLD (out_GRk);
30530 referenced |= 1 << 0;
30531 referenced |= 1 << 2;
30532 cycles += frvbf_model_fr500_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30534 return cycles;
30535 #undef FLD
30538 static int
30539 model_fr500_smuli (SIM_CPU *current_cpu, void *sem_arg)
30541 #define FLD(f) abuf->fields.sfmt_smuli.f
30542 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30543 const IDESC * UNUSED idesc = abuf->idesc;
30544 int cycles = 0;
30546 int referenced = 0;
30547 int UNUSED insn_referenced = abuf->written;
30548 INT in_GRi = -1;
30549 INT in_GRj = -1;
30550 INT out_GRdoublek = -1;
30551 INT out_ICCi_1 = -1;
30552 in_GRi = FLD (in_GRi);
30553 out_GRdoublek = FLD (out_GRdoublek);
30554 referenced |= 1 << 0;
30555 referenced |= 1 << 2;
30556 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
30558 return cycles;
30559 #undef FLD
30562 static int
30563 model_fr500_umuli (SIM_CPU *current_cpu, void *sem_arg)
30565 #define FLD(f) abuf->fields.sfmt_smuli.f
30566 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30567 const IDESC * UNUSED idesc = abuf->idesc;
30568 int cycles = 0;
30570 int referenced = 0;
30571 int UNUSED insn_referenced = abuf->written;
30572 INT in_GRi = -1;
30573 INT in_GRj = -1;
30574 INT out_GRdoublek = -1;
30575 INT out_ICCi_1 = -1;
30576 in_GRi = FLD (in_GRi);
30577 out_GRdoublek = FLD (out_GRdoublek);
30578 referenced |= 1 << 0;
30579 referenced |= 1 << 2;
30580 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
30582 return cycles;
30583 #undef FLD
30586 static int
30587 model_fr500_slli (SIM_CPU *current_cpu, void *sem_arg)
30589 #define FLD(f) abuf->fields.sfmt_swapi.f
30590 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30591 const IDESC * UNUSED idesc = abuf->idesc;
30592 int cycles = 0;
30594 int referenced = 0;
30595 int UNUSED insn_referenced = abuf->written;
30596 INT in_GRi = -1;
30597 INT in_GRj = -1;
30598 INT out_GRk = -1;
30599 INT out_ICCi_1 = -1;
30600 in_GRi = FLD (in_GRi);
30601 out_GRk = FLD (out_GRk);
30602 referenced |= 1 << 0;
30603 referenced |= 1 << 2;
30604 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30606 return cycles;
30607 #undef FLD
30610 static int
30611 model_fr500_srli (SIM_CPU *current_cpu, void *sem_arg)
30613 #define FLD(f) abuf->fields.sfmt_swapi.f
30614 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30615 const IDESC * UNUSED idesc = abuf->idesc;
30616 int cycles = 0;
30618 int referenced = 0;
30619 int UNUSED insn_referenced = abuf->written;
30620 INT in_GRi = -1;
30621 INT in_GRj = -1;
30622 INT out_GRk = -1;
30623 INT out_ICCi_1 = -1;
30624 in_GRi = FLD (in_GRi);
30625 out_GRk = FLD (out_GRk);
30626 referenced |= 1 << 0;
30627 referenced |= 1 << 2;
30628 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30630 return cycles;
30631 #undef FLD
30634 static int
30635 model_fr500_srai (SIM_CPU *current_cpu, void *sem_arg)
30637 #define FLD(f) abuf->fields.sfmt_swapi.f
30638 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30639 const IDESC * UNUSED idesc = abuf->idesc;
30640 int cycles = 0;
30642 int referenced = 0;
30643 int UNUSED insn_referenced = abuf->written;
30644 INT in_GRi = -1;
30645 INT in_GRj = -1;
30646 INT out_GRk = -1;
30647 INT out_ICCi_1 = -1;
30648 in_GRi = FLD (in_GRi);
30649 out_GRk = FLD (out_GRk);
30650 referenced |= 1 << 0;
30651 referenced |= 1 << 2;
30652 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30654 return cycles;
30655 #undef FLD
30658 static int
30659 model_fr500_scani (SIM_CPU *current_cpu, void *sem_arg)
30661 #define FLD(f) abuf->fields.sfmt_swapi.f
30662 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30663 const IDESC * UNUSED idesc = abuf->idesc;
30664 int cycles = 0;
30666 int referenced = 0;
30667 int UNUSED insn_referenced = abuf->written;
30668 INT in_GRi = -1;
30669 INT in_GRj = -1;
30670 INT out_GRk = -1;
30671 INT out_ICCi_1 = -1;
30672 in_GRi = FLD (in_GRi);
30673 out_GRk = FLD (out_GRk);
30674 referenced |= 1 << 0;
30675 referenced |= 1 << 2;
30676 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30678 return cycles;
30679 #undef FLD
30682 static int
30683 model_fr500_addicc (SIM_CPU *current_cpu, void *sem_arg)
30685 #define FLD(f) abuf->fields.sfmt_addicc.f
30686 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30687 const IDESC * UNUSED idesc = abuf->idesc;
30688 int cycles = 0;
30690 int referenced = 0;
30691 int UNUSED insn_referenced = abuf->written;
30692 INT in_GRi = -1;
30693 INT in_GRj = -1;
30694 INT out_GRk = -1;
30695 INT out_ICCi_1 = -1;
30696 in_GRi = FLD (in_GRi);
30697 out_GRk = FLD (out_GRk);
30698 out_ICCi_1 = FLD (out_ICCi_1);
30699 referenced |= 1 << 0;
30700 referenced |= 1 << 2;
30701 referenced |= 1 << 3;
30702 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30704 return cycles;
30705 #undef FLD
30708 static int
30709 model_fr500_subicc (SIM_CPU *current_cpu, void *sem_arg)
30711 #define FLD(f) abuf->fields.sfmt_addicc.f
30712 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30713 const IDESC * UNUSED idesc = abuf->idesc;
30714 int cycles = 0;
30716 int referenced = 0;
30717 int UNUSED insn_referenced = abuf->written;
30718 INT in_GRi = -1;
30719 INT in_GRj = -1;
30720 INT out_GRk = -1;
30721 INT out_ICCi_1 = -1;
30722 in_GRi = FLD (in_GRi);
30723 out_GRk = FLD (out_GRk);
30724 out_ICCi_1 = FLD (out_ICCi_1);
30725 referenced |= 1 << 0;
30726 referenced |= 1 << 2;
30727 referenced |= 1 << 3;
30728 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30730 return cycles;
30731 #undef FLD
30734 static int
30735 model_fr500_andicc (SIM_CPU *current_cpu, void *sem_arg)
30737 #define FLD(f) abuf->fields.sfmt_addicc.f
30738 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30739 const IDESC * UNUSED idesc = abuf->idesc;
30740 int cycles = 0;
30742 int referenced = 0;
30743 int UNUSED insn_referenced = abuf->written;
30744 INT in_GRi = -1;
30745 INT in_GRj = -1;
30746 INT out_GRk = -1;
30747 INT out_ICCi_1 = -1;
30748 in_GRi = FLD (in_GRi);
30749 out_GRk = FLD (out_GRk);
30750 out_ICCi_1 = FLD (out_ICCi_1);
30751 referenced |= 1 << 0;
30752 referenced |= 1 << 2;
30753 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
30754 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30756 return cycles;
30757 #undef FLD
30760 static int
30761 model_fr500_oricc (SIM_CPU *current_cpu, void *sem_arg)
30763 #define FLD(f) abuf->fields.sfmt_addicc.f
30764 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30765 const IDESC * UNUSED idesc = abuf->idesc;
30766 int cycles = 0;
30768 int referenced = 0;
30769 int UNUSED insn_referenced = abuf->written;
30770 INT in_GRi = -1;
30771 INT in_GRj = -1;
30772 INT out_GRk = -1;
30773 INT out_ICCi_1 = -1;
30774 in_GRi = FLD (in_GRi);
30775 out_GRk = FLD (out_GRk);
30776 out_ICCi_1 = FLD (out_ICCi_1);
30777 referenced |= 1 << 0;
30778 referenced |= 1 << 2;
30779 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
30780 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30782 return cycles;
30783 #undef FLD
30786 static int
30787 model_fr500_xoricc (SIM_CPU *current_cpu, void *sem_arg)
30789 #define FLD(f) abuf->fields.sfmt_addicc.f
30790 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30791 const IDESC * UNUSED idesc = abuf->idesc;
30792 int cycles = 0;
30794 int referenced = 0;
30795 int UNUSED insn_referenced = abuf->written;
30796 INT in_GRi = -1;
30797 INT in_GRj = -1;
30798 INT out_GRk = -1;
30799 INT out_ICCi_1 = -1;
30800 in_GRi = FLD (in_GRi);
30801 out_GRk = FLD (out_GRk);
30802 out_ICCi_1 = FLD (out_ICCi_1);
30803 referenced |= 1 << 0;
30804 referenced |= 1 << 2;
30805 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
30806 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30808 return cycles;
30809 #undef FLD
30812 static int
30813 model_fr500_smulicc (SIM_CPU *current_cpu, void *sem_arg)
30815 #define FLD(f) abuf->fields.sfmt_smulicc.f
30816 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30817 const IDESC * UNUSED idesc = abuf->idesc;
30818 int cycles = 0;
30820 int referenced = 0;
30821 int UNUSED insn_referenced = abuf->written;
30822 INT in_GRi = -1;
30823 INT in_GRj = -1;
30824 INT out_GRdoublek = -1;
30825 INT out_ICCi_1 = -1;
30826 in_GRi = FLD (in_GRi);
30827 out_GRdoublek = FLD (out_GRdoublek);
30828 out_ICCi_1 = FLD (out_ICCi_1);
30829 referenced |= 1 << 0;
30830 referenced |= 1 << 2;
30831 referenced |= 1 << 3;
30832 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
30834 return cycles;
30835 #undef FLD
30838 static int
30839 model_fr500_umulicc (SIM_CPU *current_cpu, void *sem_arg)
30841 #define FLD(f) abuf->fields.sfmt_smulicc.f
30842 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30843 const IDESC * UNUSED idesc = abuf->idesc;
30844 int cycles = 0;
30846 int referenced = 0;
30847 int UNUSED insn_referenced = abuf->written;
30848 INT in_GRi = -1;
30849 INT in_GRj = -1;
30850 INT out_GRdoublek = -1;
30851 INT out_ICCi_1 = -1;
30852 in_GRi = FLD (in_GRi);
30853 out_GRdoublek = FLD (out_GRdoublek);
30854 out_ICCi_1 = FLD (out_ICCi_1);
30855 referenced |= 1 << 0;
30856 referenced |= 1 << 2;
30857 referenced |= 1 << 3;
30858 cycles += frvbf_model_fr500_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
30860 return cycles;
30861 #undef FLD
30864 static int
30865 model_fr500_sllicc (SIM_CPU *current_cpu, void *sem_arg)
30867 #define FLD(f) abuf->fields.sfmt_addicc.f
30868 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30869 const IDESC * UNUSED idesc = abuf->idesc;
30870 int cycles = 0;
30872 int referenced = 0;
30873 int UNUSED insn_referenced = abuf->written;
30874 INT in_GRi = -1;
30875 INT in_GRj = -1;
30876 INT out_GRk = -1;
30877 INT out_ICCi_1 = -1;
30878 in_GRi = FLD (in_GRi);
30879 out_GRk = FLD (out_GRk);
30880 out_ICCi_1 = FLD (out_ICCi_1);
30881 referenced |= 1 << 0;
30882 referenced |= 1 << 2;
30883 referenced |= 1 << 3;
30884 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30886 return cycles;
30887 #undef FLD
30890 static int
30891 model_fr500_srlicc (SIM_CPU *current_cpu, void *sem_arg)
30893 #define FLD(f) abuf->fields.sfmt_addicc.f
30894 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30895 const IDESC * UNUSED idesc = abuf->idesc;
30896 int cycles = 0;
30898 int referenced = 0;
30899 int UNUSED insn_referenced = abuf->written;
30900 INT in_GRi = -1;
30901 INT in_GRj = -1;
30902 INT out_GRk = -1;
30903 INT out_ICCi_1 = -1;
30904 in_GRi = FLD (in_GRi);
30905 out_GRk = FLD (out_GRk);
30906 out_ICCi_1 = FLD (out_ICCi_1);
30907 referenced |= 1 << 0;
30908 referenced |= 1 << 2;
30909 referenced |= 1 << 3;
30910 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30912 return cycles;
30913 #undef FLD
30916 static int
30917 model_fr500_sraicc (SIM_CPU *current_cpu, void *sem_arg)
30919 #define FLD(f) abuf->fields.sfmt_addicc.f
30920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30921 const IDESC * UNUSED idesc = abuf->idesc;
30922 int cycles = 0;
30924 int referenced = 0;
30925 int UNUSED insn_referenced = abuf->written;
30926 INT in_GRi = -1;
30927 INT in_GRj = -1;
30928 INT out_GRk = -1;
30929 INT out_ICCi_1 = -1;
30930 in_GRi = FLD (in_GRi);
30931 out_GRk = FLD (out_GRk);
30932 out_ICCi_1 = FLD (out_ICCi_1);
30933 referenced |= 1 << 0;
30934 referenced |= 1 << 2;
30935 referenced |= 1 << 3;
30936 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30938 return cycles;
30939 #undef FLD
30942 static int
30943 model_fr500_addxi (SIM_CPU *current_cpu, void *sem_arg)
30945 #define FLD(f) abuf->fields.sfmt_addicc.f
30946 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30947 const IDESC * UNUSED idesc = abuf->idesc;
30948 int cycles = 0;
30950 int referenced = 0;
30951 int UNUSED insn_referenced = abuf->written;
30952 INT in_GRi = -1;
30953 INT in_GRj = -1;
30954 INT out_GRk = -1;
30955 INT out_ICCi_1 = -1;
30956 in_GRi = FLD (in_GRi);
30957 out_GRk = FLD (out_GRk);
30958 referenced |= 1 << 0;
30959 referenced |= 1 << 2;
30960 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30962 return cycles;
30963 #undef FLD
30966 static int
30967 model_fr500_subxi (SIM_CPU *current_cpu, void *sem_arg)
30969 #define FLD(f) abuf->fields.sfmt_addicc.f
30970 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30971 const IDESC * UNUSED idesc = abuf->idesc;
30972 int cycles = 0;
30974 int referenced = 0;
30975 int UNUSED insn_referenced = abuf->written;
30976 INT in_GRi = -1;
30977 INT in_GRj = -1;
30978 INT out_GRk = -1;
30979 INT out_ICCi_1 = -1;
30980 in_GRi = FLD (in_GRi);
30981 out_GRk = FLD (out_GRk);
30982 referenced |= 1 << 0;
30983 referenced |= 1 << 2;
30984 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
30986 return cycles;
30987 #undef FLD
30990 static int
30991 model_fr500_addxicc (SIM_CPU *current_cpu, void *sem_arg)
30993 #define FLD(f) abuf->fields.sfmt_addicc.f
30994 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
30995 const IDESC * UNUSED idesc = abuf->idesc;
30996 int cycles = 0;
30998 int referenced = 0;
30999 int UNUSED insn_referenced = abuf->written;
31000 INT in_GRi = -1;
31001 INT in_GRj = -1;
31002 INT out_GRk = -1;
31003 INT out_ICCi_1 = -1;
31004 in_GRi = FLD (in_GRi);
31005 out_GRk = FLD (out_GRk);
31006 out_ICCi_1 = FLD (out_ICCi_1);
31007 referenced |= 1 << 0;
31008 referenced |= 1 << 2;
31009 referenced |= 1 << 3;
31010 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
31012 return cycles;
31013 #undef FLD
31016 static int
31017 model_fr500_subxicc (SIM_CPU *current_cpu, void *sem_arg)
31019 #define FLD(f) abuf->fields.sfmt_addicc.f
31020 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31021 const IDESC * UNUSED idesc = abuf->idesc;
31022 int cycles = 0;
31024 int referenced = 0;
31025 int UNUSED insn_referenced = abuf->written;
31026 INT in_GRi = -1;
31027 INT in_GRj = -1;
31028 INT out_GRk = -1;
31029 INT out_ICCi_1 = -1;
31030 in_GRi = FLD (in_GRi);
31031 out_GRk = FLD (out_GRk);
31032 out_ICCi_1 = FLD (out_ICCi_1);
31033 referenced |= 1 << 0;
31034 referenced |= 1 << 2;
31035 referenced |= 1 << 3;
31036 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
31038 return cycles;
31039 #undef FLD
31042 static int
31043 model_fr500_cmpb (SIM_CPU *current_cpu, void *sem_arg)
31045 #define FLD(f) abuf->fields.sfmt_smulcc.f
31046 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31047 const IDESC * UNUSED idesc = abuf->idesc;
31048 int cycles = 0;
31050 int referenced = 0;
31051 int UNUSED insn_referenced = abuf->written;
31052 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
31054 return cycles;
31055 #undef FLD
31058 static int
31059 model_fr500_cmpba (SIM_CPU *current_cpu, void *sem_arg)
31061 #define FLD(f) abuf->fields.sfmt_smulcc.f
31062 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31063 const IDESC * UNUSED idesc = abuf->idesc;
31064 int cycles = 0;
31066 int referenced = 0;
31067 int UNUSED insn_referenced = abuf->written;
31068 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
31070 return cycles;
31071 #undef FLD
31074 static int
31075 model_fr500_setlo (SIM_CPU *current_cpu, void *sem_arg)
31077 #define FLD(f) abuf->fields.sfmt_setlo.f
31078 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31079 const IDESC * UNUSED idesc = abuf->idesc;
31080 int cycles = 0;
31082 int referenced = 0;
31083 int UNUSED insn_referenced = abuf->written;
31084 INT out_GRkhi = -1;
31085 INT out_GRklo = -1;
31086 out_GRklo = FLD (out_GRklo);
31087 referenced |= 1 << 1;
31088 cycles += frvbf_model_fr500_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
31090 return cycles;
31091 #undef FLD
31094 static int
31095 model_fr500_sethi (SIM_CPU *current_cpu, void *sem_arg)
31097 #define FLD(f) abuf->fields.sfmt_sethi.f
31098 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31099 const IDESC * UNUSED idesc = abuf->idesc;
31100 int cycles = 0;
31102 int referenced = 0;
31103 int UNUSED insn_referenced = abuf->written;
31104 INT out_GRkhi = -1;
31105 INT out_GRklo = -1;
31106 out_GRkhi = FLD (out_GRkhi);
31107 referenced |= 1 << 0;
31108 cycles += frvbf_model_fr500_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
31110 return cycles;
31111 #undef FLD
31114 static int
31115 model_fr500_setlos (SIM_CPU *current_cpu, void *sem_arg)
31117 #define FLD(f) abuf->fields.sfmt_setlos.f
31118 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31119 const IDESC * UNUSED idesc = abuf->idesc;
31120 int cycles = 0;
31122 int referenced = 0;
31123 int UNUSED insn_referenced = abuf->written;
31124 INT in_GRi = -1;
31125 INT in_GRj = -1;
31126 INT out_GRk = -1;
31127 INT out_ICCi_1 = -1;
31128 out_GRk = FLD (out_GRk);
31129 referenced |= 1 << 2;
31130 cycles += frvbf_model_fr500_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
31132 return cycles;
31133 #undef FLD
31136 static int
31137 model_fr500_ldsb (SIM_CPU *current_cpu, void *sem_arg)
31139 #define FLD(f) abuf->fields.sfmt_addcc.f
31140 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31141 const IDESC * UNUSED idesc = abuf->idesc;
31142 int cycles = 0;
31144 int referenced = 0;
31145 int UNUSED insn_referenced = abuf->written;
31146 INT in_GRi = -1;
31147 INT in_GRj = -1;
31148 INT out_GRk = -1;
31149 INT out_GRdoublek = -1;
31150 in_GRi = FLD (in_GRi);
31151 in_GRj = FLD (in_GRj);
31152 out_GRk = FLD (out_GRk);
31153 referenced |= 1 << 0;
31154 referenced |= 1 << 1;
31155 referenced |= 1 << 2;
31156 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31158 return cycles;
31159 #undef FLD
31162 static int
31163 model_fr500_ldub (SIM_CPU *current_cpu, void *sem_arg)
31165 #define FLD(f) abuf->fields.sfmt_addcc.f
31166 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31167 const IDESC * UNUSED idesc = abuf->idesc;
31168 int cycles = 0;
31170 int referenced = 0;
31171 int UNUSED insn_referenced = abuf->written;
31172 INT in_GRi = -1;
31173 INT in_GRj = -1;
31174 INT out_GRk = -1;
31175 INT out_GRdoublek = -1;
31176 in_GRi = FLD (in_GRi);
31177 in_GRj = FLD (in_GRj);
31178 out_GRk = FLD (out_GRk);
31179 referenced |= 1 << 0;
31180 referenced |= 1 << 1;
31181 referenced |= 1 << 2;
31182 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31184 return cycles;
31185 #undef FLD
31188 static int
31189 model_fr500_ldsh (SIM_CPU *current_cpu, void *sem_arg)
31191 #define FLD(f) abuf->fields.sfmt_addcc.f
31192 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31193 const IDESC * UNUSED idesc = abuf->idesc;
31194 int cycles = 0;
31196 int referenced = 0;
31197 int UNUSED insn_referenced = abuf->written;
31198 INT in_GRi = -1;
31199 INT in_GRj = -1;
31200 INT out_GRk = -1;
31201 INT out_GRdoublek = -1;
31202 in_GRi = FLD (in_GRi);
31203 in_GRj = FLD (in_GRj);
31204 out_GRk = FLD (out_GRk);
31205 referenced |= 1 << 0;
31206 referenced |= 1 << 1;
31207 referenced |= 1 << 2;
31208 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31210 return cycles;
31211 #undef FLD
31214 static int
31215 model_fr500_lduh (SIM_CPU *current_cpu, void *sem_arg)
31217 #define FLD(f) abuf->fields.sfmt_addcc.f
31218 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31219 const IDESC * UNUSED idesc = abuf->idesc;
31220 int cycles = 0;
31222 int referenced = 0;
31223 int UNUSED insn_referenced = abuf->written;
31224 INT in_GRi = -1;
31225 INT in_GRj = -1;
31226 INT out_GRk = -1;
31227 INT out_GRdoublek = -1;
31228 in_GRi = FLD (in_GRi);
31229 in_GRj = FLD (in_GRj);
31230 out_GRk = FLD (out_GRk);
31231 referenced |= 1 << 0;
31232 referenced |= 1 << 1;
31233 referenced |= 1 << 2;
31234 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31236 return cycles;
31237 #undef FLD
31240 static int
31241 model_fr500_ld (SIM_CPU *current_cpu, void *sem_arg)
31243 #define FLD(f) abuf->fields.sfmt_addcc.f
31244 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31245 const IDESC * UNUSED idesc = abuf->idesc;
31246 int cycles = 0;
31248 int referenced = 0;
31249 int UNUSED insn_referenced = abuf->written;
31250 INT in_GRi = -1;
31251 INT in_GRj = -1;
31252 INT out_GRk = -1;
31253 INT out_GRdoublek = -1;
31254 in_GRi = FLD (in_GRi);
31255 in_GRj = FLD (in_GRj);
31256 out_GRk = FLD (out_GRk);
31257 referenced |= 1 << 0;
31258 referenced |= 1 << 1;
31259 referenced |= 1 << 2;
31260 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31262 return cycles;
31263 #undef FLD
31266 static int
31267 model_fr500_ldbf (SIM_CPU *current_cpu, void *sem_arg)
31269 #define FLD(f) abuf->fields.sfmt_cldbfu.f
31270 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31271 const IDESC * UNUSED idesc = abuf->idesc;
31272 int cycles = 0;
31274 int referenced = 0;
31275 int UNUSED insn_referenced = abuf->written;
31276 INT in_GRi = -1;
31277 INT in_GRj = -1;
31278 INT out_FRintk = -1;
31279 INT out_FRdoublek = -1;
31280 in_GRi = FLD (in_GRi);
31281 in_GRj = FLD (in_GRj);
31282 out_FRintk = FLD (out_FRintk);
31283 referenced |= 1 << 0;
31284 referenced |= 1 << 1;
31285 referenced |= 1 << 2;
31286 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31288 return cycles;
31289 #undef FLD
31292 static int
31293 model_fr500_ldhf (SIM_CPU *current_cpu, void *sem_arg)
31295 #define FLD(f) abuf->fields.sfmt_cldbfu.f
31296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31297 const IDESC * UNUSED idesc = abuf->idesc;
31298 int cycles = 0;
31300 int referenced = 0;
31301 int UNUSED insn_referenced = abuf->written;
31302 INT in_GRi = -1;
31303 INT in_GRj = -1;
31304 INT out_FRintk = -1;
31305 INT out_FRdoublek = -1;
31306 in_GRi = FLD (in_GRi);
31307 in_GRj = FLD (in_GRj);
31308 out_FRintk = FLD (out_FRintk);
31309 referenced |= 1 << 0;
31310 referenced |= 1 << 1;
31311 referenced |= 1 << 2;
31312 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31314 return cycles;
31315 #undef FLD
31318 static int
31319 model_fr500_ldf (SIM_CPU *current_cpu, void *sem_arg)
31321 #define FLD(f) abuf->fields.sfmt_cldbfu.f
31322 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31323 const IDESC * UNUSED idesc = abuf->idesc;
31324 int cycles = 0;
31326 int referenced = 0;
31327 int UNUSED insn_referenced = abuf->written;
31328 INT in_GRi = -1;
31329 INT in_GRj = -1;
31330 INT out_FRintk = -1;
31331 INT out_FRdoublek = -1;
31332 in_GRi = FLD (in_GRi);
31333 in_GRj = FLD (in_GRj);
31334 out_FRintk = FLD (out_FRintk);
31335 referenced |= 1 << 0;
31336 referenced |= 1 << 1;
31337 referenced |= 1 << 2;
31338 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31340 return cycles;
31341 #undef FLD
31344 static int
31345 model_fr500_ldc (SIM_CPU *current_cpu, void *sem_arg)
31347 #define FLD(f) abuf->fields.sfmt_ldcu.f
31348 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31349 const IDESC * UNUSED idesc = abuf->idesc;
31350 int cycles = 0;
31352 int referenced = 0;
31353 int UNUSED insn_referenced = abuf->written;
31354 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
31356 return cycles;
31357 #undef FLD
31360 static int
31361 model_fr500_nldsb (SIM_CPU *current_cpu, void *sem_arg)
31363 #define FLD(f) abuf->fields.sfmt_addcc.f
31364 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31365 const IDESC * UNUSED idesc = abuf->idesc;
31366 int cycles = 0;
31368 int referenced = 0;
31369 int UNUSED insn_referenced = abuf->written;
31370 INT in_GRi = -1;
31371 INT in_GRj = -1;
31372 INT out_GRk = -1;
31373 INT out_GRdoublek = -1;
31374 in_GRi = FLD (in_GRi);
31375 in_GRj = FLD (in_GRj);
31376 out_GRk = FLD (out_GRk);
31377 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31378 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31379 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31380 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31382 return cycles;
31383 #undef FLD
31386 static int
31387 model_fr500_nldub (SIM_CPU *current_cpu, void *sem_arg)
31389 #define FLD(f) abuf->fields.sfmt_addcc.f
31390 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31391 const IDESC * UNUSED idesc = abuf->idesc;
31392 int cycles = 0;
31394 int referenced = 0;
31395 int UNUSED insn_referenced = abuf->written;
31396 INT in_GRi = -1;
31397 INT in_GRj = -1;
31398 INT out_GRk = -1;
31399 INT out_GRdoublek = -1;
31400 in_GRi = FLD (in_GRi);
31401 in_GRj = FLD (in_GRj);
31402 out_GRk = FLD (out_GRk);
31403 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31404 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31405 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31406 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31408 return cycles;
31409 #undef FLD
31412 static int
31413 model_fr500_nldsh (SIM_CPU *current_cpu, void *sem_arg)
31415 #define FLD(f) abuf->fields.sfmt_addcc.f
31416 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31417 const IDESC * UNUSED idesc = abuf->idesc;
31418 int cycles = 0;
31420 int referenced = 0;
31421 int UNUSED insn_referenced = abuf->written;
31422 INT in_GRi = -1;
31423 INT in_GRj = -1;
31424 INT out_GRk = -1;
31425 INT out_GRdoublek = -1;
31426 in_GRi = FLD (in_GRi);
31427 in_GRj = FLD (in_GRj);
31428 out_GRk = FLD (out_GRk);
31429 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31430 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31431 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31432 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31434 return cycles;
31435 #undef FLD
31438 static int
31439 model_fr500_nlduh (SIM_CPU *current_cpu, void *sem_arg)
31441 #define FLD(f) abuf->fields.sfmt_addcc.f
31442 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31443 const IDESC * UNUSED idesc = abuf->idesc;
31444 int cycles = 0;
31446 int referenced = 0;
31447 int UNUSED insn_referenced = abuf->written;
31448 INT in_GRi = -1;
31449 INT in_GRj = -1;
31450 INT out_GRk = -1;
31451 INT out_GRdoublek = -1;
31452 in_GRi = FLD (in_GRi);
31453 in_GRj = FLD (in_GRj);
31454 out_GRk = FLD (out_GRk);
31455 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31456 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31457 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31458 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31460 return cycles;
31461 #undef FLD
31464 static int
31465 model_fr500_nld (SIM_CPU *current_cpu, void *sem_arg)
31467 #define FLD(f) abuf->fields.sfmt_addcc.f
31468 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31469 const IDESC * UNUSED idesc = abuf->idesc;
31470 int cycles = 0;
31472 int referenced = 0;
31473 int UNUSED insn_referenced = abuf->written;
31474 INT in_GRi = -1;
31475 INT in_GRj = -1;
31476 INT out_GRk = -1;
31477 INT out_GRdoublek = -1;
31478 in_GRi = FLD (in_GRi);
31479 in_GRj = FLD (in_GRj);
31480 out_GRk = FLD (out_GRk);
31481 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31482 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31483 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31484 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31486 return cycles;
31487 #undef FLD
31490 static int
31491 model_fr500_nldbf (SIM_CPU *current_cpu, void *sem_arg)
31493 #define FLD(f) abuf->fields.sfmt_cldbfu.f
31494 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31495 const IDESC * UNUSED idesc = abuf->idesc;
31496 int cycles = 0;
31498 int referenced = 0;
31499 int UNUSED insn_referenced = abuf->written;
31500 INT in_GRi = -1;
31501 INT in_GRj = -1;
31502 INT out_FRintk = -1;
31503 INT out_FRdoublek = -1;
31504 in_GRi = FLD (in_GRi);
31505 in_GRj = FLD (in_GRj);
31506 out_FRintk = FLD (out_FRintk);
31507 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31508 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31509 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31510 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31512 return cycles;
31513 #undef FLD
31516 static int
31517 model_fr500_nldhf (SIM_CPU *current_cpu, void *sem_arg)
31519 #define FLD(f) abuf->fields.sfmt_cldbfu.f
31520 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31521 const IDESC * UNUSED idesc = abuf->idesc;
31522 int cycles = 0;
31524 int referenced = 0;
31525 int UNUSED insn_referenced = abuf->written;
31526 INT in_GRi = -1;
31527 INT in_GRj = -1;
31528 INT out_FRintk = -1;
31529 INT out_FRdoublek = -1;
31530 in_GRi = FLD (in_GRi);
31531 in_GRj = FLD (in_GRj);
31532 out_FRintk = FLD (out_FRintk);
31533 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31534 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31535 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31536 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31538 return cycles;
31539 #undef FLD
31542 static int
31543 model_fr500_nldf (SIM_CPU *current_cpu, void *sem_arg)
31545 #define FLD(f) abuf->fields.sfmt_cldbfu.f
31546 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31547 const IDESC * UNUSED idesc = abuf->idesc;
31548 int cycles = 0;
31550 int referenced = 0;
31551 int UNUSED insn_referenced = abuf->written;
31552 INT in_GRi = -1;
31553 INT in_GRj = -1;
31554 INT out_FRintk = -1;
31555 INT out_FRdoublek = -1;
31556 in_GRi = FLD (in_GRi);
31557 in_GRj = FLD (in_GRj);
31558 out_FRintk = FLD (out_FRintk);
31559 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31560 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31561 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
31562 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31564 return cycles;
31565 #undef FLD
31568 static int
31569 model_fr500_ldd (SIM_CPU *current_cpu, void *sem_arg)
31571 #define FLD(f) abuf->fields.sfmt_smulcc.f
31572 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31573 const IDESC * UNUSED idesc = abuf->idesc;
31574 int cycles = 0;
31576 int referenced = 0;
31577 int UNUSED insn_referenced = abuf->written;
31578 INT in_GRi = -1;
31579 INT in_GRj = -1;
31580 INT out_GRk = -1;
31581 INT out_GRdoublek = -1;
31582 in_GRi = FLD (in_GRi);
31583 in_GRj = FLD (in_GRj);
31584 out_GRdoublek = FLD (out_GRdoublek);
31585 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31586 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31587 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
31588 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31590 return cycles;
31591 #undef FLD
31594 static int
31595 model_fr500_lddf (SIM_CPU *current_cpu, void *sem_arg)
31597 #define FLD(f) abuf->fields.sfmt_clddfu.f
31598 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31599 const IDESC * UNUSED idesc = abuf->idesc;
31600 int cycles = 0;
31602 int referenced = 0;
31603 int UNUSED insn_referenced = abuf->written;
31604 INT in_GRi = -1;
31605 INT in_GRj = -1;
31606 INT out_FRintk = -1;
31607 INT out_FRdoublek = -1;
31608 in_GRi = FLD (in_GRi);
31609 in_GRj = FLD (in_GRj);
31610 out_FRdoublek = FLD (out_FRdoublek);
31611 referenced |= 1 << 0;
31612 referenced |= 1 << 1;
31613 referenced |= 1 << 3;
31614 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31616 return cycles;
31617 #undef FLD
31620 static int
31621 model_fr500_lddc (SIM_CPU *current_cpu, void *sem_arg)
31623 #define FLD(f) abuf->fields.sfmt_lddcu.f
31624 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31625 const IDESC * UNUSED idesc = abuf->idesc;
31626 int cycles = 0;
31628 int referenced = 0;
31629 int UNUSED insn_referenced = abuf->written;
31630 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
31632 return cycles;
31633 #undef FLD
31636 static int
31637 model_fr500_nldd (SIM_CPU *current_cpu, void *sem_arg)
31639 #define FLD(f) abuf->fields.sfmt_smulcc.f
31640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31641 const IDESC * UNUSED idesc = abuf->idesc;
31642 int cycles = 0;
31644 int referenced = 0;
31645 int UNUSED insn_referenced = abuf->written;
31646 INT in_GRi = -1;
31647 INT in_GRj = -1;
31648 INT out_GRk = -1;
31649 INT out_GRdoublek = -1;
31650 in_GRi = FLD (in_GRi);
31651 in_GRj = FLD (in_GRj);
31652 out_GRdoublek = FLD (out_GRdoublek);
31653 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31654 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31655 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
31656 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31658 return cycles;
31659 #undef FLD
31662 static int
31663 model_fr500_nlddf (SIM_CPU *current_cpu, void *sem_arg)
31665 #define FLD(f) abuf->fields.sfmt_clddfu.f
31666 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31667 const IDESC * UNUSED idesc = abuf->idesc;
31668 int cycles = 0;
31670 int referenced = 0;
31671 int UNUSED insn_referenced = abuf->written;
31672 INT in_GRi = -1;
31673 INT in_GRj = -1;
31674 INT out_FRintk = -1;
31675 INT out_FRdoublek = -1;
31676 in_GRi = FLD (in_GRi);
31677 in_GRj = FLD (in_GRj);
31678 out_FRdoublek = FLD (out_FRdoublek);
31679 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31680 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31681 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
31682 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31684 return cycles;
31685 #undef FLD
31688 static int
31689 model_fr500_ldq (SIM_CPU *current_cpu, void *sem_arg)
31691 #define FLD(f) abuf->fields.sfmt_smulcc.f
31692 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31693 const IDESC * UNUSED idesc = abuf->idesc;
31694 int cycles = 0;
31696 int referenced = 0;
31697 int UNUSED insn_referenced = abuf->written;
31698 INT in_GRi = -1;
31699 INT in_GRj = -1;
31700 INT out_GRk = -1;
31701 INT out_GRdoublek = -1;
31702 in_GRi = FLD (in_GRi);
31703 in_GRj = FLD (in_GRj);
31704 referenced |= 1 << 0;
31705 referenced |= 1 << 1;
31706 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31708 return cycles;
31709 #undef FLD
31712 static int
31713 model_fr500_ldqf (SIM_CPU *current_cpu, void *sem_arg)
31715 #define FLD(f) abuf->fields.sfmt_cstdfu.f
31716 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31717 const IDESC * UNUSED idesc = abuf->idesc;
31718 int cycles = 0;
31720 int referenced = 0;
31721 int UNUSED insn_referenced = abuf->written;
31722 INT in_GRi = -1;
31723 INT in_GRj = -1;
31724 INT out_FRintk = -1;
31725 INT out_FRdoublek = -1;
31726 in_GRi = FLD (in_GRi);
31727 in_GRj = FLD (in_GRj);
31728 referenced |= 1 << 0;
31729 referenced |= 1 << 1;
31730 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31732 return cycles;
31733 #undef FLD
31736 static int
31737 model_fr500_ldqc (SIM_CPU *current_cpu, void *sem_arg)
31739 #define FLD(f) abuf->fields.sfmt_stdcu.f
31740 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31741 const IDESC * UNUSED idesc = abuf->idesc;
31742 int cycles = 0;
31744 int referenced = 0;
31745 int UNUSED insn_referenced = abuf->written;
31746 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
31748 return cycles;
31749 #undef FLD
31752 static int
31753 model_fr500_nldq (SIM_CPU *current_cpu, void *sem_arg)
31755 #define FLD(f) abuf->fields.sfmt_smulcc.f
31756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31757 const IDESC * UNUSED idesc = abuf->idesc;
31758 int cycles = 0;
31760 int referenced = 0;
31761 int UNUSED insn_referenced = abuf->written;
31762 INT in_GRi = -1;
31763 INT in_GRj = -1;
31764 INT out_GRk = -1;
31765 INT out_GRdoublek = -1;
31766 in_GRi = FLD (in_GRi);
31767 in_GRj = FLD (in_GRj);
31768 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31769 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31770 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31772 return cycles;
31773 #undef FLD
31776 static int
31777 model_fr500_nldqf (SIM_CPU *current_cpu, void *sem_arg)
31779 #define FLD(f) abuf->fields.sfmt_cstdfu.f
31780 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31781 const IDESC * UNUSED idesc = abuf->idesc;
31782 int cycles = 0;
31784 int referenced = 0;
31785 int UNUSED insn_referenced = abuf->written;
31786 INT in_GRi = -1;
31787 INT in_GRj = -1;
31788 INT out_FRintk = -1;
31789 INT out_FRdoublek = -1;
31790 in_GRi = FLD (in_GRi);
31791 in_GRj = FLD (in_GRj);
31792 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31793 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31794 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
31796 return cycles;
31797 #undef FLD
31800 static int
31801 model_fr500_ldsbu (SIM_CPU *current_cpu, void *sem_arg)
31803 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31805 const IDESC * UNUSED idesc = abuf->idesc;
31806 int cycles = 0;
31808 int referenced = 0;
31809 int UNUSED insn_referenced = abuf->written;
31810 INT in_GRi = -1;
31811 INT in_GRj = -1;
31812 INT out_GRk = -1;
31813 INT out_GRdoublek = -1;
31814 in_GRi = FLD (in_GRi);
31815 in_GRj = FLD (in_GRj);
31816 out_GRk = FLD (out_GRk);
31817 referenced |= 1 << 0;
31818 referenced |= 1 << 1;
31819 referenced |= 1 << 2;
31820 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31822 return cycles;
31823 #undef FLD
31826 static int
31827 model_fr500_ldubu (SIM_CPU *current_cpu, void *sem_arg)
31829 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31830 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31831 const IDESC * UNUSED idesc = abuf->idesc;
31832 int cycles = 0;
31834 int referenced = 0;
31835 int UNUSED insn_referenced = abuf->written;
31836 INT in_GRi = -1;
31837 INT in_GRj = -1;
31838 INT out_GRk = -1;
31839 INT out_GRdoublek = -1;
31840 in_GRi = FLD (in_GRi);
31841 in_GRj = FLD (in_GRj);
31842 out_GRk = FLD (out_GRk);
31843 referenced |= 1 << 0;
31844 referenced |= 1 << 1;
31845 referenced |= 1 << 2;
31846 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31848 return cycles;
31849 #undef FLD
31852 static int
31853 model_fr500_ldshu (SIM_CPU *current_cpu, void *sem_arg)
31855 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31857 const IDESC * UNUSED idesc = abuf->idesc;
31858 int cycles = 0;
31860 int referenced = 0;
31861 int UNUSED insn_referenced = abuf->written;
31862 INT in_GRi = -1;
31863 INT in_GRj = -1;
31864 INT out_GRk = -1;
31865 INT out_GRdoublek = -1;
31866 in_GRi = FLD (in_GRi);
31867 in_GRj = FLD (in_GRj);
31868 out_GRk = FLD (out_GRk);
31869 referenced |= 1 << 0;
31870 referenced |= 1 << 1;
31871 referenced |= 1 << 2;
31872 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31874 return cycles;
31875 #undef FLD
31878 static int
31879 model_fr500_lduhu (SIM_CPU *current_cpu, void *sem_arg)
31881 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31882 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31883 const IDESC * UNUSED idesc = abuf->idesc;
31884 int cycles = 0;
31886 int referenced = 0;
31887 int UNUSED insn_referenced = abuf->written;
31888 INT in_GRi = -1;
31889 INT in_GRj = -1;
31890 INT out_GRk = -1;
31891 INT out_GRdoublek = -1;
31892 in_GRi = FLD (in_GRi);
31893 in_GRj = FLD (in_GRj);
31894 out_GRk = FLD (out_GRk);
31895 referenced |= 1 << 0;
31896 referenced |= 1 << 1;
31897 referenced |= 1 << 2;
31898 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31900 return cycles;
31901 #undef FLD
31904 static int
31905 model_fr500_ldu (SIM_CPU *current_cpu, void *sem_arg)
31907 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31908 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31909 const IDESC * UNUSED idesc = abuf->idesc;
31910 int cycles = 0;
31912 int referenced = 0;
31913 int UNUSED insn_referenced = abuf->written;
31914 INT in_GRi = -1;
31915 INT in_GRj = -1;
31916 INT out_GRk = -1;
31917 INT out_GRdoublek = -1;
31918 in_GRi = FLD (in_GRi);
31919 in_GRj = FLD (in_GRj);
31920 out_GRk = FLD (out_GRk);
31921 referenced |= 1 << 0;
31922 referenced |= 1 << 1;
31923 referenced |= 1 << 2;
31924 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31926 return cycles;
31927 #undef FLD
31930 static int
31931 model_fr500_nldsbu (SIM_CPU *current_cpu, void *sem_arg)
31933 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31934 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31935 const IDESC * UNUSED idesc = abuf->idesc;
31936 int cycles = 0;
31938 int referenced = 0;
31939 int UNUSED insn_referenced = abuf->written;
31940 INT in_GRi = -1;
31941 INT in_GRj = -1;
31942 INT out_GRk = -1;
31943 INT out_GRdoublek = -1;
31944 in_GRi = FLD (in_GRi);
31945 in_GRj = FLD (in_GRj);
31946 out_GRk = FLD (out_GRk);
31947 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31948 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31949 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
31950 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31952 return cycles;
31953 #undef FLD
31956 static int
31957 model_fr500_nldubu (SIM_CPU *current_cpu, void *sem_arg)
31959 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31961 const IDESC * UNUSED idesc = abuf->idesc;
31962 int cycles = 0;
31964 int referenced = 0;
31965 int UNUSED insn_referenced = abuf->written;
31966 INT in_GRi = -1;
31967 INT in_GRj = -1;
31968 INT out_GRk = -1;
31969 INT out_GRdoublek = -1;
31970 in_GRi = FLD (in_GRi);
31971 in_GRj = FLD (in_GRj);
31972 out_GRk = FLD (out_GRk);
31973 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
31974 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
31975 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
31976 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
31978 return cycles;
31979 #undef FLD
31982 static int
31983 model_fr500_nldshu (SIM_CPU *current_cpu, void *sem_arg)
31985 #define FLD(f) abuf->fields.sfmt_cldsbu.f
31986 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
31987 const IDESC * UNUSED idesc = abuf->idesc;
31988 int cycles = 0;
31990 int referenced = 0;
31991 int UNUSED insn_referenced = abuf->written;
31992 INT in_GRi = -1;
31993 INT in_GRj = -1;
31994 INT out_GRk = -1;
31995 INT out_GRdoublek = -1;
31996 in_GRi = FLD (in_GRi);
31997 in_GRj = FLD (in_GRj);
31998 out_GRk = FLD (out_GRk);
31999 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32000 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32001 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
32002 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32004 return cycles;
32005 #undef FLD
32008 static int
32009 model_fr500_nlduhu (SIM_CPU *current_cpu, void *sem_arg)
32011 #define FLD(f) abuf->fields.sfmt_cldsbu.f
32012 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32013 const IDESC * UNUSED idesc = abuf->idesc;
32014 int cycles = 0;
32016 int referenced = 0;
32017 int UNUSED insn_referenced = abuf->written;
32018 INT in_GRi = -1;
32019 INT in_GRj = -1;
32020 INT out_GRk = -1;
32021 INT out_GRdoublek = -1;
32022 in_GRi = FLD (in_GRi);
32023 in_GRj = FLD (in_GRj);
32024 out_GRk = FLD (out_GRk);
32025 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32026 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32027 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
32028 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32030 return cycles;
32031 #undef FLD
32034 static int
32035 model_fr500_nldu (SIM_CPU *current_cpu, void *sem_arg)
32037 #define FLD(f) abuf->fields.sfmt_cldsbu.f
32038 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32039 const IDESC * UNUSED idesc = abuf->idesc;
32040 int cycles = 0;
32042 int referenced = 0;
32043 int UNUSED insn_referenced = abuf->written;
32044 INT in_GRi = -1;
32045 INT in_GRj = -1;
32046 INT out_GRk = -1;
32047 INT out_GRdoublek = -1;
32048 in_GRi = FLD (in_GRi);
32049 in_GRj = FLD (in_GRj);
32050 out_GRk = FLD (out_GRk);
32051 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32052 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32053 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
32054 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32056 return cycles;
32057 #undef FLD
32060 static int
32061 model_fr500_ldbfu (SIM_CPU *current_cpu, void *sem_arg)
32063 #define FLD(f) abuf->fields.sfmt_cldbfu.f
32064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32065 const IDESC * UNUSED idesc = abuf->idesc;
32066 int cycles = 0;
32068 int referenced = 0;
32069 int UNUSED insn_referenced = abuf->written;
32070 INT in_GRi = -1;
32071 INT in_GRj = -1;
32072 INT out_FRintk = -1;
32073 INT out_FRdoublek = -1;
32074 in_GRi = FLD (in_GRi);
32075 in_GRj = FLD (in_GRj);
32076 out_FRintk = FLD (out_FRintk);
32077 referenced |= 1 << 0;
32078 referenced |= 1 << 1;
32079 referenced |= 1 << 2;
32080 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32082 return cycles;
32083 #undef FLD
32086 static int
32087 model_fr500_ldhfu (SIM_CPU *current_cpu, void *sem_arg)
32089 #define FLD(f) abuf->fields.sfmt_cldbfu.f
32090 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32091 const IDESC * UNUSED idesc = abuf->idesc;
32092 int cycles = 0;
32094 int referenced = 0;
32095 int UNUSED insn_referenced = abuf->written;
32096 INT in_GRi = -1;
32097 INT in_GRj = -1;
32098 INT out_FRintk = -1;
32099 INT out_FRdoublek = -1;
32100 in_GRi = FLD (in_GRi);
32101 in_GRj = FLD (in_GRj);
32102 out_FRintk = FLD (out_FRintk);
32103 referenced |= 1 << 0;
32104 referenced |= 1 << 1;
32105 referenced |= 1 << 2;
32106 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32108 return cycles;
32109 #undef FLD
32112 static int
32113 model_fr500_ldfu (SIM_CPU *current_cpu, void *sem_arg)
32115 #define FLD(f) abuf->fields.sfmt_cldbfu.f
32116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32117 const IDESC * UNUSED idesc = abuf->idesc;
32118 int cycles = 0;
32120 int referenced = 0;
32121 int UNUSED insn_referenced = abuf->written;
32122 INT in_GRi = -1;
32123 INT in_GRj = -1;
32124 INT out_FRintk = -1;
32125 INT out_FRdoublek = -1;
32126 in_GRi = FLD (in_GRi);
32127 in_GRj = FLD (in_GRj);
32128 out_FRintk = FLD (out_FRintk);
32129 referenced |= 1 << 0;
32130 referenced |= 1 << 1;
32131 referenced |= 1 << 2;
32132 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32134 return cycles;
32135 #undef FLD
32138 static int
32139 model_fr500_ldcu (SIM_CPU *current_cpu, void *sem_arg)
32141 #define FLD(f) abuf->fields.sfmt_ldcu.f
32142 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32143 const IDESC * UNUSED idesc = abuf->idesc;
32144 int cycles = 0;
32146 int referenced = 0;
32147 int UNUSED insn_referenced = abuf->written;
32148 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
32150 return cycles;
32151 #undef FLD
32154 static int
32155 model_fr500_nldbfu (SIM_CPU *current_cpu, void *sem_arg)
32157 #define FLD(f) abuf->fields.sfmt_cldbfu.f
32158 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32159 const IDESC * UNUSED idesc = abuf->idesc;
32160 int cycles = 0;
32162 int referenced = 0;
32163 int UNUSED insn_referenced = abuf->written;
32164 INT in_GRi = -1;
32165 INT in_GRj = -1;
32166 INT out_FRintk = -1;
32167 INT out_FRdoublek = -1;
32168 in_GRi = FLD (in_GRi);
32169 in_GRj = FLD (in_GRj);
32170 out_FRintk = FLD (out_FRintk);
32171 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32172 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32173 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
32174 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32176 return cycles;
32177 #undef FLD
32180 static int
32181 model_fr500_nldhfu (SIM_CPU *current_cpu, void *sem_arg)
32183 #define FLD(f) abuf->fields.sfmt_cldbfu.f
32184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32185 const IDESC * UNUSED idesc = abuf->idesc;
32186 int cycles = 0;
32188 int referenced = 0;
32189 int UNUSED insn_referenced = abuf->written;
32190 INT in_GRi = -1;
32191 INT in_GRj = -1;
32192 INT out_FRintk = -1;
32193 INT out_FRdoublek = -1;
32194 in_GRi = FLD (in_GRi);
32195 in_GRj = FLD (in_GRj);
32196 out_FRintk = FLD (out_FRintk);
32197 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32198 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32199 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
32200 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32202 return cycles;
32203 #undef FLD
32206 static int
32207 model_fr500_nldfu (SIM_CPU *current_cpu, void *sem_arg)
32209 #define FLD(f) abuf->fields.sfmt_cldbfu.f
32210 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32211 const IDESC * UNUSED idesc = abuf->idesc;
32212 int cycles = 0;
32214 int referenced = 0;
32215 int UNUSED insn_referenced = abuf->written;
32216 INT in_GRi = -1;
32217 INT in_GRj = -1;
32218 INT out_FRintk = -1;
32219 INT out_FRdoublek = -1;
32220 in_GRi = FLD (in_GRi);
32221 in_GRj = FLD (in_GRj);
32222 out_FRintk = FLD (out_FRintk);
32223 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32224 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32225 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
32226 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32228 return cycles;
32229 #undef FLD
32232 static int
32233 model_fr500_lddu (SIM_CPU *current_cpu, void *sem_arg)
32235 #define FLD(f) abuf->fields.sfmt_clddu.f
32236 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32237 const IDESC * UNUSED idesc = abuf->idesc;
32238 int cycles = 0;
32240 int referenced = 0;
32241 int UNUSED insn_referenced = abuf->written;
32242 INT in_GRi = -1;
32243 INT in_GRj = -1;
32244 INT out_GRk = -1;
32245 INT out_GRdoublek = -1;
32246 in_GRi = FLD (in_GRi);
32247 in_GRj = FLD (in_GRj);
32248 out_GRdoublek = FLD (out_GRdoublek);
32249 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32250 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32251 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
32252 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32254 return cycles;
32255 #undef FLD
32258 static int
32259 model_fr500_nlddu (SIM_CPU *current_cpu, void *sem_arg)
32261 #define FLD(f) abuf->fields.sfmt_clddu.f
32262 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32263 const IDESC * UNUSED idesc = abuf->idesc;
32264 int cycles = 0;
32266 int referenced = 0;
32267 int UNUSED insn_referenced = abuf->written;
32268 INT in_GRi = -1;
32269 INT in_GRj = -1;
32270 INT out_GRk = -1;
32271 INT out_GRdoublek = -1;
32272 in_GRi = FLD (in_GRi);
32273 in_GRj = FLD (in_GRj);
32274 out_GRdoublek = FLD (out_GRdoublek);
32275 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32276 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32277 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
32278 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32280 return cycles;
32281 #undef FLD
32284 static int
32285 model_fr500_lddfu (SIM_CPU *current_cpu, void *sem_arg)
32287 #define FLD(f) abuf->fields.sfmt_clddfu.f
32288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32289 const IDESC * UNUSED idesc = abuf->idesc;
32290 int cycles = 0;
32292 int referenced = 0;
32293 int UNUSED insn_referenced = abuf->written;
32294 INT in_GRi = -1;
32295 INT in_GRj = -1;
32296 INT out_FRintk = -1;
32297 INT out_FRdoublek = -1;
32298 in_GRi = FLD (in_GRi);
32299 in_GRj = FLD (in_GRj);
32300 out_FRdoublek = FLD (out_FRdoublek);
32301 referenced |= 1 << 0;
32302 referenced |= 1 << 1;
32303 referenced |= 1 << 3;
32304 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32306 return cycles;
32307 #undef FLD
32310 static int
32311 model_fr500_lddcu (SIM_CPU *current_cpu, void *sem_arg)
32313 #define FLD(f) abuf->fields.sfmt_lddcu.f
32314 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32315 const IDESC * UNUSED idesc = abuf->idesc;
32316 int cycles = 0;
32318 int referenced = 0;
32319 int UNUSED insn_referenced = abuf->written;
32320 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
32322 return cycles;
32323 #undef FLD
32326 static int
32327 model_fr500_nlddfu (SIM_CPU *current_cpu, void *sem_arg)
32329 #define FLD(f) abuf->fields.sfmt_clddfu.f
32330 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32331 const IDESC * UNUSED idesc = abuf->idesc;
32332 int cycles = 0;
32334 int referenced = 0;
32335 int UNUSED insn_referenced = abuf->written;
32336 INT in_GRi = -1;
32337 INT in_GRj = -1;
32338 INT out_FRintk = -1;
32339 INT out_FRdoublek = -1;
32340 in_GRi = FLD (in_GRi);
32341 in_GRj = FLD (in_GRj);
32342 out_FRdoublek = FLD (out_FRdoublek);
32343 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32344 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32345 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
32346 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32348 return cycles;
32349 #undef FLD
32352 static int
32353 model_fr500_ldqu (SIM_CPU *current_cpu, void *sem_arg)
32355 #define FLD(f) abuf->fields.sfmt_cstdu.f
32356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32357 const IDESC * UNUSED idesc = abuf->idesc;
32358 int cycles = 0;
32360 int referenced = 0;
32361 int UNUSED insn_referenced = abuf->written;
32362 INT in_GRi = -1;
32363 INT in_GRj = -1;
32364 INT out_GRk = -1;
32365 INT out_GRdoublek = -1;
32366 in_GRi = FLD (in_GRi);
32367 in_GRj = FLD (in_GRj);
32368 referenced |= 1 << 0;
32369 referenced |= 1 << 1;
32370 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32372 return cycles;
32373 #undef FLD
32376 static int
32377 model_fr500_nldqu (SIM_CPU *current_cpu, void *sem_arg)
32379 #define FLD(f) abuf->fields.sfmt_cstdu.f
32380 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32381 const IDESC * UNUSED idesc = abuf->idesc;
32382 int cycles = 0;
32384 int referenced = 0;
32385 int UNUSED insn_referenced = abuf->written;
32386 INT in_GRi = -1;
32387 INT in_GRj = -1;
32388 INT out_GRk = -1;
32389 INT out_GRdoublek = -1;
32390 in_GRi = FLD (in_GRi);
32391 in_GRj = FLD (in_GRj);
32392 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32393 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32394 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32396 return cycles;
32397 #undef FLD
32400 static int
32401 model_fr500_ldqfu (SIM_CPU *current_cpu, void *sem_arg)
32403 #define FLD(f) abuf->fields.sfmt_cstdfu.f
32404 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32405 const IDESC * UNUSED idesc = abuf->idesc;
32406 int cycles = 0;
32408 int referenced = 0;
32409 int UNUSED insn_referenced = abuf->written;
32410 INT in_GRi = -1;
32411 INT in_GRj = -1;
32412 INT out_FRintk = -1;
32413 INT out_FRdoublek = -1;
32414 in_GRi = FLD (in_GRi);
32415 in_GRj = FLD (in_GRj);
32416 referenced |= 1 << 0;
32417 referenced |= 1 << 1;
32418 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32420 return cycles;
32421 #undef FLD
32424 static int
32425 model_fr500_ldqcu (SIM_CPU *current_cpu, void *sem_arg)
32427 #define FLD(f) abuf->fields.sfmt_stdcu.f
32428 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32429 const IDESC * UNUSED idesc = abuf->idesc;
32430 int cycles = 0;
32432 int referenced = 0;
32433 int UNUSED insn_referenced = abuf->written;
32434 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
32436 return cycles;
32437 #undef FLD
32440 static int
32441 model_fr500_nldqfu (SIM_CPU *current_cpu, void *sem_arg)
32443 #define FLD(f) abuf->fields.sfmt_cstdfu.f
32444 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32445 const IDESC * UNUSED idesc = abuf->idesc;
32446 int cycles = 0;
32448 int referenced = 0;
32449 int UNUSED insn_referenced = abuf->written;
32450 INT in_GRi = -1;
32451 INT in_GRj = -1;
32452 INT out_FRintk = -1;
32453 INT out_FRdoublek = -1;
32454 in_GRi = FLD (in_GRi);
32455 in_GRj = FLD (in_GRj);
32456 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32457 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
32458 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32460 return cycles;
32461 #undef FLD
32464 static int
32465 model_fr500_ldsbi (SIM_CPU *current_cpu, void *sem_arg)
32467 #define FLD(f) abuf->fields.sfmt_swapi.f
32468 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32469 const IDESC * UNUSED idesc = abuf->idesc;
32470 int cycles = 0;
32472 int referenced = 0;
32473 int UNUSED insn_referenced = abuf->written;
32474 INT in_GRi = -1;
32475 INT in_GRj = -1;
32476 INT out_GRk = -1;
32477 INT out_GRdoublek = -1;
32478 in_GRi = FLD (in_GRi);
32479 out_GRk = FLD (out_GRk);
32480 referenced |= 1 << 0;
32481 referenced |= 1 << 2;
32482 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32484 return cycles;
32485 #undef FLD
32488 static int
32489 model_fr500_ldshi (SIM_CPU *current_cpu, void *sem_arg)
32491 #define FLD(f) abuf->fields.sfmt_swapi.f
32492 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32493 const IDESC * UNUSED idesc = abuf->idesc;
32494 int cycles = 0;
32496 int referenced = 0;
32497 int UNUSED insn_referenced = abuf->written;
32498 INT in_GRi = -1;
32499 INT in_GRj = -1;
32500 INT out_GRk = -1;
32501 INT out_GRdoublek = -1;
32502 in_GRi = FLD (in_GRi);
32503 out_GRk = FLD (out_GRk);
32504 referenced |= 1 << 0;
32505 referenced |= 1 << 2;
32506 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32508 return cycles;
32509 #undef FLD
32512 static int
32513 model_fr500_ldi (SIM_CPU *current_cpu, void *sem_arg)
32515 #define FLD(f) abuf->fields.sfmt_swapi.f
32516 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32517 const IDESC * UNUSED idesc = abuf->idesc;
32518 int cycles = 0;
32520 int referenced = 0;
32521 int UNUSED insn_referenced = abuf->written;
32522 INT in_GRi = -1;
32523 INT in_GRj = -1;
32524 INT out_GRk = -1;
32525 INT out_GRdoublek = -1;
32526 in_GRi = FLD (in_GRi);
32527 out_GRk = FLD (out_GRk);
32528 referenced |= 1 << 0;
32529 referenced |= 1 << 2;
32530 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32532 return cycles;
32533 #undef FLD
32536 static int
32537 model_fr500_ldubi (SIM_CPU *current_cpu, void *sem_arg)
32539 #define FLD(f) abuf->fields.sfmt_swapi.f
32540 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32541 const IDESC * UNUSED idesc = abuf->idesc;
32542 int cycles = 0;
32544 int referenced = 0;
32545 int UNUSED insn_referenced = abuf->written;
32546 INT in_GRi = -1;
32547 INT in_GRj = -1;
32548 INT out_GRk = -1;
32549 INT out_GRdoublek = -1;
32550 in_GRi = FLD (in_GRi);
32551 out_GRk = FLD (out_GRk);
32552 referenced |= 1 << 0;
32553 referenced |= 1 << 2;
32554 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32556 return cycles;
32557 #undef FLD
32560 static int
32561 model_fr500_lduhi (SIM_CPU *current_cpu, void *sem_arg)
32563 #define FLD(f) abuf->fields.sfmt_swapi.f
32564 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32565 const IDESC * UNUSED idesc = abuf->idesc;
32566 int cycles = 0;
32568 int referenced = 0;
32569 int UNUSED insn_referenced = abuf->written;
32570 INT in_GRi = -1;
32571 INT in_GRj = -1;
32572 INT out_GRk = -1;
32573 INT out_GRdoublek = -1;
32574 in_GRi = FLD (in_GRi);
32575 out_GRk = FLD (out_GRk);
32576 referenced |= 1 << 0;
32577 referenced |= 1 << 2;
32578 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32580 return cycles;
32581 #undef FLD
32584 static int
32585 model_fr500_ldbfi (SIM_CPU *current_cpu, void *sem_arg)
32587 #define FLD(f) abuf->fields.sfmt_ldbfi.f
32588 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32589 const IDESC * UNUSED idesc = abuf->idesc;
32590 int cycles = 0;
32592 int referenced = 0;
32593 int UNUSED insn_referenced = abuf->written;
32594 INT in_GRi = -1;
32595 INT in_GRj = -1;
32596 INT out_FRintk = -1;
32597 INT out_FRdoublek = -1;
32598 in_GRi = FLD (in_GRi);
32599 out_FRintk = FLD (out_FRintk);
32600 referenced |= 1 << 0;
32601 referenced |= 1 << 2;
32602 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32604 return cycles;
32605 #undef FLD
32608 static int
32609 model_fr500_ldhfi (SIM_CPU *current_cpu, void *sem_arg)
32611 #define FLD(f) abuf->fields.sfmt_ldbfi.f
32612 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32613 const IDESC * UNUSED idesc = abuf->idesc;
32614 int cycles = 0;
32616 int referenced = 0;
32617 int UNUSED insn_referenced = abuf->written;
32618 INT in_GRi = -1;
32619 INT in_GRj = -1;
32620 INT out_FRintk = -1;
32621 INT out_FRdoublek = -1;
32622 in_GRi = FLD (in_GRi);
32623 out_FRintk = FLD (out_FRintk);
32624 referenced |= 1 << 0;
32625 referenced |= 1 << 2;
32626 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32628 return cycles;
32629 #undef FLD
32632 static int
32633 model_fr500_ldfi (SIM_CPU *current_cpu, void *sem_arg)
32635 #define FLD(f) abuf->fields.sfmt_ldbfi.f
32636 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32637 const IDESC * UNUSED idesc = abuf->idesc;
32638 int cycles = 0;
32640 int referenced = 0;
32641 int UNUSED insn_referenced = abuf->written;
32642 INT in_GRi = -1;
32643 INT in_GRj = -1;
32644 INT out_FRintk = -1;
32645 INT out_FRdoublek = -1;
32646 in_GRi = FLD (in_GRi);
32647 out_FRintk = FLD (out_FRintk);
32648 referenced |= 1 << 0;
32649 referenced |= 1 << 2;
32650 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32652 return cycles;
32653 #undef FLD
32656 static int
32657 model_fr500_nldsbi (SIM_CPU *current_cpu, void *sem_arg)
32659 #define FLD(f) abuf->fields.sfmt_swapi.f
32660 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32661 const IDESC * UNUSED idesc = abuf->idesc;
32662 int cycles = 0;
32664 int referenced = 0;
32665 int UNUSED insn_referenced = abuf->written;
32666 INT in_GRi = -1;
32667 INT in_GRj = -1;
32668 INT out_GRk = -1;
32669 INT out_GRdoublek = -1;
32670 in_GRi = FLD (in_GRi);
32671 out_GRk = FLD (out_GRk);
32672 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32673 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32674 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32676 return cycles;
32677 #undef FLD
32680 static int
32681 model_fr500_nldubi (SIM_CPU *current_cpu, void *sem_arg)
32683 #define FLD(f) abuf->fields.sfmt_swapi.f
32684 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32685 const IDESC * UNUSED idesc = abuf->idesc;
32686 int cycles = 0;
32688 int referenced = 0;
32689 int UNUSED insn_referenced = abuf->written;
32690 INT in_GRi = -1;
32691 INT in_GRj = -1;
32692 INT out_GRk = -1;
32693 INT out_GRdoublek = -1;
32694 in_GRi = FLD (in_GRi);
32695 out_GRk = FLD (out_GRk);
32696 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32697 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32698 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32700 return cycles;
32701 #undef FLD
32704 static int
32705 model_fr500_nldshi (SIM_CPU *current_cpu, void *sem_arg)
32707 #define FLD(f) abuf->fields.sfmt_swapi.f
32708 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32709 const IDESC * UNUSED idesc = abuf->idesc;
32710 int cycles = 0;
32712 int referenced = 0;
32713 int UNUSED insn_referenced = abuf->written;
32714 INT in_GRi = -1;
32715 INT in_GRj = -1;
32716 INT out_GRk = -1;
32717 INT out_GRdoublek = -1;
32718 in_GRi = FLD (in_GRi);
32719 out_GRk = FLD (out_GRk);
32720 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32721 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32722 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32724 return cycles;
32725 #undef FLD
32728 static int
32729 model_fr500_nlduhi (SIM_CPU *current_cpu, void *sem_arg)
32731 #define FLD(f) abuf->fields.sfmt_swapi.f
32732 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32733 const IDESC * UNUSED idesc = abuf->idesc;
32734 int cycles = 0;
32736 int referenced = 0;
32737 int UNUSED insn_referenced = abuf->written;
32738 INT in_GRi = -1;
32739 INT in_GRj = -1;
32740 INT out_GRk = -1;
32741 INT out_GRdoublek = -1;
32742 in_GRi = FLD (in_GRi);
32743 out_GRk = FLD (out_GRk);
32744 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32745 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32746 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32748 return cycles;
32749 #undef FLD
32752 static int
32753 model_fr500_nldi (SIM_CPU *current_cpu, void *sem_arg)
32755 #define FLD(f) abuf->fields.sfmt_swapi.f
32756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32757 const IDESC * UNUSED idesc = abuf->idesc;
32758 int cycles = 0;
32760 int referenced = 0;
32761 int UNUSED insn_referenced = abuf->written;
32762 INT in_GRi = -1;
32763 INT in_GRj = -1;
32764 INT out_GRk = -1;
32765 INT out_GRdoublek = -1;
32766 in_GRi = FLD (in_GRi);
32767 out_GRk = FLD (out_GRk);
32768 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32769 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32770 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32772 return cycles;
32773 #undef FLD
32776 static int
32777 model_fr500_nldbfi (SIM_CPU *current_cpu, void *sem_arg)
32779 #define FLD(f) abuf->fields.sfmt_ldbfi.f
32780 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32781 const IDESC * UNUSED idesc = abuf->idesc;
32782 int cycles = 0;
32784 int referenced = 0;
32785 int UNUSED insn_referenced = abuf->written;
32786 INT in_GRi = -1;
32787 INT in_GRj = -1;
32788 INT out_FRintk = -1;
32789 INT out_FRdoublek = -1;
32790 in_GRi = FLD (in_GRi);
32791 out_FRintk = FLD (out_FRintk);
32792 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32793 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32794 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32796 return cycles;
32797 #undef FLD
32800 static int
32801 model_fr500_nldhfi (SIM_CPU *current_cpu, void *sem_arg)
32803 #define FLD(f) abuf->fields.sfmt_ldbfi.f
32804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32805 const IDESC * UNUSED idesc = abuf->idesc;
32806 int cycles = 0;
32808 int referenced = 0;
32809 int UNUSED insn_referenced = abuf->written;
32810 INT in_GRi = -1;
32811 INT in_GRj = -1;
32812 INT out_FRintk = -1;
32813 INT out_FRdoublek = -1;
32814 in_GRi = FLD (in_GRi);
32815 out_FRintk = FLD (out_FRintk);
32816 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32817 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32818 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32820 return cycles;
32821 #undef FLD
32824 static int
32825 model_fr500_nldfi (SIM_CPU *current_cpu, void *sem_arg)
32827 #define FLD(f) abuf->fields.sfmt_ldbfi.f
32828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32829 const IDESC * UNUSED idesc = abuf->idesc;
32830 int cycles = 0;
32832 int referenced = 0;
32833 int UNUSED insn_referenced = abuf->written;
32834 INT in_GRi = -1;
32835 INT in_GRj = -1;
32836 INT out_FRintk = -1;
32837 INT out_FRdoublek = -1;
32838 in_GRi = FLD (in_GRi);
32839 out_FRintk = FLD (out_FRintk);
32840 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32841 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
32842 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32844 return cycles;
32845 #undef FLD
32848 static int
32849 model_fr500_lddi (SIM_CPU *current_cpu, void *sem_arg)
32851 #define FLD(f) abuf->fields.sfmt_smuli.f
32852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32853 const IDESC * UNUSED idesc = abuf->idesc;
32854 int cycles = 0;
32856 int referenced = 0;
32857 int UNUSED insn_referenced = abuf->written;
32858 INT in_GRi = -1;
32859 INT in_GRj = -1;
32860 INT out_GRk = -1;
32861 INT out_GRdoublek = -1;
32862 in_GRi = FLD (in_GRi);
32863 out_GRdoublek = FLD (out_GRdoublek);
32864 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32865 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
32866 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32868 return cycles;
32869 #undef FLD
32872 static int
32873 model_fr500_lddfi (SIM_CPU *current_cpu, void *sem_arg)
32875 #define FLD(f) abuf->fields.sfmt_lddfi.f
32876 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32877 const IDESC * UNUSED idesc = abuf->idesc;
32878 int cycles = 0;
32880 int referenced = 0;
32881 int UNUSED insn_referenced = abuf->written;
32882 INT in_GRi = -1;
32883 INT in_GRj = -1;
32884 INT out_FRintk = -1;
32885 INT out_FRdoublek = -1;
32886 in_GRi = FLD (in_GRi);
32887 out_FRdoublek = FLD (out_FRdoublek);
32888 referenced |= 1 << 0;
32889 referenced |= 1 << 3;
32890 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32892 return cycles;
32893 #undef FLD
32896 static int
32897 model_fr500_nlddi (SIM_CPU *current_cpu, void *sem_arg)
32899 #define FLD(f) abuf->fields.sfmt_smuli.f
32900 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32901 const IDESC * UNUSED idesc = abuf->idesc;
32902 int cycles = 0;
32904 int referenced = 0;
32905 int UNUSED insn_referenced = abuf->written;
32906 INT in_GRi = -1;
32907 INT in_GRj = -1;
32908 INT out_GRk = -1;
32909 INT out_GRdoublek = -1;
32910 in_GRi = FLD (in_GRi);
32911 out_GRdoublek = FLD (out_GRdoublek);
32912 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32913 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
32914 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32916 return cycles;
32917 #undef FLD
32920 static int
32921 model_fr500_nlddfi (SIM_CPU *current_cpu, void *sem_arg)
32923 #define FLD(f) abuf->fields.sfmt_lddfi.f
32924 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32925 const IDESC * UNUSED idesc = abuf->idesc;
32926 int cycles = 0;
32928 int referenced = 0;
32929 int UNUSED insn_referenced = abuf->written;
32930 INT in_GRi = -1;
32931 INT in_GRj = -1;
32932 INT out_FRintk = -1;
32933 INT out_FRdoublek = -1;
32934 in_GRi = FLD (in_GRi);
32935 out_FRdoublek = FLD (out_FRdoublek);
32936 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
32937 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
32938 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32940 return cycles;
32941 #undef FLD
32944 static int
32945 model_fr500_ldqi (SIM_CPU *current_cpu, void *sem_arg)
32947 #define FLD(f) abuf->fields.sfmt_stdi.f
32948 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32949 const IDESC * UNUSED idesc = abuf->idesc;
32950 int cycles = 0;
32952 int referenced = 0;
32953 int UNUSED insn_referenced = abuf->written;
32954 INT in_GRi = -1;
32955 INT in_GRj = -1;
32956 INT out_GRk = -1;
32957 INT out_GRdoublek = -1;
32958 in_GRi = FLD (in_GRi);
32959 referenced |= 1 << 0;
32960 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
32962 return cycles;
32963 #undef FLD
32966 static int
32967 model_fr500_ldqfi (SIM_CPU *current_cpu, void *sem_arg)
32969 #define FLD(f) abuf->fields.sfmt_stdfi.f
32970 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32971 const IDESC * UNUSED idesc = abuf->idesc;
32972 int cycles = 0;
32974 int referenced = 0;
32975 int UNUSED insn_referenced = abuf->written;
32976 INT in_GRi = -1;
32977 INT in_GRj = -1;
32978 INT out_FRintk = -1;
32979 INT out_FRdoublek = -1;
32980 in_GRi = FLD (in_GRi);
32981 referenced |= 1 << 0;
32982 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
32984 return cycles;
32985 #undef FLD
32988 static int
32989 model_fr500_nldqfi (SIM_CPU *current_cpu, void *sem_arg)
32991 #define FLD(f) abuf->fields.sfmt_stdfi.f
32992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
32993 const IDESC * UNUSED idesc = abuf->idesc;
32994 int cycles = 0;
32996 int referenced = 0;
32997 int UNUSED insn_referenced = abuf->written;
32998 INT in_GRi = -1;
32999 INT in_GRj = -1;
33000 INT out_FRintk = -1;
33001 INT out_FRdoublek = -1;
33002 in_GRi = FLD (in_GRi);
33003 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
33004 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
33006 return cycles;
33007 #undef FLD
33010 static int
33011 model_fr500_stb (SIM_CPU *current_cpu, void *sem_arg)
33013 #define FLD(f) abuf->fields.sfmt_cswap.f
33014 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33015 const IDESC * UNUSED idesc = abuf->idesc;
33016 int cycles = 0;
33018 int referenced = 0;
33019 int UNUSED insn_referenced = abuf->written;
33020 INT in_GRi = -1;
33021 INT in_GRj = -1;
33022 INT in_GRk = -1;
33023 INT in_GRdoublek = -1;
33024 in_GRi = FLD (in_GRi);
33025 in_GRj = FLD (in_GRj);
33026 in_GRk = FLD (in_GRk);
33027 referenced |= 1 << 0;
33028 referenced |= 1 << 1;
33029 referenced |= 1 << 2;
33030 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33032 return cycles;
33033 #undef FLD
33036 static int
33037 model_fr500_sth (SIM_CPU *current_cpu, void *sem_arg)
33039 #define FLD(f) abuf->fields.sfmt_cswap.f
33040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33041 const IDESC * UNUSED idesc = abuf->idesc;
33042 int cycles = 0;
33044 int referenced = 0;
33045 int UNUSED insn_referenced = abuf->written;
33046 INT in_GRi = -1;
33047 INT in_GRj = -1;
33048 INT in_GRk = -1;
33049 INT in_GRdoublek = -1;
33050 in_GRi = FLD (in_GRi);
33051 in_GRj = FLD (in_GRj);
33052 in_GRk = FLD (in_GRk);
33053 referenced |= 1 << 0;
33054 referenced |= 1 << 1;
33055 referenced |= 1 << 2;
33056 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33058 return cycles;
33059 #undef FLD
33062 static int
33063 model_fr500_st (SIM_CPU *current_cpu, void *sem_arg)
33065 #define FLD(f) abuf->fields.sfmt_cswap.f
33066 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33067 const IDESC * UNUSED idesc = abuf->idesc;
33068 int cycles = 0;
33070 int referenced = 0;
33071 int UNUSED insn_referenced = abuf->written;
33072 INT in_GRi = -1;
33073 INT in_GRj = -1;
33074 INT in_GRk = -1;
33075 INT in_GRdoublek = -1;
33076 in_GRi = FLD (in_GRi);
33077 in_GRj = FLD (in_GRj);
33078 in_GRk = FLD (in_GRk);
33079 referenced |= 1 << 0;
33080 referenced |= 1 << 1;
33081 referenced |= 1 << 2;
33082 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33084 return cycles;
33085 #undef FLD
33088 static int
33089 model_fr500_stbf (SIM_CPU *current_cpu, void *sem_arg)
33091 #define FLD(f) abuf->fields.sfmt_cstbfu.f
33092 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33093 const IDESC * UNUSED idesc = abuf->idesc;
33094 int cycles = 0;
33096 int referenced = 0;
33097 int UNUSED insn_referenced = abuf->written;
33098 INT in_GRi = -1;
33099 INT in_GRj = -1;
33100 INT in_FRintk = -1;
33101 INT in_FRdoublek = -1;
33102 in_GRi = FLD (in_GRi);
33103 in_GRj = FLD (in_GRj);
33104 in_FRintk = FLD (in_FRintk);
33105 referenced |= 1 << 0;
33106 referenced |= 1 << 1;
33107 referenced |= 1 << 2;
33108 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33110 return cycles;
33111 #undef FLD
33114 static int
33115 model_fr500_sthf (SIM_CPU *current_cpu, void *sem_arg)
33117 #define FLD(f) abuf->fields.sfmt_cstbfu.f
33118 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33119 const IDESC * UNUSED idesc = abuf->idesc;
33120 int cycles = 0;
33122 int referenced = 0;
33123 int UNUSED insn_referenced = abuf->written;
33124 INT in_GRi = -1;
33125 INT in_GRj = -1;
33126 INT in_FRintk = -1;
33127 INT in_FRdoublek = -1;
33128 in_GRi = FLD (in_GRi);
33129 in_GRj = FLD (in_GRj);
33130 in_FRintk = FLD (in_FRintk);
33131 referenced |= 1 << 0;
33132 referenced |= 1 << 1;
33133 referenced |= 1 << 2;
33134 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33136 return cycles;
33137 #undef FLD
33140 static int
33141 model_fr500_stf (SIM_CPU *current_cpu, void *sem_arg)
33143 #define FLD(f) abuf->fields.sfmt_cstbfu.f
33144 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33145 const IDESC * UNUSED idesc = abuf->idesc;
33146 int cycles = 0;
33148 int referenced = 0;
33149 int UNUSED insn_referenced = abuf->written;
33150 INT in_GRi = -1;
33151 INT in_GRj = -1;
33152 INT in_FRintk = -1;
33153 INT in_FRdoublek = -1;
33154 in_GRi = FLD (in_GRi);
33155 in_GRj = FLD (in_GRj);
33156 in_FRintk = FLD (in_FRintk);
33157 referenced |= 1 << 0;
33158 referenced |= 1 << 1;
33159 referenced |= 1 << 2;
33160 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33162 return cycles;
33163 #undef FLD
33166 static int
33167 model_fr500_stc (SIM_CPU *current_cpu, void *sem_arg)
33169 #define FLD(f) abuf->fields.sfmt_stcu.f
33170 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33171 const IDESC * UNUSED idesc = abuf->idesc;
33172 int cycles = 0;
33174 int referenced = 0;
33175 int UNUSED insn_referenced = abuf->written;
33176 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
33178 return cycles;
33179 #undef FLD
33182 static int
33183 model_fr500_std (SIM_CPU *current_cpu, void *sem_arg)
33185 #define FLD(f) abuf->fields.sfmt_cstdu.f
33186 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33187 const IDESC * UNUSED idesc = abuf->idesc;
33188 int cycles = 0;
33190 int referenced = 0;
33191 int UNUSED insn_referenced = abuf->written;
33192 INT in_GRi = -1;
33193 INT in_GRj = -1;
33194 INT in_GRk = -1;
33195 INT in_GRdoublek = -1;
33196 in_GRi = FLD (in_GRi);
33197 in_GRj = FLD (in_GRj);
33198 in_GRdoublek = FLD (in_GRdoublek);
33199 referenced |= 1 << 0;
33200 referenced |= 1 << 1;
33201 referenced |= 1 << 3;
33202 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33204 return cycles;
33205 #undef FLD
33208 static int
33209 model_fr500_stdf (SIM_CPU *current_cpu, void *sem_arg)
33211 #define FLD(f) abuf->fields.sfmt_cstdfu.f
33212 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33213 const IDESC * UNUSED idesc = abuf->idesc;
33214 int cycles = 0;
33216 int referenced = 0;
33217 int UNUSED insn_referenced = abuf->written;
33218 INT in_GRi = -1;
33219 INT in_GRj = -1;
33220 INT in_FRintk = -1;
33221 INT in_FRdoublek = -1;
33222 in_GRi = FLD (in_GRi);
33223 in_GRj = FLD (in_GRj);
33224 in_FRdoublek = FLD (in_FRdoublek);
33225 referenced |= 1 << 0;
33226 referenced |= 1 << 1;
33227 referenced |= 1 << 3;
33228 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33230 return cycles;
33231 #undef FLD
33234 static int
33235 model_fr500_stdc (SIM_CPU *current_cpu, void *sem_arg)
33237 #define FLD(f) abuf->fields.sfmt_stdcu.f
33238 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33239 const IDESC * UNUSED idesc = abuf->idesc;
33240 int cycles = 0;
33242 int referenced = 0;
33243 int UNUSED insn_referenced = abuf->written;
33244 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
33246 return cycles;
33247 #undef FLD
33250 static int
33251 model_fr500_stq (SIM_CPU *current_cpu, void *sem_arg)
33253 #define FLD(f) abuf->fields.sfmt_smulcc.f
33254 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33255 const IDESC * UNUSED idesc = abuf->idesc;
33256 int cycles = 0;
33258 int referenced = 0;
33259 int UNUSED insn_referenced = abuf->written;
33260 INT in_GRi = -1;
33261 INT in_GRj = -1;
33262 INT in_GRk = -1;
33263 INT in_GRdoublek = -1;
33264 in_GRi = FLD (in_GRi);
33265 in_GRj = FLD (in_GRj);
33266 referenced |= 1 << 0;
33267 referenced |= 1 << 1;
33268 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33270 return cycles;
33271 #undef FLD
33274 static int
33275 model_fr500_stqf (SIM_CPU *current_cpu, void *sem_arg)
33277 #define FLD(f) abuf->fields.sfmt_cstdfu.f
33278 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33279 const IDESC * UNUSED idesc = abuf->idesc;
33280 int cycles = 0;
33282 int referenced = 0;
33283 int UNUSED insn_referenced = abuf->written;
33284 INT in_GRi = -1;
33285 INT in_GRj = -1;
33286 INT in_FRintk = -1;
33287 INT in_FRdoublek = -1;
33288 in_GRi = FLD (in_GRi);
33289 in_GRj = FLD (in_GRj);
33290 referenced |= 1 << 0;
33291 referenced |= 1 << 1;
33292 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33294 return cycles;
33295 #undef FLD
33298 static int
33299 model_fr500_stqc (SIM_CPU *current_cpu, void *sem_arg)
33301 #define FLD(f) abuf->fields.sfmt_stdcu.f
33302 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33303 const IDESC * UNUSED idesc = abuf->idesc;
33304 int cycles = 0;
33306 int referenced = 0;
33307 int UNUSED insn_referenced = abuf->written;
33308 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
33310 return cycles;
33311 #undef FLD
33314 static int
33315 model_fr500_stbu (SIM_CPU *current_cpu, void *sem_arg)
33317 #define FLD(f) abuf->fields.sfmt_cstbu.f
33318 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33319 const IDESC * UNUSED idesc = abuf->idesc;
33320 int cycles = 0;
33322 int referenced = 0;
33323 int UNUSED insn_referenced = abuf->written;
33324 INT in_GRi = -1;
33325 INT in_GRj = -1;
33326 INT in_GRk = -1;
33327 INT in_GRdoublek = -1;
33328 in_GRi = FLD (in_GRi);
33329 in_GRj = FLD (in_GRj);
33330 in_GRk = FLD (in_GRk);
33331 referenced |= 1 << 0;
33332 referenced |= 1 << 1;
33333 referenced |= 1 << 2;
33334 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33336 return cycles;
33337 #undef FLD
33340 static int
33341 model_fr500_sthu (SIM_CPU *current_cpu, void *sem_arg)
33343 #define FLD(f) abuf->fields.sfmt_cstbu.f
33344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33345 const IDESC * UNUSED idesc = abuf->idesc;
33346 int cycles = 0;
33348 int referenced = 0;
33349 int UNUSED insn_referenced = abuf->written;
33350 INT in_GRi = -1;
33351 INT in_GRj = -1;
33352 INT in_GRk = -1;
33353 INT in_GRdoublek = -1;
33354 in_GRi = FLD (in_GRi);
33355 in_GRj = FLD (in_GRj);
33356 in_GRk = FLD (in_GRk);
33357 referenced |= 1 << 0;
33358 referenced |= 1 << 1;
33359 referenced |= 1 << 2;
33360 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33362 return cycles;
33363 #undef FLD
33366 static int
33367 model_fr500_stu (SIM_CPU *current_cpu, void *sem_arg)
33369 #define FLD(f) abuf->fields.sfmt_cstbu.f
33370 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33371 const IDESC * UNUSED idesc = abuf->idesc;
33372 int cycles = 0;
33374 int referenced = 0;
33375 int UNUSED insn_referenced = abuf->written;
33376 INT in_GRi = -1;
33377 INT in_GRj = -1;
33378 INT in_GRk = -1;
33379 INT in_GRdoublek = -1;
33380 in_GRi = FLD (in_GRi);
33381 in_GRj = FLD (in_GRj);
33382 in_GRk = FLD (in_GRk);
33383 referenced |= 1 << 0;
33384 referenced |= 1 << 1;
33385 referenced |= 1 << 2;
33386 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33388 return cycles;
33389 #undef FLD
33392 static int
33393 model_fr500_stbfu (SIM_CPU *current_cpu, void *sem_arg)
33395 #define FLD(f) abuf->fields.sfmt_cstbfu.f
33396 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33397 const IDESC * UNUSED idesc = abuf->idesc;
33398 int cycles = 0;
33400 int referenced = 0;
33401 int UNUSED insn_referenced = abuf->written;
33402 INT in_GRi = -1;
33403 INT in_GRj = -1;
33404 INT in_FRintk = -1;
33405 INT in_FRdoublek = -1;
33406 in_GRi = FLD (in_GRi);
33407 in_GRj = FLD (in_GRj);
33408 in_FRintk = FLD (in_FRintk);
33409 referenced |= 1 << 0;
33410 referenced |= 1 << 1;
33411 referenced |= 1 << 2;
33412 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33414 return cycles;
33415 #undef FLD
33418 static int
33419 model_fr500_sthfu (SIM_CPU *current_cpu, void *sem_arg)
33421 #define FLD(f) abuf->fields.sfmt_cstbfu.f
33422 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33423 const IDESC * UNUSED idesc = abuf->idesc;
33424 int cycles = 0;
33426 int referenced = 0;
33427 int UNUSED insn_referenced = abuf->written;
33428 INT in_GRi = -1;
33429 INT in_GRj = -1;
33430 INT in_FRintk = -1;
33431 INT in_FRdoublek = -1;
33432 in_GRi = FLD (in_GRi);
33433 in_GRj = FLD (in_GRj);
33434 in_FRintk = FLD (in_FRintk);
33435 referenced |= 1 << 0;
33436 referenced |= 1 << 1;
33437 referenced |= 1 << 2;
33438 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33440 return cycles;
33441 #undef FLD
33444 static int
33445 model_fr500_stfu (SIM_CPU *current_cpu, void *sem_arg)
33447 #define FLD(f) abuf->fields.sfmt_cstbfu.f
33448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33449 const IDESC * UNUSED idesc = abuf->idesc;
33450 int cycles = 0;
33452 int referenced = 0;
33453 int UNUSED insn_referenced = abuf->written;
33454 INT in_GRi = -1;
33455 INT in_GRj = -1;
33456 INT in_FRintk = -1;
33457 INT in_FRdoublek = -1;
33458 in_GRi = FLD (in_GRi);
33459 in_GRj = FLD (in_GRj);
33460 in_FRintk = FLD (in_FRintk);
33461 referenced |= 1 << 0;
33462 referenced |= 1 << 1;
33463 referenced |= 1 << 2;
33464 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33466 return cycles;
33467 #undef FLD
33470 static int
33471 model_fr500_stcu (SIM_CPU *current_cpu, void *sem_arg)
33473 #define FLD(f) abuf->fields.sfmt_stcu.f
33474 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33475 const IDESC * UNUSED idesc = abuf->idesc;
33476 int cycles = 0;
33478 int referenced = 0;
33479 int UNUSED insn_referenced = abuf->written;
33480 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
33482 return cycles;
33483 #undef FLD
33486 static int
33487 model_fr500_stdu (SIM_CPU *current_cpu, void *sem_arg)
33489 #define FLD(f) abuf->fields.sfmt_cstdu.f
33490 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33491 const IDESC * UNUSED idesc = abuf->idesc;
33492 int cycles = 0;
33494 int referenced = 0;
33495 int UNUSED insn_referenced = abuf->written;
33496 INT in_GRi = -1;
33497 INT in_GRj = -1;
33498 INT in_GRk = -1;
33499 INT in_GRdoublek = -1;
33500 in_GRi = FLD (in_GRi);
33501 in_GRj = FLD (in_GRj);
33502 in_GRdoublek = FLD (in_GRdoublek);
33503 referenced |= 1 << 0;
33504 referenced |= 1 << 1;
33505 referenced |= 1 << 3;
33506 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33508 return cycles;
33509 #undef FLD
33512 static int
33513 model_fr500_stdfu (SIM_CPU *current_cpu, void *sem_arg)
33515 #define FLD(f) abuf->fields.sfmt_cstdfu.f
33516 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33517 const IDESC * UNUSED idesc = abuf->idesc;
33518 int cycles = 0;
33520 int referenced = 0;
33521 int UNUSED insn_referenced = abuf->written;
33522 INT in_GRi = -1;
33523 INT in_GRj = -1;
33524 INT in_FRintk = -1;
33525 INT in_FRdoublek = -1;
33526 in_GRi = FLD (in_GRi);
33527 in_GRj = FLD (in_GRj);
33528 in_FRdoublek = FLD (in_FRdoublek);
33529 referenced |= 1 << 0;
33530 referenced |= 1 << 1;
33531 referenced |= 1 << 3;
33532 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33534 return cycles;
33535 #undef FLD
33538 static int
33539 model_fr500_stdcu (SIM_CPU *current_cpu, void *sem_arg)
33541 #define FLD(f) abuf->fields.sfmt_stdcu.f
33542 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33543 const IDESC * UNUSED idesc = abuf->idesc;
33544 int cycles = 0;
33546 int referenced = 0;
33547 int UNUSED insn_referenced = abuf->written;
33548 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
33550 return cycles;
33551 #undef FLD
33554 static int
33555 model_fr500_stqu (SIM_CPU *current_cpu, void *sem_arg)
33557 #define FLD(f) abuf->fields.sfmt_cstdu.f
33558 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33559 const IDESC * UNUSED idesc = abuf->idesc;
33560 int cycles = 0;
33562 int referenced = 0;
33563 int UNUSED insn_referenced = abuf->written;
33564 INT in_GRi = -1;
33565 INT in_GRj = -1;
33566 INT in_GRk = -1;
33567 INT in_GRdoublek = -1;
33568 in_GRi = FLD (in_GRi);
33569 in_GRj = FLD (in_GRj);
33570 referenced |= 1 << 0;
33571 referenced |= 1 << 1;
33572 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
33574 return cycles;
33575 #undef FLD
33578 static int
33579 model_fr500_stqfu (SIM_CPU *current_cpu, void *sem_arg)
33581 #define FLD(f) abuf->fields.sfmt_cstdfu.f
33582 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33583 const IDESC * UNUSED idesc = abuf->idesc;
33584 int cycles = 0;
33586 int referenced = 0;
33587 int UNUSED insn_referenced = abuf->written;
33588 INT in_GRi = -1;
33589 INT in_GRj = -1;
33590 INT in_FRintk = -1;
33591 INT in_FRdoublek = -1;
33592 in_GRi = FLD (in_GRi);
33593 in_GRj = FLD (in_GRj);
33594 referenced |= 1 << 0;
33595 referenced |= 1 << 1;
33596 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
33598 return cycles;
33599 #undef FLD
33602 static int
33603 model_fr500_stqcu (SIM_CPU *current_cpu, void *sem_arg)
33605 #define FLD(f) abuf->fields.sfmt_stdcu.f
33606 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33607 const IDESC * UNUSED idesc = abuf->idesc;
33608 int cycles = 0;
33610 int referenced = 0;
33611 int UNUSED insn_referenced = abuf->written;
33612 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
33614 return cycles;
33615 #undef FLD
33618 static int
33619 model_fr500_cldsb (SIM_CPU *current_cpu, void *sem_arg)
33621 #define FLD(f) abuf->fields.sfmt_cswap.f
33622 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33623 const IDESC * UNUSED idesc = abuf->idesc;
33624 int cycles = 0;
33626 int referenced = 0;
33627 int UNUSED insn_referenced = abuf->written;
33628 INT in_GRi = -1;
33629 INT in_GRj = -1;
33630 INT out_GRk = -1;
33631 INT out_GRdoublek = -1;
33632 in_GRi = FLD (in_GRi);
33633 in_GRj = FLD (in_GRj);
33634 out_GRk = FLD (out_GRk);
33635 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33636 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33637 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33638 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33640 return cycles;
33641 #undef FLD
33644 static int
33645 model_fr500_cldub (SIM_CPU *current_cpu, void *sem_arg)
33647 #define FLD(f) abuf->fields.sfmt_cswap.f
33648 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33649 const IDESC * UNUSED idesc = abuf->idesc;
33650 int cycles = 0;
33652 int referenced = 0;
33653 int UNUSED insn_referenced = abuf->written;
33654 INT in_GRi = -1;
33655 INT in_GRj = -1;
33656 INT out_GRk = -1;
33657 INT out_GRdoublek = -1;
33658 in_GRi = FLD (in_GRi);
33659 in_GRj = FLD (in_GRj);
33660 out_GRk = FLD (out_GRk);
33661 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33662 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33663 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33664 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33666 return cycles;
33667 #undef FLD
33670 static int
33671 model_fr500_cldsh (SIM_CPU *current_cpu, void *sem_arg)
33673 #define FLD(f) abuf->fields.sfmt_cswap.f
33674 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33675 const IDESC * UNUSED idesc = abuf->idesc;
33676 int cycles = 0;
33678 int referenced = 0;
33679 int UNUSED insn_referenced = abuf->written;
33680 INT in_GRi = -1;
33681 INT in_GRj = -1;
33682 INT out_GRk = -1;
33683 INT out_GRdoublek = -1;
33684 in_GRi = FLD (in_GRi);
33685 in_GRj = FLD (in_GRj);
33686 out_GRk = FLD (out_GRk);
33687 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33688 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33689 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33690 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33692 return cycles;
33693 #undef FLD
33696 static int
33697 model_fr500_clduh (SIM_CPU *current_cpu, void *sem_arg)
33699 #define FLD(f) abuf->fields.sfmt_cswap.f
33700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33701 const IDESC * UNUSED idesc = abuf->idesc;
33702 int cycles = 0;
33704 int referenced = 0;
33705 int UNUSED insn_referenced = abuf->written;
33706 INT in_GRi = -1;
33707 INT in_GRj = -1;
33708 INT out_GRk = -1;
33709 INT out_GRdoublek = -1;
33710 in_GRi = FLD (in_GRi);
33711 in_GRj = FLD (in_GRj);
33712 out_GRk = FLD (out_GRk);
33713 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33714 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33715 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33716 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33718 return cycles;
33719 #undef FLD
33722 static int
33723 model_fr500_cld (SIM_CPU *current_cpu, void *sem_arg)
33725 #define FLD(f) abuf->fields.sfmt_cswap.f
33726 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33727 const IDESC * UNUSED idesc = abuf->idesc;
33728 int cycles = 0;
33730 int referenced = 0;
33731 int UNUSED insn_referenced = abuf->written;
33732 INT in_GRi = -1;
33733 INT in_GRj = -1;
33734 INT out_GRk = -1;
33735 INT out_GRdoublek = -1;
33736 in_GRi = FLD (in_GRi);
33737 in_GRj = FLD (in_GRj);
33738 out_GRk = FLD (out_GRk);
33739 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33740 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33741 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33742 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33744 return cycles;
33745 #undef FLD
33748 static int
33749 model_fr500_cldbf (SIM_CPU *current_cpu, void *sem_arg)
33751 #define FLD(f) abuf->fields.sfmt_cldbfu.f
33752 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33753 const IDESC * UNUSED idesc = abuf->idesc;
33754 int cycles = 0;
33756 int referenced = 0;
33757 int UNUSED insn_referenced = abuf->written;
33758 INT in_GRi = -1;
33759 INT in_GRj = -1;
33760 INT out_FRintk = -1;
33761 INT out_FRdoublek = -1;
33762 in_GRi = FLD (in_GRi);
33763 in_GRj = FLD (in_GRj);
33764 out_FRintk = FLD (out_FRintk);
33765 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33766 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33767 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33768 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
33770 return cycles;
33771 #undef FLD
33774 static int
33775 model_fr500_cldhf (SIM_CPU *current_cpu, void *sem_arg)
33777 #define FLD(f) abuf->fields.sfmt_cldbfu.f
33778 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33779 const IDESC * UNUSED idesc = abuf->idesc;
33780 int cycles = 0;
33782 int referenced = 0;
33783 int UNUSED insn_referenced = abuf->written;
33784 INT in_GRi = -1;
33785 INT in_GRj = -1;
33786 INT out_FRintk = -1;
33787 INT out_FRdoublek = -1;
33788 in_GRi = FLD (in_GRi);
33789 in_GRj = FLD (in_GRj);
33790 out_FRintk = FLD (out_FRintk);
33791 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33792 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33793 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33794 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
33796 return cycles;
33797 #undef FLD
33800 static int
33801 model_fr500_cldf (SIM_CPU *current_cpu, void *sem_arg)
33803 #define FLD(f) abuf->fields.sfmt_cldbfu.f
33804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33805 const IDESC * UNUSED idesc = abuf->idesc;
33806 int cycles = 0;
33808 int referenced = 0;
33809 int UNUSED insn_referenced = abuf->written;
33810 INT in_GRi = -1;
33811 INT in_GRj = -1;
33812 INT out_FRintk = -1;
33813 INT out_FRdoublek = -1;
33814 in_GRi = FLD (in_GRi);
33815 in_GRj = FLD (in_GRj);
33816 out_FRintk = FLD (out_FRintk);
33817 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33818 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33819 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
33820 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
33822 return cycles;
33823 #undef FLD
33826 static int
33827 model_fr500_cldd (SIM_CPU *current_cpu, void *sem_arg)
33829 #define FLD(f) abuf->fields.sfmt_clddu.f
33830 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33831 const IDESC * UNUSED idesc = abuf->idesc;
33832 int cycles = 0;
33834 int referenced = 0;
33835 int UNUSED insn_referenced = abuf->written;
33836 INT in_GRi = -1;
33837 INT in_GRj = -1;
33838 INT out_GRk = -1;
33839 INT out_GRdoublek = -1;
33840 in_GRi = FLD (in_GRi);
33841 in_GRj = FLD (in_GRj);
33842 out_GRdoublek = FLD (out_GRdoublek);
33843 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33844 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33845 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
33846 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33848 return cycles;
33849 #undef FLD
33852 static int
33853 model_fr500_clddf (SIM_CPU *current_cpu, void *sem_arg)
33855 #define FLD(f) abuf->fields.sfmt_clddfu.f
33856 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33857 const IDESC * UNUSED idesc = abuf->idesc;
33858 int cycles = 0;
33860 int referenced = 0;
33861 int UNUSED insn_referenced = abuf->written;
33862 INT in_GRi = -1;
33863 INT in_GRj = -1;
33864 INT out_GRk = -1;
33865 INT out_GRdoublek = -1;
33866 in_GRi = FLD (in_GRi);
33867 in_GRj = FLD (in_GRj);
33868 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33869 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33870 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33872 return cycles;
33873 #undef FLD
33876 static int
33877 model_fr500_cldq (SIM_CPU *current_cpu, void *sem_arg)
33879 #define FLD(f) abuf->fields.sfmt_cswap.f
33880 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33881 const IDESC * UNUSED idesc = abuf->idesc;
33882 int cycles = 0;
33884 int referenced = 0;
33885 int UNUSED insn_referenced = abuf->written;
33886 INT in_GRi = -1;
33887 INT in_GRj = -1;
33888 INT out_GRk = -1;
33889 INT out_GRdoublek = -1;
33890 in_GRi = FLD (in_GRi);
33891 in_GRj = FLD (in_GRj);
33892 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33893 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33894 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33896 return cycles;
33897 #undef FLD
33900 static int
33901 model_fr500_cldsbu (SIM_CPU *current_cpu, void *sem_arg)
33903 #define FLD(f) abuf->fields.sfmt_cldsbu.f
33904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33905 const IDESC * UNUSED idesc = abuf->idesc;
33906 int cycles = 0;
33908 int referenced = 0;
33909 int UNUSED insn_referenced = abuf->written;
33910 INT in_GRi = -1;
33911 INT in_GRj = -1;
33912 INT out_GRk = -1;
33913 INT out_GRdoublek = -1;
33914 in_GRi = FLD (in_GRi);
33915 in_GRj = FLD (in_GRj);
33916 out_GRk = FLD (out_GRk);
33917 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33918 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33919 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
33920 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33922 return cycles;
33923 #undef FLD
33926 static int
33927 model_fr500_cldubu (SIM_CPU *current_cpu, void *sem_arg)
33929 #define FLD(f) abuf->fields.sfmt_cldsbu.f
33930 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33931 const IDESC * UNUSED idesc = abuf->idesc;
33932 int cycles = 0;
33934 int referenced = 0;
33935 int UNUSED insn_referenced = abuf->written;
33936 INT in_GRi = -1;
33937 INT in_GRj = -1;
33938 INT out_GRk = -1;
33939 INT out_GRdoublek = -1;
33940 in_GRi = FLD (in_GRi);
33941 in_GRj = FLD (in_GRj);
33942 out_GRk = FLD (out_GRk);
33943 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33944 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33945 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
33946 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33948 return cycles;
33949 #undef FLD
33952 static int
33953 model_fr500_cldshu (SIM_CPU *current_cpu, void *sem_arg)
33955 #define FLD(f) abuf->fields.sfmt_cldsbu.f
33956 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33957 const IDESC * UNUSED idesc = abuf->idesc;
33958 int cycles = 0;
33960 int referenced = 0;
33961 int UNUSED insn_referenced = abuf->written;
33962 INT in_GRi = -1;
33963 INT in_GRj = -1;
33964 INT out_GRk = -1;
33965 INT out_GRdoublek = -1;
33966 in_GRi = FLD (in_GRi);
33967 in_GRj = FLD (in_GRj);
33968 out_GRk = FLD (out_GRk);
33969 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33970 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33971 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
33972 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
33974 return cycles;
33975 #undef FLD
33978 static int
33979 model_fr500_clduhu (SIM_CPU *current_cpu, void *sem_arg)
33981 #define FLD(f) abuf->fields.sfmt_cldsbu.f
33982 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
33983 const IDESC * UNUSED idesc = abuf->idesc;
33984 int cycles = 0;
33986 int referenced = 0;
33987 int UNUSED insn_referenced = abuf->written;
33988 INT in_GRi = -1;
33989 INT in_GRj = -1;
33990 INT out_GRk = -1;
33991 INT out_GRdoublek = -1;
33992 in_GRi = FLD (in_GRi);
33993 in_GRj = FLD (in_GRj);
33994 out_GRk = FLD (out_GRk);
33995 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
33996 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
33997 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
33998 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
34000 return cycles;
34001 #undef FLD
34004 static int
34005 model_fr500_cldu (SIM_CPU *current_cpu, void *sem_arg)
34007 #define FLD(f) abuf->fields.sfmt_cldsbu.f
34008 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34009 const IDESC * UNUSED idesc = abuf->idesc;
34010 int cycles = 0;
34012 int referenced = 0;
34013 int UNUSED insn_referenced = abuf->written;
34014 INT in_GRi = -1;
34015 INT in_GRj = -1;
34016 INT out_GRk = -1;
34017 INT out_GRdoublek = -1;
34018 in_GRi = FLD (in_GRi);
34019 in_GRj = FLD (in_GRj);
34020 out_GRk = FLD (out_GRk);
34021 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34022 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34023 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
34024 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
34026 return cycles;
34027 #undef FLD
34030 static int
34031 model_fr500_cldbfu (SIM_CPU *current_cpu, void *sem_arg)
34033 #define FLD(f) abuf->fields.sfmt_cldbfu.f
34034 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34035 const IDESC * UNUSED idesc = abuf->idesc;
34036 int cycles = 0;
34038 int referenced = 0;
34039 int UNUSED insn_referenced = abuf->written;
34040 INT in_GRi = -1;
34041 INT in_GRj = -1;
34042 INT out_FRintk = -1;
34043 INT out_FRdoublek = -1;
34044 in_GRi = FLD (in_GRi);
34045 in_GRj = FLD (in_GRj);
34046 out_FRintk = FLD (out_FRintk);
34047 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34048 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34049 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
34050 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
34052 return cycles;
34053 #undef FLD
34056 static int
34057 model_fr500_cldhfu (SIM_CPU *current_cpu, void *sem_arg)
34059 #define FLD(f) abuf->fields.sfmt_cldbfu.f
34060 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34061 const IDESC * UNUSED idesc = abuf->idesc;
34062 int cycles = 0;
34064 int referenced = 0;
34065 int UNUSED insn_referenced = abuf->written;
34066 INT in_GRi = -1;
34067 INT in_GRj = -1;
34068 INT out_FRintk = -1;
34069 INT out_FRdoublek = -1;
34070 in_GRi = FLD (in_GRi);
34071 in_GRj = FLD (in_GRj);
34072 out_FRintk = FLD (out_FRintk);
34073 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34074 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34075 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
34076 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
34078 return cycles;
34079 #undef FLD
34082 static int
34083 model_fr500_cldfu (SIM_CPU *current_cpu, void *sem_arg)
34085 #define FLD(f) abuf->fields.sfmt_cldbfu.f
34086 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34087 const IDESC * UNUSED idesc = abuf->idesc;
34088 int cycles = 0;
34090 int referenced = 0;
34091 int UNUSED insn_referenced = abuf->written;
34092 INT in_GRi = -1;
34093 INT in_GRj = -1;
34094 INT out_FRintk = -1;
34095 INT out_FRdoublek = -1;
34096 in_GRi = FLD (in_GRi);
34097 in_GRj = FLD (in_GRj);
34098 out_FRintk = FLD (out_FRintk);
34099 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34100 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34101 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
34102 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
34104 return cycles;
34105 #undef FLD
34108 static int
34109 model_fr500_clddu (SIM_CPU *current_cpu, void *sem_arg)
34111 #define FLD(f) abuf->fields.sfmt_clddu.f
34112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34113 const IDESC * UNUSED idesc = abuf->idesc;
34114 int cycles = 0;
34116 int referenced = 0;
34117 int UNUSED insn_referenced = abuf->written;
34118 INT in_GRi = -1;
34119 INT in_GRj = -1;
34120 INT out_GRk = -1;
34121 INT out_GRdoublek = -1;
34122 in_GRi = FLD (in_GRi);
34123 in_GRj = FLD (in_GRj);
34124 out_GRdoublek = FLD (out_GRdoublek);
34125 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34126 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34127 if (insn_referenced & (1 << 7)) referenced |= 1 << 3;
34128 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
34130 return cycles;
34131 #undef FLD
34134 static int
34135 model_fr500_clddfu (SIM_CPU *current_cpu, void *sem_arg)
34137 #define FLD(f) abuf->fields.sfmt_clddfu.f
34138 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34139 const IDESC * UNUSED idesc = abuf->idesc;
34140 int cycles = 0;
34142 int referenced = 0;
34143 int UNUSED insn_referenced = abuf->written;
34144 INT in_GRi = -1;
34145 INT in_GRj = -1;
34146 INT out_FRintk = -1;
34147 INT out_FRdoublek = -1;
34148 in_GRi = FLD (in_GRi);
34149 in_GRj = FLD (in_GRj);
34150 out_FRdoublek = FLD (out_FRdoublek);
34151 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34152 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34153 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
34154 cycles += frvbf_model_fr500_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
34156 return cycles;
34157 #undef FLD
34160 static int
34161 model_fr500_cldqu (SIM_CPU *current_cpu, void *sem_arg)
34163 #define FLD(f) abuf->fields.sfmt_cstdu.f
34164 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34165 const IDESC * UNUSED idesc = abuf->idesc;
34166 int cycles = 0;
34168 int referenced = 0;
34169 int UNUSED insn_referenced = abuf->written;
34170 INT in_GRi = -1;
34171 INT in_GRj = -1;
34172 INT out_GRk = -1;
34173 INT out_GRdoublek = -1;
34174 in_GRi = FLD (in_GRi);
34175 in_GRj = FLD (in_GRj);
34176 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34177 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34178 cycles += frvbf_model_fr500_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
34180 return cycles;
34181 #undef FLD
34184 static int
34185 model_fr500_cstb (SIM_CPU *current_cpu, void *sem_arg)
34187 #define FLD(f) abuf->fields.sfmt_cswap.f
34188 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34189 const IDESC * UNUSED idesc = abuf->idesc;
34190 int cycles = 0;
34192 int referenced = 0;
34193 int UNUSED insn_referenced = abuf->written;
34194 INT in_GRi = -1;
34195 INT in_GRj = -1;
34196 INT in_GRk = -1;
34197 INT in_GRdoublek = -1;
34198 in_GRi = FLD (in_GRi);
34199 in_GRj = FLD (in_GRj);
34200 in_GRk = FLD (in_GRk);
34201 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34202 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34203 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
34204 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34206 return cycles;
34207 #undef FLD
34210 static int
34211 model_fr500_csth (SIM_CPU *current_cpu, void *sem_arg)
34213 #define FLD(f) abuf->fields.sfmt_cswap.f
34214 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34215 const IDESC * UNUSED idesc = abuf->idesc;
34216 int cycles = 0;
34218 int referenced = 0;
34219 int UNUSED insn_referenced = abuf->written;
34220 INT in_GRi = -1;
34221 INT in_GRj = -1;
34222 INT in_GRk = -1;
34223 INT in_GRdoublek = -1;
34224 in_GRi = FLD (in_GRi);
34225 in_GRj = FLD (in_GRj);
34226 in_GRk = FLD (in_GRk);
34227 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34228 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34229 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
34230 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34232 return cycles;
34233 #undef FLD
34236 static int
34237 model_fr500_cst (SIM_CPU *current_cpu, void *sem_arg)
34239 #define FLD(f) abuf->fields.sfmt_cswap.f
34240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34241 const IDESC * UNUSED idesc = abuf->idesc;
34242 int cycles = 0;
34244 int referenced = 0;
34245 int UNUSED insn_referenced = abuf->written;
34246 INT in_GRi = -1;
34247 INT in_GRj = -1;
34248 INT in_GRk = -1;
34249 INT in_GRdoublek = -1;
34250 in_GRi = FLD (in_GRi);
34251 in_GRj = FLD (in_GRj);
34252 in_GRk = FLD (in_GRk);
34253 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34254 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34255 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
34256 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34258 return cycles;
34259 #undef FLD
34262 static int
34263 model_fr500_cstbf (SIM_CPU *current_cpu, void *sem_arg)
34265 #define FLD(f) abuf->fields.sfmt_cstbfu.f
34266 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34267 const IDESC * UNUSED idesc = abuf->idesc;
34268 int cycles = 0;
34270 int referenced = 0;
34271 int UNUSED insn_referenced = abuf->written;
34272 INT in_GRi = -1;
34273 INT in_GRj = -1;
34274 INT in_FRintk = -1;
34275 INT in_FRdoublek = -1;
34276 in_GRi = FLD (in_GRi);
34277 in_GRj = FLD (in_GRj);
34278 in_FRintk = FLD (in_FRintk);
34279 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34280 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34281 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
34282 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34284 return cycles;
34285 #undef FLD
34288 static int
34289 model_fr500_csthf (SIM_CPU *current_cpu, void *sem_arg)
34291 #define FLD(f) abuf->fields.sfmt_cstbfu.f
34292 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34293 const IDESC * UNUSED idesc = abuf->idesc;
34294 int cycles = 0;
34296 int referenced = 0;
34297 int UNUSED insn_referenced = abuf->written;
34298 INT in_GRi = -1;
34299 INT in_GRj = -1;
34300 INT in_FRintk = -1;
34301 INT in_FRdoublek = -1;
34302 in_GRi = FLD (in_GRi);
34303 in_GRj = FLD (in_GRj);
34304 in_FRintk = FLD (in_FRintk);
34305 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34306 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34307 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
34308 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34310 return cycles;
34311 #undef FLD
34314 static int
34315 model_fr500_cstf (SIM_CPU *current_cpu, void *sem_arg)
34317 #define FLD(f) abuf->fields.sfmt_cstbfu.f
34318 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34319 const IDESC * UNUSED idesc = abuf->idesc;
34320 int cycles = 0;
34322 int referenced = 0;
34323 int UNUSED insn_referenced = abuf->written;
34324 INT in_GRi = -1;
34325 INT in_GRj = -1;
34326 INT in_FRintk = -1;
34327 INT in_FRdoublek = -1;
34328 in_GRi = FLD (in_GRi);
34329 in_GRj = FLD (in_GRj);
34330 in_FRintk = FLD (in_FRintk);
34331 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34332 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34333 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
34334 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34336 return cycles;
34337 #undef FLD
34340 static int
34341 model_fr500_cstd (SIM_CPU *current_cpu, void *sem_arg)
34343 #define FLD(f) abuf->fields.sfmt_cstdu.f
34344 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34345 const IDESC * UNUSED idesc = abuf->idesc;
34346 int cycles = 0;
34348 int referenced = 0;
34349 int UNUSED insn_referenced = abuf->written;
34350 INT in_GRi = -1;
34351 INT in_GRj = -1;
34352 INT in_GRk = -1;
34353 INT in_GRdoublek = -1;
34354 in_GRi = FLD (in_GRi);
34355 in_GRj = FLD (in_GRj);
34356 in_GRdoublek = FLD (in_GRdoublek);
34357 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34358 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34359 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
34360 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34362 return cycles;
34363 #undef FLD
34366 static int
34367 model_fr500_cstdf (SIM_CPU *current_cpu, void *sem_arg)
34369 #define FLD(f) abuf->fields.sfmt_cstdfu.f
34370 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34371 const IDESC * UNUSED idesc = abuf->idesc;
34372 int cycles = 0;
34374 int referenced = 0;
34375 int UNUSED insn_referenced = abuf->written;
34376 INT in_GRi = -1;
34377 INT in_GRj = -1;
34378 INT in_FRintk = -1;
34379 INT in_FRdoublek = -1;
34380 in_GRi = FLD (in_GRi);
34381 in_GRj = FLD (in_GRj);
34382 in_FRdoublek = FLD (in_FRdoublek);
34383 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34384 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34385 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
34386 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34388 return cycles;
34389 #undef FLD
34392 static int
34393 model_fr500_cstq (SIM_CPU *current_cpu, void *sem_arg)
34395 #define FLD(f) abuf->fields.sfmt_cswap.f
34396 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34397 const IDESC * UNUSED idesc = abuf->idesc;
34398 int cycles = 0;
34400 int referenced = 0;
34401 int UNUSED insn_referenced = abuf->written;
34402 INT in_GRi = -1;
34403 INT in_GRj = -1;
34404 INT in_GRk = -1;
34405 INT in_GRdoublek = -1;
34406 in_GRi = FLD (in_GRi);
34407 in_GRj = FLD (in_GRj);
34408 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34409 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34410 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34412 return cycles;
34413 #undef FLD
34416 static int
34417 model_fr500_cstbu (SIM_CPU *current_cpu, void *sem_arg)
34419 #define FLD(f) abuf->fields.sfmt_cstbu.f
34420 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34421 const IDESC * UNUSED idesc = abuf->idesc;
34422 int cycles = 0;
34424 int referenced = 0;
34425 int UNUSED insn_referenced = abuf->written;
34426 INT in_GRi = -1;
34427 INT in_GRj = -1;
34428 INT in_GRk = -1;
34429 INT in_GRdoublek = -1;
34430 in_GRi = FLD (in_GRi);
34431 in_GRj = FLD (in_GRj);
34432 in_GRk = FLD (in_GRk);
34433 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34434 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34435 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
34436 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34438 return cycles;
34439 #undef FLD
34442 static int
34443 model_fr500_csthu (SIM_CPU *current_cpu, void *sem_arg)
34445 #define FLD(f) abuf->fields.sfmt_cstbu.f
34446 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34447 const IDESC * UNUSED idesc = abuf->idesc;
34448 int cycles = 0;
34450 int referenced = 0;
34451 int UNUSED insn_referenced = abuf->written;
34452 INT in_GRi = -1;
34453 INT in_GRj = -1;
34454 INT in_GRk = -1;
34455 INT in_GRdoublek = -1;
34456 in_GRi = FLD (in_GRi);
34457 in_GRj = FLD (in_GRj);
34458 in_GRk = FLD (in_GRk);
34459 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34460 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34461 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
34462 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34464 return cycles;
34465 #undef FLD
34468 static int
34469 model_fr500_cstu (SIM_CPU *current_cpu, void *sem_arg)
34471 #define FLD(f) abuf->fields.sfmt_cstbu.f
34472 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34473 const IDESC * UNUSED idesc = abuf->idesc;
34474 int cycles = 0;
34476 int referenced = 0;
34477 int UNUSED insn_referenced = abuf->written;
34478 INT in_GRi = -1;
34479 INT in_GRj = -1;
34480 INT in_GRk = -1;
34481 INT in_GRdoublek = -1;
34482 in_GRi = FLD (in_GRi);
34483 in_GRj = FLD (in_GRj);
34484 in_GRk = FLD (in_GRk);
34485 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34486 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34487 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
34488 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34490 return cycles;
34491 #undef FLD
34494 static int
34495 model_fr500_cstbfu (SIM_CPU *current_cpu, void *sem_arg)
34497 #define FLD(f) abuf->fields.sfmt_cstbfu.f
34498 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34499 const IDESC * UNUSED idesc = abuf->idesc;
34500 int cycles = 0;
34502 int referenced = 0;
34503 int UNUSED insn_referenced = abuf->written;
34504 INT in_GRi = -1;
34505 INT in_GRj = -1;
34506 INT in_FRintk = -1;
34507 INT in_FRdoublek = -1;
34508 in_GRi = FLD (in_GRi);
34509 in_GRj = FLD (in_GRj);
34510 in_FRintk = FLD (in_FRintk);
34511 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34512 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34513 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
34514 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34516 return cycles;
34517 #undef FLD
34520 static int
34521 model_fr500_csthfu (SIM_CPU *current_cpu, void *sem_arg)
34523 #define FLD(f) abuf->fields.sfmt_cstbfu.f
34524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34525 const IDESC * UNUSED idesc = abuf->idesc;
34526 int cycles = 0;
34528 int referenced = 0;
34529 int UNUSED insn_referenced = abuf->written;
34530 INT in_GRi = -1;
34531 INT in_GRj = -1;
34532 INT in_FRintk = -1;
34533 INT in_FRdoublek = -1;
34534 in_GRi = FLD (in_GRi);
34535 in_GRj = FLD (in_GRj);
34536 in_FRintk = FLD (in_FRintk);
34537 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34538 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34539 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
34540 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34542 return cycles;
34543 #undef FLD
34546 static int
34547 model_fr500_cstfu (SIM_CPU *current_cpu, void *sem_arg)
34549 #define FLD(f) abuf->fields.sfmt_cstbfu.f
34550 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34551 const IDESC * UNUSED idesc = abuf->idesc;
34552 int cycles = 0;
34554 int referenced = 0;
34555 int UNUSED insn_referenced = abuf->written;
34556 INT in_GRi = -1;
34557 INT in_GRj = -1;
34558 INT in_FRintk = -1;
34559 INT in_FRdoublek = -1;
34560 in_GRi = FLD (in_GRi);
34561 in_GRj = FLD (in_GRj);
34562 in_FRintk = FLD (in_FRintk);
34563 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34564 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34565 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
34566 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34568 return cycles;
34569 #undef FLD
34572 static int
34573 model_fr500_cstdu (SIM_CPU *current_cpu, void *sem_arg)
34575 #define FLD(f) abuf->fields.sfmt_cstdu.f
34576 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34577 const IDESC * UNUSED idesc = abuf->idesc;
34578 int cycles = 0;
34580 int referenced = 0;
34581 int UNUSED insn_referenced = abuf->written;
34582 INT in_GRi = -1;
34583 INT in_GRj = -1;
34584 INT in_GRk = -1;
34585 INT in_GRdoublek = -1;
34586 in_GRi = FLD (in_GRi);
34587 in_GRj = FLD (in_GRj);
34588 in_GRdoublek = FLD (in_GRdoublek);
34589 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34590 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34591 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
34592 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34594 return cycles;
34595 #undef FLD
34598 static int
34599 model_fr500_cstdfu (SIM_CPU *current_cpu, void *sem_arg)
34601 #define FLD(f) abuf->fields.sfmt_cstdfu.f
34602 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34603 const IDESC * UNUSED idesc = abuf->idesc;
34604 int cycles = 0;
34606 int referenced = 0;
34607 int UNUSED insn_referenced = abuf->written;
34608 INT in_GRi = -1;
34609 INT in_GRj = -1;
34610 INT in_FRintk = -1;
34611 INT in_FRdoublek = -1;
34612 in_GRi = FLD (in_GRi);
34613 in_GRj = FLD (in_GRj);
34614 in_FRdoublek = FLD (in_FRdoublek);
34615 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
34616 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
34617 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
34618 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34620 return cycles;
34621 #undef FLD
34624 static int
34625 model_fr500_stbi (SIM_CPU *current_cpu, void *sem_arg)
34627 #define FLD(f) abuf->fields.sfmt_swapi.f
34628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34629 const IDESC * UNUSED idesc = abuf->idesc;
34630 int cycles = 0;
34632 int referenced = 0;
34633 int UNUSED insn_referenced = abuf->written;
34634 INT in_GRi = -1;
34635 INT in_GRj = -1;
34636 INT in_GRk = -1;
34637 INT in_GRdoublek = -1;
34638 in_GRi = FLD (in_GRi);
34639 in_GRk = FLD (in_GRk);
34640 referenced |= 1 << 0;
34641 referenced |= 1 << 2;
34642 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34644 return cycles;
34645 #undef FLD
34648 static int
34649 model_fr500_sthi (SIM_CPU *current_cpu, void *sem_arg)
34651 #define FLD(f) abuf->fields.sfmt_swapi.f
34652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34653 const IDESC * UNUSED idesc = abuf->idesc;
34654 int cycles = 0;
34656 int referenced = 0;
34657 int UNUSED insn_referenced = abuf->written;
34658 INT in_GRi = -1;
34659 INT in_GRj = -1;
34660 INT in_GRk = -1;
34661 INT in_GRdoublek = -1;
34662 in_GRi = FLD (in_GRi);
34663 in_GRk = FLD (in_GRk);
34664 referenced |= 1 << 0;
34665 referenced |= 1 << 2;
34666 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34668 return cycles;
34669 #undef FLD
34672 static int
34673 model_fr500_sti (SIM_CPU *current_cpu, void *sem_arg)
34675 #define FLD(f) abuf->fields.sfmt_swapi.f
34676 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34677 const IDESC * UNUSED idesc = abuf->idesc;
34678 int cycles = 0;
34680 int referenced = 0;
34681 int UNUSED insn_referenced = abuf->written;
34682 INT in_GRi = -1;
34683 INT in_GRj = -1;
34684 INT in_GRk = -1;
34685 INT in_GRdoublek = -1;
34686 in_GRi = FLD (in_GRi);
34687 in_GRk = FLD (in_GRk);
34688 referenced |= 1 << 0;
34689 referenced |= 1 << 2;
34690 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34692 return cycles;
34693 #undef FLD
34696 static int
34697 model_fr500_stbfi (SIM_CPU *current_cpu, void *sem_arg)
34699 #define FLD(f) abuf->fields.sfmt_stbfi.f
34700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34701 const IDESC * UNUSED idesc = abuf->idesc;
34702 int cycles = 0;
34704 int referenced = 0;
34705 int UNUSED insn_referenced = abuf->written;
34706 INT in_GRi = -1;
34707 INT in_GRj = -1;
34708 INT in_FRintk = -1;
34709 INT in_FRdoublek = -1;
34710 in_GRi = FLD (in_GRi);
34711 in_FRintk = FLD (in_FRintk);
34712 referenced |= 1 << 0;
34713 referenced |= 1 << 2;
34714 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34716 return cycles;
34717 #undef FLD
34720 static int
34721 model_fr500_sthfi (SIM_CPU *current_cpu, void *sem_arg)
34723 #define FLD(f) abuf->fields.sfmt_stbfi.f
34724 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34725 const IDESC * UNUSED idesc = abuf->idesc;
34726 int cycles = 0;
34728 int referenced = 0;
34729 int UNUSED insn_referenced = abuf->written;
34730 INT in_GRi = -1;
34731 INT in_GRj = -1;
34732 INT in_FRintk = -1;
34733 INT in_FRdoublek = -1;
34734 in_GRi = FLD (in_GRi);
34735 in_FRintk = FLD (in_FRintk);
34736 referenced |= 1 << 0;
34737 referenced |= 1 << 2;
34738 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34740 return cycles;
34741 #undef FLD
34744 static int
34745 model_fr500_stfi (SIM_CPU *current_cpu, void *sem_arg)
34747 #define FLD(f) abuf->fields.sfmt_stbfi.f
34748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34749 const IDESC * UNUSED idesc = abuf->idesc;
34750 int cycles = 0;
34752 int referenced = 0;
34753 int UNUSED insn_referenced = abuf->written;
34754 INT in_GRi = -1;
34755 INT in_GRj = -1;
34756 INT in_FRintk = -1;
34757 INT in_FRdoublek = -1;
34758 in_GRi = FLD (in_GRi);
34759 in_FRintk = FLD (in_FRintk);
34760 referenced |= 1 << 0;
34761 referenced |= 1 << 2;
34762 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34764 return cycles;
34765 #undef FLD
34768 static int
34769 model_fr500_stdi (SIM_CPU *current_cpu, void *sem_arg)
34771 #define FLD(f) abuf->fields.sfmt_stdi.f
34772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34773 const IDESC * UNUSED idesc = abuf->idesc;
34774 int cycles = 0;
34776 int referenced = 0;
34777 int UNUSED insn_referenced = abuf->written;
34778 INT in_GRi = -1;
34779 INT in_GRj = -1;
34780 INT in_GRk = -1;
34781 INT in_GRdoublek = -1;
34782 in_GRi = FLD (in_GRi);
34783 in_GRdoublek = FLD (in_GRdoublek);
34784 referenced |= 1 << 0;
34785 referenced |= 1 << 3;
34786 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34788 return cycles;
34789 #undef FLD
34792 static int
34793 model_fr500_stdfi (SIM_CPU *current_cpu, void *sem_arg)
34795 #define FLD(f) abuf->fields.sfmt_stdfi.f
34796 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34797 const IDESC * UNUSED idesc = abuf->idesc;
34798 int cycles = 0;
34800 int referenced = 0;
34801 int UNUSED insn_referenced = abuf->written;
34802 INT in_GRi = -1;
34803 INT in_GRj = -1;
34804 INT in_FRintk = -1;
34805 INT in_FRdoublek = -1;
34806 in_GRi = FLD (in_GRi);
34807 in_FRdoublek = FLD (in_FRdoublek);
34808 referenced |= 1 << 0;
34809 referenced |= 1 << 3;
34810 cycles += frvbf_model_fr500_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
34812 return cycles;
34813 #undef FLD
34816 static int
34817 model_fr500_stqi (SIM_CPU *current_cpu, void *sem_arg)
34819 #define FLD(f) abuf->fields.sfmt_stdi.f
34820 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34821 const IDESC * UNUSED idesc = abuf->idesc;
34822 int cycles = 0;
34824 int referenced = 0;
34825 int UNUSED insn_referenced = abuf->written;
34826 INT in_GRi = -1;
34827 INT in_GRj = -1;
34828 INT in_GRk = -1;
34829 INT in_GRdoublek = -1;
34830 in_GRi = FLD (in_GRi);
34831 referenced |= 1 << 0;
34832 cycles += frvbf_model_fr500_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
34834 return cycles;
34835 #undef FLD
34838 static int
34839 model_fr500_stqfi (SIM_CPU *current_cpu, void *sem_arg)
34841 #define FLD(f) abuf->fields.sfmt_stdfi.f
34842 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34843 const IDESC * UNUSED idesc = abuf->idesc;
34844 int cycles = 0;
34846 int referenced = 0;
34847 int UNUSED insn_referenced = abuf->written;
34848 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
34850 return cycles;
34851 #undef FLD
34854 static int
34855 model_fr500_swap (SIM_CPU *current_cpu, void *sem_arg)
34857 #define FLD(f) abuf->fields.sfmt_cswap.f
34858 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34859 const IDESC * UNUSED idesc = abuf->idesc;
34860 int cycles = 0;
34862 int referenced = 0;
34863 int UNUSED insn_referenced = abuf->written;
34864 INT in_GRi = -1;
34865 INT in_GRj = -1;
34866 INT out_GRk = -1;
34867 in_GRi = FLD (in_GRi);
34868 in_GRj = FLD (in_GRj);
34869 out_GRk = FLD (out_GRk);
34870 referenced |= 1 << 0;
34871 referenced |= 1 << 1;
34872 referenced |= 1 << 2;
34873 cycles += frvbf_model_fr500_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
34875 return cycles;
34876 #undef FLD
34879 static int
34880 model_fr500_swapi (SIM_CPU *current_cpu, void *sem_arg)
34882 #define FLD(f) abuf->fields.sfmt_swapi.f
34883 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34884 const IDESC * UNUSED idesc = abuf->idesc;
34885 int cycles = 0;
34887 int referenced = 0;
34888 int UNUSED insn_referenced = abuf->written;
34889 INT in_GRi = -1;
34890 INT in_GRj = -1;
34891 INT out_GRk = -1;
34892 in_GRi = FLD (in_GRi);
34893 out_GRk = FLD (out_GRk);
34894 referenced |= 1 << 0;
34895 referenced |= 1 << 2;
34896 cycles += frvbf_model_fr500_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
34898 return cycles;
34899 #undef FLD
34902 static int
34903 model_fr500_cswap (SIM_CPU *current_cpu, void *sem_arg)
34905 #define FLD(f) abuf->fields.sfmt_cswap.f
34906 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34907 const IDESC * UNUSED idesc = abuf->idesc;
34908 int cycles = 0;
34910 int referenced = 0;
34911 int UNUSED insn_referenced = abuf->written;
34912 INT in_GRi = -1;
34913 INT in_GRj = -1;
34914 INT out_GRk = -1;
34915 in_GRi = FLD (in_GRi);
34916 in_GRj = FLD (in_GRj);
34917 out_GRk = FLD (out_GRk);
34918 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
34919 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
34920 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
34921 cycles += frvbf_model_fr500_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
34923 return cycles;
34924 #undef FLD
34927 static int
34928 model_fr500_movgf (SIM_CPU *current_cpu, void *sem_arg)
34930 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
34931 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34932 const IDESC * UNUSED idesc = abuf->idesc;
34933 int cycles = 0;
34935 int referenced = 0;
34936 int UNUSED insn_referenced = abuf->written;
34937 INT in_GRj = -1;
34938 INT out_FRintk = -1;
34939 in_GRj = FLD (in_GRj);
34940 out_FRintk = FLD (out_FRintk);
34941 referenced |= 1 << 0;
34942 referenced |= 1 << 1;
34943 cycles += frvbf_model_fr500_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
34945 return cycles;
34946 #undef FLD
34949 static int
34950 model_fr500_movfg (SIM_CPU *current_cpu, void *sem_arg)
34952 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
34953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34954 const IDESC * UNUSED idesc = abuf->idesc;
34955 int cycles = 0;
34957 int referenced = 0;
34958 int UNUSED insn_referenced = abuf->written;
34959 INT in_FRintk = -1;
34960 INT out_GRj = -1;
34961 in_FRintk = FLD (in_FRintk);
34962 out_GRj = FLD (out_GRj);
34963 referenced |= 1 << 0;
34964 referenced |= 1 << 1;
34965 cycles += frvbf_model_fr500_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
34967 return cycles;
34968 #undef FLD
34971 static int
34972 model_fr500_movgfd (SIM_CPU *current_cpu, void *sem_arg)
34974 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
34975 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34976 const IDESC * UNUSED idesc = abuf->idesc;
34977 int cycles = 0;
34979 int referenced = 0;
34980 int UNUSED insn_referenced = abuf->written;
34981 INT in_GRj = -1;
34982 INT out_FRintk = -1;
34983 in_GRj = FLD (in_GRj);
34984 out_FRintk = FLD (out_FRintk);
34985 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
34986 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
34987 cycles += frvbf_model_fr500_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
34989 return cycles;
34990 #undef FLD
34993 static int
34994 model_fr500_movfgd (SIM_CPU *current_cpu, void *sem_arg)
34996 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
34997 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
34998 const IDESC * UNUSED idesc = abuf->idesc;
34999 int cycles = 0;
35001 int referenced = 0;
35002 int UNUSED insn_referenced = abuf->written;
35003 INT in_FRintk = -1;
35004 INT out_GRj = -1;
35005 in_FRintk = FLD (in_FRintk);
35006 out_GRj = FLD (out_GRj);
35007 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
35008 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
35009 cycles += frvbf_model_fr500_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
35011 return cycles;
35012 #undef FLD
35015 static int
35016 model_fr500_movgfq (SIM_CPU *current_cpu, void *sem_arg)
35018 #define FLD(f) abuf->fields.sfmt_movgfq.f
35019 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35020 const IDESC * UNUSED idesc = abuf->idesc;
35021 int cycles = 0;
35023 int referenced = 0;
35024 int UNUSED insn_referenced = abuf->written;
35025 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
35027 return cycles;
35028 #undef FLD
35031 static int
35032 model_fr500_movfgq (SIM_CPU *current_cpu, void *sem_arg)
35034 #define FLD(f) abuf->fields.sfmt_movfgq.f
35035 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35036 const IDESC * UNUSED idesc = abuf->idesc;
35037 int cycles = 0;
35039 int referenced = 0;
35040 int UNUSED insn_referenced = abuf->written;
35041 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
35043 return cycles;
35044 #undef FLD
35047 static int
35048 model_fr500_cmovgf (SIM_CPU *current_cpu, void *sem_arg)
35050 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
35051 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35052 const IDESC * UNUSED idesc = abuf->idesc;
35053 int cycles = 0;
35055 int referenced = 0;
35056 int UNUSED insn_referenced = abuf->written;
35057 INT in_GRj = -1;
35058 INT out_FRintk = -1;
35059 in_GRj = FLD (in_GRj);
35060 out_FRintk = FLD (out_FRintk);
35061 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
35062 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
35063 cycles += frvbf_model_fr500_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
35065 return cycles;
35066 #undef FLD
35069 static int
35070 model_fr500_cmovfg (SIM_CPU *current_cpu, void *sem_arg)
35072 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
35073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35074 const IDESC * UNUSED idesc = abuf->idesc;
35075 int cycles = 0;
35077 int referenced = 0;
35078 int UNUSED insn_referenced = abuf->written;
35079 INT in_FRintk = -1;
35080 INT out_GRj = -1;
35081 in_FRintk = FLD (in_FRintk);
35082 out_GRj = FLD (out_GRj);
35083 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
35084 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
35085 cycles += frvbf_model_fr500_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
35087 return cycles;
35088 #undef FLD
35091 static int
35092 model_fr500_cmovgfd (SIM_CPU *current_cpu, void *sem_arg)
35094 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
35095 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35096 const IDESC * UNUSED idesc = abuf->idesc;
35097 int cycles = 0;
35099 int referenced = 0;
35100 int UNUSED insn_referenced = abuf->written;
35101 INT in_GRj = -1;
35102 INT out_FRintk = -1;
35103 in_GRj = FLD (in_GRj);
35104 out_FRintk = FLD (out_FRintk);
35105 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
35106 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
35107 cycles += frvbf_model_fr500_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
35109 return cycles;
35110 #undef FLD
35113 static int
35114 model_fr500_cmovfgd (SIM_CPU *current_cpu, void *sem_arg)
35116 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
35117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35118 const IDESC * UNUSED idesc = abuf->idesc;
35119 int cycles = 0;
35121 int referenced = 0;
35122 int UNUSED insn_referenced = abuf->written;
35123 INT in_FRintk = -1;
35124 INT out_GRj = -1;
35125 in_FRintk = FLD (in_FRintk);
35126 out_GRj = FLD (out_GRj);
35127 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
35128 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
35129 cycles += frvbf_model_fr500_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
35131 return cycles;
35132 #undef FLD
35135 static int
35136 model_fr500_movgs (SIM_CPU *current_cpu, void *sem_arg)
35138 #define FLD(f) abuf->fields.sfmt_movgs.f
35139 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35140 const IDESC * UNUSED idesc = abuf->idesc;
35141 int cycles = 0;
35143 int referenced = 0;
35144 int UNUSED insn_referenced = abuf->written;
35145 INT in_GRj = -1;
35146 INT out_spr = -1;
35147 in_GRj = FLD (in_GRj);
35148 out_spr = FLD (out_spr);
35149 referenced |= 1 << 0;
35150 referenced |= 1 << 1;
35151 cycles += frvbf_model_fr500_u_gr2spr (current_cpu, idesc, 0, referenced, in_GRj, out_spr);
35153 return cycles;
35154 #undef FLD
35157 static int
35158 model_fr500_movsg (SIM_CPU *current_cpu, void *sem_arg)
35160 #define FLD(f) abuf->fields.sfmt_movsg.f
35161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35162 const IDESC * UNUSED idesc = abuf->idesc;
35163 int cycles = 0;
35165 int referenced = 0;
35166 int UNUSED insn_referenced = abuf->written;
35167 INT in_spr = -1;
35168 INT out_GRj = -1;
35169 in_spr = FLD (in_spr);
35170 out_GRj = FLD (out_GRj);
35171 referenced |= 1 << 0;
35172 referenced |= 1 << 1;
35173 cycles += frvbf_model_fr500_u_spr2gr (current_cpu, idesc, 0, referenced, in_spr, out_GRj);
35175 return cycles;
35176 #undef FLD
35179 static int
35180 model_fr500_bra (SIM_CPU *current_cpu, void *sem_arg)
35182 #define FLD(f) abuf->fields.sfmt_fbne.f
35183 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35184 const IDESC * UNUSED idesc = abuf->idesc;
35185 int cycles = 0;
35187 int referenced = 0;
35188 int UNUSED insn_referenced = abuf->written;
35189 INT in_GRi = -1;
35190 INT in_GRj = -1;
35191 INT in_ICCi_2 = -1;
35192 INT in_FCCi_2 = -1;
35193 referenced |= 1 << 4;
35194 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35196 return cycles;
35197 #undef FLD
35200 static int
35201 model_fr500_bno (SIM_CPU *current_cpu, void *sem_arg)
35203 #define FLD(f) abuf->fields.sfmt_fbne.f
35204 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35205 const IDESC * UNUSED idesc = abuf->idesc;
35206 int cycles = 0;
35208 int referenced = 0;
35209 int UNUSED insn_referenced = abuf->written;
35210 INT in_GRi = -1;
35211 INT in_GRj = -1;
35212 INT in_ICCi_2 = -1;
35213 INT in_FCCi_2 = -1;
35214 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35216 return cycles;
35217 #undef FLD
35220 static int
35221 model_fr500_beq (SIM_CPU *current_cpu, void *sem_arg)
35223 #define FLD(f) abuf->fields.sfmt_beq.f
35224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35225 const IDESC * UNUSED idesc = abuf->idesc;
35226 int cycles = 0;
35228 int referenced = 0;
35229 int UNUSED insn_referenced = abuf->written;
35230 INT in_GRi = -1;
35231 INT in_GRj = -1;
35232 INT in_ICCi_2 = -1;
35233 INT in_FCCi_2 = -1;
35234 in_ICCi_2 = FLD (in_ICCi_2);
35235 referenced |= 1 << 2;
35236 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35237 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35239 return cycles;
35240 #undef FLD
35243 static int
35244 model_fr500_bne (SIM_CPU *current_cpu, void *sem_arg)
35246 #define FLD(f) abuf->fields.sfmt_beq.f
35247 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35248 const IDESC * UNUSED idesc = abuf->idesc;
35249 int cycles = 0;
35251 int referenced = 0;
35252 int UNUSED insn_referenced = abuf->written;
35253 INT in_GRi = -1;
35254 INT in_GRj = -1;
35255 INT in_ICCi_2 = -1;
35256 INT in_FCCi_2 = -1;
35257 in_ICCi_2 = FLD (in_ICCi_2);
35258 referenced |= 1 << 2;
35259 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35260 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35262 return cycles;
35263 #undef FLD
35266 static int
35267 model_fr500_ble (SIM_CPU *current_cpu, void *sem_arg)
35269 #define FLD(f) abuf->fields.sfmt_beq.f
35270 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35271 const IDESC * UNUSED idesc = abuf->idesc;
35272 int cycles = 0;
35274 int referenced = 0;
35275 int UNUSED insn_referenced = abuf->written;
35276 INT in_GRi = -1;
35277 INT in_GRj = -1;
35278 INT in_ICCi_2 = -1;
35279 INT in_FCCi_2 = -1;
35280 in_ICCi_2 = FLD (in_ICCi_2);
35281 referenced |= 1 << 2;
35282 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35283 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35285 return cycles;
35286 #undef FLD
35289 static int
35290 model_fr500_bgt (SIM_CPU *current_cpu, void *sem_arg)
35292 #define FLD(f) abuf->fields.sfmt_beq.f
35293 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35294 const IDESC * UNUSED idesc = abuf->idesc;
35295 int cycles = 0;
35297 int referenced = 0;
35298 int UNUSED insn_referenced = abuf->written;
35299 INT in_GRi = -1;
35300 INT in_GRj = -1;
35301 INT in_ICCi_2 = -1;
35302 INT in_FCCi_2 = -1;
35303 in_ICCi_2 = FLD (in_ICCi_2);
35304 referenced |= 1 << 2;
35305 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35306 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35308 return cycles;
35309 #undef FLD
35312 static int
35313 model_fr500_blt (SIM_CPU *current_cpu, void *sem_arg)
35315 #define FLD(f) abuf->fields.sfmt_beq.f
35316 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35317 const IDESC * UNUSED idesc = abuf->idesc;
35318 int cycles = 0;
35320 int referenced = 0;
35321 int UNUSED insn_referenced = abuf->written;
35322 INT in_GRi = -1;
35323 INT in_GRj = -1;
35324 INT in_ICCi_2 = -1;
35325 INT in_FCCi_2 = -1;
35326 in_ICCi_2 = FLD (in_ICCi_2);
35327 referenced |= 1 << 2;
35328 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35329 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35331 return cycles;
35332 #undef FLD
35335 static int
35336 model_fr500_bge (SIM_CPU *current_cpu, void *sem_arg)
35338 #define FLD(f) abuf->fields.sfmt_beq.f
35339 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35340 const IDESC * UNUSED idesc = abuf->idesc;
35341 int cycles = 0;
35343 int referenced = 0;
35344 int UNUSED insn_referenced = abuf->written;
35345 INT in_GRi = -1;
35346 INT in_GRj = -1;
35347 INT in_ICCi_2 = -1;
35348 INT in_FCCi_2 = -1;
35349 in_ICCi_2 = FLD (in_ICCi_2);
35350 referenced |= 1 << 2;
35351 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35352 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35354 return cycles;
35355 #undef FLD
35358 static int
35359 model_fr500_bls (SIM_CPU *current_cpu, void *sem_arg)
35361 #define FLD(f) abuf->fields.sfmt_beq.f
35362 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35363 const IDESC * UNUSED idesc = abuf->idesc;
35364 int cycles = 0;
35366 int referenced = 0;
35367 int UNUSED insn_referenced = abuf->written;
35368 INT in_GRi = -1;
35369 INT in_GRj = -1;
35370 INT in_ICCi_2 = -1;
35371 INT in_FCCi_2 = -1;
35372 in_ICCi_2 = FLD (in_ICCi_2);
35373 referenced |= 1 << 2;
35374 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35375 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35377 return cycles;
35378 #undef FLD
35381 static int
35382 model_fr500_bhi (SIM_CPU *current_cpu, void *sem_arg)
35384 #define FLD(f) abuf->fields.sfmt_beq.f
35385 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35386 const IDESC * UNUSED idesc = abuf->idesc;
35387 int cycles = 0;
35389 int referenced = 0;
35390 int UNUSED insn_referenced = abuf->written;
35391 INT in_GRi = -1;
35392 INT in_GRj = -1;
35393 INT in_ICCi_2 = -1;
35394 INT in_FCCi_2 = -1;
35395 in_ICCi_2 = FLD (in_ICCi_2);
35396 referenced |= 1 << 2;
35397 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35398 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35400 return cycles;
35401 #undef FLD
35404 static int
35405 model_fr500_bc (SIM_CPU *current_cpu, void *sem_arg)
35407 #define FLD(f) abuf->fields.sfmt_beq.f
35408 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35409 const IDESC * UNUSED idesc = abuf->idesc;
35410 int cycles = 0;
35412 int referenced = 0;
35413 int UNUSED insn_referenced = abuf->written;
35414 INT in_GRi = -1;
35415 INT in_GRj = -1;
35416 INT in_ICCi_2 = -1;
35417 INT in_FCCi_2 = -1;
35418 in_ICCi_2 = FLD (in_ICCi_2);
35419 referenced |= 1 << 2;
35420 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35421 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35423 return cycles;
35424 #undef FLD
35427 static int
35428 model_fr500_bnc (SIM_CPU *current_cpu, void *sem_arg)
35430 #define FLD(f) abuf->fields.sfmt_beq.f
35431 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35432 const IDESC * UNUSED idesc = abuf->idesc;
35433 int cycles = 0;
35435 int referenced = 0;
35436 int UNUSED insn_referenced = abuf->written;
35437 INT in_GRi = -1;
35438 INT in_GRj = -1;
35439 INT in_ICCi_2 = -1;
35440 INT in_FCCi_2 = -1;
35441 in_ICCi_2 = FLD (in_ICCi_2);
35442 referenced |= 1 << 2;
35443 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35444 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35446 return cycles;
35447 #undef FLD
35450 static int
35451 model_fr500_bn (SIM_CPU *current_cpu, void *sem_arg)
35453 #define FLD(f) abuf->fields.sfmt_beq.f
35454 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35455 const IDESC * UNUSED idesc = abuf->idesc;
35456 int cycles = 0;
35458 int referenced = 0;
35459 int UNUSED insn_referenced = abuf->written;
35460 INT in_GRi = -1;
35461 INT in_GRj = -1;
35462 INT in_ICCi_2 = -1;
35463 INT in_FCCi_2 = -1;
35464 in_ICCi_2 = FLD (in_ICCi_2);
35465 referenced |= 1 << 2;
35466 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35467 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35469 return cycles;
35470 #undef FLD
35473 static int
35474 model_fr500_bp (SIM_CPU *current_cpu, void *sem_arg)
35476 #define FLD(f) abuf->fields.sfmt_beq.f
35477 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35478 const IDESC * UNUSED idesc = abuf->idesc;
35479 int cycles = 0;
35481 int referenced = 0;
35482 int UNUSED insn_referenced = abuf->written;
35483 INT in_GRi = -1;
35484 INT in_GRj = -1;
35485 INT in_ICCi_2 = -1;
35486 INT in_FCCi_2 = -1;
35487 in_ICCi_2 = FLD (in_ICCi_2);
35488 referenced |= 1 << 2;
35489 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35490 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35492 return cycles;
35493 #undef FLD
35496 static int
35497 model_fr500_bv (SIM_CPU *current_cpu, void *sem_arg)
35499 #define FLD(f) abuf->fields.sfmt_beq.f
35500 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35501 const IDESC * UNUSED idesc = abuf->idesc;
35502 int cycles = 0;
35504 int referenced = 0;
35505 int UNUSED insn_referenced = abuf->written;
35506 INT in_GRi = -1;
35507 INT in_GRj = -1;
35508 INT in_ICCi_2 = -1;
35509 INT in_FCCi_2 = -1;
35510 in_ICCi_2 = FLD (in_ICCi_2);
35511 referenced |= 1 << 2;
35512 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35513 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35515 return cycles;
35516 #undef FLD
35519 static int
35520 model_fr500_bnv (SIM_CPU *current_cpu, void *sem_arg)
35522 #define FLD(f) abuf->fields.sfmt_beq.f
35523 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35524 const IDESC * UNUSED idesc = abuf->idesc;
35525 int cycles = 0;
35527 int referenced = 0;
35528 int UNUSED insn_referenced = abuf->written;
35529 INT in_GRi = -1;
35530 INT in_GRj = -1;
35531 INT in_ICCi_2 = -1;
35532 INT in_FCCi_2 = -1;
35533 in_ICCi_2 = FLD (in_ICCi_2);
35534 referenced |= 1 << 2;
35535 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35536 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35538 return cycles;
35539 #undef FLD
35542 static int
35543 model_fr500_fbra (SIM_CPU *current_cpu, void *sem_arg)
35545 #define FLD(f) abuf->fields.sfmt_fbne.f
35546 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35547 const IDESC * UNUSED idesc = abuf->idesc;
35548 int cycles = 0;
35550 int referenced = 0;
35551 int UNUSED insn_referenced = abuf->written;
35552 INT in_GRi = -1;
35553 INT in_GRj = -1;
35554 INT in_ICCi_2 = -1;
35555 INT in_FCCi_2 = -1;
35556 referenced |= 1 << 4;
35557 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35559 return cycles;
35560 #undef FLD
35563 static int
35564 model_fr500_fbno (SIM_CPU *current_cpu, void *sem_arg)
35566 #define FLD(f) abuf->fields.sfmt_fbne.f
35567 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35568 const IDESC * UNUSED idesc = abuf->idesc;
35569 int cycles = 0;
35571 int referenced = 0;
35572 int UNUSED insn_referenced = abuf->written;
35573 INT in_GRi = -1;
35574 INT in_GRj = -1;
35575 INT in_ICCi_2 = -1;
35576 INT in_FCCi_2 = -1;
35577 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35579 return cycles;
35580 #undef FLD
35583 static int
35584 model_fr500_fbne (SIM_CPU *current_cpu, void *sem_arg)
35586 #define FLD(f) abuf->fields.sfmt_fbne.f
35587 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35588 const IDESC * UNUSED idesc = abuf->idesc;
35589 int cycles = 0;
35591 int referenced = 0;
35592 int UNUSED insn_referenced = abuf->written;
35593 INT in_GRi = -1;
35594 INT in_GRj = -1;
35595 INT in_ICCi_2 = -1;
35596 INT in_FCCi_2 = -1;
35597 in_FCCi_2 = FLD (in_FCCi_2);
35598 referenced |= 1 << 3;
35599 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35600 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35602 return cycles;
35603 #undef FLD
35606 static int
35607 model_fr500_fbeq (SIM_CPU *current_cpu, void *sem_arg)
35609 #define FLD(f) abuf->fields.sfmt_fbne.f
35610 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35611 const IDESC * UNUSED idesc = abuf->idesc;
35612 int cycles = 0;
35614 int referenced = 0;
35615 int UNUSED insn_referenced = abuf->written;
35616 INT in_GRi = -1;
35617 INT in_GRj = -1;
35618 INT in_ICCi_2 = -1;
35619 INT in_FCCi_2 = -1;
35620 in_FCCi_2 = FLD (in_FCCi_2);
35621 referenced |= 1 << 3;
35622 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35623 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35625 return cycles;
35626 #undef FLD
35629 static int
35630 model_fr500_fblg (SIM_CPU *current_cpu, void *sem_arg)
35632 #define FLD(f) abuf->fields.sfmt_fbne.f
35633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35634 const IDESC * UNUSED idesc = abuf->idesc;
35635 int cycles = 0;
35637 int referenced = 0;
35638 int UNUSED insn_referenced = abuf->written;
35639 INT in_GRi = -1;
35640 INT in_GRj = -1;
35641 INT in_ICCi_2 = -1;
35642 INT in_FCCi_2 = -1;
35643 in_FCCi_2 = FLD (in_FCCi_2);
35644 referenced |= 1 << 3;
35645 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35646 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35648 return cycles;
35649 #undef FLD
35652 static int
35653 model_fr500_fbue (SIM_CPU *current_cpu, void *sem_arg)
35655 #define FLD(f) abuf->fields.sfmt_fbne.f
35656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35657 const IDESC * UNUSED idesc = abuf->idesc;
35658 int cycles = 0;
35660 int referenced = 0;
35661 int UNUSED insn_referenced = abuf->written;
35662 INT in_GRi = -1;
35663 INT in_GRj = -1;
35664 INT in_ICCi_2 = -1;
35665 INT in_FCCi_2 = -1;
35666 in_FCCi_2 = FLD (in_FCCi_2);
35667 referenced |= 1 << 3;
35668 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35669 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35671 return cycles;
35672 #undef FLD
35675 static int
35676 model_fr500_fbul (SIM_CPU *current_cpu, void *sem_arg)
35678 #define FLD(f) abuf->fields.sfmt_fbne.f
35679 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35680 const IDESC * UNUSED idesc = abuf->idesc;
35681 int cycles = 0;
35683 int referenced = 0;
35684 int UNUSED insn_referenced = abuf->written;
35685 INT in_GRi = -1;
35686 INT in_GRj = -1;
35687 INT in_ICCi_2 = -1;
35688 INT in_FCCi_2 = -1;
35689 in_FCCi_2 = FLD (in_FCCi_2);
35690 referenced |= 1 << 3;
35691 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35692 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35694 return cycles;
35695 #undef FLD
35698 static int
35699 model_fr500_fbge (SIM_CPU *current_cpu, void *sem_arg)
35701 #define FLD(f) abuf->fields.sfmt_fbne.f
35702 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35703 const IDESC * UNUSED idesc = abuf->idesc;
35704 int cycles = 0;
35706 int referenced = 0;
35707 int UNUSED insn_referenced = abuf->written;
35708 INT in_GRi = -1;
35709 INT in_GRj = -1;
35710 INT in_ICCi_2 = -1;
35711 INT in_FCCi_2 = -1;
35712 in_FCCi_2 = FLD (in_FCCi_2);
35713 referenced |= 1 << 3;
35714 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35715 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35717 return cycles;
35718 #undef FLD
35721 static int
35722 model_fr500_fblt (SIM_CPU *current_cpu, void *sem_arg)
35724 #define FLD(f) abuf->fields.sfmt_fbne.f
35725 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35726 const IDESC * UNUSED idesc = abuf->idesc;
35727 int cycles = 0;
35729 int referenced = 0;
35730 int UNUSED insn_referenced = abuf->written;
35731 INT in_GRi = -1;
35732 INT in_GRj = -1;
35733 INT in_ICCi_2 = -1;
35734 INT in_FCCi_2 = -1;
35735 in_FCCi_2 = FLD (in_FCCi_2);
35736 referenced |= 1 << 3;
35737 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35738 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35740 return cycles;
35741 #undef FLD
35744 static int
35745 model_fr500_fbuge (SIM_CPU *current_cpu, void *sem_arg)
35747 #define FLD(f) abuf->fields.sfmt_fbne.f
35748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35749 const IDESC * UNUSED idesc = abuf->idesc;
35750 int cycles = 0;
35752 int referenced = 0;
35753 int UNUSED insn_referenced = abuf->written;
35754 INT in_GRi = -1;
35755 INT in_GRj = -1;
35756 INT in_ICCi_2 = -1;
35757 INT in_FCCi_2 = -1;
35758 in_FCCi_2 = FLD (in_FCCi_2);
35759 referenced |= 1 << 3;
35760 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35761 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35763 return cycles;
35764 #undef FLD
35767 static int
35768 model_fr500_fbug (SIM_CPU *current_cpu, void *sem_arg)
35770 #define FLD(f) abuf->fields.sfmt_fbne.f
35771 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35772 const IDESC * UNUSED idesc = abuf->idesc;
35773 int cycles = 0;
35775 int referenced = 0;
35776 int UNUSED insn_referenced = abuf->written;
35777 INT in_GRi = -1;
35778 INT in_GRj = -1;
35779 INT in_ICCi_2 = -1;
35780 INT in_FCCi_2 = -1;
35781 in_FCCi_2 = FLD (in_FCCi_2);
35782 referenced |= 1 << 3;
35783 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35784 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35786 return cycles;
35787 #undef FLD
35790 static int
35791 model_fr500_fble (SIM_CPU *current_cpu, void *sem_arg)
35793 #define FLD(f) abuf->fields.sfmt_fbne.f
35794 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35795 const IDESC * UNUSED idesc = abuf->idesc;
35796 int cycles = 0;
35798 int referenced = 0;
35799 int UNUSED insn_referenced = abuf->written;
35800 INT in_GRi = -1;
35801 INT in_GRj = -1;
35802 INT in_ICCi_2 = -1;
35803 INT in_FCCi_2 = -1;
35804 in_FCCi_2 = FLD (in_FCCi_2);
35805 referenced |= 1 << 3;
35806 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35807 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35809 return cycles;
35810 #undef FLD
35813 static int
35814 model_fr500_fbgt (SIM_CPU *current_cpu, void *sem_arg)
35816 #define FLD(f) abuf->fields.sfmt_fbne.f
35817 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35818 const IDESC * UNUSED idesc = abuf->idesc;
35819 int cycles = 0;
35821 int referenced = 0;
35822 int UNUSED insn_referenced = abuf->written;
35823 INT in_GRi = -1;
35824 INT in_GRj = -1;
35825 INT in_ICCi_2 = -1;
35826 INT in_FCCi_2 = -1;
35827 in_FCCi_2 = FLD (in_FCCi_2);
35828 referenced |= 1 << 3;
35829 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35830 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35832 return cycles;
35833 #undef FLD
35836 static int
35837 model_fr500_fbule (SIM_CPU *current_cpu, void *sem_arg)
35839 #define FLD(f) abuf->fields.sfmt_fbne.f
35840 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35841 const IDESC * UNUSED idesc = abuf->idesc;
35842 int cycles = 0;
35844 int referenced = 0;
35845 int UNUSED insn_referenced = abuf->written;
35846 INT in_GRi = -1;
35847 INT in_GRj = -1;
35848 INT in_ICCi_2 = -1;
35849 INT in_FCCi_2 = -1;
35850 in_FCCi_2 = FLD (in_FCCi_2);
35851 referenced |= 1 << 3;
35852 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35853 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35855 return cycles;
35856 #undef FLD
35859 static int
35860 model_fr500_fbu (SIM_CPU *current_cpu, void *sem_arg)
35862 #define FLD(f) abuf->fields.sfmt_fbne.f
35863 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35864 const IDESC * UNUSED idesc = abuf->idesc;
35865 int cycles = 0;
35867 int referenced = 0;
35868 int UNUSED insn_referenced = abuf->written;
35869 INT in_GRi = -1;
35870 INT in_GRj = -1;
35871 INT in_ICCi_2 = -1;
35872 INT in_FCCi_2 = -1;
35873 in_FCCi_2 = FLD (in_FCCi_2);
35874 referenced |= 1 << 3;
35875 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35876 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35878 return cycles;
35879 #undef FLD
35882 static int
35883 model_fr500_fbo (SIM_CPU *current_cpu, void *sem_arg)
35885 #define FLD(f) abuf->fields.sfmt_fbne.f
35886 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35887 const IDESC * UNUSED idesc = abuf->idesc;
35888 int cycles = 0;
35890 int referenced = 0;
35891 int UNUSED insn_referenced = abuf->written;
35892 INT in_GRi = -1;
35893 INT in_GRj = -1;
35894 INT in_ICCi_2 = -1;
35895 INT in_FCCi_2 = -1;
35896 in_FCCi_2 = FLD (in_FCCi_2);
35897 referenced |= 1 << 3;
35898 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35899 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35901 return cycles;
35902 #undef FLD
35905 static int
35906 model_fr500_bctrlr (SIM_CPU *current_cpu, void *sem_arg)
35908 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
35909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35910 const IDESC * UNUSED idesc = abuf->idesc;
35911 int cycles = 0;
35913 int referenced = 0;
35914 int UNUSED insn_referenced = abuf->written;
35915 INT in_GRi = -1;
35916 INT in_GRj = -1;
35917 INT in_ICCi_2 = -1;
35918 INT in_FCCi_2 = -1;
35919 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
35920 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35922 return cycles;
35923 #undef FLD
35926 static int
35927 model_fr500_bralr (SIM_CPU *current_cpu, void *sem_arg)
35929 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
35930 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35931 const IDESC * UNUSED idesc = abuf->idesc;
35932 int cycles = 0;
35934 int referenced = 0;
35935 int UNUSED insn_referenced = abuf->written;
35936 INT in_GRi = -1;
35937 INT in_GRj = -1;
35938 INT in_ICCi_2 = -1;
35939 INT in_FCCi_2 = -1;
35940 referenced |= 1 << 4;
35941 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35943 return cycles;
35944 #undef FLD
35947 static int
35948 model_fr500_bnolr (SIM_CPU *current_cpu, void *sem_arg)
35950 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
35951 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35952 const IDESC * UNUSED idesc = abuf->idesc;
35953 int cycles = 0;
35955 int referenced = 0;
35956 int UNUSED insn_referenced = abuf->written;
35957 INT in_GRi = -1;
35958 INT in_GRj = -1;
35959 INT in_ICCi_2 = -1;
35960 INT in_FCCi_2 = -1;
35961 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35963 return cycles;
35964 #undef FLD
35967 static int
35968 model_fr500_beqlr (SIM_CPU *current_cpu, void *sem_arg)
35970 #define FLD(f) abuf->fields.sfmt_bceqlr.f
35971 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35972 const IDESC * UNUSED idesc = abuf->idesc;
35973 int cycles = 0;
35975 int referenced = 0;
35976 int UNUSED insn_referenced = abuf->written;
35977 INT in_GRi = -1;
35978 INT in_GRj = -1;
35979 INT in_ICCi_2 = -1;
35980 INT in_FCCi_2 = -1;
35981 in_ICCi_2 = FLD (in_ICCi_2);
35982 referenced |= 1 << 2;
35983 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
35984 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
35986 return cycles;
35987 #undef FLD
35990 static int
35991 model_fr500_bnelr (SIM_CPU *current_cpu, void *sem_arg)
35993 #define FLD(f) abuf->fields.sfmt_bceqlr.f
35994 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
35995 const IDESC * UNUSED idesc = abuf->idesc;
35996 int cycles = 0;
35998 int referenced = 0;
35999 int UNUSED insn_referenced = abuf->written;
36000 INT in_GRi = -1;
36001 INT in_GRj = -1;
36002 INT in_ICCi_2 = -1;
36003 INT in_FCCi_2 = -1;
36004 in_ICCi_2 = FLD (in_ICCi_2);
36005 referenced |= 1 << 2;
36006 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36007 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36009 return cycles;
36010 #undef FLD
36013 static int
36014 model_fr500_blelr (SIM_CPU *current_cpu, void *sem_arg)
36016 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36018 const IDESC * UNUSED idesc = abuf->idesc;
36019 int cycles = 0;
36021 int referenced = 0;
36022 int UNUSED insn_referenced = abuf->written;
36023 INT in_GRi = -1;
36024 INT in_GRj = -1;
36025 INT in_ICCi_2 = -1;
36026 INT in_FCCi_2 = -1;
36027 in_ICCi_2 = FLD (in_ICCi_2);
36028 referenced |= 1 << 2;
36029 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36030 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36032 return cycles;
36033 #undef FLD
36036 static int
36037 model_fr500_bgtlr (SIM_CPU *current_cpu, void *sem_arg)
36039 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36041 const IDESC * UNUSED idesc = abuf->idesc;
36042 int cycles = 0;
36044 int referenced = 0;
36045 int UNUSED insn_referenced = abuf->written;
36046 INT in_GRi = -1;
36047 INT in_GRj = -1;
36048 INT in_ICCi_2 = -1;
36049 INT in_FCCi_2 = -1;
36050 in_ICCi_2 = FLD (in_ICCi_2);
36051 referenced |= 1 << 2;
36052 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36053 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36055 return cycles;
36056 #undef FLD
36059 static int
36060 model_fr500_bltlr (SIM_CPU *current_cpu, void *sem_arg)
36062 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36063 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36064 const IDESC * UNUSED idesc = abuf->idesc;
36065 int cycles = 0;
36067 int referenced = 0;
36068 int UNUSED insn_referenced = abuf->written;
36069 INT in_GRi = -1;
36070 INT in_GRj = -1;
36071 INT in_ICCi_2 = -1;
36072 INT in_FCCi_2 = -1;
36073 in_ICCi_2 = FLD (in_ICCi_2);
36074 referenced |= 1 << 2;
36075 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36076 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36078 return cycles;
36079 #undef FLD
36082 static int
36083 model_fr500_bgelr (SIM_CPU *current_cpu, void *sem_arg)
36085 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36086 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36087 const IDESC * UNUSED idesc = abuf->idesc;
36088 int cycles = 0;
36090 int referenced = 0;
36091 int UNUSED insn_referenced = abuf->written;
36092 INT in_GRi = -1;
36093 INT in_GRj = -1;
36094 INT in_ICCi_2 = -1;
36095 INT in_FCCi_2 = -1;
36096 in_ICCi_2 = FLD (in_ICCi_2);
36097 referenced |= 1 << 2;
36098 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36099 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36101 return cycles;
36102 #undef FLD
36105 static int
36106 model_fr500_blslr (SIM_CPU *current_cpu, void *sem_arg)
36108 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36109 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36110 const IDESC * UNUSED idesc = abuf->idesc;
36111 int cycles = 0;
36113 int referenced = 0;
36114 int UNUSED insn_referenced = abuf->written;
36115 INT in_GRi = -1;
36116 INT in_GRj = -1;
36117 INT in_ICCi_2 = -1;
36118 INT in_FCCi_2 = -1;
36119 in_ICCi_2 = FLD (in_ICCi_2);
36120 referenced |= 1 << 2;
36121 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36122 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36124 return cycles;
36125 #undef FLD
36128 static int
36129 model_fr500_bhilr (SIM_CPU *current_cpu, void *sem_arg)
36131 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36133 const IDESC * UNUSED idesc = abuf->idesc;
36134 int cycles = 0;
36136 int referenced = 0;
36137 int UNUSED insn_referenced = abuf->written;
36138 INT in_GRi = -1;
36139 INT in_GRj = -1;
36140 INT in_ICCi_2 = -1;
36141 INT in_FCCi_2 = -1;
36142 in_ICCi_2 = FLD (in_ICCi_2);
36143 referenced |= 1 << 2;
36144 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36145 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36147 return cycles;
36148 #undef FLD
36151 static int
36152 model_fr500_bclr (SIM_CPU *current_cpu, void *sem_arg)
36154 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36155 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36156 const IDESC * UNUSED idesc = abuf->idesc;
36157 int cycles = 0;
36159 int referenced = 0;
36160 int UNUSED insn_referenced = abuf->written;
36161 INT in_GRi = -1;
36162 INT in_GRj = -1;
36163 INT in_ICCi_2 = -1;
36164 INT in_FCCi_2 = -1;
36165 in_ICCi_2 = FLD (in_ICCi_2);
36166 referenced |= 1 << 2;
36167 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36168 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36170 return cycles;
36171 #undef FLD
36174 static int
36175 model_fr500_bnclr (SIM_CPU *current_cpu, void *sem_arg)
36177 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36178 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36179 const IDESC * UNUSED idesc = abuf->idesc;
36180 int cycles = 0;
36182 int referenced = 0;
36183 int UNUSED insn_referenced = abuf->written;
36184 INT in_GRi = -1;
36185 INT in_GRj = -1;
36186 INT in_ICCi_2 = -1;
36187 INT in_FCCi_2 = -1;
36188 in_ICCi_2 = FLD (in_ICCi_2);
36189 referenced |= 1 << 2;
36190 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36191 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36193 return cycles;
36194 #undef FLD
36197 static int
36198 model_fr500_bnlr (SIM_CPU *current_cpu, void *sem_arg)
36200 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36201 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36202 const IDESC * UNUSED idesc = abuf->idesc;
36203 int cycles = 0;
36205 int referenced = 0;
36206 int UNUSED insn_referenced = abuf->written;
36207 INT in_GRi = -1;
36208 INT in_GRj = -1;
36209 INT in_ICCi_2 = -1;
36210 INT in_FCCi_2 = -1;
36211 in_ICCi_2 = FLD (in_ICCi_2);
36212 referenced |= 1 << 2;
36213 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36214 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36216 return cycles;
36217 #undef FLD
36220 static int
36221 model_fr500_bplr (SIM_CPU *current_cpu, void *sem_arg)
36223 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36224 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36225 const IDESC * UNUSED idesc = abuf->idesc;
36226 int cycles = 0;
36228 int referenced = 0;
36229 int UNUSED insn_referenced = abuf->written;
36230 INT in_GRi = -1;
36231 INT in_GRj = -1;
36232 INT in_ICCi_2 = -1;
36233 INT in_FCCi_2 = -1;
36234 in_ICCi_2 = FLD (in_ICCi_2);
36235 referenced |= 1 << 2;
36236 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36237 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36239 return cycles;
36240 #undef FLD
36243 static int
36244 model_fr500_bvlr (SIM_CPU *current_cpu, void *sem_arg)
36246 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36247 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36248 const IDESC * UNUSED idesc = abuf->idesc;
36249 int cycles = 0;
36251 int referenced = 0;
36252 int UNUSED insn_referenced = abuf->written;
36253 INT in_GRi = -1;
36254 INT in_GRj = -1;
36255 INT in_ICCi_2 = -1;
36256 INT in_FCCi_2 = -1;
36257 in_ICCi_2 = FLD (in_ICCi_2);
36258 referenced |= 1 << 2;
36259 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36260 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36262 return cycles;
36263 #undef FLD
36266 static int
36267 model_fr500_bnvlr (SIM_CPU *current_cpu, void *sem_arg)
36269 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36270 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36271 const IDESC * UNUSED idesc = abuf->idesc;
36272 int cycles = 0;
36274 int referenced = 0;
36275 int UNUSED insn_referenced = abuf->written;
36276 INT in_GRi = -1;
36277 INT in_GRj = -1;
36278 INT in_ICCi_2 = -1;
36279 INT in_FCCi_2 = -1;
36280 in_ICCi_2 = FLD (in_ICCi_2);
36281 referenced |= 1 << 2;
36282 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36283 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36285 return cycles;
36286 #undef FLD
36289 static int
36290 model_fr500_fbralr (SIM_CPU *current_cpu, void *sem_arg)
36292 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36293 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36294 const IDESC * UNUSED idesc = abuf->idesc;
36295 int cycles = 0;
36297 int referenced = 0;
36298 int UNUSED insn_referenced = abuf->written;
36299 INT in_GRi = -1;
36300 INT in_GRj = -1;
36301 INT in_ICCi_2 = -1;
36302 INT in_FCCi_2 = -1;
36303 referenced |= 1 << 4;
36304 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36306 return cycles;
36307 #undef FLD
36310 static int
36311 model_fr500_fbnolr (SIM_CPU *current_cpu, void *sem_arg)
36313 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36314 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36315 const IDESC * UNUSED idesc = abuf->idesc;
36316 int cycles = 0;
36318 int referenced = 0;
36319 int UNUSED insn_referenced = abuf->written;
36320 INT in_GRi = -1;
36321 INT in_GRj = -1;
36322 INT in_ICCi_2 = -1;
36323 INT in_FCCi_2 = -1;
36324 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36326 return cycles;
36327 #undef FLD
36330 static int
36331 model_fr500_fbeqlr (SIM_CPU *current_cpu, void *sem_arg)
36333 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36334 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36335 const IDESC * UNUSED idesc = abuf->idesc;
36336 int cycles = 0;
36338 int referenced = 0;
36339 int UNUSED insn_referenced = abuf->written;
36340 INT in_GRi = -1;
36341 INT in_GRj = -1;
36342 INT in_ICCi_2 = -1;
36343 INT in_FCCi_2 = -1;
36344 in_FCCi_2 = FLD (in_FCCi_2);
36345 referenced |= 1 << 3;
36346 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36347 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36349 return cycles;
36350 #undef FLD
36353 static int
36354 model_fr500_fbnelr (SIM_CPU *current_cpu, void *sem_arg)
36356 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36357 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36358 const IDESC * UNUSED idesc = abuf->idesc;
36359 int cycles = 0;
36361 int referenced = 0;
36362 int UNUSED insn_referenced = abuf->written;
36363 INT in_GRi = -1;
36364 INT in_GRj = -1;
36365 INT in_ICCi_2 = -1;
36366 INT in_FCCi_2 = -1;
36367 in_FCCi_2 = FLD (in_FCCi_2);
36368 referenced |= 1 << 3;
36369 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36370 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36372 return cycles;
36373 #undef FLD
36376 static int
36377 model_fr500_fblglr (SIM_CPU *current_cpu, void *sem_arg)
36379 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36380 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36381 const IDESC * UNUSED idesc = abuf->idesc;
36382 int cycles = 0;
36384 int referenced = 0;
36385 int UNUSED insn_referenced = abuf->written;
36386 INT in_GRi = -1;
36387 INT in_GRj = -1;
36388 INT in_ICCi_2 = -1;
36389 INT in_FCCi_2 = -1;
36390 in_FCCi_2 = FLD (in_FCCi_2);
36391 referenced |= 1 << 3;
36392 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36393 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36395 return cycles;
36396 #undef FLD
36399 static int
36400 model_fr500_fbuelr (SIM_CPU *current_cpu, void *sem_arg)
36402 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36403 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36404 const IDESC * UNUSED idesc = abuf->idesc;
36405 int cycles = 0;
36407 int referenced = 0;
36408 int UNUSED insn_referenced = abuf->written;
36409 INT in_GRi = -1;
36410 INT in_GRj = -1;
36411 INT in_ICCi_2 = -1;
36412 INT in_FCCi_2 = -1;
36413 in_FCCi_2 = FLD (in_FCCi_2);
36414 referenced |= 1 << 3;
36415 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36416 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36418 return cycles;
36419 #undef FLD
36422 static int
36423 model_fr500_fbullr (SIM_CPU *current_cpu, void *sem_arg)
36425 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36426 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36427 const IDESC * UNUSED idesc = abuf->idesc;
36428 int cycles = 0;
36430 int referenced = 0;
36431 int UNUSED insn_referenced = abuf->written;
36432 INT in_GRi = -1;
36433 INT in_GRj = -1;
36434 INT in_ICCi_2 = -1;
36435 INT in_FCCi_2 = -1;
36436 in_FCCi_2 = FLD (in_FCCi_2);
36437 referenced |= 1 << 3;
36438 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36439 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36441 return cycles;
36442 #undef FLD
36445 static int
36446 model_fr500_fbgelr (SIM_CPU *current_cpu, void *sem_arg)
36448 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36449 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36450 const IDESC * UNUSED idesc = abuf->idesc;
36451 int cycles = 0;
36453 int referenced = 0;
36454 int UNUSED insn_referenced = abuf->written;
36455 INT in_GRi = -1;
36456 INT in_GRj = -1;
36457 INT in_ICCi_2 = -1;
36458 INT in_FCCi_2 = -1;
36459 in_FCCi_2 = FLD (in_FCCi_2);
36460 referenced |= 1 << 3;
36461 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36462 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36464 return cycles;
36465 #undef FLD
36468 static int
36469 model_fr500_fbltlr (SIM_CPU *current_cpu, void *sem_arg)
36471 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36472 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36473 const IDESC * UNUSED idesc = abuf->idesc;
36474 int cycles = 0;
36476 int referenced = 0;
36477 int UNUSED insn_referenced = abuf->written;
36478 INT in_GRi = -1;
36479 INT in_GRj = -1;
36480 INT in_ICCi_2 = -1;
36481 INT in_FCCi_2 = -1;
36482 in_FCCi_2 = FLD (in_FCCi_2);
36483 referenced |= 1 << 3;
36484 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36485 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36487 return cycles;
36488 #undef FLD
36491 static int
36492 model_fr500_fbugelr (SIM_CPU *current_cpu, void *sem_arg)
36494 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36495 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36496 const IDESC * UNUSED idesc = abuf->idesc;
36497 int cycles = 0;
36499 int referenced = 0;
36500 int UNUSED insn_referenced = abuf->written;
36501 INT in_GRi = -1;
36502 INT in_GRj = -1;
36503 INT in_ICCi_2 = -1;
36504 INT in_FCCi_2 = -1;
36505 in_FCCi_2 = FLD (in_FCCi_2);
36506 referenced |= 1 << 3;
36507 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36508 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36510 return cycles;
36511 #undef FLD
36514 static int
36515 model_fr500_fbuglr (SIM_CPU *current_cpu, void *sem_arg)
36517 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36518 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36519 const IDESC * UNUSED idesc = abuf->idesc;
36520 int cycles = 0;
36522 int referenced = 0;
36523 int UNUSED insn_referenced = abuf->written;
36524 INT in_GRi = -1;
36525 INT in_GRj = -1;
36526 INT in_ICCi_2 = -1;
36527 INT in_FCCi_2 = -1;
36528 in_FCCi_2 = FLD (in_FCCi_2);
36529 referenced |= 1 << 3;
36530 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36531 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36533 return cycles;
36534 #undef FLD
36537 static int
36538 model_fr500_fblelr (SIM_CPU *current_cpu, void *sem_arg)
36540 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36541 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36542 const IDESC * UNUSED idesc = abuf->idesc;
36543 int cycles = 0;
36545 int referenced = 0;
36546 int UNUSED insn_referenced = abuf->written;
36547 INT in_GRi = -1;
36548 INT in_GRj = -1;
36549 INT in_ICCi_2 = -1;
36550 INT in_FCCi_2 = -1;
36551 in_FCCi_2 = FLD (in_FCCi_2);
36552 referenced |= 1 << 3;
36553 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36554 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36556 return cycles;
36557 #undef FLD
36560 static int
36561 model_fr500_fbgtlr (SIM_CPU *current_cpu, void *sem_arg)
36563 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36564 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36565 const IDESC * UNUSED idesc = abuf->idesc;
36566 int cycles = 0;
36568 int referenced = 0;
36569 int UNUSED insn_referenced = abuf->written;
36570 INT in_GRi = -1;
36571 INT in_GRj = -1;
36572 INT in_ICCi_2 = -1;
36573 INT in_FCCi_2 = -1;
36574 in_FCCi_2 = FLD (in_FCCi_2);
36575 referenced |= 1 << 3;
36576 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36577 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36579 return cycles;
36580 #undef FLD
36583 static int
36584 model_fr500_fbulelr (SIM_CPU *current_cpu, void *sem_arg)
36586 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36587 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36588 const IDESC * UNUSED idesc = abuf->idesc;
36589 int cycles = 0;
36591 int referenced = 0;
36592 int UNUSED insn_referenced = abuf->written;
36593 INT in_GRi = -1;
36594 INT in_GRj = -1;
36595 INT in_ICCi_2 = -1;
36596 INT in_FCCi_2 = -1;
36597 in_FCCi_2 = FLD (in_FCCi_2);
36598 referenced |= 1 << 3;
36599 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36600 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36602 return cycles;
36603 #undef FLD
36606 static int
36607 model_fr500_fbulr (SIM_CPU *current_cpu, void *sem_arg)
36609 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36610 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36611 const IDESC * UNUSED idesc = abuf->idesc;
36612 int cycles = 0;
36614 int referenced = 0;
36615 int UNUSED insn_referenced = abuf->written;
36616 INT in_GRi = -1;
36617 INT in_GRj = -1;
36618 INT in_ICCi_2 = -1;
36619 INT in_FCCi_2 = -1;
36620 in_FCCi_2 = FLD (in_FCCi_2);
36621 referenced |= 1 << 3;
36622 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36623 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36625 return cycles;
36626 #undef FLD
36629 static int
36630 model_fr500_fbolr (SIM_CPU *current_cpu, void *sem_arg)
36632 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36634 const IDESC * UNUSED idesc = abuf->idesc;
36635 int cycles = 0;
36637 int referenced = 0;
36638 int UNUSED insn_referenced = abuf->written;
36639 INT in_GRi = -1;
36640 INT in_GRj = -1;
36641 INT in_ICCi_2 = -1;
36642 INT in_FCCi_2 = -1;
36643 in_FCCi_2 = FLD (in_FCCi_2);
36644 referenced |= 1 << 3;
36645 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
36646 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36648 return cycles;
36649 #undef FLD
36652 static int
36653 model_fr500_bcralr (SIM_CPU *current_cpu, void *sem_arg)
36655 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36656 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36657 const IDESC * UNUSED idesc = abuf->idesc;
36658 int cycles = 0;
36660 int referenced = 0;
36661 int UNUSED insn_referenced = abuf->written;
36662 INT in_GRi = -1;
36663 INT in_GRj = -1;
36664 INT in_ICCi_2 = -1;
36665 INT in_FCCi_2 = -1;
36666 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
36667 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36669 return cycles;
36670 #undef FLD
36673 static int
36674 model_fr500_bcnolr (SIM_CPU *current_cpu, void *sem_arg)
36676 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
36677 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36678 const IDESC * UNUSED idesc = abuf->idesc;
36679 int cycles = 0;
36681 int referenced = 0;
36682 int UNUSED insn_referenced = abuf->written;
36683 INT in_GRi = -1;
36684 INT in_GRj = -1;
36685 INT in_ICCi_2 = -1;
36686 INT in_FCCi_2 = -1;
36687 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36689 return cycles;
36690 #undef FLD
36693 static int
36694 model_fr500_bceqlr (SIM_CPU *current_cpu, void *sem_arg)
36696 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36698 const IDESC * UNUSED idesc = abuf->idesc;
36699 int cycles = 0;
36701 int referenced = 0;
36702 int UNUSED insn_referenced = abuf->written;
36703 INT in_GRi = -1;
36704 INT in_GRj = -1;
36705 INT in_ICCi_2 = -1;
36706 INT in_FCCi_2 = -1;
36707 in_ICCi_2 = FLD (in_ICCi_2);
36708 referenced |= 1 << 2;
36709 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36710 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36712 return cycles;
36713 #undef FLD
36716 static int
36717 model_fr500_bcnelr (SIM_CPU *current_cpu, void *sem_arg)
36719 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36720 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36721 const IDESC * UNUSED idesc = abuf->idesc;
36722 int cycles = 0;
36724 int referenced = 0;
36725 int UNUSED insn_referenced = abuf->written;
36726 INT in_GRi = -1;
36727 INT in_GRj = -1;
36728 INT in_ICCi_2 = -1;
36729 INT in_FCCi_2 = -1;
36730 in_ICCi_2 = FLD (in_ICCi_2);
36731 referenced |= 1 << 2;
36732 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36733 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36735 return cycles;
36736 #undef FLD
36739 static int
36740 model_fr500_bclelr (SIM_CPU *current_cpu, void *sem_arg)
36742 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36743 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36744 const IDESC * UNUSED idesc = abuf->idesc;
36745 int cycles = 0;
36747 int referenced = 0;
36748 int UNUSED insn_referenced = abuf->written;
36749 INT in_GRi = -1;
36750 INT in_GRj = -1;
36751 INT in_ICCi_2 = -1;
36752 INT in_FCCi_2 = -1;
36753 in_ICCi_2 = FLD (in_ICCi_2);
36754 referenced |= 1 << 2;
36755 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36756 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36758 return cycles;
36759 #undef FLD
36762 static int
36763 model_fr500_bcgtlr (SIM_CPU *current_cpu, void *sem_arg)
36765 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36766 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36767 const IDESC * UNUSED idesc = abuf->idesc;
36768 int cycles = 0;
36770 int referenced = 0;
36771 int UNUSED insn_referenced = abuf->written;
36772 INT in_GRi = -1;
36773 INT in_GRj = -1;
36774 INT in_ICCi_2 = -1;
36775 INT in_FCCi_2 = -1;
36776 in_ICCi_2 = FLD (in_ICCi_2);
36777 referenced |= 1 << 2;
36778 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36779 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36781 return cycles;
36782 #undef FLD
36785 static int
36786 model_fr500_bcltlr (SIM_CPU *current_cpu, void *sem_arg)
36788 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36789 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36790 const IDESC * UNUSED idesc = abuf->idesc;
36791 int cycles = 0;
36793 int referenced = 0;
36794 int UNUSED insn_referenced = abuf->written;
36795 INT in_GRi = -1;
36796 INT in_GRj = -1;
36797 INT in_ICCi_2 = -1;
36798 INT in_FCCi_2 = -1;
36799 in_ICCi_2 = FLD (in_ICCi_2);
36800 referenced |= 1 << 2;
36801 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36802 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36804 return cycles;
36805 #undef FLD
36808 static int
36809 model_fr500_bcgelr (SIM_CPU *current_cpu, void *sem_arg)
36811 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36812 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36813 const IDESC * UNUSED idesc = abuf->idesc;
36814 int cycles = 0;
36816 int referenced = 0;
36817 int UNUSED insn_referenced = abuf->written;
36818 INT in_GRi = -1;
36819 INT in_GRj = -1;
36820 INT in_ICCi_2 = -1;
36821 INT in_FCCi_2 = -1;
36822 in_ICCi_2 = FLD (in_ICCi_2);
36823 referenced |= 1 << 2;
36824 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36825 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36827 return cycles;
36828 #undef FLD
36831 static int
36832 model_fr500_bclslr (SIM_CPU *current_cpu, void *sem_arg)
36834 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36835 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36836 const IDESC * UNUSED idesc = abuf->idesc;
36837 int cycles = 0;
36839 int referenced = 0;
36840 int UNUSED insn_referenced = abuf->written;
36841 INT in_GRi = -1;
36842 INT in_GRj = -1;
36843 INT in_ICCi_2 = -1;
36844 INT in_FCCi_2 = -1;
36845 in_ICCi_2 = FLD (in_ICCi_2);
36846 referenced |= 1 << 2;
36847 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36848 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36850 return cycles;
36851 #undef FLD
36854 static int
36855 model_fr500_bchilr (SIM_CPU *current_cpu, void *sem_arg)
36857 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36858 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36859 const IDESC * UNUSED idesc = abuf->idesc;
36860 int cycles = 0;
36862 int referenced = 0;
36863 int UNUSED insn_referenced = abuf->written;
36864 INT in_GRi = -1;
36865 INT in_GRj = -1;
36866 INT in_ICCi_2 = -1;
36867 INT in_FCCi_2 = -1;
36868 in_ICCi_2 = FLD (in_ICCi_2);
36869 referenced |= 1 << 2;
36870 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36871 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36873 return cycles;
36874 #undef FLD
36877 static int
36878 model_fr500_bcclr (SIM_CPU *current_cpu, void *sem_arg)
36880 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36882 const IDESC * UNUSED idesc = abuf->idesc;
36883 int cycles = 0;
36885 int referenced = 0;
36886 int UNUSED insn_referenced = abuf->written;
36887 INT in_GRi = -1;
36888 INT in_GRj = -1;
36889 INT in_ICCi_2 = -1;
36890 INT in_FCCi_2 = -1;
36891 in_ICCi_2 = FLD (in_ICCi_2);
36892 referenced |= 1 << 2;
36893 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36894 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36896 return cycles;
36897 #undef FLD
36900 static int
36901 model_fr500_bcnclr (SIM_CPU *current_cpu, void *sem_arg)
36903 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36905 const IDESC * UNUSED idesc = abuf->idesc;
36906 int cycles = 0;
36908 int referenced = 0;
36909 int UNUSED insn_referenced = abuf->written;
36910 INT in_GRi = -1;
36911 INT in_GRj = -1;
36912 INT in_ICCi_2 = -1;
36913 INT in_FCCi_2 = -1;
36914 in_ICCi_2 = FLD (in_ICCi_2);
36915 referenced |= 1 << 2;
36916 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36917 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36919 return cycles;
36920 #undef FLD
36923 static int
36924 model_fr500_bcnlr (SIM_CPU *current_cpu, void *sem_arg)
36926 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36927 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36928 const IDESC * UNUSED idesc = abuf->idesc;
36929 int cycles = 0;
36931 int referenced = 0;
36932 int UNUSED insn_referenced = abuf->written;
36933 INT in_GRi = -1;
36934 INT in_GRj = -1;
36935 INT in_ICCi_2 = -1;
36936 INT in_FCCi_2 = -1;
36937 in_ICCi_2 = FLD (in_ICCi_2);
36938 referenced |= 1 << 2;
36939 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36940 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36942 return cycles;
36943 #undef FLD
36946 static int
36947 model_fr500_bcplr (SIM_CPU *current_cpu, void *sem_arg)
36949 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36950 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36951 const IDESC * UNUSED idesc = abuf->idesc;
36952 int cycles = 0;
36954 int referenced = 0;
36955 int UNUSED insn_referenced = abuf->written;
36956 INT in_GRi = -1;
36957 INT in_GRj = -1;
36958 INT in_ICCi_2 = -1;
36959 INT in_FCCi_2 = -1;
36960 in_ICCi_2 = FLD (in_ICCi_2);
36961 referenced |= 1 << 2;
36962 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36963 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36965 return cycles;
36966 #undef FLD
36969 static int
36970 model_fr500_bcvlr (SIM_CPU *current_cpu, void *sem_arg)
36972 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36973 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36974 const IDESC * UNUSED idesc = abuf->idesc;
36975 int cycles = 0;
36977 int referenced = 0;
36978 int UNUSED insn_referenced = abuf->written;
36979 INT in_GRi = -1;
36980 INT in_GRj = -1;
36981 INT in_ICCi_2 = -1;
36982 INT in_FCCi_2 = -1;
36983 in_ICCi_2 = FLD (in_ICCi_2);
36984 referenced |= 1 << 2;
36985 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
36986 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
36988 return cycles;
36989 #undef FLD
36992 static int
36993 model_fr500_bcnvlr (SIM_CPU *current_cpu, void *sem_arg)
36995 #define FLD(f) abuf->fields.sfmt_bceqlr.f
36996 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
36997 const IDESC * UNUSED idesc = abuf->idesc;
36998 int cycles = 0;
37000 int referenced = 0;
37001 int UNUSED insn_referenced = abuf->written;
37002 INT in_GRi = -1;
37003 INT in_GRj = -1;
37004 INT in_ICCi_2 = -1;
37005 INT in_FCCi_2 = -1;
37006 in_ICCi_2 = FLD (in_ICCi_2);
37007 referenced |= 1 << 2;
37008 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37009 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37011 return cycles;
37012 #undef FLD
37015 static int
37016 model_fr500_fcbralr (SIM_CPU *current_cpu, void *sem_arg)
37018 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37019 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37020 const IDESC * UNUSED idesc = abuf->idesc;
37021 int cycles = 0;
37023 int referenced = 0;
37024 int UNUSED insn_referenced = abuf->written;
37025 INT in_GRi = -1;
37026 INT in_GRj = -1;
37027 INT in_ICCi_2 = -1;
37028 INT in_FCCi_2 = -1;
37029 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
37030 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37032 return cycles;
37033 #undef FLD
37036 static int
37037 model_fr500_fcbnolr (SIM_CPU *current_cpu, void *sem_arg)
37039 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37040 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37041 const IDESC * UNUSED idesc = abuf->idesc;
37042 int cycles = 0;
37044 int referenced = 0;
37045 int UNUSED insn_referenced = abuf->written;
37046 INT in_GRi = -1;
37047 INT in_GRj = -1;
37048 INT in_ICCi_2 = -1;
37049 INT in_FCCi_2 = -1;
37050 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37052 return cycles;
37053 #undef FLD
37056 static int
37057 model_fr500_fcbeqlr (SIM_CPU *current_cpu, void *sem_arg)
37059 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37060 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37061 const IDESC * UNUSED idesc = abuf->idesc;
37062 int cycles = 0;
37064 int referenced = 0;
37065 int UNUSED insn_referenced = abuf->written;
37066 INT in_GRi = -1;
37067 INT in_GRj = -1;
37068 INT in_ICCi_2 = -1;
37069 INT in_FCCi_2 = -1;
37070 in_FCCi_2 = FLD (in_FCCi_2);
37071 referenced |= 1 << 3;
37072 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37073 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37075 return cycles;
37076 #undef FLD
37079 static int
37080 model_fr500_fcbnelr (SIM_CPU *current_cpu, void *sem_arg)
37082 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37083 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37084 const IDESC * UNUSED idesc = abuf->idesc;
37085 int cycles = 0;
37087 int referenced = 0;
37088 int UNUSED insn_referenced = abuf->written;
37089 INT in_GRi = -1;
37090 INT in_GRj = -1;
37091 INT in_ICCi_2 = -1;
37092 INT in_FCCi_2 = -1;
37093 in_FCCi_2 = FLD (in_FCCi_2);
37094 referenced |= 1 << 3;
37095 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37096 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37098 return cycles;
37099 #undef FLD
37102 static int
37103 model_fr500_fcblglr (SIM_CPU *current_cpu, void *sem_arg)
37105 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37106 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37107 const IDESC * UNUSED idesc = abuf->idesc;
37108 int cycles = 0;
37110 int referenced = 0;
37111 int UNUSED insn_referenced = abuf->written;
37112 INT in_GRi = -1;
37113 INT in_GRj = -1;
37114 INT in_ICCi_2 = -1;
37115 INT in_FCCi_2 = -1;
37116 in_FCCi_2 = FLD (in_FCCi_2);
37117 referenced |= 1 << 3;
37118 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37119 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37121 return cycles;
37122 #undef FLD
37125 static int
37126 model_fr500_fcbuelr (SIM_CPU *current_cpu, void *sem_arg)
37128 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37130 const IDESC * UNUSED idesc = abuf->idesc;
37131 int cycles = 0;
37133 int referenced = 0;
37134 int UNUSED insn_referenced = abuf->written;
37135 INT in_GRi = -1;
37136 INT in_GRj = -1;
37137 INT in_ICCi_2 = -1;
37138 INT in_FCCi_2 = -1;
37139 in_FCCi_2 = FLD (in_FCCi_2);
37140 referenced |= 1 << 3;
37141 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37142 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37144 return cycles;
37145 #undef FLD
37148 static int
37149 model_fr500_fcbullr (SIM_CPU *current_cpu, void *sem_arg)
37151 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37152 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37153 const IDESC * UNUSED idesc = abuf->idesc;
37154 int cycles = 0;
37156 int referenced = 0;
37157 int UNUSED insn_referenced = abuf->written;
37158 INT in_GRi = -1;
37159 INT in_GRj = -1;
37160 INT in_ICCi_2 = -1;
37161 INT in_FCCi_2 = -1;
37162 in_FCCi_2 = FLD (in_FCCi_2);
37163 referenced |= 1 << 3;
37164 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37165 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37167 return cycles;
37168 #undef FLD
37171 static int
37172 model_fr500_fcbgelr (SIM_CPU *current_cpu, void *sem_arg)
37174 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37175 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37176 const IDESC * UNUSED idesc = abuf->idesc;
37177 int cycles = 0;
37179 int referenced = 0;
37180 int UNUSED insn_referenced = abuf->written;
37181 INT in_GRi = -1;
37182 INT in_GRj = -1;
37183 INT in_ICCi_2 = -1;
37184 INT in_FCCi_2 = -1;
37185 in_FCCi_2 = FLD (in_FCCi_2);
37186 referenced |= 1 << 3;
37187 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37188 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37190 return cycles;
37191 #undef FLD
37194 static int
37195 model_fr500_fcbltlr (SIM_CPU *current_cpu, void *sem_arg)
37197 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37198 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37199 const IDESC * UNUSED idesc = abuf->idesc;
37200 int cycles = 0;
37202 int referenced = 0;
37203 int UNUSED insn_referenced = abuf->written;
37204 INT in_GRi = -1;
37205 INT in_GRj = -1;
37206 INT in_ICCi_2 = -1;
37207 INT in_FCCi_2 = -1;
37208 in_FCCi_2 = FLD (in_FCCi_2);
37209 referenced |= 1 << 3;
37210 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37211 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37213 return cycles;
37214 #undef FLD
37217 static int
37218 model_fr500_fcbugelr (SIM_CPU *current_cpu, void *sem_arg)
37220 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37221 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37222 const IDESC * UNUSED idesc = abuf->idesc;
37223 int cycles = 0;
37225 int referenced = 0;
37226 int UNUSED insn_referenced = abuf->written;
37227 INT in_GRi = -1;
37228 INT in_GRj = -1;
37229 INT in_ICCi_2 = -1;
37230 INT in_FCCi_2 = -1;
37231 in_FCCi_2 = FLD (in_FCCi_2);
37232 referenced |= 1 << 3;
37233 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37234 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37236 return cycles;
37237 #undef FLD
37240 static int
37241 model_fr500_fcbuglr (SIM_CPU *current_cpu, void *sem_arg)
37243 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37244 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37245 const IDESC * UNUSED idesc = abuf->idesc;
37246 int cycles = 0;
37248 int referenced = 0;
37249 int UNUSED insn_referenced = abuf->written;
37250 INT in_GRi = -1;
37251 INT in_GRj = -1;
37252 INT in_ICCi_2 = -1;
37253 INT in_FCCi_2 = -1;
37254 in_FCCi_2 = FLD (in_FCCi_2);
37255 referenced |= 1 << 3;
37256 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37257 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37259 return cycles;
37260 #undef FLD
37263 static int
37264 model_fr500_fcblelr (SIM_CPU *current_cpu, void *sem_arg)
37266 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37267 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37268 const IDESC * UNUSED idesc = abuf->idesc;
37269 int cycles = 0;
37271 int referenced = 0;
37272 int UNUSED insn_referenced = abuf->written;
37273 INT in_GRi = -1;
37274 INT in_GRj = -1;
37275 INT in_ICCi_2 = -1;
37276 INT in_FCCi_2 = -1;
37277 in_FCCi_2 = FLD (in_FCCi_2);
37278 referenced |= 1 << 3;
37279 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37280 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37282 return cycles;
37283 #undef FLD
37286 static int
37287 model_fr500_fcbgtlr (SIM_CPU *current_cpu, void *sem_arg)
37289 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37290 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37291 const IDESC * UNUSED idesc = abuf->idesc;
37292 int cycles = 0;
37294 int referenced = 0;
37295 int UNUSED insn_referenced = abuf->written;
37296 INT in_GRi = -1;
37297 INT in_GRj = -1;
37298 INT in_ICCi_2 = -1;
37299 INT in_FCCi_2 = -1;
37300 in_FCCi_2 = FLD (in_FCCi_2);
37301 referenced |= 1 << 3;
37302 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37303 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37305 return cycles;
37306 #undef FLD
37309 static int
37310 model_fr500_fcbulelr (SIM_CPU *current_cpu, void *sem_arg)
37312 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37314 const IDESC * UNUSED idesc = abuf->idesc;
37315 int cycles = 0;
37317 int referenced = 0;
37318 int UNUSED insn_referenced = abuf->written;
37319 INT in_GRi = -1;
37320 INT in_GRj = -1;
37321 INT in_ICCi_2 = -1;
37322 INT in_FCCi_2 = -1;
37323 in_FCCi_2 = FLD (in_FCCi_2);
37324 referenced |= 1 << 3;
37325 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37326 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37328 return cycles;
37329 #undef FLD
37332 static int
37333 model_fr500_fcbulr (SIM_CPU *current_cpu, void *sem_arg)
37335 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37337 const IDESC * UNUSED idesc = abuf->idesc;
37338 int cycles = 0;
37340 int referenced = 0;
37341 int UNUSED insn_referenced = abuf->written;
37342 INT in_GRi = -1;
37343 INT in_GRj = -1;
37344 INT in_ICCi_2 = -1;
37345 INT in_FCCi_2 = -1;
37346 in_FCCi_2 = FLD (in_FCCi_2);
37347 referenced |= 1 << 3;
37348 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37349 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37351 return cycles;
37352 #undef FLD
37355 static int
37356 model_fr500_fcbolr (SIM_CPU *current_cpu, void *sem_arg)
37358 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
37359 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37360 const IDESC * UNUSED idesc = abuf->idesc;
37361 int cycles = 0;
37363 int referenced = 0;
37364 int UNUSED insn_referenced = abuf->written;
37365 INT in_GRi = -1;
37366 INT in_GRj = -1;
37367 INT in_ICCi_2 = -1;
37368 INT in_FCCi_2 = -1;
37369 in_FCCi_2 = FLD (in_FCCi_2);
37370 referenced |= 1 << 3;
37371 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
37372 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37374 return cycles;
37375 #undef FLD
37378 static int
37379 model_fr500_jmpl (SIM_CPU *current_cpu, void *sem_arg)
37381 #define FLD(f) abuf->fields.sfmt_cjmpl.f
37382 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37383 const IDESC * UNUSED idesc = abuf->idesc;
37384 int cycles = 0;
37386 int referenced = 0;
37387 int UNUSED insn_referenced = abuf->written;
37388 INT in_GRi = -1;
37389 INT in_GRj = -1;
37390 INT in_ICCi_2 = -1;
37391 INT in_FCCi_2 = -1;
37392 in_GRi = FLD (in_GRi);
37393 in_GRj = FLD (in_GRj);
37394 referenced |= 1 << 0;
37395 referenced |= 1 << 1;
37396 referenced |= 1 << 4;
37397 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37399 return cycles;
37400 #undef FLD
37403 static int
37404 model_fr500_calll (SIM_CPU *current_cpu, void *sem_arg)
37406 #define FLD(f) abuf->fields.sfmt_cjmpl.f
37407 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37408 const IDESC * UNUSED idesc = abuf->idesc;
37409 int cycles = 0;
37411 int referenced = 0;
37412 int UNUSED insn_referenced = abuf->written;
37413 INT in_GRi = -1;
37414 INT in_GRj = -1;
37415 INT in_ICCi_2 = -1;
37416 INT in_FCCi_2 = -1;
37417 in_GRi = FLD (in_GRi);
37418 in_GRj = FLD (in_GRj);
37419 referenced |= 1 << 0;
37420 referenced |= 1 << 1;
37421 referenced |= 1 << 4;
37422 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37424 return cycles;
37425 #undef FLD
37428 static int
37429 model_fr500_jmpil (SIM_CPU *current_cpu, void *sem_arg)
37431 #define FLD(f) abuf->fields.sfmt_jmpil.f
37432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37433 const IDESC * UNUSED idesc = abuf->idesc;
37434 int cycles = 0;
37436 int referenced = 0;
37437 int UNUSED insn_referenced = abuf->written;
37438 INT in_GRi = -1;
37439 INT in_GRj = -1;
37440 INT in_ICCi_2 = -1;
37441 INT in_FCCi_2 = -1;
37442 in_GRi = FLD (in_GRi);
37443 referenced |= 1 << 0;
37444 referenced |= 1 << 4;
37445 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37447 return cycles;
37448 #undef FLD
37451 static int
37452 model_fr500_callil (SIM_CPU *current_cpu, void *sem_arg)
37454 #define FLD(f) abuf->fields.sfmt_jmpil.f
37455 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37456 const IDESC * UNUSED idesc = abuf->idesc;
37457 int cycles = 0;
37459 int referenced = 0;
37460 int UNUSED insn_referenced = abuf->written;
37461 INT in_GRi = -1;
37462 INT in_GRj = -1;
37463 INT in_ICCi_2 = -1;
37464 INT in_FCCi_2 = -1;
37465 in_GRi = FLD (in_GRi);
37466 referenced |= 1 << 0;
37467 referenced |= 1 << 4;
37468 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37470 return cycles;
37471 #undef FLD
37474 static int
37475 model_fr500_call (SIM_CPU *current_cpu, void *sem_arg)
37477 #define FLD(f) abuf->fields.sfmt_call.f
37478 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37479 const IDESC * UNUSED idesc = abuf->idesc;
37480 int cycles = 0;
37482 int referenced = 0;
37483 int UNUSED insn_referenced = abuf->written;
37484 INT in_GRi = -1;
37485 INT in_GRj = -1;
37486 INT in_ICCi_2 = -1;
37487 INT in_FCCi_2 = -1;
37488 referenced |= 1 << 4;
37489 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37491 return cycles;
37492 #undef FLD
37495 static int
37496 model_fr500_rett (SIM_CPU *current_cpu, void *sem_arg)
37498 #define FLD(f) abuf->fields.sfmt_rett.f
37499 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37500 const IDESC * UNUSED idesc = abuf->idesc;
37501 int cycles = 0;
37503 int referenced = 0;
37504 int UNUSED insn_referenced = abuf->written;
37505 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
37507 return cycles;
37508 #undef FLD
37511 static int
37512 model_fr500_rei (SIM_CPU *current_cpu, void *sem_arg)
37514 #define FLD(f) abuf->fields.sfmt_empty.f
37515 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37516 const IDESC * UNUSED idesc = abuf->idesc;
37517 int cycles = 0;
37519 int referenced = 0;
37520 int UNUSED insn_referenced = abuf->written;
37521 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
37523 return cycles;
37524 #undef FLD
37527 static int
37528 model_fr500_tra (SIM_CPU *current_cpu, void *sem_arg)
37530 #define FLD(f) abuf->fields.sfmt_ftne.f
37531 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37532 const IDESC * UNUSED idesc = abuf->idesc;
37533 int cycles = 0;
37535 int referenced = 0;
37536 int UNUSED insn_referenced = abuf->written;
37537 INT in_GRi = -1;
37538 INT in_GRj = -1;
37539 INT in_ICCi_2 = -1;
37540 INT in_FCCi_2 = -1;
37541 in_GRi = FLD (in_GRi);
37542 in_GRj = FLD (in_GRj);
37543 referenced |= 1 << 0;
37544 referenced |= 1 << 1;
37545 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37547 return cycles;
37548 #undef FLD
37551 static int
37552 model_fr500_tno (SIM_CPU *current_cpu, void *sem_arg)
37554 #define FLD(f) abuf->fields.sfmt_empty.f
37555 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37556 const IDESC * UNUSED idesc = abuf->idesc;
37557 int cycles = 0;
37559 int referenced = 0;
37560 int UNUSED insn_referenced = abuf->written;
37561 INT in_GRi = -1;
37562 INT in_GRj = -1;
37563 INT in_ICCi_2 = -1;
37564 INT in_FCCi_2 = -1;
37565 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37567 return cycles;
37568 #undef FLD
37571 static int
37572 model_fr500_teq (SIM_CPU *current_cpu, void *sem_arg)
37574 #define FLD(f) abuf->fields.sfmt_teq.f
37575 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37576 const IDESC * UNUSED idesc = abuf->idesc;
37577 int cycles = 0;
37579 int referenced = 0;
37580 int UNUSED insn_referenced = abuf->written;
37581 INT in_GRi = -1;
37582 INT in_GRj = -1;
37583 INT in_ICCi_2 = -1;
37584 INT in_FCCi_2 = -1;
37585 in_GRi = FLD (in_GRi);
37586 in_GRj = FLD (in_GRj);
37587 in_ICCi_2 = FLD (in_ICCi_2);
37588 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37589 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37590 referenced |= 1 << 2;
37591 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37593 return cycles;
37594 #undef FLD
37597 static int
37598 model_fr500_tne (SIM_CPU *current_cpu, void *sem_arg)
37600 #define FLD(f) abuf->fields.sfmt_teq.f
37601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37602 const IDESC * UNUSED idesc = abuf->idesc;
37603 int cycles = 0;
37605 int referenced = 0;
37606 int UNUSED insn_referenced = abuf->written;
37607 INT in_GRi = -1;
37608 INT in_GRj = -1;
37609 INT in_ICCi_2 = -1;
37610 INT in_FCCi_2 = -1;
37611 in_GRi = FLD (in_GRi);
37612 in_GRj = FLD (in_GRj);
37613 in_ICCi_2 = FLD (in_ICCi_2);
37614 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37615 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37616 referenced |= 1 << 2;
37617 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37619 return cycles;
37620 #undef FLD
37623 static int
37624 model_fr500_tle (SIM_CPU *current_cpu, void *sem_arg)
37626 #define FLD(f) abuf->fields.sfmt_teq.f
37627 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37628 const IDESC * UNUSED idesc = abuf->idesc;
37629 int cycles = 0;
37631 int referenced = 0;
37632 int UNUSED insn_referenced = abuf->written;
37633 INT in_GRi = -1;
37634 INT in_GRj = -1;
37635 INT in_ICCi_2 = -1;
37636 INT in_FCCi_2 = -1;
37637 in_GRi = FLD (in_GRi);
37638 in_GRj = FLD (in_GRj);
37639 in_ICCi_2 = FLD (in_ICCi_2);
37640 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37641 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37642 referenced |= 1 << 2;
37643 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37645 return cycles;
37646 #undef FLD
37649 static int
37650 model_fr500_tgt (SIM_CPU *current_cpu, void *sem_arg)
37652 #define FLD(f) abuf->fields.sfmt_teq.f
37653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37654 const IDESC * UNUSED idesc = abuf->idesc;
37655 int cycles = 0;
37657 int referenced = 0;
37658 int UNUSED insn_referenced = abuf->written;
37659 INT in_GRi = -1;
37660 INT in_GRj = -1;
37661 INT in_ICCi_2 = -1;
37662 INT in_FCCi_2 = -1;
37663 in_GRi = FLD (in_GRi);
37664 in_GRj = FLD (in_GRj);
37665 in_ICCi_2 = FLD (in_ICCi_2);
37666 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37667 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37668 referenced |= 1 << 2;
37669 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37671 return cycles;
37672 #undef FLD
37675 static int
37676 model_fr500_tlt (SIM_CPU *current_cpu, void *sem_arg)
37678 #define FLD(f) abuf->fields.sfmt_teq.f
37679 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37680 const IDESC * UNUSED idesc = abuf->idesc;
37681 int cycles = 0;
37683 int referenced = 0;
37684 int UNUSED insn_referenced = abuf->written;
37685 INT in_GRi = -1;
37686 INT in_GRj = -1;
37687 INT in_ICCi_2 = -1;
37688 INT in_FCCi_2 = -1;
37689 in_GRi = FLD (in_GRi);
37690 in_GRj = FLD (in_GRj);
37691 in_ICCi_2 = FLD (in_ICCi_2);
37692 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37693 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37694 referenced |= 1 << 2;
37695 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37697 return cycles;
37698 #undef FLD
37701 static int
37702 model_fr500_tge (SIM_CPU *current_cpu, void *sem_arg)
37704 #define FLD(f) abuf->fields.sfmt_teq.f
37705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37706 const IDESC * UNUSED idesc = abuf->idesc;
37707 int cycles = 0;
37709 int referenced = 0;
37710 int UNUSED insn_referenced = abuf->written;
37711 INT in_GRi = -1;
37712 INT in_GRj = -1;
37713 INT in_ICCi_2 = -1;
37714 INT in_FCCi_2 = -1;
37715 in_GRi = FLD (in_GRi);
37716 in_GRj = FLD (in_GRj);
37717 in_ICCi_2 = FLD (in_ICCi_2);
37718 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37719 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37720 referenced |= 1 << 2;
37721 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37723 return cycles;
37724 #undef FLD
37727 static int
37728 model_fr500_tls (SIM_CPU *current_cpu, void *sem_arg)
37730 #define FLD(f) abuf->fields.sfmt_teq.f
37731 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37732 const IDESC * UNUSED idesc = abuf->idesc;
37733 int cycles = 0;
37735 int referenced = 0;
37736 int UNUSED insn_referenced = abuf->written;
37737 INT in_GRi = -1;
37738 INT in_GRj = -1;
37739 INT in_ICCi_2 = -1;
37740 INT in_FCCi_2 = -1;
37741 in_GRi = FLD (in_GRi);
37742 in_GRj = FLD (in_GRj);
37743 in_ICCi_2 = FLD (in_ICCi_2);
37744 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37745 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37746 referenced |= 1 << 2;
37747 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37749 return cycles;
37750 #undef FLD
37753 static int
37754 model_fr500_thi (SIM_CPU *current_cpu, void *sem_arg)
37756 #define FLD(f) abuf->fields.sfmt_teq.f
37757 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37758 const IDESC * UNUSED idesc = abuf->idesc;
37759 int cycles = 0;
37761 int referenced = 0;
37762 int UNUSED insn_referenced = abuf->written;
37763 INT in_GRi = -1;
37764 INT in_GRj = -1;
37765 INT in_ICCi_2 = -1;
37766 INT in_FCCi_2 = -1;
37767 in_GRi = FLD (in_GRi);
37768 in_GRj = FLD (in_GRj);
37769 in_ICCi_2 = FLD (in_ICCi_2);
37770 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37771 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37772 referenced |= 1 << 2;
37773 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37775 return cycles;
37776 #undef FLD
37779 static int
37780 model_fr500_tc (SIM_CPU *current_cpu, void *sem_arg)
37782 #define FLD(f) abuf->fields.sfmt_teq.f
37783 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37784 const IDESC * UNUSED idesc = abuf->idesc;
37785 int cycles = 0;
37787 int referenced = 0;
37788 int UNUSED insn_referenced = abuf->written;
37789 INT in_GRi = -1;
37790 INT in_GRj = -1;
37791 INT in_ICCi_2 = -1;
37792 INT in_FCCi_2 = -1;
37793 in_GRi = FLD (in_GRi);
37794 in_GRj = FLD (in_GRj);
37795 in_ICCi_2 = FLD (in_ICCi_2);
37796 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37797 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37798 referenced |= 1 << 2;
37799 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37801 return cycles;
37802 #undef FLD
37805 static int
37806 model_fr500_tnc (SIM_CPU *current_cpu, void *sem_arg)
37808 #define FLD(f) abuf->fields.sfmt_teq.f
37809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37810 const IDESC * UNUSED idesc = abuf->idesc;
37811 int cycles = 0;
37813 int referenced = 0;
37814 int UNUSED insn_referenced = abuf->written;
37815 INT in_GRi = -1;
37816 INT in_GRj = -1;
37817 INT in_ICCi_2 = -1;
37818 INT in_FCCi_2 = -1;
37819 in_GRi = FLD (in_GRi);
37820 in_GRj = FLD (in_GRj);
37821 in_ICCi_2 = FLD (in_ICCi_2);
37822 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37823 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37824 referenced |= 1 << 2;
37825 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37827 return cycles;
37828 #undef FLD
37831 static int
37832 model_fr500_tn (SIM_CPU *current_cpu, void *sem_arg)
37834 #define FLD(f) abuf->fields.sfmt_teq.f
37835 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37836 const IDESC * UNUSED idesc = abuf->idesc;
37837 int cycles = 0;
37839 int referenced = 0;
37840 int UNUSED insn_referenced = abuf->written;
37841 INT in_GRi = -1;
37842 INT in_GRj = -1;
37843 INT in_ICCi_2 = -1;
37844 INT in_FCCi_2 = -1;
37845 in_GRi = FLD (in_GRi);
37846 in_GRj = FLD (in_GRj);
37847 in_ICCi_2 = FLD (in_ICCi_2);
37848 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37849 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37850 referenced |= 1 << 2;
37851 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37853 return cycles;
37854 #undef FLD
37857 static int
37858 model_fr500_tp (SIM_CPU *current_cpu, void *sem_arg)
37860 #define FLD(f) abuf->fields.sfmt_teq.f
37861 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37862 const IDESC * UNUSED idesc = abuf->idesc;
37863 int cycles = 0;
37865 int referenced = 0;
37866 int UNUSED insn_referenced = abuf->written;
37867 INT in_GRi = -1;
37868 INT in_GRj = -1;
37869 INT in_ICCi_2 = -1;
37870 INT in_FCCi_2 = -1;
37871 in_GRi = FLD (in_GRi);
37872 in_GRj = FLD (in_GRj);
37873 in_ICCi_2 = FLD (in_ICCi_2);
37874 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37875 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37876 referenced |= 1 << 2;
37877 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37879 return cycles;
37880 #undef FLD
37883 static int
37884 model_fr500_tv (SIM_CPU *current_cpu, void *sem_arg)
37886 #define FLD(f) abuf->fields.sfmt_teq.f
37887 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37888 const IDESC * UNUSED idesc = abuf->idesc;
37889 int cycles = 0;
37891 int referenced = 0;
37892 int UNUSED insn_referenced = abuf->written;
37893 INT in_GRi = -1;
37894 INT in_GRj = -1;
37895 INT in_ICCi_2 = -1;
37896 INT in_FCCi_2 = -1;
37897 in_GRi = FLD (in_GRi);
37898 in_GRj = FLD (in_GRj);
37899 in_ICCi_2 = FLD (in_ICCi_2);
37900 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37901 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37902 referenced |= 1 << 2;
37903 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37905 return cycles;
37906 #undef FLD
37909 static int
37910 model_fr500_tnv (SIM_CPU *current_cpu, void *sem_arg)
37912 #define FLD(f) abuf->fields.sfmt_teq.f
37913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37914 const IDESC * UNUSED idesc = abuf->idesc;
37915 int cycles = 0;
37917 int referenced = 0;
37918 int UNUSED insn_referenced = abuf->written;
37919 INT in_GRi = -1;
37920 INT in_GRj = -1;
37921 INT in_ICCi_2 = -1;
37922 INT in_FCCi_2 = -1;
37923 in_GRi = FLD (in_GRi);
37924 in_GRj = FLD (in_GRj);
37925 in_ICCi_2 = FLD (in_ICCi_2);
37926 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
37927 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
37928 referenced |= 1 << 2;
37929 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37931 return cycles;
37932 #undef FLD
37935 static int
37936 model_fr500_ftra (SIM_CPU *current_cpu, void *sem_arg)
37938 #define FLD(f) abuf->fields.sfmt_ftne.f
37939 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37940 const IDESC * UNUSED idesc = abuf->idesc;
37941 int cycles = 0;
37943 int referenced = 0;
37944 int UNUSED insn_referenced = abuf->written;
37945 INT in_GRi = -1;
37946 INT in_GRj = -1;
37947 INT in_ICCi_2 = -1;
37948 INT in_FCCi_2 = -1;
37949 in_GRi = FLD (in_GRi);
37950 in_GRj = FLD (in_GRj);
37951 referenced |= 1 << 0;
37952 referenced |= 1 << 1;
37953 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37955 return cycles;
37956 #undef FLD
37959 static int
37960 model_fr500_ftno (SIM_CPU *current_cpu, void *sem_arg)
37962 #define FLD(f) abuf->fields.sfmt_empty.f
37963 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37964 const IDESC * UNUSED idesc = abuf->idesc;
37965 int cycles = 0;
37967 int referenced = 0;
37968 int UNUSED insn_referenced = abuf->written;
37969 INT in_GRi = -1;
37970 INT in_GRj = -1;
37971 INT in_ICCi_2 = -1;
37972 INT in_FCCi_2 = -1;
37973 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
37975 return cycles;
37976 #undef FLD
37979 static int
37980 model_fr500_ftne (SIM_CPU *current_cpu, void *sem_arg)
37982 #define FLD(f) abuf->fields.sfmt_ftne.f
37983 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
37984 const IDESC * UNUSED idesc = abuf->idesc;
37985 int cycles = 0;
37987 int referenced = 0;
37988 int UNUSED insn_referenced = abuf->written;
37989 INT in_GRi = -1;
37990 INT in_GRj = -1;
37991 INT in_ICCi_2 = -1;
37992 INT in_FCCi_2 = -1;
37993 in_GRi = FLD (in_GRi);
37994 in_GRj = FLD (in_GRj);
37995 in_FCCi_2 = FLD (in_FCCi_2);
37996 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
37997 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
37998 referenced |= 1 << 3;
37999 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38001 return cycles;
38002 #undef FLD
38005 static int
38006 model_fr500_fteq (SIM_CPU *current_cpu, void *sem_arg)
38008 #define FLD(f) abuf->fields.sfmt_ftne.f
38009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38010 const IDESC * UNUSED idesc = abuf->idesc;
38011 int cycles = 0;
38013 int referenced = 0;
38014 int UNUSED insn_referenced = abuf->written;
38015 INT in_GRi = -1;
38016 INT in_GRj = -1;
38017 INT in_ICCi_2 = -1;
38018 INT in_FCCi_2 = -1;
38019 in_GRi = FLD (in_GRi);
38020 in_GRj = FLD (in_GRj);
38021 in_FCCi_2 = FLD (in_FCCi_2);
38022 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38023 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38024 referenced |= 1 << 3;
38025 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38027 return cycles;
38028 #undef FLD
38031 static int
38032 model_fr500_ftlg (SIM_CPU *current_cpu, void *sem_arg)
38034 #define FLD(f) abuf->fields.sfmt_ftne.f
38035 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38036 const IDESC * UNUSED idesc = abuf->idesc;
38037 int cycles = 0;
38039 int referenced = 0;
38040 int UNUSED insn_referenced = abuf->written;
38041 INT in_GRi = -1;
38042 INT in_GRj = -1;
38043 INT in_ICCi_2 = -1;
38044 INT in_FCCi_2 = -1;
38045 in_GRi = FLD (in_GRi);
38046 in_GRj = FLD (in_GRj);
38047 in_FCCi_2 = FLD (in_FCCi_2);
38048 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38049 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38050 referenced |= 1 << 3;
38051 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38053 return cycles;
38054 #undef FLD
38057 static int
38058 model_fr500_ftue (SIM_CPU *current_cpu, void *sem_arg)
38060 #define FLD(f) abuf->fields.sfmt_ftne.f
38061 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38062 const IDESC * UNUSED idesc = abuf->idesc;
38063 int cycles = 0;
38065 int referenced = 0;
38066 int UNUSED insn_referenced = abuf->written;
38067 INT in_GRi = -1;
38068 INT in_GRj = -1;
38069 INT in_ICCi_2 = -1;
38070 INT in_FCCi_2 = -1;
38071 in_GRi = FLD (in_GRi);
38072 in_GRj = FLD (in_GRj);
38073 in_FCCi_2 = FLD (in_FCCi_2);
38074 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38075 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38076 referenced |= 1 << 3;
38077 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38079 return cycles;
38080 #undef FLD
38083 static int
38084 model_fr500_ftul (SIM_CPU *current_cpu, void *sem_arg)
38086 #define FLD(f) abuf->fields.sfmt_ftne.f
38087 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38088 const IDESC * UNUSED idesc = abuf->idesc;
38089 int cycles = 0;
38091 int referenced = 0;
38092 int UNUSED insn_referenced = abuf->written;
38093 INT in_GRi = -1;
38094 INT in_GRj = -1;
38095 INT in_ICCi_2 = -1;
38096 INT in_FCCi_2 = -1;
38097 in_GRi = FLD (in_GRi);
38098 in_GRj = FLD (in_GRj);
38099 in_FCCi_2 = FLD (in_FCCi_2);
38100 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38101 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38102 referenced |= 1 << 3;
38103 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38105 return cycles;
38106 #undef FLD
38109 static int
38110 model_fr500_ftge (SIM_CPU *current_cpu, void *sem_arg)
38112 #define FLD(f) abuf->fields.sfmt_ftne.f
38113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38114 const IDESC * UNUSED idesc = abuf->idesc;
38115 int cycles = 0;
38117 int referenced = 0;
38118 int UNUSED insn_referenced = abuf->written;
38119 INT in_GRi = -1;
38120 INT in_GRj = -1;
38121 INT in_ICCi_2 = -1;
38122 INT in_FCCi_2 = -1;
38123 in_GRi = FLD (in_GRi);
38124 in_GRj = FLD (in_GRj);
38125 in_FCCi_2 = FLD (in_FCCi_2);
38126 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38127 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38128 referenced |= 1 << 3;
38129 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38131 return cycles;
38132 #undef FLD
38135 static int
38136 model_fr500_ftlt (SIM_CPU *current_cpu, void *sem_arg)
38138 #define FLD(f) abuf->fields.sfmt_ftne.f
38139 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38140 const IDESC * UNUSED idesc = abuf->idesc;
38141 int cycles = 0;
38143 int referenced = 0;
38144 int UNUSED insn_referenced = abuf->written;
38145 INT in_GRi = -1;
38146 INT in_GRj = -1;
38147 INT in_ICCi_2 = -1;
38148 INT in_FCCi_2 = -1;
38149 in_GRi = FLD (in_GRi);
38150 in_GRj = FLD (in_GRj);
38151 in_FCCi_2 = FLD (in_FCCi_2);
38152 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38153 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38154 referenced |= 1 << 3;
38155 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38157 return cycles;
38158 #undef FLD
38161 static int
38162 model_fr500_ftuge (SIM_CPU *current_cpu, void *sem_arg)
38164 #define FLD(f) abuf->fields.sfmt_ftne.f
38165 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38166 const IDESC * UNUSED idesc = abuf->idesc;
38167 int cycles = 0;
38169 int referenced = 0;
38170 int UNUSED insn_referenced = abuf->written;
38171 INT in_GRi = -1;
38172 INT in_GRj = -1;
38173 INT in_ICCi_2 = -1;
38174 INT in_FCCi_2 = -1;
38175 in_GRi = FLD (in_GRi);
38176 in_GRj = FLD (in_GRj);
38177 in_FCCi_2 = FLD (in_FCCi_2);
38178 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38179 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38180 referenced |= 1 << 3;
38181 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38183 return cycles;
38184 #undef FLD
38187 static int
38188 model_fr500_ftug (SIM_CPU *current_cpu, void *sem_arg)
38190 #define FLD(f) abuf->fields.sfmt_ftne.f
38191 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38192 const IDESC * UNUSED idesc = abuf->idesc;
38193 int cycles = 0;
38195 int referenced = 0;
38196 int UNUSED insn_referenced = abuf->written;
38197 INT in_GRi = -1;
38198 INT in_GRj = -1;
38199 INT in_ICCi_2 = -1;
38200 INT in_FCCi_2 = -1;
38201 in_GRi = FLD (in_GRi);
38202 in_GRj = FLD (in_GRj);
38203 in_FCCi_2 = FLD (in_FCCi_2);
38204 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38205 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38206 referenced |= 1 << 3;
38207 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38209 return cycles;
38210 #undef FLD
38213 static int
38214 model_fr500_ftle (SIM_CPU *current_cpu, void *sem_arg)
38216 #define FLD(f) abuf->fields.sfmt_ftne.f
38217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38218 const IDESC * UNUSED idesc = abuf->idesc;
38219 int cycles = 0;
38221 int referenced = 0;
38222 int UNUSED insn_referenced = abuf->written;
38223 INT in_GRi = -1;
38224 INT in_GRj = -1;
38225 INT in_ICCi_2 = -1;
38226 INT in_FCCi_2 = -1;
38227 in_GRi = FLD (in_GRi);
38228 in_GRj = FLD (in_GRj);
38229 in_FCCi_2 = FLD (in_FCCi_2);
38230 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38231 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38232 referenced |= 1 << 3;
38233 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38235 return cycles;
38236 #undef FLD
38239 static int
38240 model_fr500_ftgt (SIM_CPU *current_cpu, void *sem_arg)
38242 #define FLD(f) abuf->fields.sfmt_ftne.f
38243 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38244 const IDESC * UNUSED idesc = abuf->idesc;
38245 int cycles = 0;
38247 int referenced = 0;
38248 int UNUSED insn_referenced = abuf->written;
38249 INT in_GRi = -1;
38250 INT in_GRj = -1;
38251 INT in_ICCi_2 = -1;
38252 INT in_FCCi_2 = -1;
38253 in_GRi = FLD (in_GRi);
38254 in_GRj = FLD (in_GRj);
38255 in_FCCi_2 = FLD (in_FCCi_2);
38256 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38257 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38258 referenced |= 1 << 3;
38259 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38261 return cycles;
38262 #undef FLD
38265 static int
38266 model_fr500_ftule (SIM_CPU *current_cpu, void *sem_arg)
38268 #define FLD(f) abuf->fields.sfmt_ftne.f
38269 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38270 const IDESC * UNUSED idesc = abuf->idesc;
38271 int cycles = 0;
38273 int referenced = 0;
38274 int UNUSED insn_referenced = abuf->written;
38275 INT in_GRi = -1;
38276 INT in_GRj = -1;
38277 INT in_ICCi_2 = -1;
38278 INT in_FCCi_2 = -1;
38279 in_GRi = FLD (in_GRi);
38280 in_GRj = FLD (in_GRj);
38281 in_FCCi_2 = FLD (in_FCCi_2);
38282 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38283 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38284 referenced |= 1 << 3;
38285 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38287 return cycles;
38288 #undef FLD
38291 static int
38292 model_fr500_ftu (SIM_CPU *current_cpu, void *sem_arg)
38294 #define FLD(f) abuf->fields.sfmt_ftne.f
38295 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38296 const IDESC * UNUSED idesc = abuf->idesc;
38297 int cycles = 0;
38299 int referenced = 0;
38300 int UNUSED insn_referenced = abuf->written;
38301 INT in_GRi = -1;
38302 INT in_GRj = -1;
38303 INT in_ICCi_2 = -1;
38304 INT in_FCCi_2 = -1;
38305 in_GRi = FLD (in_GRi);
38306 in_GRj = FLD (in_GRj);
38307 in_FCCi_2 = FLD (in_FCCi_2);
38308 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38309 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38310 referenced |= 1 << 3;
38311 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38313 return cycles;
38314 #undef FLD
38317 static int
38318 model_fr500_fto (SIM_CPU *current_cpu, void *sem_arg)
38320 #define FLD(f) abuf->fields.sfmt_ftne.f
38321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38322 const IDESC * UNUSED idesc = abuf->idesc;
38323 int cycles = 0;
38325 int referenced = 0;
38326 int UNUSED insn_referenced = abuf->written;
38327 INT in_GRi = -1;
38328 INT in_GRj = -1;
38329 INT in_ICCi_2 = -1;
38330 INT in_FCCi_2 = -1;
38331 in_GRi = FLD (in_GRi);
38332 in_GRj = FLD (in_GRj);
38333 in_FCCi_2 = FLD (in_FCCi_2);
38334 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38335 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
38336 referenced |= 1 << 3;
38337 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38339 return cycles;
38340 #undef FLD
38343 static int
38344 model_fr500_tira (SIM_CPU *current_cpu, void *sem_arg)
38346 #define FLD(f) abuf->fields.sfmt_ftine.f
38347 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38348 const IDESC * UNUSED idesc = abuf->idesc;
38349 int cycles = 0;
38351 int referenced = 0;
38352 int UNUSED insn_referenced = abuf->written;
38353 INT in_GRi = -1;
38354 INT in_GRj = -1;
38355 INT in_ICCi_2 = -1;
38356 INT in_FCCi_2 = -1;
38357 in_GRi = FLD (in_GRi);
38358 referenced |= 1 << 0;
38359 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38361 return cycles;
38362 #undef FLD
38365 static int
38366 model_fr500_tino (SIM_CPU *current_cpu, void *sem_arg)
38368 #define FLD(f) abuf->fields.sfmt_empty.f
38369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38370 const IDESC * UNUSED idesc = abuf->idesc;
38371 int cycles = 0;
38373 int referenced = 0;
38374 int UNUSED insn_referenced = abuf->written;
38375 INT in_GRi = -1;
38376 INT in_GRj = -1;
38377 INT in_ICCi_2 = -1;
38378 INT in_FCCi_2 = -1;
38379 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38381 return cycles;
38382 #undef FLD
38385 static int
38386 model_fr500_tieq (SIM_CPU *current_cpu, void *sem_arg)
38388 #define FLD(f) abuf->fields.sfmt_tieq.f
38389 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38390 const IDESC * UNUSED idesc = abuf->idesc;
38391 int cycles = 0;
38393 int referenced = 0;
38394 int UNUSED insn_referenced = abuf->written;
38395 INT in_GRi = -1;
38396 INT in_GRj = -1;
38397 INT in_ICCi_2 = -1;
38398 INT in_FCCi_2 = -1;
38399 in_GRi = FLD (in_GRi);
38400 in_ICCi_2 = FLD (in_ICCi_2);
38401 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38402 referenced |= 1 << 2;
38403 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38405 return cycles;
38406 #undef FLD
38409 static int
38410 model_fr500_tine (SIM_CPU *current_cpu, void *sem_arg)
38412 #define FLD(f) abuf->fields.sfmt_tieq.f
38413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38414 const IDESC * UNUSED idesc = abuf->idesc;
38415 int cycles = 0;
38417 int referenced = 0;
38418 int UNUSED insn_referenced = abuf->written;
38419 INT in_GRi = -1;
38420 INT in_GRj = -1;
38421 INT in_ICCi_2 = -1;
38422 INT in_FCCi_2 = -1;
38423 in_GRi = FLD (in_GRi);
38424 in_ICCi_2 = FLD (in_ICCi_2);
38425 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38426 referenced |= 1 << 2;
38427 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38429 return cycles;
38430 #undef FLD
38433 static int
38434 model_fr500_tile (SIM_CPU *current_cpu, void *sem_arg)
38436 #define FLD(f) abuf->fields.sfmt_tieq.f
38437 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38438 const IDESC * UNUSED idesc = abuf->idesc;
38439 int cycles = 0;
38441 int referenced = 0;
38442 int UNUSED insn_referenced = abuf->written;
38443 INT in_GRi = -1;
38444 INT in_GRj = -1;
38445 INT in_ICCi_2 = -1;
38446 INT in_FCCi_2 = -1;
38447 in_GRi = FLD (in_GRi);
38448 in_ICCi_2 = FLD (in_ICCi_2);
38449 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38450 referenced |= 1 << 2;
38451 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38453 return cycles;
38454 #undef FLD
38457 static int
38458 model_fr500_tigt (SIM_CPU *current_cpu, void *sem_arg)
38460 #define FLD(f) abuf->fields.sfmt_tieq.f
38461 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38462 const IDESC * UNUSED idesc = abuf->idesc;
38463 int cycles = 0;
38465 int referenced = 0;
38466 int UNUSED insn_referenced = abuf->written;
38467 INT in_GRi = -1;
38468 INT in_GRj = -1;
38469 INT in_ICCi_2 = -1;
38470 INT in_FCCi_2 = -1;
38471 in_GRi = FLD (in_GRi);
38472 in_ICCi_2 = FLD (in_ICCi_2);
38473 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38474 referenced |= 1 << 2;
38475 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38477 return cycles;
38478 #undef FLD
38481 static int
38482 model_fr500_tilt (SIM_CPU *current_cpu, void *sem_arg)
38484 #define FLD(f) abuf->fields.sfmt_tieq.f
38485 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38486 const IDESC * UNUSED idesc = abuf->idesc;
38487 int cycles = 0;
38489 int referenced = 0;
38490 int UNUSED insn_referenced = abuf->written;
38491 INT in_GRi = -1;
38492 INT in_GRj = -1;
38493 INT in_ICCi_2 = -1;
38494 INT in_FCCi_2 = -1;
38495 in_GRi = FLD (in_GRi);
38496 in_ICCi_2 = FLD (in_ICCi_2);
38497 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38498 referenced |= 1 << 2;
38499 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38501 return cycles;
38502 #undef FLD
38505 static int
38506 model_fr500_tige (SIM_CPU *current_cpu, void *sem_arg)
38508 #define FLD(f) abuf->fields.sfmt_tieq.f
38509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38510 const IDESC * UNUSED idesc = abuf->idesc;
38511 int cycles = 0;
38513 int referenced = 0;
38514 int UNUSED insn_referenced = abuf->written;
38515 INT in_GRi = -1;
38516 INT in_GRj = -1;
38517 INT in_ICCi_2 = -1;
38518 INT in_FCCi_2 = -1;
38519 in_GRi = FLD (in_GRi);
38520 in_ICCi_2 = FLD (in_ICCi_2);
38521 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38522 referenced |= 1 << 2;
38523 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38525 return cycles;
38526 #undef FLD
38529 static int
38530 model_fr500_tils (SIM_CPU *current_cpu, void *sem_arg)
38532 #define FLD(f) abuf->fields.sfmt_tieq.f
38533 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38534 const IDESC * UNUSED idesc = abuf->idesc;
38535 int cycles = 0;
38537 int referenced = 0;
38538 int UNUSED insn_referenced = abuf->written;
38539 INT in_GRi = -1;
38540 INT in_GRj = -1;
38541 INT in_ICCi_2 = -1;
38542 INT in_FCCi_2 = -1;
38543 in_GRi = FLD (in_GRi);
38544 in_ICCi_2 = FLD (in_ICCi_2);
38545 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38546 referenced |= 1 << 2;
38547 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38549 return cycles;
38550 #undef FLD
38553 static int
38554 model_fr500_tihi (SIM_CPU *current_cpu, void *sem_arg)
38556 #define FLD(f) abuf->fields.sfmt_tieq.f
38557 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38558 const IDESC * UNUSED idesc = abuf->idesc;
38559 int cycles = 0;
38561 int referenced = 0;
38562 int UNUSED insn_referenced = abuf->written;
38563 INT in_GRi = -1;
38564 INT in_GRj = -1;
38565 INT in_ICCi_2 = -1;
38566 INT in_FCCi_2 = -1;
38567 in_GRi = FLD (in_GRi);
38568 in_ICCi_2 = FLD (in_ICCi_2);
38569 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38570 referenced |= 1 << 2;
38571 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38573 return cycles;
38574 #undef FLD
38577 static int
38578 model_fr500_tic (SIM_CPU *current_cpu, void *sem_arg)
38580 #define FLD(f) abuf->fields.sfmt_tieq.f
38581 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38582 const IDESC * UNUSED idesc = abuf->idesc;
38583 int cycles = 0;
38585 int referenced = 0;
38586 int UNUSED insn_referenced = abuf->written;
38587 INT in_GRi = -1;
38588 INT in_GRj = -1;
38589 INT in_ICCi_2 = -1;
38590 INT in_FCCi_2 = -1;
38591 in_GRi = FLD (in_GRi);
38592 in_ICCi_2 = FLD (in_ICCi_2);
38593 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38594 referenced |= 1 << 2;
38595 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38597 return cycles;
38598 #undef FLD
38601 static int
38602 model_fr500_tinc (SIM_CPU *current_cpu, void *sem_arg)
38604 #define FLD(f) abuf->fields.sfmt_tieq.f
38605 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38606 const IDESC * UNUSED idesc = abuf->idesc;
38607 int cycles = 0;
38609 int referenced = 0;
38610 int UNUSED insn_referenced = abuf->written;
38611 INT in_GRi = -1;
38612 INT in_GRj = -1;
38613 INT in_ICCi_2 = -1;
38614 INT in_FCCi_2 = -1;
38615 in_GRi = FLD (in_GRi);
38616 in_ICCi_2 = FLD (in_ICCi_2);
38617 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38618 referenced |= 1 << 2;
38619 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38621 return cycles;
38622 #undef FLD
38625 static int
38626 model_fr500_tin (SIM_CPU *current_cpu, void *sem_arg)
38628 #define FLD(f) abuf->fields.sfmt_tieq.f
38629 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38630 const IDESC * UNUSED idesc = abuf->idesc;
38631 int cycles = 0;
38633 int referenced = 0;
38634 int UNUSED insn_referenced = abuf->written;
38635 INT in_GRi = -1;
38636 INT in_GRj = -1;
38637 INT in_ICCi_2 = -1;
38638 INT in_FCCi_2 = -1;
38639 in_GRi = FLD (in_GRi);
38640 in_ICCi_2 = FLD (in_ICCi_2);
38641 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38642 referenced |= 1 << 2;
38643 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38645 return cycles;
38646 #undef FLD
38649 static int
38650 model_fr500_tip (SIM_CPU *current_cpu, void *sem_arg)
38652 #define FLD(f) abuf->fields.sfmt_tieq.f
38653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38654 const IDESC * UNUSED idesc = abuf->idesc;
38655 int cycles = 0;
38657 int referenced = 0;
38658 int UNUSED insn_referenced = abuf->written;
38659 INT in_GRi = -1;
38660 INT in_GRj = -1;
38661 INT in_ICCi_2 = -1;
38662 INT in_FCCi_2 = -1;
38663 in_GRi = FLD (in_GRi);
38664 in_ICCi_2 = FLD (in_ICCi_2);
38665 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38666 referenced |= 1 << 2;
38667 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38669 return cycles;
38670 #undef FLD
38673 static int
38674 model_fr500_tiv (SIM_CPU *current_cpu, void *sem_arg)
38676 #define FLD(f) abuf->fields.sfmt_tieq.f
38677 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38678 const IDESC * UNUSED idesc = abuf->idesc;
38679 int cycles = 0;
38681 int referenced = 0;
38682 int UNUSED insn_referenced = abuf->written;
38683 INT in_GRi = -1;
38684 INT in_GRj = -1;
38685 INT in_ICCi_2 = -1;
38686 INT in_FCCi_2 = -1;
38687 in_GRi = FLD (in_GRi);
38688 in_ICCi_2 = FLD (in_ICCi_2);
38689 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38690 referenced |= 1 << 2;
38691 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38693 return cycles;
38694 #undef FLD
38697 static int
38698 model_fr500_tinv (SIM_CPU *current_cpu, void *sem_arg)
38700 #define FLD(f) abuf->fields.sfmt_tieq.f
38701 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38702 const IDESC * UNUSED idesc = abuf->idesc;
38703 int cycles = 0;
38705 int referenced = 0;
38706 int UNUSED insn_referenced = abuf->written;
38707 INT in_GRi = -1;
38708 INT in_GRj = -1;
38709 INT in_ICCi_2 = -1;
38710 INT in_FCCi_2 = -1;
38711 in_GRi = FLD (in_GRi);
38712 in_ICCi_2 = FLD (in_ICCi_2);
38713 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
38714 referenced |= 1 << 2;
38715 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38717 return cycles;
38718 #undef FLD
38721 static int
38722 model_fr500_ftira (SIM_CPU *current_cpu, void *sem_arg)
38724 #define FLD(f) abuf->fields.sfmt_ftine.f
38725 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38726 const IDESC * UNUSED idesc = abuf->idesc;
38727 int cycles = 0;
38729 int referenced = 0;
38730 int UNUSED insn_referenced = abuf->written;
38731 INT in_GRi = -1;
38732 INT in_GRj = -1;
38733 INT in_ICCi_2 = -1;
38734 INT in_FCCi_2 = -1;
38735 in_GRi = FLD (in_GRi);
38736 referenced |= 1 << 0;
38737 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38739 return cycles;
38740 #undef FLD
38743 static int
38744 model_fr500_ftino (SIM_CPU *current_cpu, void *sem_arg)
38746 #define FLD(f) abuf->fields.sfmt_empty.f
38747 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38748 const IDESC * UNUSED idesc = abuf->idesc;
38749 int cycles = 0;
38751 int referenced = 0;
38752 int UNUSED insn_referenced = abuf->written;
38753 INT in_GRi = -1;
38754 INT in_GRj = -1;
38755 INT in_ICCi_2 = -1;
38756 INT in_FCCi_2 = -1;
38757 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38759 return cycles;
38760 #undef FLD
38763 static int
38764 model_fr500_ftine (SIM_CPU *current_cpu, void *sem_arg)
38766 #define FLD(f) abuf->fields.sfmt_ftine.f
38767 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38768 const IDESC * UNUSED idesc = abuf->idesc;
38769 int cycles = 0;
38771 int referenced = 0;
38772 int UNUSED insn_referenced = abuf->written;
38773 INT in_GRi = -1;
38774 INT in_GRj = -1;
38775 INT in_ICCi_2 = -1;
38776 INT in_FCCi_2 = -1;
38777 in_GRi = FLD (in_GRi);
38778 in_FCCi_2 = FLD (in_FCCi_2);
38779 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38780 referenced |= 1 << 3;
38781 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38783 return cycles;
38784 #undef FLD
38787 static int
38788 model_fr500_ftieq (SIM_CPU *current_cpu, void *sem_arg)
38790 #define FLD(f) abuf->fields.sfmt_ftine.f
38791 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38792 const IDESC * UNUSED idesc = abuf->idesc;
38793 int cycles = 0;
38795 int referenced = 0;
38796 int UNUSED insn_referenced = abuf->written;
38797 INT in_GRi = -1;
38798 INT in_GRj = -1;
38799 INT in_ICCi_2 = -1;
38800 INT in_FCCi_2 = -1;
38801 in_GRi = FLD (in_GRi);
38802 in_FCCi_2 = FLD (in_FCCi_2);
38803 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38804 referenced |= 1 << 3;
38805 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38807 return cycles;
38808 #undef FLD
38811 static int
38812 model_fr500_ftilg (SIM_CPU *current_cpu, void *sem_arg)
38814 #define FLD(f) abuf->fields.sfmt_ftine.f
38815 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38816 const IDESC * UNUSED idesc = abuf->idesc;
38817 int cycles = 0;
38819 int referenced = 0;
38820 int UNUSED insn_referenced = abuf->written;
38821 INT in_GRi = -1;
38822 INT in_GRj = -1;
38823 INT in_ICCi_2 = -1;
38824 INT in_FCCi_2 = -1;
38825 in_GRi = FLD (in_GRi);
38826 in_FCCi_2 = FLD (in_FCCi_2);
38827 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38828 referenced |= 1 << 3;
38829 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38831 return cycles;
38832 #undef FLD
38835 static int
38836 model_fr500_ftiue (SIM_CPU *current_cpu, void *sem_arg)
38838 #define FLD(f) abuf->fields.sfmt_ftine.f
38839 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38840 const IDESC * UNUSED idesc = abuf->idesc;
38841 int cycles = 0;
38843 int referenced = 0;
38844 int UNUSED insn_referenced = abuf->written;
38845 INT in_GRi = -1;
38846 INT in_GRj = -1;
38847 INT in_ICCi_2 = -1;
38848 INT in_FCCi_2 = -1;
38849 in_GRi = FLD (in_GRi);
38850 in_FCCi_2 = FLD (in_FCCi_2);
38851 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38852 referenced |= 1 << 3;
38853 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38855 return cycles;
38856 #undef FLD
38859 static int
38860 model_fr500_ftiul (SIM_CPU *current_cpu, void *sem_arg)
38862 #define FLD(f) abuf->fields.sfmt_ftine.f
38863 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38864 const IDESC * UNUSED idesc = abuf->idesc;
38865 int cycles = 0;
38867 int referenced = 0;
38868 int UNUSED insn_referenced = abuf->written;
38869 INT in_GRi = -1;
38870 INT in_GRj = -1;
38871 INT in_ICCi_2 = -1;
38872 INT in_FCCi_2 = -1;
38873 in_GRi = FLD (in_GRi);
38874 in_FCCi_2 = FLD (in_FCCi_2);
38875 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38876 referenced |= 1 << 3;
38877 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38879 return cycles;
38880 #undef FLD
38883 static int
38884 model_fr500_ftige (SIM_CPU *current_cpu, void *sem_arg)
38886 #define FLD(f) abuf->fields.sfmt_ftine.f
38887 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38888 const IDESC * UNUSED idesc = abuf->idesc;
38889 int cycles = 0;
38891 int referenced = 0;
38892 int UNUSED insn_referenced = abuf->written;
38893 INT in_GRi = -1;
38894 INT in_GRj = -1;
38895 INT in_ICCi_2 = -1;
38896 INT in_FCCi_2 = -1;
38897 in_GRi = FLD (in_GRi);
38898 in_FCCi_2 = FLD (in_FCCi_2);
38899 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38900 referenced |= 1 << 3;
38901 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38903 return cycles;
38904 #undef FLD
38907 static int
38908 model_fr500_ftilt (SIM_CPU *current_cpu, void *sem_arg)
38910 #define FLD(f) abuf->fields.sfmt_ftine.f
38911 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38912 const IDESC * UNUSED idesc = abuf->idesc;
38913 int cycles = 0;
38915 int referenced = 0;
38916 int UNUSED insn_referenced = abuf->written;
38917 INT in_GRi = -1;
38918 INT in_GRj = -1;
38919 INT in_ICCi_2 = -1;
38920 INT in_FCCi_2 = -1;
38921 in_GRi = FLD (in_GRi);
38922 in_FCCi_2 = FLD (in_FCCi_2);
38923 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38924 referenced |= 1 << 3;
38925 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38927 return cycles;
38928 #undef FLD
38931 static int
38932 model_fr500_ftiuge (SIM_CPU *current_cpu, void *sem_arg)
38934 #define FLD(f) abuf->fields.sfmt_ftine.f
38935 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38936 const IDESC * UNUSED idesc = abuf->idesc;
38937 int cycles = 0;
38939 int referenced = 0;
38940 int UNUSED insn_referenced = abuf->written;
38941 INT in_GRi = -1;
38942 INT in_GRj = -1;
38943 INT in_ICCi_2 = -1;
38944 INT in_FCCi_2 = -1;
38945 in_GRi = FLD (in_GRi);
38946 in_FCCi_2 = FLD (in_FCCi_2);
38947 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38948 referenced |= 1 << 3;
38949 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38951 return cycles;
38952 #undef FLD
38955 static int
38956 model_fr500_ftiug (SIM_CPU *current_cpu, void *sem_arg)
38958 #define FLD(f) abuf->fields.sfmt_ftine.f
38959 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38960 const IDESC * UNUSED idesc = abuf->idesc;
38961 int cycles = 0;
38963 int referenced = 0;
38964 int UNUSED insn_referenced = abuf->written;
38965 INT in_GRi = -1;
38966 INT in_GRj = -1;
38967 INT in_ICCi_2 = -1;
38968 INT in_FCCi_2 = -1;
38969 in_GRi = FLD (in_GRi);
38970 in_FCCi_2 = FLD (in_FCCi_2);
38971 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38972 referenced |= 1 << 3;
38973 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38975 return cycles;
38976 #undef FLD
38979 static int
38980 model_fr500_ftile (SIM_CPU *current_cpu, void *sem_arg)
38982 #define FLD(f) abuf->fields.sfmt_ftine.f
38983 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
38984 const IDESC * UNUSED idesc = abuf->idesc;
38985 int cycles = 0;
38987 int referenced = 0;
38988 int UNUSED insn_referenced = abuf->written;
38989 INT in_GRi = -1;
38990 INT in_GRj = -1;
38991 INT in_ICCi_2 = -1;
38992 INT in_FCCi_2 = -1;
38993 in_GRi = FLD (in_GRi);
38994 in_FCCi_2 = FLD (in_FCCi_2);
38995 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
38996 referenced |= 1 << 3;
38997 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
38999 return cycles;
39000 #undef FLD
39003 static int
39004 model_fr500_ftigt (SIM_CPU *current_cpu, void *sem_arg)
39006 #define FLD(f) abuf->fields.sfmt_ftine.f
39007 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39008 const IDESC * UNUSED idesc = abuf->idesc;
39009 int cycles = 0;
39011 int referenced = 0;
39012 int UNUSED insn_referenced = abuf->written;
39013 INT in_GRi = -1;
39014 INT in_GRj = -1;
39015 INT in_ICCi_2 = -1;
39016 INT in_FCCi_2 = -1;
39017 in_GRi = FLD (in_GRi);
39018 in_FCCi_2 = FLD (in_FCCi_2);
39019 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
39020 referenced |= 1 << 3;
39021 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
39023 return cycles;
39024 #undef FLD
39027 static int
39028 model_fr500_ftiule (SIM_CPU *current_cpu, void *sem_arg)
39030 #define FLD(f) abuf->fields.sfmt_ftine.f
39031 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39032 const IDESC * UNUSED idesc = abuf->idesc;
39033 int cycles = 0;
39035 int referenced = 0;
39036 int UNUSED insn_referenced = abuf->written;
39037 INT in_GRi = -1;
39038 INT in_GRj = -1;
39039 INT in_ICCi_2 = -1;
39040 INT in_FCCi_2 = -1;
39041 in_GRi = FLD (in_GRi);
39042 in_FCCi_2 = FLD (in_FCCi_2);
39043 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
39044 referenced |= 1 << 3;
39045 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
39047 return cycles;
39048 #undef FLD
39051 static int
39052 model_fr500_ftiu (SIM_CPU *current_cpu, void *sem_arg)
39054 #define FLD(f) abuf->fields.sfmt_ftine.f
39055 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39056 const IDESC * UNUSED idesc = abuf->idesc;
39057 int cycles = 0;
39059 int referenced = 0;
39060 int UNUSED insn_referenced = abuf->written;
39061 INT in_GRi = -1;
39062 INT in_GRj = -1;
39063 INT in_ICCi_2 = -1;
39064 INT in_FCCi_2 = -1;
39065 in_GRi = FLD (in_GRi);
39066 in_FCCi_2 = FLD (in_FCCi_2);
39067 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
39068 referenced |= 1 << 3;
39069 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
39071 return cycles;
39072 #undef FLD
39075 static int
39076 model_fr500_ftio (SIM_CPU *current_cpu, void *sem_arg)
39078 #define FLD(f) abuf->fields.sfmt_ftine.f
39079 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39080 const IDESC * UNUSED idesc = abuf->idesc;
39081 int cycles = 0;
39083 int referenced = 0;
39084 int UNUSED insn_referenced = abuf->written;
39085 INT in_GRi = -1;
39086 INT in_GRj = -1;
39087 INT in_ICCi_2 = -1;
39088 INT in_FCCi_2 = -1;
39089 in_GRi = FLD (in_GRi);
39090 in_FCCi_2 = FLD (in_FCCi_2);
39091 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
39092 referenced |= 1 << 3;
39093 cycles += frvbf_model_fr500_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
39095 return cycles;
39096 #undef FLD
39099 static int
39100 model_fr500_break (SIM_CPU *current_cpu, void *sem_arg)
39102 #define FLD(f) abuf->fields.sfmt_break.f
39103 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39104 const IDESC * UNUSED idesc = abuf->idesc;
39105 int cycles = 0;
39107 int referenced = 0;
39108 int UNUSED insn_referenced = abuf->written;
39109 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39111 return cycles;
39112 #undef FLD
39115 static int
39116 model_fr500_mtrap (SIM_CPU *current_cpu, void *sem_arg)
39118 #define FLD(f) abuf->fields.sfmt_empty.f
39119 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39120 const IDESC * UNUSED idesc = abuf->idesc;
39121 int cycles = 0;
39123 int referenced = 0;
39124 int UNUSED insn_referenced = abuf->written;
39125 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39127 return cycles;
39128 #undef FLD
39131 static int
39132 model_fr500_andcr (SIM_CPU *current_cpu, void *sem_arg)
39134 #define FLD(f) abuf->fields.sfmt_andcr.f
39135 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39136 const IDESC * UNUSED idesc = abuf->idesc;
39137 int cycles = 0;
39139 int referenced = 0;
39140 int UNUSED insn_referenced = abuf->written;
39141 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39143 return cycles;
39144 #undef FLD
39147 static int
39148 model_fr500_orcr (SIM_CPU *current_cpu, void *sem_arg)
39150 #define FLD(f) abuf->fields.sfmt_andcr.f
39151 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39152 const IDESC * UNUSED idesc = abuf->idesc;
39153 int cycles = 0;
39155 int referenced = 0;
39156 int UNUSED insn_referenced = abuf->written;
39157 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39159 return cycles;
39160 #undef FLD
39163 static int
39164 model_fr500_xorcr (SIM_CPU *current_cpu, void *sem_arg)
39166 #define FLD(f) abuf->fields.sfmt_andcr.f
39167 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39168 const IDESC * UNUSED idesc = abuf->idesc;
39169 int cycles = 0;
39171 int referenced = 0;
39172 int UNUSED insn_referenced = abuf->written;
39173 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39175 return cycles;
39176 #undef FLD
39179 static int
39180 model_fr500_nandcr (SIM_CPU *current_cpu, void *sem_arg)
39182 #define FLD(f) abuf->fields.sfmt_andcr.f
39183 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39184 const IDESC * UNUSED idesc = abuf->idesc;
39185 int cycles = 0;
39187 int referenced = 0;
39188 int UNUSED insn_referenced = abuf->written;
39189 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39191 return cycles;
39192 #undef FLD
39195 static int
39196 model_fr500_norcr (SIM_CPU *current_cpu, void *sem_arg)
39198 #define FLD(f) abuf->fields.sfmt_andcr.f
39199 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39200 const IDESC * UNUSED idesc = abuf->idesc;
39201 int cycles = 0;
39203 int referenced = 0;
39204 int UNUSED insn_referenced = abuf->written;
39205 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39207 return cycles;
39208 #undef FLD
39211 static int
39212 model_fr500_andncr (SIM_CPU *current_cpu, void *sem_arg)
39214 #define FLD(f) abuf->fields.sfmt_andcr.f
39215 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39216 const IDESC * UNUSED idesc = abuf->idesc;
39217 int cycles = 0;
39219 int referenced = 0;
39220 int UNUSED insn_referenced = abuf->written;
39221 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39223 return cycles;
39224 #undef FLD
39227 static int
39228 model_fr500_orncr (SIM_CPU *current_cpu, void *sem_arg)
39230 #define FLD(f) abuf->fields.sfmt_andcr.f
39231 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39232 const IDESC * UNUSED idesc = abuf->idesc;
39233 int cycles = 0;
39235 int referenced = 0;
39236 int UNUSED insn_referenced = abuf->written;
39237 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39239 return cycles;
39240 #undef FLD
39243 static int
39244 model_fr500_nandncr (SIM_CPU *current_cpu, void *sem_arg)
39246 #define FLD(f) abuf->fields.sfmt_andcr.f
39247 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39248 const IDESC * UNUSED idesc = abuf->idesc;
39249 int cycles = 0;
39251 int referenced = 0;
39252 int UNUSED insn_referenced = abuf->written;
39253 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39255 return cycles;
39256 #undef FLD
39259 static int
39260 model_fr500_norncr (SIM_CPU *current_cpu, void *sem_arg)
39262 #define FLD(f) abuf->fields.sfmt_andcr.f
39263 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39264 const IDESC * UNUSED idesc = abuf->idesc;
39265 int cycles = 0;
39267 int referenced = 0;
39268 int UNUSED insn_referenced = abuf->written;
39269 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39271 return cycles;
39272 #undef FLD
39275 static int
39276 model_fr500_notcr (SIM_CPU *current_cpu, void *sem_arg)
39278 #define FLD(f) abuf->fields.sfmt_andcr.f
39279 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39280 const IDESC * UNUSED idesc = abuf->idesc;
39281 int cycles = 0;
39283 int referenced = 0;
39284 int UNUSED insn_referenced = abuf->written;
39285 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
39287 return cycles;
39288 #undef FLD
39291 static int
39292 model_fr500_ckra (SIM_CPU *current_cpu, void *sem_arg)
39294 #define FLD(f) abuf->fields.sfmt_cckeq.f
39295 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39296 const IDESC * UNUSED idesc = abuf->idesc;
39297 int cycles = 0;
39299 int referenced = 0;
39300 int UNUSED insn_referenced = abuf->written;
39301 INT in_ICCi_3 = -1;
39302 INT in_FCCi_3 = -1;
39303 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39305 return cycles;
39306 #undef FLD
39309 static int
39310 model_fr500_ckno (SIM_CPU *current_cpu, void *sem_arg)
39312 #define FLD(f) abuf->fields.sfmt_cckeq.f
39313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39314 const IDESC * UNUSED idesc = abuf->idesc;
39315 int cycles = 0;
39317 int referenced = 0;
39318 int UNUSED insn_referenced = abuf->written;
39319 INT in_ICCi_3 = -1;
39320 INT in_FCCi_3 = -1;
39321 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39323 return cycles;
39324 #undef FLD
39327 static int
39328 model_fr500_ckeq (SIM_CPU *current_cpu, void *sem_arg)
39330 #define FLD(f) abuf->fields.sfmt_cckeq.f
39331 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39332 const IDESC * UNUSED idesc = abuf->idesc;
39333 int cycles = 0;
39335 int referenced = 0;
39336 int UNUSED insn_referenced = abuf->written;
39337 INT in_ICCi_3 = -1;
39338 INT in_FCCi_3 = -1;
39339 in_ICCi_3 = FLD (in_ICCi_3);
39340 referenced |= 1 << 0;
39341 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39343 return cycles;
39344 #undef FLD
39347 static int
39348 model_fr500_ckne (SIM_CPU *current_cpu, void *sem_arg)
39350 #define FLD(f) abuf->fields.sfmt_cckeq.f
39351 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39352 const IDESC * UNUSED idesc = abuf->idesc;
39353 int cycles = 0;
39355 int referenced = 0;
39356 int UNUSED insn_referenced = abuf->written;
39357 INT in_ICCi_3 = -1;
39358 INT in_FCCi_3 = -1;
39359 in_ICCi_3 = FLD (in_ICCi_3);
39360 referenced |= 1 << 0;
39361 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39363 return cycles;
39364 #undef FLD
39367 static int
39368 model_fr500_ckle (SIM_CPU *current_cpu, void *sem_arg)
39370 #define FLD(f) abuf->fields.sfmt_cckeq.f
39371 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39372 const IDESC * UNUSED idesc = abuf->idesc;
39373 int cycles = 0;
39375 int referenced = 0;
39376 int UNUSED insn_referenced = abuf->written;
39377 INT in_ICCi_3 = -1;
39378 INT in_FCCi_3 = -1;
39379 in_ICCi_3 = FLD (in_ICCi_3);
39380 referenced |= 1 << 0;
39381 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39383 return cycles;
39384 #undef FLD
39387 static int
39388 model_fr500_ckgt (SIM_CPU *current_cpu, void *sem_arg)
39390 #define FLD(f) abuf->fields.sfmt_cckeq.f
39391 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39392 const IDESC * UNUSED idesc = abuf->idesc;
39393 int cycles = 0;
39395 int referenced = 0;
39396 int UNUSED insn_referenced = abuf->written;
39397 INT in_ICCi_3 = -1;
39398 INT in_FCCi_3 = -1;
39399 in_ICCi_3 = FLD (in_ICCi_3);
39400 referenced |= 1 << 0;
39401 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39403 return cycles;
39404 #undef FLD
39407 static int
39408 model_fr500_cklt (SIM_CPU *current_cpu, void *sem_arg)
39410 #define FLD(f) abuf->fields.sfmt_cckeq.f
39411 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39412 const IDESC * UNUSED idesc = abuf->idesc;
39413 int cycles = 0;
39415 int referenced = 0;
39416 int UNUSED insn_referenced = abuf->written;
39417 INT in_ICCi_3 = -1;
39418 INT in_FCCi_3 = -1;
39419 in_ICCi_3 = FLD (in_ICCi_3);
39420 referenced |= 1 << 0;
39421 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39423 return cycles;
39424 #undef FLD
39427 static int
39428 model_fr500_ckge (SIM_CPU *current_cpu, void *sem_arg)
39430 #define FLD(f) abuf->fields.sfmt_cckeq.f
39431 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39432 const IDESC * UNUSED idesc = abuf->idesc;
39433 int cycles = 0;
39435 int referenced = 0;
39436 int UNUSED insn_referenced = abuf->written;
39437 INT in_ICCi_3 = -1;
39438 INT in_FCCi_3 = -1;
39439 in_ICCi_3 = FLD (in_ICCi_3);
39440 referenced |= 1 << 0;
39441 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39443 return cycles;
39444 #undef FLD
39447 static int
39448 model_fr500_ckls (SIM_CPU *current_cpu, void *sem_arg)
39450 #define FLD(f) abuf->fields.sfmt_cckeq.f
39451 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39452 const IDESC * UNUSED idesc = abuf->idesc;
39453 int cycles = 0;
39455 int referenced = 0;
39456 int UNUSED insn_referenced = abuf->written;
39457 INT in_ICCi_3 = -1;
39458 INT in_FCCi_3 = -1;
39459 in_ICCi_3 = FLD (in_ICCi_3);
39460 referenced |= 1 << 0;
39461 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39463 return cycles;
39464 #undef FLD
39467 static int
39468 model_fr500_ckhi (SIM_CPU *current_cpu, void *sem_arg)
39470 #define FLD(f) abuf->fields.sfmt_cckeq.f
39471 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39472 const IDESC * UNUSED idesc = abuf->idesc;
39473 int cycles = 0;
39475 int referenced = 0;
39476 int UNUSED insn_referenced = abuf->written;
39477 INT in_ICCi_3 = -1;
39478 INT in_FCCi_3 = -1;
39479 in_ICCi_3 = FLD (in_ICCi_3);
39480 referenced |= 1 << 0;
39481 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39483 return cycles;
39484 #undef FLD
39487 static int
39488 model_fr500_ckc (SIM_CPU *current_cpu, void *sem_arg)
39490 #define FLD(f) abuf->fields.sfmt_cckeq.f
39491 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39492 const IDESC * UNUSED idesc = abuf->idesc;
39493 int cycles = 0;
39495 int referenced = 0;
39496 int UNUSED insn_referenced = abuf->written;
39497 INT in_ICCi_3 = -1;
39498 INT in_FCCi_3 = -1;
39499 in_ICCi_3 = FLD (in_ICCi_3);
39500 referenced |= 1 << 0;
39501 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39503 return cycles;
39504 #undef FLD
39507 static int
39508 model_fr500_cknc (SIM_CPU *current_cpu, void *sem_arg)
39510 #define FLD(f) abuf->fields.sfmt_cckeq.f
39511 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39512 const IDESC * UNUSED idesc = abuf->idesc;
39513 int cycles = 0;
39515 int referenced = 0;
39516 int UNUSED insn_referenced = abuf->written;
39517 INT in_ICCi_3 = -1;
39518 INT in_FCCi_3 = -1;
39519 in_ICCi_3 = FLD (in_ICCi_3);
39520 referenced |= 1 << 0;
39521 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39523 return cycles;
39524 #undef FLD
39527 static int
39528 model_fr500_ckn (SIM_CPU *current_cpu, void *sem_arg)
39530 #define FLD(f) abuf->fields.sfmt_cckeq.f
39531 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39532 const IDESC * UNUSED idesc = abuf->idesc;
39533 int cycles = 0;
39535 int referenced = 0;
39536 int UNUSED insn_referenced = abuf->written;
39537 INT in_ICCi_3 = -1;
39538 INT in_FCCi_3 = -1;
39539 in_ICCi_3 = FLD (in_ICCi_3);
39540 referenced |= 1 << 0;
39541 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39543 return cycles;
39544 #undef FLD
39547 static int
39548 model_fr500_ckp (SIM_CPU *current_cpu, void *sem_arg)
39550 #define FLD(f) abuf->fields.sfmt_cckeq.f
39551 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39552 const IDESC * UNUSED idesc = abuf->idesc;
39553 int cycles = 0;
39555 int referenced = 0;
39556 int UNUSED insn_referenced = abuf->written;
39557 INT in_ICCi_3 = -1;
39558 INT in_FCCi_3 = -1;
39559 in_ICCi_3 = FLD (in_ICCi_3);
39560 referenced |= 1 << 0;
39561 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39563 return cycles;
39564 #undef FLD
39567 static int
39568 model_fr500_ckv (SIM_CPU *current_cpu, void *sem_arg)
39570 #define FLD(f) abuf->fields.sfmt_cckeq.f
39571 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39572 const IDESC * UNUSED idesc = abuf->idesc;
39573 int cycles = 0;
39575 int referenced = 0;
39576 int UNUSED insn_referenced = abuf->written;
39577 INT in_ICCi_3 = -1;
39578 INT in_FCCi_3 = -1;
39579 in_ICCi_3 = FLD (in_ICCi_3);
39580 referenced |= 1 << 0;
39581 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39583 return cycles;
39584 #undef FLD
39587 static int
39588 model_fr500_cknv (SIM_CPU *current_cpu, void *sem_arg)
39590 #define FLD(f) abuf->fields.sfmt_cckeq.f
39591 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39592 const IDESC * UNUSED idesc = abuf->idesc;
39593 int cycles = 0;
39595 int referenced = 0;
39596 int UNUSED insn_referenced = abuf->written;
39597 INT in_ICCi_3 = -1;
39598 INT in_FCCi_3 = -1;
39599 in_ICCi_3 = FLD (in_ICCi_3);
39600 referenced |= 1 << 0;
39601 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39603 return cycles;
39604 #undef FLD
39607 static int
39608 model_fr500_fckra (SIM_CPU *current_cpu, void *sem_arg)
39610 #define FLD(f) abuf->fields.sfmt_cfckne.f
39611 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39612 const IDESC * UNUSED idesc = abuf->idesc;
39613 int cycles = 0;
39615 int referenced = 0;
39616 int UNUSED insn_referenced = abuf->written;
39617 INT in_ICCi_3 = -1;
39618 INT in_FCCi_3 = -1;
39619 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39621 return cycles;
39622 #undef FLD
39625 static int
39626 model_fr500_fckno (SIM_CPU *current_cpu, void *sem_arg)
39628 #define FLD(f) abuf->fields.sfmt_cfckne.f
39629 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39630 const IDESC * UNUSED idesc = abuf->idesc;
39631 int cycles = 0;
39633 int referenced = 0;
39634 int UNUSED insn_referenced = abuf->written;
39635 INT in_ICCi_3 = -1;
39636 INT in_FCCi_3 = -1;
39637 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39639 return cycles;
39640 #undef FLD
39643 static int
39644 model_fr500_fckne (SIM_CPU *current_cpu, void *sem_arg)
39646 #define FLD(f) abuf->fields.sfmt_cfckne.f
39647 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39648 const IDESC * UNUSED idesc = abuf->idesc;
39649 int cycles = 0;
39651 int referenced = 0;
39652 int UNUSED insn_referenced = abuf->written;
39653 INT in_ICCi_3 = -1;
39654 INT in_FCCi_3 = -1;
39655 in_FCCi_3 = FLD (in_FCCi_3);
39656 referenced |= 1 << 1;
39657 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39659 return cycles;
39660 #undef FLD
39663 static int
39664 model_fr500_fckeq (SIM_CPU *current_cpu, void *sem_arg)
39666 #define FLD(f) abuf->fields.sfmt_cfckne.f
39667 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39668 const IDESC * UNUSED idesc = abuf->idesc;
39669 int cycles = 0;
39671 int referenced = 0;
39672 int UNUSED insn_referenced = abuf->written;
39673 INT in_ICCi_3 = -1;
39674 INT in_FCCi_3 = -1;
39675 in_FCCi_3 = FLD (in_FCCi_3);
39676 referenced |= 1 << 1;
39677 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39679 return cycles;
39680 #undef FLD
39683 static int
39684 model_fr500_fcklg (SIM_CPU *current_cpu, void *sem_arg)
39686 #define FLD(f) abuf->fields.sfmt_cfckne.f
39687 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39688 const IDESC * UNUSED idesc = abuf->idesc;
39689 int cycles = 0;
39691 int referenced = 0;
39692 int UNUSED insn_referenced = abuf->written;
39693 INT in_ICCi_3 = -1;
39694 INT in_FCCi_3 = -1;
39695 in_FCCi_3 = FLD (in_FCCi_3);
39696 referenced |= 1 << 1;
39697 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39699 return cycles;
39700 #undef FLD
39703 static int
39704 model_fr500_fckue (SIM_CPU *current_cpu, void *sem_arg)
39706 #define FLD(f) abuf->fields.sfmt_cfckne.f
39707 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39708 const IDESC * UNUSED idesc = abuf->idesc;
39709 int cycles = 0;
39711 int referenced = 0;
39712 int UNUSED insn_referenced = abuf->written;
39713 INT in_ICCi_3 = -1;
39714 INT in_FCCi_3 = -1;
39715 in_FCCi_3 = FLD (in_FCCi_3);
39716 referenced |= 1 << 1;
39717 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39719 return cycles;
39720 #undef FLD
39723 static int
39724 model_fr500_fckul (SIM_CPU *current_cpu, void *sem_arg)
39726 #define FLD(f) abuf->fields.sfmt_cfckne.f
39727 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39728 const IDESC * UNUSED idesc = abuf->idesc;
39729 int cycles = 0;
39731 int referenced = 0;
39732 int UNUSED insn_referenced = abuf->written;
39733 INT in_ICCi_3 = -1;
39734 INT in_FCCi_3 = -1;
39735 in_FCCi_3 = FLD (in_FCCi_3);
39736 referenced |= 1 << 1;
39737 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39739 return cycles;
39740 #undef FLD
39743 static int
39744 model_fr500_fckge (SIM_CPU *current_cpu, void *sem_arg)
39746 #define FLD(f) abuf->fields.sfmt_cfckne.f
39747 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39748 const IDESC * UNUSED idesc = abuf->idesc;
39749 int cycles = 0;
39751 int referenced = 0;
39752 int UNUSED insn_referenced = abuf->written;
39753 INT in_ICCi_3 = -1;
39754 INT in_FCCi_3 = -1;
39755 in_FCCi_3 = FLD (in_FCCi_3);
39756 referenced |= 1 << 1;
39757 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39759 return cycles;
39760 #undef FLD
39763 static int
39764 model_fr500_fcklt (SIM_CPU *current_cpu, void *sem_arg)
39766 #define FLD(f) abuf->fields.sfmt_cfckne.f
39767 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39768 const IDESC * UNUSED idesc = abuf->idesc;
39769 int cycles = 0;
39771 int referenced = 0;
39772 int UNUSED insn_referenced = abuf->written;
39773 INT in_ICCi_3 = -1;
39774 INT in_FCCi_3 = -1;
39775 in_FCCi_3 = FLD (in_FCCi_3);
39776 referenced |= 1 << 1;
39777 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39779 return cycles;
39780 #undef FLD
39783 static int
39784 model_fr500_fckuge (SIM_CPU *current_cpu, void *sem_arg)
39786 #define FLD(f) abuf->fields.sfmt_cfckne.f
39787 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39788 const IDESC * UNUSED idesc = abuf->idesc;
39789 int cycles = 0;
39791 int referenced = 0;
39792 int UNUSED insn_referenced = abuf->written;
39793 INT in_ICCi_3 = -1;
39794 INT in_FCCi_3 = -1;
39795 in_FCCi_3 = FLD (in_FCCi_3);
39796 referenced |= 1 << 1;
39797 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39799 return cycles;
39800 #undef FLD
39803 static int
39804 model_fr500_fckug (SIM_CPU *current_cpu, void *sem_arg)
39806 #define FLD(f) abuf->fields.sfmt_cfckne.f
39807 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39808 const IDESC * UNUSED idesc = abuf->idesc;
39809 int cycles = 0;
39811 int referenced = 0;
39812 int UNUSED insn_referenced = abuf->written;
39813 INT in_ICCi_3 = -1;
39814 INT in_FCCi_3 = -1;
39815 in_FCCi_3 = FLD (in_FCCi_3);
39816 referenced |= 1 << 1;
39817 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39819 return cycles;
39820 #undef FLD
39823 static int
39824 model_fr500_fckle (SIM_CPU *current_cpu, void *sem_arg)
39826 #define FLD(f) abuf->fields.sfmt_cfckne.f
39827 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39828 const IDESC * UNUSED idesc = abuf->idesc;
39829 int cycles = 0;
39831 int referenced = 0;
39832 int UNUSED insn_referenced = abuf->written;
39833 INT in_ICCi_3 = -1;
39834 INT in_FCCi_3 = -1;
39835 in_FCCi_3 = FLD (in_FCCi_3);
39836 referenced |= 1 << 1;
39837 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39839 return cycles;
39840 #undef FLD
39843 static int
39844 model_fr500_fckgt (SIM_CPU *current_cpu, void *sem_arg)
39846 #define FLD(f) abuf->fields.sfmt_cfckne.f
39847 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39848 const IDESC * UNUSED idesc = abuf->idesc;
39849 int cycles = 0;
39851 int referenced = 0;
39852 int UNUSED insn_referenced = abuf->written;
39853 INT in_ICCi_3 = -1;
39854 INT in_FCCi_3 = -1;
39855 in_FCCi_3 = FLD (in_FCCi_3);
39856 referenced |= 1 << 1;
39857 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39859 return cycles;
39860 #undef FLD
39863 static int
39864 model_fr500_fckule (SIM_CPU *current_cpu, void *sem_arg)
39866 #define FLD(f) abuf->fields.sfmt_cfckne.f
39867 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39868 const IDESC * UNUSED idesc = abuf->idesc;
39869 int cycles = 0;
39871 int referenced = 0;
39872 int UNUSED insn_referenced = abuf->written;
39873 INT in_ICCi_3 = -1;
39874 INT in_FCCi_3 = -1;
39875 in_FCCi_3 = FLD (in_FCCi_3);
39876 referenced |= 1 << 1;
39877 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39879 return cycles;
39880 #undef FLD
39883 static int
39884 model_fr500_fcku (SIM_CPU *current_cpu, void *sem_arg)
39886 #define FLD(f) abuf->fields.sfmt_cfckne.f
39887 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39888 const IDESC * UNUSED idesc = abuf->idesc;
39889 int cycles = 0;
39891 int referenced = 0;
39892 int UNUSED insn_referenced = abuf->written;
39893 INT in_ICCi_3 = -1;
39894 INT in_FCCi_3 = -1;
39895 in_FCCi_3 = FLD (in_FCCi_3);
39896 referenced |= 1 << 1;
39897 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39899 return cycles;
39900 #undef FLD
39903 static int
39904 model_fr500_fcko (SIM_CPU *current_cpu, void *sem_arg)
39906 #define FLD(f) abuf->fields.sfmt_cfckne.f
39907 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39908 const IDESC * UNUSED idesc = abuf->idesc;
39909 int cycles = 0;
39911 int referenced = 0;
39912 int UNUSED insn_referenced = abuf->written;
39913 INT in_ICCi_3 = -1;
39914 INT in_FCCi_3 = -1;
39915 in_FCCi_3 = FLD (in_FCCi_3);
39916 referenced |= 1 << 1;
39917 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39919 return cycles;
39920 #undef FLD
39923 static int
39924 model_fr500_cckra (SIM_CPU *current_cpu, void *sem_arg)
39926 #define FLD(f) abuf->fields.sfmt_cckeq.f
39927 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39928 const IDESC * UNUSED idesc = abuf->idesc;
39929 int cycles = 0;
39931 int referenced = 0;
39932 int UNUSED insn_referenced = abuf->written;
39933 INT in_ICCi_3 = -1;
39934 INT in_FCCi_3 = -1;
39935 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39937 return cycles;
39938 #undef FLD
39941 static int
39942 model_fr500_cckno (SIM_CPU *current_cpu, void *sem_arg)
39944 #define FLD(f) abuf->fields.sfmt_cckeq.f
39945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39946 const IDESC * UNUSED idesc = abuf->idesc;
39947 int cycles = 0;
39949 int referenced = 0;
39950 int UNUSED insn_referenced = abuf->written;
39951 INT in_ICCi_3 = -1;
39952 INT in_FCCi_3 = -1;
39953 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39955 return cycles;
39956 #undef FLD
39959 static int
39960 model_fr500_cckeq (SIM_CPU *current_cpu, void *sem_arg)
39962 #define FLD(f) abuf->fields.sfmt_cckeq.f
39963 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39964 const IDESC * UNUSED idesc = abuf->idesc;
39965 int cycles = 0;
39967 int referenced = 0;
39968 int UNUSED insn_referenced = abuf->written;
39969 INT in_ICCi_3 = -1;
39970 INT in_FCCi_3 = -1;
39971 in_ICCi_3 = FLD (in_ICCi_3);
39972 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
39973 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39975 return cycles;
39976 #undef FLD
39979 static int
39980 model_fr500_cckne (SIM_CPU *current_cpu, void *sem_arg)
39982 #define FLD(f) abuf->fields.sfmt_cckeq.f
39983 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
39984 const IDESC * UNUSED idesc = abuf->idesc;
39985 int cycles = 0;
39987 int referenced = 0;
39988 int UNUSED insn_referenced = abuf->written;
39989 INT in_ICCi_3 = -1;
39990 INT in_FCCi_3 = -1;
39991 in_ICCi_3 = FLD (in_ICCi_3);
39992 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
39993 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
39995 return cycles;
39996 #undef FLD
39999 static int
40000 model_fr500_cckle (SIM_CPU *current_cpu, void *sem_arg)
40002 #define FLD(f) abuf->fields.sfmt_cckeq.f
40003 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40004 const IDESC * UNUSED idesc = abuf->idesc;
40005 int cycles = 0;
40007 int referenced = 0;
40008 int UNUSED insn_referenced = abuf->written;
40009 INT in_ICCi_3 = -1;
40010 INT in_FCCi_3 = -1;
40011 in_ICCi_3 = FLD (in_ICCi_3);
40012 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40013 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40015 return cycles;
40016 #undef FLD
40019 static int
40020 model_fr500_cckgt (SIM_CPU *current_cpu, void *sem_arg)
40022 #define FLD(f) abuf->fields.sfmt_cckeq.f
40023 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40024 const IDESC * UNUSED idesc = abuf->idesc;
40025 int cycles = 0;
40027 int referenced = 0;
40028 int UNUSED insn_referenced = abuf->written;
40029 INT in_ICCi_3 = -1;
40030 INT in_FCCi_3 = -1;
40031 in_ICCi_3 = FLD (in_ICCi_3);
40032 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40033 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40035 return cycles;
40036 #undef FLD
40039 static int
40040 model_fr500_ccklt (SIM_CPU *current_cpu, void *sem_arg)
40042 #define FLD(f) abuf->fields.sfmt_cckeq.f
40043 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40044 const IDESC * UNUSED idesc = abuf->idesc;
40045 int cycles = 0;
40047 int referenced = 0;
40048 int UNUSED insn_referenced = abuf->written;
40049 INT in_ICCi_3 = -1;
40050 INT in_FCCi_3 = -1;
40051 in_ICCi_3 = FLD (in_ICCi_3);
40052 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40053 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40055 return cycles;
40056 #undef FLD
40059 static int
40060 model_fr500_cckge (SIM_CPU *current_cpu, void *sem_arg)
40062 #define FLD(f) abuf->fields.sfmt_cckeq.f
40063 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40064 const IDESC * UNUSED idesc = abuf->idesc;
40065 int cycles = 0;
40067 int referenced = 0;
40068 int UNUSED insn_referenced = abuf->written;
40069 INT in_ICCi_3 = -1;
40070 INT in_FCCi_3 = -1;
40071 in_ICCi_3 = FLD (in_ICCi_3);
40072 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40073 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40075 return cycles;
40076 #undef FLD
40079 static int
40080 model_fr500_cckls (SIM_CPU *current_cpu, void *sem_arg)
40082 #define FLD(f) abuf->fields.sfmt_cckeq.f
40083 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40084 const IDESC * UNUSED idesc = abuf->idesc;
40085 int cycles = 0;
40087 int referenced = 0;
40088 int UNUSED insn_referenced = abuf->written;
40089 INT in_ICCi_3 = -1;
40090 INT in_FCCi_3 = -1;
40091 in_ICCi_3 = FLD (in_ICCi_3);
40092 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40093 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40095 return cycles;
40096 #undef FLD
40099 static int
40100 model_fr500_cckhi (SIM_CPU *current_cpu, void *sem_arg)
40102 #define FLD(f) abuf->fields.sfmt_cckeq.f
40103 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40104 const IDESC * UNUSED idesc = abuf->idesc;
40105 int cycles = 0;
40107 int referenced = 0;
40108 int UNUSED insn_referenced = abuf->written;
40109 INT in_ICCi_3 = -1;
40110 INT in_FCCi_3 = -1;
40111 in_ICCi_3 = FLD (in_ICCi_3);
40112 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40113 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40115 return cycles;
40116 #undef FLD
40119 static int
40120 model_fr500_cckc (SIM_CPU *current_cpu, void *sem_arg)
40122 #define FLD(f) abuf->fields.sfmt_cckeq.f
40123 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40124 const IDESC * UNUSED idesc = abuf->idesc;
40125 int cycles = 0;
40127 int referenced = 0;
40128 int UNUSED insn_referenced = abuf->written;
40129 INT in_ICCi_3 = -1;
40130 INT in_FCCi_3 = -1;
40131 in_ICCi_3 = FLD (in_ICCi_3);
40132 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40133 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40135 return cycles;
40136 #undef FLD
40139 static int
40140 model_fr500_ccknc (SIM_CPU *current_cpu, void *sem_arg)
40142 #define FLD(f) abuf->fields.sfmt_cckeq.f
40143 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40144 const IDESC * UNUSED idesc = abuf->idesc;
40145 int cycles = 0;
40147 int referenced = 0;
40148 int UNUSED insn_referenced = abuf->written;
40149 INT in_ICCi_3 = -1;
40150 INT in_FCCi_3 = -1;
40151 in_ICCi_3 = FLD (in_ICCi_3);
40152 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40153 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40155 return cycles;
40156 #undef FLD
40159 static int
40160 model_fr500_cckn (SIM_CPU *current_cpu, void *sem_arg)
40162 #define FLD(f) abuf->fields.sfmt_cckeq.f
40163 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40164 const IDESC * UNUSED idesc = abuf->idesc;
40165 int cycles = 0;
40167 int referenced = 0;
40168 int UNUSED insn_referenced = abuf->written;
40169 INT in_ICCi_3 = -1;
40170 INT in_FCCi_3 = -1;
40171 in_ICCi_3 = FLD (in_ICCi_3);
40172 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40173 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40175 return cycles;
40176 #undef FLD
40179 static int
40180 model_fr500_cckp (SIM_CPU *current_cpu, void *sem_arg)
40182 #define FLD(f) abuf->fields.sfmt_cckeq.f
40183 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40184 const IDESC * UNUSED idesc = abuf->idesc;
40185 int cycles = 0;
40187 int referenced = 0;
40188 int UNUSED insn_referenced = abuf->written;
40189 INT in_ICCi_3 = -1;
40190 INT in_FCCi_3 = -1;
40191 in_ICCi_3 = FLD (in_ICCi_3);
40192 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40193 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40195 return cycles;
40196 #undef FLD
40199 static int
40200 model_fr500_cckv (SIM_CPU *current_cpu, void *sem_arg)
40202 #define FLD(f) abuf->fields.sfmt_cckeq.f
40203 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40204 const IDESC * UNUSED idesc = abuf->idesc;
40205 int cycles = 0;
40207 int referenced = 0;
40208 int UNUSED insn_referenced = abuf->written;
40209 INT in_ICCi_3 = -1;
40210 INT in_FCCi_3 = -1;
40211 in_ICCi_3 = FLD (in_ICCi_3);
40212 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40213 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40215 return cycles;
40216 #undef FLD
40219 static int
40220 model_fr500_ccknv (SIM_CPU *current_cpu, void *sem_arg)
40222 #define FLD(f) abuf->fields.sfmt_cckeq.f
40223 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40224 const IDESC * UNUSED idesc = abuf->idesc;
40225 int cycles = 0;
40227 int referenced = 0;
40228 int UNUSED insn_referenced = abuf->written;
40229 INT in_ICCi_3 = -1;
40230 INT in_FCCi_3 = -1;
40231 in_ICCi_3 = FLD (in_ICCi_3);
40232 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40233 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40235 return cycles;
40236 #undef FLD
40239 static int
40240 model_fr500_cfckra (SIM_CPU *current_cpu, void *sem_arg)
40242 #define FLD(f) abuf->fields.sfmt_cfckne.f
40243 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40244 const IDESC * UNUSED idesc = abuf->idesc;
40245 int cycles = 0;
40247 int referenced = 0;
40248 int UNUSED insn_referenced = abuf->written;
40249 INT in_ICCi_3 = -1;
40250 INT in_FCCi_3 = -1;
40251 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40253 return cycles;
40254 #undef FLD
40257 static int
40258 model_fr500_cfckno (SIM_CPU *current_cpu, void *sem_arg)
40260 #define FLD(f) abuf->fields.sfmt_cfckne.f
40261 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40262 const IDESC * UNUSED idesc = abuf->idesc;
40263 int cycles = 0;
40265 int referenced = 0;
40266 int UNUSED insn_referenced = abuf->written;
40267 INT in_ICCi_3 = -1;
40268 INT in_FCCi_3 = -1;
40269 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40271 return cycles;
40272 #undef FLD
40275 static int
40276 model_fr500_cfckne (SIM_CPU *current_cpu, void *sem_arg)
40278 #define FLD(f) abuf->fields.sfmt_cfckne.f
40279 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40280 const IDESC * UNUSED idesc = abuf->idesc;
40281 int cycles = 0;
40283 int referenced = 0;
40284 int UNUSED insn_referenced = abuf->written;
40285 INT in_ICCi_3 = -1;
40286 INT in_FCCi_3 = -1;
40287 in_FCCi_3 = FLD (in_FCCi_3);
40288 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40289 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40291 return cycles;
40292 #undef FLD
40295 static int
40296 model_fr500_cfckeq (SIM_CPU *current_cpu, void *sem_arg)
40298 #define FLD(f) abuf->fields.sfmt_cfckne.f
40299 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40300 const IDESC * UNUSED idesc = abuf->idesc;
40301 int cycles = 0;
40303 int referenced = 0;
40304 int UNUSED insn_referenced = abuf->written;
40305 INT in_ICCi_3 = -1;
40306 INT in_FCCi_3 = -1;
40307 in_FCCi_3 = FLD (in_FCCi_3);
40308 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40309 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40311 return cycles;
40312 #undef FLD
40315 static int
40316 model_fr500_cfcklg (SIM_CPU *current_cpu, void *sem_arg)
40318 #define FLD(f) abuf->fields.sfmt_cfckne.f
40319 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40320 const IDESC * UNUSED idesc = abuf->idesc;
40321 int cycles = 0;
40323 int referenced = 0;
40324 int UNUSED insn_referenced = abuf->written;
40325 INT in_ICCi_3 = -1;
40326 INT in_FCCi_3 = -1;
40327 in_FCCi_3 = FLD (in_FCCi_3);
40328 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40329 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40331 return cycles;
40332 #undef FLD
40335 static int
40336 model_fr500_cfckue (SIM_CPU *current_cpu, void *sem_arg)
40338 #define FLD(f) abuf->fields.sfmt_cfckne.f
40339 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40340 const IDESC * UNUSED idesc = abuf->idesc;
40341 int cycles = 0;
40343 int referenced = 0;
40344 int UNUSED insn_referenced = abuf->written;
40345 INT in_ICCi_3 = -1;
40346 INT in_FCCi_3 = -1;
40347 in_FCCi_3 = FLD (in_FCCi_3);
40348 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40349 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40351 return cycles;
40352 #undef FLD
40355 static int
40356 model_fr500_cfckul (SIM_CPU *current_cpu, void *sem_arg)
40358 #define FLD(f) abuf->fields.sfmt_cfckne.f
40359 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40360 const IDESC * UNUSED idesc = abuf->idesc;
40361 int cycles = 0;
40363 int referenced = 0;
40364 int UNUSED insn_referenced = abuf->written;
40365 INT in_ICCi_3 = -1;
40366 INT in_FCCi_3 = -1;
40367 in_FCCi_3 = FLD (in_FCCi_3);
40368 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40369 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40371 return cycles;
40372 #undef FLD
40375 static int
40376 model_fr500_cfckge (SIM_CPU *current_cpu, void *sem_arg)
40378 #define FLD(f) abuf->fields.sfmt_cfckne.f
40379 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40380 const IDESC * UNUSED idesc = abuf->idesc;
40381 int cycles = 0;
40383 int referenced = 0;
40384 int UNUSED insn_referenced = abuf->written;
40385 INT in_ICCi_3 = -1;
40386 INT in_FCCi_3 = -1;
40387 in_FCCi_3 = FLD (in_FCCi_3);
40388 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40389 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40391 return cycles;
40392 #undef FLD
40395 static int
40396 model_fr500_cfcklt (SIM_CPU *current_cpu, void *sem_arg)
40398 #define FLD(f) abuf->fields.sfmt_cfckne.f
40399 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40400 const IDESC * UNUSED idesc = abuf->idesc;
40401 int cycles = 0;
40403 int referenced = 0;
40404 int UNUSED insn_referenced = abuf->written;
40405 INT in_ICCi_3 = -1;
40406 INT in_FCCi_3 = -1;
40407 in_FCCi_3 = FLD (in_FCCi_3);
40408 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40409 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40411 return cycles;
40412 #undef FLD
40415 static int
40416 model_fr500_cfckuge (SIM_CPU *current_cpu, void *sem_arg)
40418 #define FLD(f) abuf->fields.sfmt_cfckne.f
40419 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40420 const IDESC * UNUSED idesc = abuf->idesc;
40421 int cycles = 0;
40423 int referenced = 0;
40424 int UNUSED insn_referenced = abuf->written;
40425 INT in_ICCi_3 = -1;
40426 INT in_FCCi_3 = -1;
40427 in_FCCi_3 = FLD (in_FCCi_3);
40428 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40429 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40431 return cycles;
40432 #undef FLD
40435 static int
40436 model_fr500_cfckug (SIM_CPU *current_cpu, void *sem_arg)
40438 #define FLD(f) abuf->fields.sfmt_cfckne.f
40439 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40440 const IDESC * UNUSED idesc = abuf->idesc;
40441 int cycles = 0;
40443 int referenced = 0;
40444 int UNUSED insn_referenced = abuf->written;
40445 INT in_ICCi_3 = -1;
40446 INT in_FCCi_3 = -1;
40447 in_FCCi_3 = FLD (in_FCCi_3);
40448 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40449 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40451 return cycles;
40452 #undef FLD
40455 static int
40456 model_fr500_cfckle (SIM_CPU *current_cpu, void *sem_arg)
40458 #define FLD(f) abuf->fields.sfmt_cfckne.f
40459 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40460 const IDESC * UNUSED idesc = abuf->idesc;
40461 int cycles = 0;
40463 int referenced = 0;
40464 int UNUSED insn_referenced = abuf->written;
40465 INT in_ICCi_3 = -1;
40466 INT in_FCCi_3 = -1;
40467 in_FCCi_3 = FLD (in_FCCi_3);
40468 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40469 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40471 return cycles;
40472 #undef FLD
40475 static int
40476 model_fr500_cfckgt (SIM_CPU *current_cpu, void *sem_arg)
40478 #define FLD(f) abuf->fields.sfmt_cfckne.f
40479 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40480 const IDESC * UNUSED idesc = abuf->idesc;
40481 int cycles = 0;
40483 int referenced = 0;
40484 int UNUSED insn_referenced = abuf->written;
40485 INT in_ICCi_3 = -1;
40486 INT in_FCCi_3 = -1;
40487 in_FCCi_3 = FLD (in_FCCi_3);
40488 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40489 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40491 return cycles;
40492 #undef FLD
40495 static int
40496 model_fr500_cfckule (SIM_CPU *current_cpu, void *sem_arg)
40498 #define FLD(f) abuf->fields.sfmt_cfckne.f
40499 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40500 const IDESC * UNUSED idesc = abuf->idesc;
40501 int cycles = 0;
40503 int referenced = 0;
40504 int UNUSED insn_referenced = abuf->written;
40505 INT in_ICCi_3 = -1;
40506 INT in_FCCi_3 = -1;
40507 in_FCCi_3 = FLD (in_FCCi_3);
40508 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40509 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40511 return cycles;
40512 #undef FLD
40515 static int
40516 model_fr500_cfcku (SIM_CPU *current_cpu, void *sem_arg)
40518 #define FLD(f) abuf->fields.sfmt_cfckne.f
40519 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40520 const IDESC * UNUSED idesc = abuf->idesc;
40521 int cycles = 0;
40523 int referenced = 0;
40524 int UNUSED insn_referenced = abuf->written;
40525 INT in_ICCi_3 = -1;
40526 INT in_FCCi_3 = -1;
40527 in_FCCi_3 = FLD (in_FCCi_3);
40528 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40529 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40531 return cycles;
40532 #undef FLD
40535 static int
40536 model_fr500_cfcko (SIM_CPU *current_cpu, void *sem_arg)
40538 #define FLD(f) abuf->fields.sfmt_cfckne.f
40539 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40540 const IDESC * UNUSED idesc = abuf->idesc;
40541 int cycles = 0;
40543 int referenced = 0;
40544 int UNUSED insn_referenced = abuf->written;
40545 INT in_ICCi_3 = -1;
40546 INT in_FCCi_3 = -1;
40547 in_FCCi_3 = FLD (in_FCCi_3);
40548 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
40549 cycles += frvbf_model_fr500_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
40551 return cycles;
40552 #undef FLD
40555 static int
40556 model_fr500_cjmpl (SIM_CPU *current_cpu, void *sem_arg)
40558 #define FLD(f) abuf->fields.sfmt_cjmpl.f
40559 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40560 const IDESC * UNUSED idesc = abuf->idesc;
40561 int cycles = 0;
40563 int referenced = 0;
40564 int UNUSED insn_referenced = abuf->written;
40565 INT in_GRi = -1;
40566 INT in_GRj = -1;
40567 INT in_ICCi_2 = -1;
40568 INT in_FCCi_2 = -1;
40569 in_GRi = FLD (in_GRi);
40570 in_GRj = FLD (in_GRj);
40571 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40572 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
40573 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
40574 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
40576 return cycles;
40577 #undef FLD
40580 static int
40581 model_fr500_ccalll (SIM_CPU *current_cpu, void *sem_arg)
40583 #define FLD(f) abuf->fields.sfmt_cjmpl.f
40584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40585 const IDESC * UNUSED idesc = abuf->idesc;
40586 int cycles = 0;
40588 int referenced = 0;
40589 int UNUSED insn_referenced = abuf->written;
40590 INT in_GRi = -1;
40591 INT in_GRj = -1;
40592 INT in_ICCi_2 = -1;
40593 INT in_FCCi_2 = -1;
40594 in_GRi = FLD (in_GRi);
40595 in_GRj = FLD (in_GRj);
40596 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
40597 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
40598 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
40599 cycles += frvbf_model_fr500_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
40601 return cycles;
40602 #undef FLD
40605 static int
40606 model_fr500_ici (SIM_CPU *current_cpu, void *sem_arg)
40608 #define FLD(f) abuf->fields.sfmt_icpl.f
40609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40610 const IDESC * UNUSED idesc = abuf->idesc;
40611 int cycles = 0;
40613 int referenced = 0;
40614 int UNUSED insn_referenced = abuf->written;
40615 INT in_GRi = -1;
40616 INT in_GRj = -1;
40617 in_GRi = FLD (in_GRi);
40618 in_GRj = FLD (in_GRj);
40619 referenced |= 1 << 0;
40620 referenced |= 1 << 1;
40621 cycles += frvbf_model_fr500_u_ici (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
40623 return cycles;
40624 #undef FLD
40627 static int
40628 model_fr500_dci (SIM_CPU *current_cpu, void *sem_arg)
40630 #define FLD(f) abuf->fields.sfmt_icpl.f
40631 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40632 const IDESC * UNUSED idesc = abuf->idesc;
40633 int cycles = 0;
40635 int referenced = 0;
40636 int UNUSED insn_referenced = abuf->written;
40637 INT in_GRi = -1;
40638 INT in_GRj = -1;
40639 in_GRi = FLD (in_GRi);
40640 in_GRj = FLD (in_GRj);
40641 referenced |= 1 << 0;
40642 referenced |= 1 << 1;
40643 cycles += frvbf_model_fr500_u_dci (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
40645 return cycles;
40646 #undef FLD
40649 static int
40650 model_fr500_icei (SIM_CPU *current_cpu, void *sem_arg)
40652 #define FLD(f) abuf->fields.sfmt_icei.f
40653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40654 const IDESC * UNUSED idesc = abuf->idesc;
40655 int cycles = 0;
40657 int referenced = 0;
40658 int UNUSED insn_referenced = abuf->written;
40659 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40661 return cycles;
40662 #undef FLD
40665 static int
40666 model_fr500_dcei (SIM_CPU *current_cpu, void *sem_arg)
40668 #define FLD(f) abuf->fields.sfmt_icei.f
40669 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40670 const IDESC * UNUSED idesc = abuf->idesc;
40671 int cycles = 0;
40673 int referenced = 0;
40674 int UNUSED insn_referenced = abuf->written;
40675 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40677 return cycles;
40678 #undef FLD
40681 static int
40682 model_fr500_dcf (SIM_CPU *current_cpu, void *sem_arg)
40684 #define FLD(f) abuf->fields.sfmt_icpl.f
40685 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40686 const IDESC * UNUSED idesc = abuf->idesc;
40687 int cycles = 0;
40689 int referenced = 0;
40690 int UNUSED insn_referenced = abuf->written;
40691 INT in_GRi = -1;
40692 INT in_GRj = -1;
40693 in_GRi = FLD (in_GRi);
40694 in_GRj = FLD (in_GRj);
40695 referenced |= 1 << 0;
40696 referenced |= 1 << 1;
40697 cycles += frvbf_model_fr500_u_dcf (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
40699 return cycles;
40700 #undef FLD
40703 static int
40704 model_fr500_dcef (SIM_CPU *current_cpu, void *sem_arg)
40706 #define FLD(f) abuf->fields.sfmt_icei.f
40707 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40708 const IDESC * UNUSED idesc = abuf->idesc;
40709 int cycles = 0;
40711 int referenced = 0;
40712 int UNUSED insn_referenced = abuf->written;
40713 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40715 return cycles;
40716 #undef FLD
40719 static int
40720 model_fr500_witlb (SIM_CPU *current_cpu, void *sem_arg)
40722 #define FLD(f) abuf->fields.sfmt_empty.f
40723 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40724 const IDESC * UNUSED idesc = abuf->idesc;
40725 int cycles = 0;
40727 int referenced = 0;
40728 int UNUSED insn_referenced = abuf->written;
40729 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40731 return cycles;
40732 #undef FLD
40735 static int
40736 model_fr500_wdtlb (SIM_CPU *current_cpu, void *sem_arg)
40738 #define FLD(f) abuf->fields.sfmt_empty.f
40739 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40740 const IDESC * UNUSED idesc = abuf->idesc;
40741 int cycles = 0;
40743 int referenced = 0;
40744 int UNUSED insn_referenced = abuf->written;
40745 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40747 return cycles;
40748 #undef FLD
40751 static int
40752 model_fr500_itlbi (SIM_CPU *current_cpu, void *sem_arg)
40754 #define FLD(f) abuf->fields.sfmt_empty.f
40755 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40756 const IDESC * UNUSED idesc = abuf->idesc;
40757 int cycles = 0;
40759 int referenced = 0;
40760 int UNUSED insn_referenced = abuf->written;
40761 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40763 return cycles;
40764 #undef FLD
40767 static int
40768 model_fr500_dtlbi (SIM_CPU *current_cpu, void *sem_arg)
40770 #define FLD(f) abuf->fields.sfmt_empty.f
40771 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40772 const IDESC * UNUSED idesc = abuf->idesc;
40773 int cycles = 0;
40775 int referenced = 0;
40776 int UNUSED insn_referenced = abuf->written;
40777 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40779 return cycles;
40780 #undef FLD
40783 static int
40784 model_fr500_icpl (SIM_CPU *current_cpu, void *sem_arg)
40786 #define FLD(f) abuf->fields.sfmt_icpl.f
40787 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40788 const IDESC * UNUSED idesc = abuf->idesc;
40789 int cycles = 0;
40791 int referenced = 0;
40792 int UNUSED insn_referenced = abuf->written;
40793 INT in_GRi = -1;
40794 INT in_GRj = -1;
40795 in_GRi = FLD (in_GRi);
40796 in_GRj = FLD (in_GRj);
40797 referenced |= 1 << 0;
40798 referenced |= 1 << 1;
40799 cycles += frvbf_model_fr500_u_icpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
40801 return cycles;
40802 #undef FLD
40805 static int
40806 model_fr500_dcpl (SIM_CPU *current_cpu, void *sem_arg)
40808 #define FLD(f) abuf->fields.sfmt_icpl.f
40809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40810 const IDESC * UNUSED idesc = abuf->idesc;
40811 int cycles = 0;
40813 int referenced = 0;
40814 int UNUSED insn_referenced = abuf->written;
40815 INT in_GRi = -1;
40816 INT in_GRj = -1;
40817 in_GRi = FLD (in_GRi);
40818 in_GRj = FLD (in_GRj);
40819 referenced |= 1 << 0;
40820 referenced |= 1 << 1;
40821 cycles += frvbf_model_fr500_u_dcpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
40823 return cycles;
40824 #undef FLD
40827 static int
40828 model_fr500_icul (SIM_CPU *current_cpu, void *sem_arg)
40830 #define FLD(f) abuf->fields.sfmt_jmpil.f
40831 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40832 const IDESC * UNUSED idesc = abuf->idesc;
40833 int cycles = 0;
40835 int referenced = 0;
40836 int UNUSED insn_referenced = abuf->written;
40837 INT in_GRi = -1;
40838 INT in_GRj = -1;
40839 in_GRi = FLD (in_GRi);
40840 referenced |= 1 << 0;
40841 cycles += frvbf_model_fr500_u_icul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
40843 return cycles;
40844 #undef FLD
40847 static int
40848 model_fr500_dcul (SIM_CPU *current_cpu, void *sem_arg)
40850 #define FLD(f) abuf->fields.sfmt_jmpil.f
40851 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40852 const IDESC * UNUSED idesc = abuf->idesc;
40853 int cycles = 0;
40855 int referenced = 0;
40856 int UNUSED insn_referenced = abuf->written;
40857 INT in_GRi = -1;
40858 INT in_GRj = -1;
40859 in_GRi = FLD (in_GRi);
40860 referenced |= 1 << 0;
40861 cycles += frvbf_model_fr500_u_dcul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
40863 return cycles;
40864 #undef FLD
40867 static int
40868 model_fr500_bar (SIM_CPU *current_cpu, void *sem_arg)
40870 #define FLD(f) abuf->fields.sfmt_empty.f
40871 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40872 const IDESC * UNUSED idesc = abuf->idesc;
40873 int cycles = 0;
40875 int referenced = 0;
40876 int UNUSED insn_referenced = abuf->written;
40877 cycles += frvbf_model_fr500_u_barrier (current_cpu, idesc, 0, referenced);
40879 return cycles;
40880 #undef FLD
40883 static int
40884 model_fr500_membar (SIM_CPU *current_cpu, void *sem_arg)
40886 #define FLD(f) abuf->fields.sfmt_empty.f
40887 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40888 const IDESC * UNUSED idesc = abuf->idesc;
40889 int cycles = 0;
40891 int referenced = 0;
40892 int UNUSED insn_referenced = abuf->written;
40893 cycles += frvbf_model_fr500_u_membar (current_cpu, idesc, 0, referenced);
40895 return cycles;
40896 #undef FLD
40899 static int
40900 model_fr500_lrai (SIM_CPU *current_cpu, void *sem_arg)
40902 #define FLD(f) abuf->fields.sfmt_empty.f
40903 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40904 const IDESC * UNUSED idesc = abuf->idesc;
40905 int cycles = 0;
40907 int referenced = 0;
40908 int UNUSED insn_referenced = abuf->written;
40909 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40911 return cycles;
40912 #undef FLD
40915 static int
40916 model_fr500_lrad (SIM_CPU *current_cpu, void *sem_arg)
40918 #define FLD(f) abuf->fields.sfmt_empty.f
40919 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40920 const IDESC * UNUSED idesc = abuf->idesc;
40921 int cycles = 0;
40923 int referenced = 0;
40924 int UNUSED insn_referenced = abuf->written;
40925 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40927 return cycles;
40928 #undef FLD
40931 static int
40932 model_fr500_tlbpr (SIM_CPU *current_cpu, void *sem_arg)
40934 #define FLD(f) abuf->fields.sfmt_empty.f
40935 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40936 const IDESC * UNUSED idesc = abuf->idesc;
40937 int cycles = 0;
40939 int referenced = 0;
40940 int UNUSED insn_referenced = abuf->written;
40941 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40943 return cycles;
40944 #undef FLD
40947 static int
40948 model_fr500_cop1 (SIM_CPU *current_cpu, void *sem_arg)
40950 #define FLD(f) abuf->fields.sfmt_empty.f
40951 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40952 const IDESC * UNUSED idesc = abuf->idesc;
40953 int cycles = 0;
40955 int referenced = 0;
40956 int UNUSED insn_referenced = abuf->written;
40957 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40959 return cycles;
40960 #undef FLD
40963 static int
40964 model_fr500_cop2 (SIM_CPU *current_cpu, void *sem_arg)
40966 #define FLD(f) abuf->fields.sfmt_empty.f
40967 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40968 const IDESC * UNUSED idesc = abuf->idesc;
40969 int cycles = 0;
40971 int referenced = 0;
40972 int UNUSED insn_referenced = abuf->written;
40973 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
40975 return cycles;
40976 #undef FLD
40979 static int
40980 model_fr500_clrgr (SIM_CPU *current_cpu, void *sem_arg)
40982 #define FLD(f) abuf->fields.sfmt_swapi.f
40983 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
40984 const IDESC * UNUSED idesc = abuf->idesc;
40985 int cycles = 0;
40987 int referenced = 0;
40988 int UNUSED insn_referenced = abuf->written;
40989 INT in_GRk = -1;
40990 in_GRk = FLD (in_GRk);
40991 referenced |= 1 << 0;
40992 cycles += frvbf_model_fr500_u_clrgr (current_cpu, idesc, 0, referenced, in_GRk);
40994 return cycles;
40995 #undef FLD
40998 static int
40999 model_fr500_clrfr (SIM_CPU *current_cpu, void *sem_arg)
41001 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41002 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41003 const IDESC * UNUSED idesc = abuf->idesc;
41004 int cycles = 0;
41006 int referenced = 0;
41007 int UNUSED insn_referenced = abuf->written;
41008 INT in_FRk = -1;
41009 in_FRk = FLD (in_FRk);
41010 referenced |= 1 << 0;
41011 cycles += frvbf_model_fr500_u_clrfr (current_cpu, idesc, 0, referenced, in_FRk);
41013 return cycles;
41014 #undef FLD
41017 static int
41018 model_fr500_clrga (SIM_CPU *current_cpu, void *sem_arg)
41020 #define FLD(f) abuf->fields.sfmt_empty.f
41021 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41022 const IDESC * UNUSED idesc = abuf->idesc;
41023 int cycles = 0;
41025 int referenced = 0;
41026 int UNUSED insn_referenced = abuf->written;
41027 INT in_GRk = -1;
41028 cycles += frvbf_model_fr500_u_clrgr (current_cpu, idesc, 0, referenced, in_GRk);
41030 return cycles;
41031 #undef FLD
41034 static int
41035 model_fr500_clrfa (SIM_CPU *current_cpu, void *sem_arg)
41037 #define FLD(f) abuf->fields.sfmt_empty.f
41038 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41039 const IDESC * UNUSED idesc = abuf->idesc;
41040 int cycles = 0;
41042 int referenced = 0;
41043 int UNUSED insn_referenced = abuf->written;
41044 INT in_FRk = -1;
41045 cycles += frvbf_model_fr500_u_clrfr (current_cpu, idesc, 0, referenced, in_FRk);
41047 return cycles;
41048 #undef FLD
41051 static int
41052 model_fr500_commitgr (SIM_CPU *current_cpu, void *sem_arg)
41054 #define FLD(f) abuf->fields.sfmt_setlos.f
41055 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41056 const IDESC * UNUSED idesc = abuf->idesc;
41057 int cycles = 0;
41059 int referenced = 0;
41060 int UNUSED insn_referenced = abuf->written;
41061 INT in_GRk = -1;
41062 INT in_FRk = -1;
41063 cycles += frvbf_model_fr500_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
41065 return cycles;
41066 #undef FLD
41069 static int
41070 model_fr500_commitfr (SIM_CPU *current_cpu, void *sem_arg)
41072 #define FLD(f) abuf->fields.sfmt_mhsethis.f
41073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41074 const IDESC * UNUSED idesc = abuf->idesc;
41075 int cycles = 0;
41077 int referenced = 0;
41078 int UNUSED insn_referenced = abuf->written;
41079 INT in_GRk = -1;
41080 INT in_FRk = -1;
41081 cycles += frvbf_model_fr500_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
41083 return cycles;
41084 #undef FLD
41087 static int
41088 model_fr500_commitga (SIM_CPU *current_cpu, void *sem_arg)
41090 #define FLD(f) abuf->fields.sfmt_empty.f
41091 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41092 const IDESC * UNUSED idesc = abuf->idesc;
41093 int cycles = 0;
41095 int referenced = 0;
41096 int UNUSED insn_referenced = abuf->written;
41097 INT in_GRk = -1;
41098 INT in_FRk = -1;
41099 cycles += frvbf_model_fr500_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
41101 return cycles;
41102 #undef FLD
41105 static int
41106 model_fr500_commitfa (SIM_CPU *current_cpu, void *sem_arg)
41108 #define FLD(f) abuf->fields.sfmt_empty.f
41109 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41110 const IDESC * UNUSED idesc = abuf->idesc;
41111 int cycles = 0;
41113 int referenced = 0;
41114 int UNUSED insn_referenced = abuf->written;
41115 INT in_GRk = -1;
41116 INT in_FRk = -1;
41117 cycles += frvbf_model_fr500_u_commit (current_cpu, idesc, 0, referenced, in_GRk, in_FRk);
41119 return cycles;
41120 #undef FLD
41123 static int
41124 model_fr500_fitos (SIM_CPU *current_cpu, void *sem_arg)
41126 #define FLD(f) abuf->fields.sfmt_fditos.f
41127 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41128 const IDESC * UNUSED idesc = abuf->idesc;
41129 int cycles = 0;
41131 int referenced = 0;
41132 int UNUSED insn_referenced = abuf->written;
41133 INT in_FRj = -1;
41134 INT in_FRintj = -1;
41135 INT in_FRdoublej = -1;
41136 INT out_FRk = -1;
41137 INT out_FRintk = -1;
41138 INT out_FRdoublek = -1;
41139 in_FRintj = FLD (in_FRintj);
41140 out_FRk = FLD (out_FRk);
41141 referenced |= 1 << 1;
41142 referenced |= 1 << 3;
41143 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41145 return cycles;
41146 #undef FLD
41149 static int
41150 model_fr500_fstoi (SIM_CPU *current_cpu, void *sem_arg)
41152 #define FLD(f) abuf->fields.sfmt_fdstoi.f
41153 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41154 const IDESC * UNUSED idesc = abuf->idesc;
41155 int cycles = 0;
41157 int referenced = 0;
41158 int UNUSED insn_referenced = abuf->written;
41159 INT in_FRj = -1;
41160 INT in_FRintj = -1;
41161 INT in_FRdoublej = -1;
41162 INT out_FRk = -1;
41163 INT out_FRintk = -1;
41164 INT out_FRdoublek = -1;
41165 in_FRj = FLD (in_FRj);
41166 out_FRintk = FLD (out_FRintk);
41167 referenced |= 1 << 0;
41168 referenced |= 1 << 4;
41169 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41171 return cycles;
41172 #undef FLD
41175 static int
41176 model_fr500_fitod (SIM_CPU *current_cpu, void *sem_arg)
41178 #define FLD(f) abuf->fields.sfmt_fitod.f
41179 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41180 const IDESC * UNUSED idesc = abuf->idesc;
41181 int cycles = 0;
41183 int referenced = 0;
41184 int UNUSED insn_referenced = abuf->written;
41185 INT in_FRj = -1;
41186 INT in_FRintj = -1;
41187 INT in_FRdoublej = -1;
41188 INT out_FRk = -1;
41189 INT out_FRintk = -1;
41190 INT out_FRdoublek = -1;
41191 in_FRintj = FLD (in_FRintj);
41192 out_FRdoublek = FLD (out_FRdoublek);
41193 referenced |= 1 << 1;
41194 referenced |= 1 << 5;
41195 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41197 return cycles;
41198 #undef FLD
41201 static int
41202 model_fr500_fdtoi (SIM_CPU *current_cpu, void *sem_arg)
41204 #define FLD(f) abuf->fields.sfmt_fdtoi.f
41205 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41206 const IDESC * UNUSED idesc = abuf->idesc;
41207 int cycles = 0;
41209 int referenced = 0;
41210 int UNUSED insn_referenced = abuf->written;
41211 INT in_FRj = -1;
41212 INT in_FRintj = -1;
41213 INT in_FRdoublej = -1;
41214 INT out_FRk = -1;
41215 INT out_FRintk = -1;
41216 INT out_FRdoublek = -1;
41217 in_FRdoublej = FLD (in_FRdoublej);
41218 out_FRintk = FLD (out_FRintk);
41219 referenced |= 1 << 2;
41220 referenced |= 1 << 4;
41221 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41223 return cycles;
41224 #undef FLD
41227 static int
41228 model_fr500_fditos (SIM_CPU *current_cpu, void *sem_arg)
41230 #define FLD(f) abuf->fields.sfmt_fditos.f
41231 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41232 const IDESC * UNUSED idesc = abuf->idesc;
41233 int cycles = 0;
41235 int referenced = 0;
41236 int UNUSED insn_referenced = abuf->written;
41237 INT in_FRj = -1;
41238 INT in_FRintj = -1;
41239 INT out_FRk = -1;
41240 INT out_FRintk = -1;
41241 in_FRintj = FLD (in_FRintj);
41242 out_FRk = FLD (out_FRk);
41243 referenced |= 1 << 1;
41244 referenced |= 1 << 2;
41245 cycles += frvbf_model_fr500_u_float_dual_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, out_FRk, out_FRintk);
41247 return cycles;
41248 #undef FLD
41251 static int
41252 model_fr500_fdstoi (SIM_CPU *current_cpu, void *sem_arg)
41254 #define FLD(f) abuf->fields.sfmt_fdstoi.f
41255 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41256 const IDESC * UNUSED idesc = abuf->idesc;
41257 int cycles = 0;
41259 int referenced = 0;
41260 int UNUSED insn_referenced = abuf->written;
41261 INT in_FRj = -1;
41262 INT in_FRintj = -1;
41263 INT out_FRk = -1;
41264 INT out_FRintk = -1;
41265 in_FRj = FLD (in_FRj);
41266 out_FRintk = FLD (out_FRintk);
41267 referenced |= 1 << 0;
41268 referenced |= 1 << 3;
41269 cycles += frvbf_model_fr500_u_float_dual_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, out_FRk, out_FRintk);
41271 return cycles;
41272 #undef FLD
41275 static int
41276 model_fr500_nfditos (SIM_CPU *current_cpu, void *sem_arg)
41278 #define FLD(f) abuf->fields.sfmt_fditos.f
41279 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41280 const IDESC * UNUSED idesc = abuf->idesc;
41281 int cycles = 0;
41283 int referenced = 0;
41284 int UNUSED insn_referenced = abuf->written;
41285 INT in_FRj = -1;
41286 INT in_FRintj = -1;
41287 INT out_FRk = -1;
41288 INT out_FRintk = -1;
41289 in_FRintj = FLD (in_FRintj);
41290 out_FRk = FLD (out_FRk);
41291 referenced |= 1 << 1;
41292 referenced |= 1 << 2;
41293 cycles += frvbf_model_fr500_u_float_dual_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, out_FRk, out_FRintk);
41295 return cycles;
41296 #undef FLD
41299 static int
41300 model_fr500_nfdstoi (SIM_CPU *current_cpu, void *sem_arg)
41302 #define FLD(f) abuf->fields.sfmt_fdstoi.f
41303 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41304 const IDESC * UNUSED idesc = abuf->idesc;
41305 int cycles = 0;
41307 int referenced = 0;
41308 int UNUSED insn_referenced = abuf->written;
41309 INT in_FRj = -1;
41310 INT in_FRintj = -1;
41311 INT out_FRk = -1;
41312 INT out_FRintk = -1;
41313 in_FRj = FLD (in_FRj);
41314 out_FRintk = FLD (out_FRintk);
41315 referenced |= 1 << 0;
41316 referenced |= 1 << 3;
41317 cycles += frvbf_model_fr500_u_float_dual_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, out_FRk, out_FRintk);
41319 return cycles;
41320 #undef FLD
41323 static int
41324 model_fr500_cfitos (SIM_CPU *current_cpu, void *sem_arg)
41326 #define FLD(f) abuf->fields.sfmt_cfitos.f
41327 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41328 const IDESC * UNUSED idesc = abuf->idesc;
41329 int cycles = 0;
41331 int referenced = 0;
41332 int UNUSED insn_referenced = abuf->written;
41333 INT in_FRj = -1;
41334 INT in_FRintj = -1;
41335 INT in_FRdoublej = -1;
41336 INT out_FRk = -1;
41337 INT out_FRintk = -1;
41338 INT out_FRdoublek = -1;
41339 in_FRintj = FLD (in_FRintj);
41340 out_FRk = FLD (out_FRk);
41341 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
41342 if (insn_referenced & (1 << 3)) referenced |= 1 << 3;
41343 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41345 return cycles;
41346 #undef FLD
41349 static int
41350 model_fr500_cfstoi (SIM_CPU *current_cpu, void *sem_arg)
41352 #define FLD(f) abuf->fields.sfmt_cfstoi.f
41353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41354 const IDESC * UNUSED idesc = abuf->idesc;
41355 int cycles = 0;
41357 int referenced = 0;
41358 int UNUSED insn_referenced = abuf->written;
41359 INT in_FRj = -1;
41360 INT in_FRintj = -1;
41361 INT in_FRdoublej = -1;
41362 INT out_FRk = -1;
41363 INT out_FRintk = -1;
41364 INT out_FRdoublek = -1;
41365 in_FRj = FLD (in_FRj);
41366 out_FRintk = FLD (out_FRintk);
41367 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
41368 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
41369 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41371 return cycles;
41372 #undef FLD
41375 static int
41376 model_fr500_nfitos (SIM_CPU *current_cpu, void *sem_arg)
41378 #define FLD(f) abuf->fields.sfmt_fditos.f
41379 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41380 const IDESC * UNUSED idesc = abuf->idesc;
41381 int cycles = 0;
41383 int referenced = 0;
41384 int UNUSED insn_referenced = abuf->written;
41385 INT in_FRj = -1;
41386 INT in_FRintj = -1;
41387 INT in_FRdoublej = -1;
41388 INT out_FRk = -1;
41389 INT out_FRintk = -1;
41390 INT out_FRdoublek = -1;
41391 in_FRintj = FLD (in_FRintj);
41392 out_FRk = FLD (out_FRk);
41393 referenced |= 1 << 1;
41394 referenced |= 1 << 3;
41395 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41397 return cycles;
41398 #undef FLD
41401 static int
41402 model_fr500_nfstoi (SIM_CPU *current_cpu, void *sem_arg)
41404 #define FLD(f) abuf->fields.sfmt_fdstoi.f
41405 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41406 const IDESC * UNUSED idesc = abuf->idesc;
41407 int cycles = 0;
41409 int referenced = 0;
41410 int UNUSED insn_referenced = abuf->written;
41411 INT in_FRj = -1;
41412 INT in_FRintj = -1;
41413 INT in_FRdoublej = -1;
41414 INT out_FRk = -1;
41415 INT out_FRintk = -1;
41416 INT out_FRdoublek = -1;
41417 in_FRj = FLD (in_FRj);
41418 out_FRintk = FLD (out_FRintk);
41419 referenced |= 1 << 0;
41420 referenced |= 1 << 4;
41421 cycles += frvbf_model_fr500_u_float_convert (current_cpu, idesc, 0, referenced, in_FRj, in_FRintj, in_FRdoublej, out_FRk, out_FRintk, out_FRdoublek);
41423 return cycles;
41424 #undef FLD
41427 static int
41428 model_fr500_fmovs (SIM_CPU *current_cpu, void *sem_arg)
41430 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41431 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41432 const IDESC * UNUSED idesc = abuf->idesc;
41433 int cycles = 0;
41435 int referenced = 0;
41436 int UNUSED insn_referenced = abuf->written;
41437 INT in_FRi = -1;
41438 INT out_FRk = -1;
41439 out_FRk = FLD (out_FRk);
41440 referenced |= 1 << 1;
41441 cycles += frvbf_model_fr500_u_fr2fr (current_cpu, idesc, 0, referenced, in_FRi, out_FRk);
41443 return cycles;
41444 #undef FLD
41447 static int
41448 model_fr500_fmovd (SIM_CPU *current_cpu, void *sem_arg)
41450 #define FLD(f) abuf->fields.sfmt_fmaddd.f
41451 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41452 const IDESC * UNUSED idesc = abuf->idesc;
41453 int cycles = 0;
41455 int referenced = 0;
41456 int UNUSED insn_referenced = abuf->written;
41457 INT in_FRi = -1;
41458 INT out_FRk = -1;
41459 cycles += frvbf_model_fr500_u_fr2fr (current_cpu, idesc, 0, referenced, in_FRi, out_FRk);
41461 return cycles;
41462 #undef FLD
41465 static int
41466 model_fr500_fdmovs (SIM_CPU *current_cpu, void *sem_arg)
41468 #define FLD(f) abuf->fields.sfmt_fdmadds.f
41469 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41470 const IDESC * UNUSED idesc = abuf->idesc;
41471 int cycles = 0;
41473 int referenced = 0;
41474 int UNUSED insn_referenced = abuf->written;
41475 INT in_FRi = -1;
41476 INT out_FRk = -1;
41477 out_FRk = FLD (out_FRk);
41478 referenced |= 1 << 1;
41479 cycles += frvbf_model_fr500_u_fr2fr (current_cpu, idesc, 0, referenced, in_FRi, out_FRk);
41481 return cycles;
41482 #undef FLD
41485 static int
41486 model_fr500_cfmovs (SIM_CPU *current_cpu, void *sem_arg)
41488 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41490 const IDESC * UNUSED idesc = abuf->idesc;
41491 int cycles = 0;
41493 int referenced = 0;
41494 int UNUSED insn_referenced = abuf->written;
41495 INT in_FRi = -1;
41496 INT out_FRk = -1;
41497 out_FRk = FLD (out_FRk);
41498 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
41499 cycles += frvbf_model_fr500_u_fr2fr (current_cpu, idesc, 0, referenced, in_FRi, out_FRk);
41501 return cycles;
41502 #undef FLD
41505 static int
41506 model_fr500_fnegs (SIM_CPU *current_cpu, void *sem_arg)
41508 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41510 const IDESC * UNUSED idesc = abuf->idesc;
41511 int cycles = 0;
41513 int referenced = 0;
41514 int UNUSED insn_referenced = abuf->written;
41515 INT in_FRi = -1;
41516 INT in_FRj = -1;
41517 INT in_FRdoublei = -1;
41518 INT in_FRdoublej = -1;
41519 INT out_FRk = -1;
41520 INT out_FRdoublek = -1;
41521 in_FRj = FLD (in_FRj);
41522 out_FRk = FLD (out_FRk);
41523 referenced |= 1 << 1;
41524 referenced |= 1 << 4;
41525 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41527 return cycles;
41528 #undef FLD
41531 static int
41532 model_fr500_fnegd (SIM_CPU *current_cpu, void *sem_arg)
41534 #define FLD(f) abuf->fields.sfmt_fmaddd.f
41535 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41536 const IDESC * UNUSED idesc = abuf->idesc;
41537 int cycles = 0;
41539 int referenced = 0;
41540 int UNUSED insn_referenced = abuf->written;
41541 INT in_FRi = -1;
41542 INT in_FRj = -1;
41543 INT in_FRdoublei = -1;
41544 INT in_FRdoublej = -1;
41545 INT out_FRk = -1;
41546 INT out_FRdoublek = -1;
41547 in_FRdoublej = FLD (in_FRdoublej);
41548 out_FRdoublek = FLD (out_FRdoublek);
41549 referenced |= 1 << 3;
41550 referenced |= 1 << 5;
41551 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41553 return cycles;
41554 #undef FLD
41557 static int
41558 model_fr500_fdnegs (SIM_CPU *current_cpu, void *sem_arg)
41560 #define FLD(f) abuf->fields.sfmt_fdmadds.f
41561 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41562 const IDESC * UNUSED idesc = abuf->idesc;
41563 int cycles = 0;
41565 int referenced = 0;
41566 int UNUSED insn_referenced = abuf->written;
41567 INT in_FRi = -1;
41568 INT in_FRj = -1;
41569 INT in_FRdoublei = -1;
41570 INT in_FRdoublej = -1;
41571 INT out_FRk = -1;
41572 INT out_FRdoublek = -1;
41573 in_FRj = FLD (in_FRj);
41574 out_FRk = FLD (out_FRk);
41575 referenced |= 1 << 1;
41576 referenced |= 1 << 4;
41577 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);
41579 return cycles;
41580 #undef FLD
41583 static int
41584 model_fr500_cfnegs (SIM_CPU *current_cpu, void *sem_arg)
41586 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41587 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41588 const IDESC * UNUSED idesc = abuf->idesc;
41589 int cycles = 0;
41591 int referenced = 0;
41592 int UNUSED insn_referenced = abuf->written;
41593 INT in_FRi = -1;
41594 INT in_FRj = -1;
41595 INT in_FRdoublei = -1;
41596 INT in_FRdoublej = -1;
41597 INT out_FRk = -1;
41598 INT out_FRdoublek = -1;
41599 in_FRj = FLD (in_FRj);
41600 out_FRk = FLD (out_FRk);
41601 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
41602 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
41603 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41605 return cycles;
41606 #undef FLD
41609 static int
41610 model_fr500_fabss (SIM_CPU *current_cpu, void *sem_arg)
41612 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41613 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41614 const IDESC * UNUSED idesc = abuf->idesc;
41615 int cycles = 0;
41617 int referenced = 0;
41618 int UNUSED insn_referenced = abuf->written;
41619 INT in_FRi = -1;
41620 INT in_FRj = -1;
41621 INT in_FRdoublei = -1;
41622 INT in_FRdoublej = -1;
41623 INT out_FRk = -1;
41624 INT out_FRdoublek = -1;
41625 in_FRj = FLD (in_FRj);
41626 out_FRk = FLD (out_FRk);
41627 referenced |= 1 << 1;
41628 referenced |= 1 << 4;
41629 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41631 return cycles;
41632 #undef FLD
41635 static int
41636 model_fr500_fabsd (SIM_CPU *current_cpu, void *sem_arg)
41638 #define FLD(f) abuf->fields.sfmt_fmaddd.f
41639 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41640 const IDESC * UNUSED idesc = abuf->idesc;
41641 int cycles = 0;
41643 int referenced = 0;
41644 int UNUSED insn_referenced = abuf->written;
41645 INT in_FRi = -1;
41646 INT in_FRj = -1;
41647 INT in_FRdoublei = -1;
41648 INT in_FRdoublej = -1;
41649 INT out_FRk = -1;
41650 INT out_FRdoublek = -1;
41651 in_FRdoublej = FLD (in_FRdoublej);
41652 out_FRdoublek = FLD (out_FRdoublek);
41653 referenced |= 1 << 3;
41654 referenced |= 1 << 5;
41655 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41657 return cycles;
41658 #undef FLD
41661 static int
41662 model_fr500_fdabss (SIM_CPU *current_cpu, void *sem_arg)
41664 #define FLD(f) abuf->fields.sfmt_fdmadds.f
41665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41666 const IDESC * UNUSED idesc = abuf->idesc;
41667 int cycles = 0;
41669 int referenced = 0;
41670 int UNUSED insn_referenced = abuf->written;
41671 INT in_FRi = -1;
41672 INT in_FRj = -1;
41673 INT in_FRdoublei = -1;
41674 INT in_FRdoublej = -1;
41675 INT out_FRk = -1;
41676 INT out_FRdoublek = -1;
41677 in_FRj = FLD (in_FRj);
41678 out_FRk = FLD (out_FRk);
41679 referenced |= 1 << 1;
41680 referenced |= 1 << 4;
41681 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);
41683 return cycles;
41684 #undef FLD
41687 static int
41688 model_fr500_cfabss (SIM_CPU *current_cpu, void *sem_arg)
41690 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41691 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41692 const IDESC * UNUSED idesc = abuf->idesc;
41693 int cycles = 0;
41695 int referenced = 0;
41696 int UNUSED insn_referenced = abuf->written;
41697 INT in_FRi = -1;
41698 INT in_FRj = -1;
41699 INT in_FRdoublei = -1;
41700 INT in_FRdoublej = -1;
41701 INT out_FRk = -1;
41702 INT out_FRdoublek = -1;
41703 in_FRj = FLD (in_FRj);
41704 out_FRk = FLD (out_FRk);
41705 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
41706 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
41707 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41709 return cycles;
41710 #undef FLD
41713 static int
41714 model_fr500_fsqrts (SIM_CPU *current_cpu, void *sem_arg)
41716 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41717 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41718 const IDESC * UNUSED idesc = abuf->idesc;
41719 int cycles = 0;
41721 int referenced = 0;
41722 int UNUSED insn_referenced = abuf->written;
41723 INT in_FRj = -1;
41724 INT in_FRdoublej = -1;
41725 INT out_FRk = -1;
41726 INT out_FRdoublek = -1;
41727 in_FRj = FLD (in_FRj);
41728 out_FRk = FLD (out_FRk);
41729 referenced |= 1 << 0;
41730 referenced |= 1 << 2;
41731 cycles += frvbf_model_fr500_u_float_sqrt (current_cpu, idesc, 0, referenced, in_FRj, in_FRdoublej, out_FRk, out_FRdoublek);
41733 return cycles;
41734 #undef FLD
41737 static int
41738 model_fr500_fdsqrts (SIM_CPU *current_cpu, void *sem_arg)
41740 #define FLD(f) abuf->fields.sfmt_fdmadds.f
41741 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41742 const IDESC * UNUSED idesc = abuf->idesc;
41743 int cycles = 0;
41745 int referenced = 0;
41746 int UNUSED insn_referenced = abuf->written;
41747 INT in_FRj = -1;
41748 INT out_FRk = -1;
41749 in_FRj = FLD (in_FRj);
41750 out_FRk = FLD (out_FRk);
41751 referenced |= 1 << 0;
41752 referenced |= 1 << 1;
41753 cycles += frvbf_model_fr500_u_float_dual_sqrt (current_cpu, idesc, 0, referenced, in_FRj, out_FRk);
41755 return cycles;
41756 #undef FLD
41759 static int
41760 model_fr500_nfdsqrts (SIM_CPU *current_cpu, void *sem_arg)
41762 #define FLD(f) abuf->fields.sfmt_fdmadds.f
41763 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41764 const IDESC * UNUSED idesc = abuf->idesc;
41765 int cycles = 0;
41767 int referenced = 0;
41768 int UNUSED insn_referenced = abuf->written;
41769 INT in_FRj = -1;
41770 INT out_FRk = -1;
41771 in_FRj = FLD (in_FRj);
41772 out_FRk = FLD (out_FRk);
41773 referenced |= 1 << 0;
41774 referenced |= 1 << 1;
41775 cycles += frvbf_model_fr500_u_float_dual_sqrt (current_cpu, idesc, 0, referenced, in_FRj, out_FRk);
41777 return cycles;
41778 #undef FLD
41781 static int
41782 model_fr500_fsqrtd (SIM_CPU *current_cpu, void *sem_arg)
41784 #define FLD(f) abuf->fields.sfmt_fmaddd.f
41785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41786 const IDESC * UNUSED idesc = abuf->idesc;
41787 int cycles = 0;
41789 int referenced = 0;
41790 int UNUSED insn_referenced = abuf->written;
41791 INT in_FRj = -1;
41792 INT in_FRdoublej = -1;
41793 INT out_FRk = -1;
41794 INT out_FRdoublek = -1;
41795 in_FRdoublej = FLD (in_FRdoublej);
41796 out_FRdoublek = FLD (out_FRdoublek);
41797 referenced |= 1 << 1;
41798 referenced |= 1 << 3;
41799 cycles += frvbf_model_fr500_u_float_sqrt (current_cpu, idesc, 0, referenced, in_FRj, in_FRdoublej, out_FRk, out_FRdoublek);
41801 return cycles;
41802 #undef FLD
41805 static int
41806 model_fr500_cfsqrts (SIM_CPU *current_cpu, void *sem_arg)
41808 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41810 const IDESC * UNUSED idesc = abuf->idesc;
41811 int cycles = 0;
41813 int referenced = 0;
41814 int UNUSED insn_referenced = abuf->written;
41815 INT in_FRj = -1;
41816 INT in_FRdoublej = -1;
41817 INT out_FRk = -1;
41818 INT out_FRdoublek = -1;
41819 in_FRj = FLD (in_FRj);
41820 out_FRk = FLD (out_FRk);
41821 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
41822 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
41823 cycles += frvbf_model_fr500_u_float_sqrt (current_cpu, idesc, 0, referenced, in_FRj, in_FRdoublej, out_FRk, out_FRdoublek);
41825 return cycles;
41826 #undef FLD
41829 static int
41830 model_fr500_nfsqrts (SIM_CPU *current_cpu, void *sem_arg)
41832 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41834 const IDESC * UNUSED idesc = abuf->idesc;
41835 int cycles = 0;
41837 int referenced = 0;
41838 int UNUSED insn_referenced = abuf->written;
41839 INT in_FRj = -1;
41840 INT in_FRdoublej = -1;
41841 INT out_FRk = -1;
41842 INT out_FRdoublek = -1;
41843 in_FRj = FLD (in_FRj);
41844 out_FRk = FLD (out_FRk);
41845 referenced |= 1 << 0;
41846 referenced |= 1 << 2;
41847 cycles += frvbf_model_fr500_u_float_sqrt (current_cpu, idesc, 0, referenced, in_FRj, in_FRdoublej, out_FRk, out_FRdoublek);
41849 return cycles;
41850 #undef FLD
41853 static int
41854 model_fr500_fadds (SIM_CPU *current_cpu, void *sem_arg)
41856 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41858 const IDESC * UNUSED idesc = abuf->idesc;
41859 int cycles = 0;
41861 int referenced = 0;
41862 int UNUSED insn_referenced = abuf->written;
41863 INT in_FRi = -1;
41864 INT in_FRj = -1;
41865 INT in_FRdoublei = -1;
41866 INT in_FRdoublej = -1;
41867 INT out_FRk = -1;
41868 INT out_FRdoublek = -1;
41869 in_FRi = FLD (in_FRi);
41870 in_FRj = FLD (in_FRj);
41871 out_FRk = FLD (out_FRk);
41872 referenced |= 1 << 0;
41873 referenced |= 1 << 1;
41874 referenced |= 1 << 4;
41875 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41877 return cycles;
41878 #undef FLD
41881 static int
41882 model_fr500_fsubs (SIM_CPU *current_cpu, void *sem_arg)
41884 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41885 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41886 const IDESC * UNUSED idesc = abuf->idesc;
41887 int cycles = 0;
41889 int referenced = 0;
41890 int UNUSED insn_referenced = abuf->written;
41891 INT in_FRi = -1;
41892 INT in_FRj = -1;
41893 INT in_FRdoublei = -1;
41894 INT in_FRdoublej = -1;
41895 INT out_FRk = -1;
41896 INT out_FRdoublek = -1;
41897 in_FRi = FLD (in_FRi);
41898 in_FRj = FLD (in_FRj);
41899 out_FRk = FLD (out_FRk);
41900 referenced |= 1 << 0;
41901 referenced |= 1 << 1;
41902 referenced |= 1 << 4;
41903 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41905 return cycles;
41906 #undef FLD
41909 static int
41910 model_fr500_fmuls (SIM_CPU *current_cpu, void *sem_arg)
41912 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41914 const IDESC * UNUSED idesc = abuf->idesc;
41915 int cycles = 0;
41917 int referenced = 0;
41918 int UNUSED insn_referenced = abuf->written;
41919 INT in_FRi = -1;
41920 INT in_FRj = -1;
41921 INT in_FRdoublei = -1;
41922 INT in_FRdoublej = -1;
41923 INT out_FRk = -1;
41924 INT out_FRdoublek = -1;
41925 in_FRi = FLD (in_FRi);
41926 in_FRj = FLD (in_FRj);
41927 out_FRk = FLD (out_FRk);
41928 referenced |= 1 << 0;
41929 referenced |= 1 << 1;
41930 referenced |= 1 << 4;
41931 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41933 return cycles;
41934 #undef FLD
41937 static int
41938 model_fr500_fdivs (SIM_CPU *current_cpu, void *sem_arg)
41940 #define FLD(f) abuf->fields.sfmt_cfmadds.f
41941 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41942 const IDESC * UNUSED idesc = abuf->idesc;
41943 int cycles = 0;
41945 int referenced = 0;
41946 int UNUSED insn_referenced = abuf->written;
41947 INT in_FRi = -1;
41948 INT in_FRj = -1;
41949 INT out_FRk = -1;
41950 in_FRi = FLD (in_FRi);
41951 in_FRj = FLD (in_FRj);
41952 out_FRk = FLD (out_FRk);
41953 referenced |= 1 << 0;
41954 referenced |= 1 << 1;
41955 referenced |= 1 << 2;
41956 cycles += frvbf_model_fr500_u_float_div (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FRk);
41958 return cycles;
41959 #undef FLD
41962 static int
41963 model_fr500_faddd (SIM_CPU *current_cpu, void *sem_arg)
41965 #define FLD(f) abuf->fields.sfmt_fmaddd.f
41966 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41967 const IDESC * UNUSED idesc = abuf->idesc;
41968 int cycles = 0;
41970 int referenced = 0;
41971 int UNUSED insn_referenced = abuf->written;
41972 INT in_FRi = -1;
41973 INT in_FRj = -1;
41974 INT in_FRdoublei = -1;
41975 INT in_FRdoublej = -1;
41976 INT out_FRk = -1;
41977 INT out_FRdoublek = -1;
41978 in_FRdoublei = FLD (in_FRdoublei);
41979 in_FRdoublej = FLD (in_FRdoublej);
41980 out_FRdoublek = FLD (out_FRdoublek);
41981 referenced |= 1 << 2;
41982 referenced |= 1 << 3;
41983 referenced |= 1 << 5;
41984 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
41986 return cycles;
41987 #undef FLD
41990 static int
41991 model_fr500_fsubd (SIM_CPU *current_cpu, void *sem_arg)
41993 #define FLD(f) abuf->fields.sfmt_fmaddd.f
41994 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
41995 const IDESC * UNUSED idesc = abuf->idesc;
41996 int cycles = 0;
41998 int referenced = 0;
41999 int UNUSED insn_referenced = abuf->written;
42000 INT in_FRi = -1;
42001 INT in_FRj = -1;
42002 INT in_FRdoublei = -1;
42003 INT in_FRdoublej = -1;
42004 INT out_FRk = -1;
42005 INT out_FRdoublek = -1;
42006 in_FRdoublei = FLD (in_FRdoublei);
42007 in_FRdoublej = FLD (in_FRdoublej);
42008 out_FRdoublek = FLD (out_FRdoublek);
42009 referenced |= 1 << 2;
42010 referenced |= 1 << 3;
42011 referenced |= 1 << 5;
42012 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42014 return cycles;
42015 #undef FLD
42018 static int
42019 model_fr500_fmuld (SIM_CPU *current_cpu, void *sem_arg)
42021 #define FLD(f) abuf->fields.sfmt_fmaddd.f
42022 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42023 const IDESC * UNUSED idesc = abuf->idesc;
42024 int cycles = 0;
42026 int referenced = 0;
42027 int UNUSED insn_referenced = abuf->written;
42028 INT in_FRi = -1;
42029 INT in_FRj = -1;
42030 INT in_FRdoublei = -1;
42031 INT in_FRdoublej = -1;
42032 INT out_FRk = -1;
42033 INT out_FRdoublek = -1;
42034 in_FRdoublei = FLD (in_FRdoublei);
42035 in_FRdoublej = FLD (in_FRdoublej);
42036 out_FRdoublek = FLD (out_FRdoublek);
42037 referenced |= 1 << 2;
42038 referenced |= 1 << 3;
42039 referenced |= 1 << 5;
42040 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42042 return cycles;
42043 #undef FLD
42046 static int
42047 model_fr500_fdivd (SIM_CPU *current_cpu, void *sem_arg)
42049 #define FLD(f) abuf->fields.sfmt_fmaddd.f
42050 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42051 const IDESC * UNUSED idesc = abuf->idesc;
42052 int cycles = 0;
42054 int referenced = 0;
42055 int UNUSED insn_referenced = abuf->written;
42056 INT in_FRi = -1;
42057 INT in_FRj = -1;
42058 INT in_FRdoublei = -1;
42059 INT in_FRdoublej = -1;
42060 INT out_FRk = -1;
42061 INT out_FRdoublek = -1;
42062 in_FRdoublei = FLD (in_FRdoublei);
42063 in_FRdoublej = FLD (in_FRdoublej);
42064 out_FRdoublek = FLD (out_FRdoublek);
42065 referenced |= 1 << 2;
42066 referenced |= 1 << 3;
42067 referenced |= 1 << 5;
42068 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42070 return cycles;
42071 #undef FLD
42074 static int
42075 model_fr500_cfadds (SIM_CPU *current_cpu, void *sem_arg)
42077 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42078 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42079 const IDESC * UNUSED idesc = abuf->idesc;
42080 int cycles = 0;
42082 int referenced = 0;
42083 int UNUSED insn_referenced = abuf->written;
42084 INT in_FRi = -1;
42085 INT in_FRj = -1;
42086 INT in_FRdoublei = -1;
42087 INT in_FRdoublej = -1;
42088 INT out_FRk = -1;
42089 INT out_FRdoublek = -1;
42090 in_FRi = FLD (in_FRi);
42091 in_FRj = FLD (in_FRj);
42092 out_FRk = FLD (out_FRk);
42093 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42094 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42095 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
42096 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42098 return cycles;
42099 #undef FLD
42102 static int
42103 model_fr500_cfsubs (SIM_CPU *current_cpu, void *sem_arg)
42105 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42106 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42107 const IDESC * UNUSED idesc = abuf->idesc;
42108 int cycles = 0;
42110 int referenced = 0;
42111 int UNUSED insn_referenced = abuf->written;
42112 INT in_FRi = -1;
42113 INT in_FRj = -1;
42114 INT in_FRdoublei = -1;
42115 INT in_FRdoublej = -1;
42116 INT out_FRk = -1;
42117 INT out_FRdoublek = -1;
42118 in_FRi = FLD (in_FRi);
42119 in_FRj = FLD (in_FRj);
42120 out_FRk = FLD (out_FRk);
42121 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42122 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42123 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
42124 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42126 return cycles;
42127 #undef FLD
42130 static int
42131 model_fr500_cfmuls (SIM_CPU *current_cpu, void *sem_arg)
42133 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42134 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42135 const IDESC * UNUSED idesc = abuf->idesc;
42136 int cycles = 0;
42138 int referenced = 0;
42139 int UNUSED insn_referenced = abuf->written;
42140 INT in_FRi = -1;
42141 INT in_FRj = -1;
42142 INT in_FRdoublei = -1;
42143 INT in_FRdoublej = -1;
42144 INT out_FRk = -1;
42145 INT out_FRdoublek = -1;
42146 in_FRi = FLD (in_FRi);
42147 in_FRj = FLD (in_FRj);
42148 out_FRk = FLD (out_FRk);
42149 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42150 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42151 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
42152 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42154 return cycles;
42155 #undef FLD
42158 static int
42159 model_fr500_cfdivs (SIM_CPU *current_cpu, void *sem_arg)
42161 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42162 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42163 const IDESC * UNUSED idesc = abuf->idesc;
42164 int cycles = 0;
42166 int referenced = 0;
42167 int UNUSED insn_referenced = abuf->written;
42168 INT in_FRi = -1;
42169 INT in_FRj = -1;
42170 INT out_FRk = -1;
42171 in_FRi = FLD (in_FRi);
42172 in_FRj = FLD (in_FRj);
42173 out_FRk = FLD (out_FRk);
42174 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42175 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42176 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
42177 cycles += frvbf_model_fr500_u_float_div (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FRk);
42179 return cycles;
42180 #undef FLD
42183 static int
42184 model_fr500_nfadds (SIM_CPU *current_cpu, void *sem_arg)
42186 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42187 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42188 const IDESC * UNUSED idesc = abuf->idesc;
42189 int cycles = 0;
42191 int referenced = 0;
42192 int UNUSED insn_referenced = abuf->written;
42193 INT in_FRi = -1;
42194 INT in_FRj = -1;
42195 INT in_FRdoublei = -1;
42196 INT in_FRdoublej = -1;
42197 INT out_FRk = -1;
42198 INT out_FRdoublek = -1;
42199 in_FRi = FLD (in_FRi);
42200 in_FRj = FLD (in_FRj);
42201 out_FRk = FLD (out_FRk);
42202 referenced |= 1 << 0;
42203 referenced |= 1 << 1;
42204 referenced |= 1 << 4;
42205 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42207 return cycles;
42208 #undef FLD
42211 static int
42212 model_fr500_nfsubs (SIM_CPU *current_cpu, void *sem_arg)
42214 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42215 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42216 const IDESC * UNUSED idesc = abuf->idesc;
42217 int cycles = 0;
42219 int referenced = 0;
42220 int UNUSED insn_referenced = abuf->written;
42221 INT in_FRi = -1;
42222 INT in_FRj = -1;
42223 INT in_FRdoublei = -1;
42224 INT in_FRdoublej = -1;
42225 INT out_FRk = -1;
42226 INT out_FRdoublek = -1;
42227 in_FRi = FLD (in_FRi);
42228 in_FRj = FLD (in_FRj);
42229 out_FRk = FLD (out_FRk);
42230 referenced |= 1 << 0;
42231 referenced |= 1 << 1;
42232 referenced |= 1 << 4;
42233 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42235 return cycles;
42236 #undef FLD
42239 static int
42240 model_fr500_nfmuls (SIM_CPU *current_cpu, void *sem_arg)
42242 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42243 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42244 const IDESC * UNUSED idesc = abuf->idesc;
42245 int cycles = 0;
42247 int referenced = 0;
42248 int UNUSED insn_referenced = abuf->written;
42249 INT in_FRi = -1;
42250 INT in_FRj = -1;
42251 INT in_FRdoublei = -1;
42252 INT in_FRdoublej = -1;
42253 INT out_FRk = -1;
42254 INT out_FRdoublek = -1;
42255 in_FRi = FLD (in_FRi);
42256 in_FRj = FLD (in_FRj);
42257 out_FRk = FLD (out_FRk);
42258 referenced |= 1 << 0;
42259 referenced |= 1 << 1;
42260 referenced |= 1 << 4;
42261 cycles += frvbf_model_fr500_u_float_arith (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FRk, out_FRdoublek);
42263 return cycles;
42264 #undef FLD
42267 static int
42268 model_fr500_nfdivs (SIM_CPU *current_cpu, void *sem_arg)
42270 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42271 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42272 const IDESC * UNUSED idesc = abuf->idesc;
42273 int cycles = 0;
42275 int referenced = 0;
42276 int UNUSED insn_referenced = abuf->written;
42277 INT in_FRi = -1;
42278 INT in_FRj = -1;
42279 INT out_FRk = -1;
42280 in_FRi = FLD (in_FRi);
42281 in_FRj = FLD (in_FRj);
42282 out_FRk = FLD (out_FRk);
42283 referenced |= 1 << 0;
42284 referenced |= 1 << 1;
42285 referenced |= 1 << 2;
42286 cycles += frvbf_model_fr500_u_float_div (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FRk);
42288 return cycles;
42289 #undef FLD
42292 static int
42293 model_fr500_fcmps (SIM_CPU *current_cpu, void *sem_arg)
42295 #define FLD(f) abuf->fields.sfmt_cfcmps.f
42296 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42297 const IDESC * UNUSED idesc = abuf->idesc;
42298 int cycles = 0;
42300 int referenced = 0;
42301 int UNUSED insn_referenced = abuf->written;
42302 INT in_FRi = -1;
42303 INT in_FRj = -1;
42304 INT in_FRdoublei = -1;
42305 INT in_FRdoublej = -1;
42306 INT out_FCCi_2 = -1;
42307 in_FRi = FLD (in_FRi);
42308 in_FRj = FLD (in_FRj);
42309 out_FCCi_2 = FLD (out_FCCi_2);
42310 referenced |= 1 << 0;
42311 referenced |= 1 << 1;
42312 if (insn_referenced & (1 << 2)) referenced |= 1 << 4;
42313 cycles += frvbf_model_fr500_u_float_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FCCi_2);
42315 return cycles;
42316 #undef FLD
42319 static int
42320 model_fr500_fcmpd (SIM_CPU *current_cpu, void *sem_arg)
42322 #define FLD(f) abuf->fields.sfmt_fcmpd.f
42323 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42324 const IDESC * UNUSED idesc = abuf->idesc;
42325 int cycles = 0;
42327 int referenced = 0;
42328 int UNUSED insn_referenced = abuf->written;
42329 INT in_FRi = -1;
42330 INT in_FRj = -1;
42331 INT in_FRdoublei = -1;
42332 INT in_FRdoublej = -1;
42333 INT out_FCCi_2 = -1;
42334 in_FRdoublei = FLD (in_FRdoublei);
42335 in_FRdoublej = FLD (in_FRdoublej);
42336 out_FCCi_2 = FLD (out_FCCi_2);
42337 referenced |= 1 << 2;
42338 referenced |= 1 << 3;
42339 if (insn_referenced & (1 << 2)) referenced |= 1 << 4;
42340 cycles += frvbf_model_fr500_u_float_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FCCi_2);
42342 return cycles;
42343 #undef FLD
42346 static int
42347 model_fr500_cfcmps (SIM_CPU *current_cpu, void *sem_arg)
42349 #define FLD(f) abuf->fields.sfmt_cfcmps.f
42350 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42351 const IDESC * UNUSED idesc = abuf->idesc;
42352 int cycles = 0;
42354 int referenced = 0;
42355 int UNUSED insn_referenced = abuf->written;
42356 INT in_FRi = -1;
42357 INT in_FRj = -1;
42358 INT in_FRdoublei = -1;
42359 INT in_FRdoublej = -1;
42360 INT out_FCCi_2 = -1;
42361 in_FRi = FLD (in_FRi);
42362 in_FRj = FLD (in_FRj);
42363 out_FCCi_2 = FLD (out_FCCi_2);
42364 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42365 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42366 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
42367 cycles += frvbf_model_fr500_u_float_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, in_FRdoublei, in_FRdoublej, out_FCCi_2);
42369 return cycles;
42370 #undef FLD
42373 static int
42374 model_fr500_fdcmps (SIM_CPU *current_cpu, void *sem_arg)
42376 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
42377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42378 const IDESC * UNUSED idesc = abuf->idesc;
42379 int cycles = 0;
42381 int referenced = 0;
42382 int UNUSED insn_referenced = abuf->written;
42383 INT in_FRi = -1;
42384 INT in_FRj = -1;
42385 INT out_FCCi_2 = -1;
42386 in_FRi = FLD (in_FRi);
42387 in_FRj = FLD (in_FRj);
42388 out_FCCi_2 = FLD (out_FCCi_2);
42389 referenced |= 1 << 0;
42390 referenced |= 1 << 1;
42391 if (insn_referenced & (1 << 7)) referenced |= 1 << 2;
42392 cycles += frvbf_model_fr500_u_float_dual_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FCCi_2);
42394 return cycles;
42395 #undef FLD
42398 static int
42399 model_fr500_fmadds (SIM_CPU *current_cpu, void *sem_arg)
42401 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42402 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42403 const IDESC * UNUSED idesc = abuf->idesc;
42404 int cycles = 0;
42406 int referenced = 0;
42407 int UNUSED insn_referenced = abuf->written;
42408 INT in_FRi = -1;
42409 INT in_FRj = -1;
42410 INT in_FRdoublei = -1;
42411 INT in_FRdoublej = -1;
42412 INT out_FRk = -1;
42413 INT out_FRdoublek = -1;
42414 in_FRi = FLD (in_FRi);
42415 in_FRj = FLD (in_FRj);
42416 out_FRk = FLD (out_FRk);
42417 referenced |= 1 << 0;
42418 referenced |= 1 << 1;
42419 referenced |= 1 << 4;
42420 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);
42422 return cycles;
42423 #undef FLD
42426 static int
42427 model_fr500_fmsubs (SIM_CPU *current_cpu, void *sem_arg)
42429 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42430 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42431 const IDESC * UNUSED idesc = abuf->idesc;
42432 int cycles = 0;
42434 int referenced = 0;
42435 int UNUSED insn_referenced = abuf->written;
42436 INT in_FRi = -1;
42437 INT in_FRj = -1;
42438 INT in_FRdoublei = -1;
42439 INT in_FRdoublej = -1;
42440 INT out_FRk = -1;
42441 INT out_FRdoublek = -1;
42442 in_FRi = FLD (in_FRi);
42443 in_FRj = FLD (in_FRj);
42444 out_FRk = FLD (out_FRk);
42445 referenced |= 1 << 0;
42446 referenced |= 1 << 1;
42447 referenced |= 1 << 4;
42448 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);
42450 return cycles;
42451 #undef FLD
42454 static int
42455 model_fr500_fmaddd (SIM_CPU *current_cpu, void *sem_arg)
42457 #define FLD(f) abuf->fields.sfmt_fmaddd.f
42458 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42459 const IDESC * UNUSED idesc = abuf->idesc;
42460 int cycles = 0;
42462 int referenced = 0;
42463 int UNUSED insn_referenced = abuf->written;
42464 INT in_FRi = -1;
42465 INT in_FRj = -1;
42466 INT in_FRdoublei = -1;
42467 INT in_FRdoublej = -1;
42468 INT out_FRk = -1;
42469 INT out_FRdoublek = -1;
42470 in_FRdoublei = FLD (in_FRdoublei);
42471 in_FRdoublej = FLD (in_FRdoublej);
42472 out_FRdoublek = FLD (out_FRdoublek);
42473 referenced |= 1 << 2;
42474 referenced |= 1 << 3;
42475 referenced |= 1 << 5;
42476 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);
42478 return cycles;
42479 #undef FLD
42482 static int
42483 model_fr500_fmsubd (SIM_CPU *current_cpu, void *sem_arg)
42485 #define FLD(f) abuf->fields.sfmt_fmaddd.f
42486 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42487 const IDESC * UNUSED idesc = abuf->idesc;
42488 int cycles = 0;
42490 int referenced = 0;
42491 int UNUSED insn_referenced = abuf->written;
42492 INT in_FRi = -1;
42493 INT in_FRj = -1;
42494 INT in_FRdoublei = -1;
42495 INT in_FRdoublej = -1;
42496 INT out_FRk = -1;
42497 INT out_FRdoublek = -1;
42498 in_FRdoublei = FLD (in_FRdoublei);
42499 in_FRdoublej = FLD (in_FRdoublej);
42500 out_FRdoublek = FLD (out_FRdoublek);
42501 referenced |= 1 << 2;
42502 referenced |= 1 << 3;
42503 referenced |= 1 << 5;
42504 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);
42506 return cycles;
42507 #undef FLD
42510 static int
42511 model_fr500_fdmadds (SIM_CPU *current_cpu, void *sem_arg)
42513 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42514 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42515 const IDESC * UNUSED idesc = abuf->idesc;
42516 int cycles = 0;
42518 int referenced = 0;
42519 int UNUSED insn_referenced = abuf->written;
42520 INT in_FRi = -1;
42521 INT in_FRj = -1;
42522 INT in_FRdoublei = -1;
42523 INT in_FRdoublej = -1;
42524 INT out_FRk = -1;
42525 INT out_FRdoublek = -1;
42526 in_FRi = FLD (in_FRi);
42527 in_FRj = FLD (in_FRj);
42528 out_FRk = FLD (out_FRk);
42529 referenced |= 1 << 0;
42530 referenced |= 1 << 1;
42531 referenced |= 1 << 4;
42532 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);
42534 return cycles;
42535 #undef FLD
42538 static int
42539 model_fr500_nfdmadds (SIM_CPU *current_cpu, void *sem_arg)
42541 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42542 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42543 const IDESC * UNUSED idesc = abuf->idesc;
42544 int cycles = 0;
42546 int referenced = 0;
42547 int UNUSED insn_referenced = abuf->written;
42548 INT in_FRi = -1;
42549 INT in_FRj = -1;
42550 INT in_FRdoublei = -1;
42551 INT in_FRdoublej = -1;
42552 INT out_FRk = -1;
42553 INT out_FRdoublek = -1;
42554 in_FRi = FLD (in_FRi);
42555 in_FRj = FLD (in_FRj);
42556 out_FRk = FLD (out_FRk);
42557 referenced |= 1 << 0;
42558 referenced |= 1 << 1;
42559 referenced |= 1 << 4;
42560 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);
42562 return cycles;
42563 #undef FLD
42566 static int
42567 model_fr500_cfmadds (SIM_CPU *current_cpu, void *sem_arg)
42569 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42570 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42571 const IDESC * UNUSED idesc = abuf->idesc;
42572 int cycles = 0;
42574 int referenced = 0;
42575 int UNUSED insn_referenced = abuf->written;
42576 INT in_FRi = -1;
42577 INT in_FRj = -1;
42578 INT in_FRdoublei = -1;
42579 INT in_FRdoublej = -1;
42580 INT out_FRk = -1;
42581 INT out_FRdoublek = -1;
42582 in_FRi = FLD (in_FRi);
42583 in_FRj = FLD (in_FRj);
42584 out_FRk = FLD (out_FRk);
42585 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42586 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42587 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
42588 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);
42590 return cycles;
42591 #undef FLD
42594 static int
42595 model_fr500_cfmsubs (SIM_CPU *current_cpu, void *sem_arg)
42597 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42598 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42599 const IDESC * UNUSED idesc = abuf->idesc;
42600 int cycles = 0;
42602 int referenced = 0;
42603 int UNUSED insn_referenced = abuf->written;
42604 INT in_FRi = -1;
42605 INT in_FRj = -1;
42606 INT in_FRdoublei = -1;
42607 INT in_FRdoublej = -1;
42608 INT out_FRk = -1;
42609 INT out_FRdoublek = -1;
42610 in_FRi = FLD (in_FRi);
42611 in_FRj = FLD (in_FRj);
42612 out_FRk = FLD (out_FRk);
42613 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42614 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42615 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
42616 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);
42618 return cycles;
42619 #undef FLD
42622 static int
42623 model_fr500_nfmadds (SIM_CPU *current_cpu, void *sem_arg)
42625 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42626 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42627 const IDESC * UNUSED idesc = abuf->idesc;
42628 int cycles = 0;
42630 int referenced = 0;
42631 int UNUSED insn_referenced = abuf->written;
42632 INT in_FRi = -1;
42633 INT in_FRj = -1;
42634 INT in_FRdoublei = -1;
42635 INT in_FRdoublej = -1;
42636 INT out_FRk = -1;
42637 INT out_FRdoublek = -1;
42638 in_FRi = FLD (in_FRi);
42639 in_FRj = FLD (in_FRj);
42640 out_FRk = FLD (out_FRk);
42641 referenced |= 1 << 0;
42642 referenced |= 1 << 1;
42643 referenced |= 1 << 4;
42644 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);
42646 return cycles;
42647 #undef FLD
42650 static int
42651 model_fr500_nfmsubs (SIM_CPU *current_cpu, void *sem_arg)
42653 #define FLD(f) abuf->fields.sfmt_cfmadds.f
42654 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42655 const IDESC * UNUSED idesc = abuf->idesc;
42656 int cycles = 0;
42658 int referenced = 0;
42659 int UNUSED insn_referenced = abuf->written;
42660 INT in_FRi = -1;
42661 INT in_FRj = -1;
42662 INT in_FRdoublei = -1;
42663 INT in_FRdoublej = -1;
42664 INT out_FRk = -1;
42665 INT out_FRdoublek = -1;
42666 in_FRi = FLD (in_FRi);
42667 in_FRj = FLD (in_FRj);
42668 out_FRk = FLD (out_FRk);
42669 referenced |= 1 << 0;
42670 referenced |= 1 << 1;
42671 referenced |= 1 << 4;
42672 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);
42674 return cycles;
42675 #undef FLD
42678 static int
42679 model_fr500_fmas (SIM_CPU *current_cpu, void *sem_arg)
42681 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42682 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42683 const IDESC * UNUSED idesc = abuf->idesc;
42684 int cycles = 0;
42686 int referenced = 0;
42687 int UNUSED insn_referenced = abuf->written;
42688 INT in_FRi = -1;
42689 INT in_FRj = -1;
42690 INT in_FRdoublei = -1;
42691 INT in_FRdoublej = -1;
42692 INT out_FRk = -1;
42693 INT out_FRdoublek = -1;
42694 in_FRi = FLD (in_FRi);
42695 in_FRj = FLD (in_FRj);
42696 out_FRk = FLD (out_FRk);
42697 referenced |= 1 << 0;
42698 referenced |= 1 << 1;
42699 referenced |= 1 << 4;
42700 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);
42702 return cycles;
42703 #undef FLD
42706 static int
42707 model_fr500_fmss (SIM_CPU *current_cpu, void *sem_arg)
42709 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42710 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42711 const IDESC * UNUSED idesc = abuf->idesc;
42712 int cycles = 0;
42714 int referenced = 0;
42715 int UNUSED insn_referenced = abuf->written;
42716 INT in_FRi = -1;
42717 INT in_FRj = -1;
42718 INT in_FRdoublei = -1;
42719 INT in_FRdoublej = -1;
42720 INT out_FRk = -1;
42721 INT out_FRdoublek = -1;
42722 in_FRi = FLD (in_FRi);
42723 in_FRj = FLD (in_FRj);
42724 out_FRk = FLD (out_FRk);
42725 referenced |= 1 << 0;
42726 referenced |= 1 << 1;
42727 referenced |= 1 << 4;
42728 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);
42730 return cycles;
42731 #undef FLD
42734 static int
42735 model_fr500_fdmas (SIM_CPU *current_cpu, void *sem_arg)
42737 #define FLD(f) abuf->fields.sfmt_fdmas.f
42738 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42739 const IDESC * UNUSED idesc = abuf->idesc;
42740 int cycles = 0;
42742 int referenced = 0;
42743 int UNUSED insn_referenced = abuf->written;
42744 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
42746 return cycles;
42747 #undef FLD
42750 static int
42751 model_fr500_fdmss (SIM_CPU *current_cpu, void *sem_arg)
42753 #define FLD(f) abuf->fields.sfmt_fdmas.f
42754 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42755 const IDESC * UNUSED idesc = abuf->idesc;
42756 int cycles = 0;
42758 int referenced = 0;
42759 int UNUSED insn_referenced = abuf->written;
42760 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
42762 return cycles;
42763 #undef FLD
42766 static int
42767 model_fr500_nfdmas (SIM_CPU *current_cpu, void *sem_arg)
42769 #define FLD(f) abuf->fields.sfmt_fdmas.f
42770 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42771 const IDESC * UNUSED idesc = abuf->idesc;
42772 int cycles = 0;
42774 int referenced = 0;
42775 int UNUSED insn_referenced = abuf->written;
42776 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
42778 return cycles;
42779 #undef FLD
42782 static int
42783 model_fr500_nfdmss (SIM_CPU *current_cpu, void *sem_arg)
42785 #define FLD(f) abuf->fields.sfmt_fdmas.f
42786 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42787 const IDESC * UNUSED idesc = abuf->idesc;
42788 int cycles = 0;
42790 int referenced = 0;
42791 int UNUSED insn_referenced = abuf->written;
42792 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
42794 return cycles;
42795 #undef FLD
42798 static int
42799 model_fr500_cfmas (SIM_CPU *current_cpu, void *sem_arg)
42801 #define FLD(f) abuf->fields.sfmt_cfmas.f
42802 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42803 const IDESC * UNUSED idesc = abuf->idesc;
42804 int cycles = 0;
42806 int referenced = 0;
42807 int UNUSED insn_referenced = abuf->written;
42808 INT in_FRi = -1;
42809 INT in_FRj = -1;
42810 INT in_FRdoublei = -1;
42811 INT in_FRdoublej = -1;
42812 INT out_FRk = -1;
42813 INT out_FRdoublek = -1;
42814 in_FRi = FLD (in_FRi);
42815 in_FRj = FLD (in_FRj);
42816 out_FRk = FLD (out_FRk);
42817 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42818 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42819 if (insn_referenced & (1 << 9)) referenced |= 1 << 4;
42820 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);
42822 return cycles;
42823 #undef FLD
42826 static int
42827 model_fr500_cfmss (SIM_CPU *current_cpu, void *sem_arg)
42829 #define FLD(f) abuf->fields.sfmt_cfmas.f
42830 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42831 const IDESC * UNUSED idesc = abuf->idesc;
42832 int cycles = 0;
42834 int referenced = 0;
42835 int UNUSED insn_referenced = abuf->written;
42836 INT in_FRi = -1;
42837 INT in_FRj = -1;
42838 INT in_FRdoublei = -1;
42839 INT in_FRdoublej = -1;
42840 INT out_FRk = -1;
42841 INT out_FRdoublek = -1;
42842 in_FRi = FLD (in_FRi);
42843 in_FRj = FLD (in_FRj);
42844 out_FRk = FLD (out_FRk);
42845 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
42846 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
42847 if (insn_referenced & (1 << 9)) referenced |= 1 << 4;
42848 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);
42850 return cycles;
42851 #undef FLD
42854 static int
42855 model_fr500_fmad (SIM_CPU *current_cpu, void *sem_arg)
42857 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42858 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42859 const IDESC * UNUSED idesc = abuf->idesc;
42860 int cycles = 0;
42862 int referenced = 0;
42863 int UNUSED insn_referenced = abuf->written;
42864 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
42866 return cycles;
42867 #undef FLD
42870 static int
42871 model_fr500_fmsd (SIM_CPU *current_cpu, void *sem_arg)
42873 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42874 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42875 const IDESC * UNUSED idesc = abuf->idesc;
42876 int cycles = 0;
42878 int referenced = 0;
42879 int UNUSED insn_referenced = abuf->written;
42880 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
42882 return cycles;
42883 #undef FLD
42886 static int
42887 model_fr500_nfmas (SIM_CPU *current_cpu, void *sem_arg)
42889 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42890 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42891 const IDESC * UNUSED idesc = abuf->idesc;
42892 int cycles = 0;
42894 int referenced = 0;
42895 int UNUSED insn_referenced = abuf->written;
42896 INT in_FRi = -1;
42897 INT in_FRj = -1;
42898 INT in_FRdoublei = -1;
42899 INT in_FRdoublej = -1;
42900 INT out_FRk = -1;
42901 INT out_FRdoublek = -1;
42902 in_FRi = FLD (in_FRi);
42903 in_FRj = FLD (in_FRj);
42904 out_FRk = FLD (out_FRk);
42905 referenced |= 1 << 0;
42906 referenced |= 1 << 1;
42907 referenced |= 1 << 4;
42908 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);
42910 return cycles;
42911 #undef FLD
42914 static int
42915 model_fr500_nfmss (SIM_CPU *current_cpu, void *sem_arg)
42917 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42918 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42919 const IDESC * UNUSED idesc = abuf->idesc;
42920 int cycles = 0;
42922 int referenced = 0;
42923 int UNUSED insn_referenced = abuf->written;
42924 INT in_FRi = -1;
42925 INT in_FRj = -1;
42926 INT in_FRdoublei = -1;
42927 INT in_FRdoublej = -1;
42928 INT out_FRk = -1;
42929 INT out_FRdoublek = -1;
42930 in_FRi = FLD (in_FRi);
42931 in_FRj = FLD (in_FRj);
42932 out_FRk = FLD (out_FRk);
42933 referenced |= 1 << 0;
42934 referenced |= 1 << 1;
42935 referenced |= 1 << 4;
42936 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);
42938 return cycles;
42939 #undef FLD
42942 static int
42943 model_fr500_fdadds (SIM_CPU *current_cpu, void *sem_arg)
42945 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42946 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42947 const IDESC * UNUSED idesc = abuf->idesc;
42948 int cycles = 0;
42950 int referenced = 0;
42951 int UNUSED insn_referenced = abuf->written;
42952 INT in_FRi = -1;
42953 INT in_FRj = -1;
42954 INT in_FRdoublei = -1;
42955 INT in_FRdoublej = -1;
42956 INT out_FRk = -1;
42957 INT out_FRdoublek = -1;
42958 in_FRi = FLD (in_FRi);
42959 in_FRj = FLD (in_FRj);
42960 out_FRk = FLD (out_FRk);
42961 referenced |= 1 << 0;
42962 referenced |= 1 << 1;
42963 referenced |= 1 << 4;
42964 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);
42966 return cycles;
42967 #undef FLD
42970 static int
42971 model_fr500_fdsubs (SIM_CPU *current_cpu, void *sem_arg)
42973 #define FLD(f) abuf->fields.sfmt_fdmadds.f
42974 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
42975 const IDESC * UNUSED idesc = abuf->idesc;
42976 int cycles = 0;
42978 int referenced = 0;
42979 int UNUSED insn_referenced = abuf->written;
42980 INT in_FRi = -1;
42981 INT in_FRj = -1;
42982 INT in_FRdoublei = -1;
42983 INT in_FRdoublej = -1;
42984 INT out_FRk = -1;
42985 INT out_FRdoublek = -1;
42986 in_FRi = FLD (in_FRi);
42987 in_FRj = FLD (in_FRj);
42988 out_FRk = FLD (out_FRk);
42989 referenced |= 1 << 0;
42990 referenced |= 1 << 1;
42991 referenced |= 1 << 4;
42992 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);
42994 return cycles;
42995 #undef FLD
42998 static int
42999 model_fr500_fdmuls (SIM_CPU *current_cpu, void *sem_arg)
43001 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43002 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43003 const IDESC * UNUSED idesc = abuf->idesc;
43004 int cycles = 0;
43006 int referenced = 0;
43007 int UNUSED insn_referenced = abuf->written;
43008 INT in_FRi = -1;
43009 INT in_FRj = -1;
43010 INT in_FRdoublei = -1;
43011 INT in_FRdoublej = -1;
43012 INT out_FRk = -1;
43013 INT out_FRdoublek = -1;
43014 in_FRi = FLD (in_FRi);
43015 in_FRj = FLD (in_FRj);
43016 out_FRk = FLD (out_FRk);
43017 referenced |= 1 << 0;
43018 referenced |= 1 << 1;
43019 referenced |= 1 << 4;
43020 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);
43022 return cycles;
43023 #undef FLD
43026 static int
43027 model_fr500_fddivs (SIM_CPU *current_cpu, void *sem_arg)
43029 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43030 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43031 const IDESC * UNUSED idesc = abuf->idesc;
43032 int cycles = 0;
43034 int referenced = 0;
43035 int UNUSED insn_referenced = abuf->written;
43036 INT in_FRi = -1;
43037 INT in_FRj = -1;
43038 INT in_FRdoublei = -1;
43039 INT in_FRdoublej = -1;
43040 INT out_FRk = -1;
43041 INT out_FRdoublek = -1;
43042 in_FRi = FLD (in_FRi);
43043 in_FRj = FLD (in_FRj);
43044 out_FRk = FLD (out_FRk);
43045 referenced |= 1 << 0;
43046 referenced |= 1 << 1;
43047 referenced |= 1 << 4;
43048 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);
43050 return cycles;
43051 #undef FLD
43054 static int
43055 model_fr500_fdsads (SIM_CPU *current_cpu, void *sem_arg)
43057 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43058 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43059 const IDESC * UNUSED idesc = abuf->idesc;
43060 int cycles = 0;
43062 int referenced = 0;
43063 int UNUSED insn_referenced = abuf->written;
43064 INT in_FRi = -1;
43065 INT in_FRj = -1;
43066 INT in_FRdoublei = -1;
43067 INT in_FRdoublej = -1;
43068 INT out_FRk = -1;
43069 INT out_FRdoublek = -1;
43070 in_FRi = FLD (in_FRi);
43071 in_FRj = FLD (in_FRj);
43072 out_FRk = FLD (out_FRk);
43073 referenced |= 1 << 0;
43074 referenced |= 1 << 1;
43075 referenced |= 1 << 4;
43076 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);
43078 return cycles;
43079 #undef FLD
43082 static int
43083 model_fr500_fdmulcs (SIM_CPU *current_cpu, void *sem_arg)
43085 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43086 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43087 const IDESC * UNUSED idesc = abuf->idesc;
43088 int cycles = 0;
43090 int referenced = 0;
43091 int UNUSED insn_referenced = abuf->written;
43092 INT in_FRi = -1;
43093 INT in_FRj = -1;
43094 INT in_FRdoublei = -1;
43095 INT in_FRdoublej = -1;
43096 INT out_FRk = -1;
43097 INT out_FRdoublek = -1;
43098 in_FRi = FLD (in_FRi);
43099 in_FRj = FLD (in_FRj);
43100 out_FRk = FLD (out_FRk);
43101 referenced |= 1 << 0;
43102 referenced |= 1 << 1;
43103 referenced |= 1 << 4;
43104 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);
43106 return cycles;
43107 #undef FLD
43110 static int
43111 model_fr500_nfdmulcs (SIM_CPU *current_cpu, void *sem_arg)
43113 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43114 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43115 const IDESC * UNUSED idesc = abuf->idesc;
43116 int cycles = 0;
43118 int referenced = 0;
43119 int UNUSED insn_referenced = abuf->written;
43120 INT in_FRi = -1;
43121 INT in_FRj = -1;
43122 INT in_FRdoublei = -1;
43123 INT in_FRdoublej = -1;
43124 INT out_FRk = -1;
43125 INT out_FRdoublek = -1;
43126 in_FRi = FLD (in_FRi);
43127 in_FRj = FLD (in_FRj);
43128 out_FRk = FLD (out_FRk);
43129 referenced |= 1 << 0;
43130 referenced |= 1 << 1;
43131 referenced |= 1 << 4;
43132 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);
43134 return cycles;
43135 #undef FLD
43138 static int
43139 model_fr500_nfdadds (SIM_CPU *current_cpu, void *sem_arg)
43141 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43142 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43143 const IDESC * UNUSED idesc = abuf->idesc;
43144 int cycles = 0;
43146 int referenced = 0;
43147 int UNUSED insn_referenced = abuf->written;
43148 INT in_FRi = -1;
43149 INT in_FRj = -1;
43150 INT in_FRdoublei = -1;
43151 INT in_FRdoublej = -1;
43152 INT out_FRk = -1;
43153 INT out_FRdoublek = -1;
43154 in_FRi = FLD (in_FRi);
43155 in_FRj = FLD (in_FRj);
43156 out_FRk = FLD (out_FRk);
43157 referenced |= 1 << 0;
43158 referenced |= 1 << 1;
43159 referenced |= 1 << 4;
43160 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);
43162 return cycles;
43163 #undef FLD
43166 static int
43167 model_fr500_nfdsubs (SIM_CPU *current_cpu, void *sem_arg)
43169 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43170 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43171 const IDESC * UNUSED idesc = abuf->idesc;
43172 int cycles = 0;
43174 int referenced = 0;
43175 int UNUSED insn_referenced = abuf->written;
43176 INT in_FRi = -1;
43177 INT in_FRj = -1;
43178 INT in_FRdoublei = -1;
43179 INT in_FRdoublej = -1;
43180 INT out_FRk = -1;
43181 INT out_FRdoublek = -1;
43182 in_FRi = FLD (in_FRi);
43183 in_FRj = FLD (in_FRj);
43184 out_FRk = FLD (out_FRk);
43185 referenced |= 1 << 0;
43186 referenced |= 1 << 1;
43187 referenced |= 1 << 4;
43188 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);
43190 return cycles;
43191 #undef FLD
43194 static int
43195 model_fr500_nfdmuls (SIM_CPU *current_cpu, void *sem_arg)
43197 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43198 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43199 const IDESC * UNUSED idesc = abuf->idesc;
43200 int cycles = 0;
43202 int referenced = 0;
43203 int UNUSED insn_referenced = abuf->written;
43204 INT in_FRi = -1;
43205 INT in_FRj = -1;
43206 INT in_FRdoublei = -1;
43207 INT in_FRdoublej = -1;
43208 INT out_FRk = -1;
43209 INT out_FRdoublek = -1;
43210 in_FRi = FLD (in_FRi);
43211 in_FRj = FLD (in_FRj);
43212 out_FRk = FLD (out_FRk);
43213 referenced |= 1 << 0;
43214 referenced |= 1 << 1;
43215 referenced |= 1 << 4;
43216 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);
43218 return cycles;
43219 #undef FLD
43222 static int
43223 model_fr500_nfddivs (SIM_CPU *current_cpu, void *sem_arg)
43225 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43226 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43227 const IDESC * UNUSED idesc = abuf->idesc;
43228 int cycles = 0;
43230 int referenced = 0;
43231 int UNUSED insn_referenced = abuf->written;
43232 INT in_FRi = -1;
43233 INT in_FRj = -1;
43234 INT in_FRdoublei = -1;
43235 INT in_FRdoublej = -1;
43236 INT out_FRk = -1;
43237 INT out_FRdoublek = -1;
43238 in_FRi = FLD (in_FRi);
43239 in_FRj = FLD (in_FRj);
43240 out_FRk = FLD (out_FRk);
43241 referenced |= 1 << 0;
43242 referenced |= 1 << 1;
43243 referenced |= 1 << 4;
43244 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);
43246 return cycles;
43247 #undef FLD
43250 static int
43251 model_fr500_nfdsads (SIM_CPU *current_cpu, void *sem_arg)
43253 #define FLD(f) abuf->fields.sfmt_fdmadds.f
43254 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43255 const IDESC * UNUSED idesc = abuf->idesc;
43256 int cycles = 0;
43258 int referenced = 0;
43259 int UNUSED insn_referenced = abuf->written;
43260 INT in_FRi = -1;
43261 INT in_FRj = -1;
43262 INT in_FRdoublei = -1;
43263 INT in_FRdoublej = -1;
43264 INT out_FRk = -1;
43265 INT out_FRdoublek = -1;
43266 in_FRi = FLD (in_FRi);
43267 in_FRj = FLD (in_FRj);
43268 out_FRk = FLD (out_FRk);
43269 referenced |= 1 << 0;
43270 referenced |= 1 << 1;
43271 referenced |= 1 << 4;
43272 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);
43274 return cycles;
43275 #undef FLD
43278 static int
43279 model_fr500_nfdcmps (SIM_CPU *current_cpu, void *sem_arg)
43281 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
43282 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43283 const IDESC * UNUSED idesc = abuf->idesc;
43284 int cycles = 0;
43286 int referenced = 0;
43287 int UNUSED insn_referenced = abuf->written;
43288 INT in_FRi = -1;
43289 INT in_FRj = -1;
43290 INT out_FCCi_2 = -1;
43291 in_FRi = FLD (in_FRi);
43292 in_FRj = FLD (in_FRj);
43293 out_FCCi_2 = FLD (out_FCCi_2);
43294 referenced |= 1 << 0;
43295 referenced |= 1 << 1;
43296 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
43297 cycles += frvbf_model_fr500_u_float_dual_compare (current_cpu, idesc, 0, referenced, in_FRi, in_FRj, out_FCCi_2);
43299 return cycles;
43300 #undef FLD
43303 static int
43304 model_fr500_mhsetlos (SIM_CPU *current_cpu, void *sem_arg)
43306 #define FLD(f) abuf->fields.sfmt_mhsetlos.f
43307 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43308 const IDESC * UNUSED idesc = abuf->idesc;
43309 int cycles = 0;
43311 int referenced = 0;
43312 int UNUSED insn_referenced = abuf->written;
43313 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
43315 return cycles;
43316 #undef FLD
43319 static int
43320 model_fr500_mhsethis (SIM_CPU *current_cpu, void *sem_arg)
43322 #define FLD(f) abuf->fields.sfmt_mhsethis.f
43323 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43324 const IDESC * UNUSED idesc = abuf->idesc;
43325 int cycles = 0;
43327 int referenced = 0;
43328 int UNUSED insn_referenced = abuf->written;
43329 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
43331 return cycles;
43332 #undef FLD
43335 static int
43336 model_fr500_mhdsets (SIM_CPU *current_cpu, void *sem_arg)
43338 #define FLD(f) abuf->fields.sfmt_mhdsets.f
43339 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43340 const IDESC * UNUSED idesc = abuf->idesc;
43341 int cycles = 0;
43343 int referenced = 0;
43344 int UNUSED insn_referenced = abuf->written;
43345 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
43347 return cycles;
43348 #undef FLD
43351 static int
43352 model_fr500_mhsetloh (SIM_CPU *current_cpu, void *sem_arg)
43354 #define FLD(f) abuf->fields.sfmt_mhsetloh.f
43355 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43356 const IDESC * UNUSED idesc = abuf->idesc;
43357 int cycles = 0;
43359 int referenced = 0;
43360 int UNUSED insn_referenced = abuf->written;
43361 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
43363 return cycles;
43364 #undef FLD
43367 static int
43368 model_fr500_mhsethih (SIM_CPU *current_cpu, void *sem_arg)
43370 #define FLD(f) abuf->fields.sfmt_mhsethih.f
43371 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43372 const IDESC * UNUSED idesc = abuf->idesc;
43373 int cycles = 0;
43375 int referenced = 0;
43376 int UNUSED insn_referenced = abuf->written;
43377 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
43379 return cycles;
43380 #undef FLD
43383 static int
43384 model_fr500_mhdseth (SIM_CPU *current_cpu, void *sem_arg)
43386 #define FLD(f) abuf->fields.sfmt_mhdseth.f
43387 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43388 const IDESC * UNUSED idesc = abuf->idesc;
43389 int cycles = 0;
43391 int referenced = 0;
43392 int UNUSED insn_referenced = abuf->written;
43393 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
43395 return cycles;
43396 #undef FLD
43399 static int
43400 model_fr500_mand (SIM_CPU *current_cpu, void *sem_arg)
43402 #define FLD(f) abuf->fields.sfmt_mwcut.f
43403 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43404 const IDESC * UNUSED idesc = abuf->idesc;
43405 int cycles = 0;
43407 int referenced = 0;
43408 int UNUSED insn_referenced = abuf->written;
43409 INT in_FRinti = -1;
43410 INT in_FRintj = -1;
43411 INT in_ACC40Si = -1;
43412 INT in_ACCGi = -1;
43413 INT out_FRintk = -1;
43414 INT out_ACC40Sk = -1;
43415 INT out_ACC40Uk = -1;
43416 INT out_ACCGk = -1;
43417 in_FRinti = FLD (in_FRinti);
43418 in_FRintj = FLD (in_FRintj);
43419 out_FRintk = FLD (out_FRintk);
43420 referenced |= 1 << 0;
43421 referenced |= 1 << 1;
43422 referenced |= 1 << 4;
43423 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);
43425 return cycles;
43426 #undef FLD
43429 static int
43430 model_fr500_mor (SIM_CPU *current_cpu, void *sem_arg)
43432 #define FLD(f) abuf->fields.sfmt_mwcut.f
43433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43434 const IDESC * UNUSED idesc = abuf->idesc;
43435 int cycles = 0;
43437 int referenced = 0;
43438 int UNUSED insn_referenced = abuf->written;
43439 INT in_FRinti = -1;
43440 INT in_FRintj = -1;
43441 INT in_ACC40Si = -1;
43442 INT in_ACCGi = -1;
43443 INT out_FRintk = -1;
43444 INT out_ACC40Sk = -1;
43445 INT out_ACC40Uk = -1;
43446 INT out_ACCGk = -1;
43447 in_FRinti = FLD (in_FRinti);
43448 in_FRintj = FLD (in_FRintj);
43449 out_FRintk = FLD (out_FRintk);
43450 referenced |= 1 << 0;
43451 referenced |= 1 << 1;
43452 referenced |= 1 << 4;
43453 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);
43455 return cycles;
43456 #undef FLD
43459 static int
43460 model_fr500_mxor (SIM_CPU *current_cpu, void *sem_arg)
43462 #define FLD(f) abuf->fields.sfmt_mwcut.f
43463 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43464 const IDESC * UNUSED idesc = abuf->idesc;
43465 int cycles = 0;
43467 int referenced = 0;
43468 int UNUSED insn_referenced = abuf->written;
43469 INT in_FRinti = -1;
43470 INT in_FRintj = -1;
43471 INT in_ACC40Si = -1;
43472 INT in_ACCGi = -1;
43473 INT out_FRintk = -1;
43474 INT out_ACC40Sk = -1;
43475 INT out_ACC40Uk = -1;
43476 INT out_ACCGk = -1;
43477 in_FRinti = FLD (in_FRinti);
43478 in_FRintj = FLD (in_FRintj);
43479 out_FRintk = FLD (out_FRintk);
43480 referenced |= 1 << 0;
43481 referenced |= 1 << 1;
43482 referenced |= 1 << 4;
43483 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);
43485 return cycles;
43486 #undef FLD
43489 static int
43490 model_fr500_cmand (SIM_CPU *current_cpu, void *sem_arg)
43492 #define FLD(f) abuf->fields.sfmt_cmand.f
43493 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43494 const IDESC * UNUSED idesc = abuf->idesc;
43495 int cycles = 0;
43497 int referenced = 0;
43498 int UNUSED insn_referenced = abuf->written;
43499 INT in_FRinti = -1;
43500 INT in_FRintj = -1;
43501 INT in_ACC40Si = -1;
43502 INT in_ACCGi = -1;
43503 INT out_FRintk = -1;
43504 INT out_ACC40Sk = -1;
43505 INT out_ACC40Uk = -1;
43506 INT out_ACCGk = -1;
43507 in_FRinti = FLD (in_FRinti);
43508 in_FRintj = FLD (in_FRintj);
43509 out_FRintk = FLD (out_FRintk);
43510 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
43511 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
43512 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
43513 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);
43515 return cycles;
43516 #undef FLD
43519 static int
43520 model_fr500_cmor (SIM_CPU *current_cpu, void *sem_arg)
43522 #define FLD(f) abuf->fields.sfmt_cmand.f
43523 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43524 const IDESC * UNUSED idesc = abuf->idesc;
43525 int cycles = 0;
43527 int referenced = 0;
43528 int UNUSED insn_referenced = abuf->written;
43529 INT in_FRinti = -1;
43530 INT in_FRintj = -1;
43531 INT in_ACC40Si = -1;
43532 INT in_ACCGi = -1;
43533 INT out_FRintk = -1;
43534 INT out_ACC40Sk = -1;
43535 INT out_ACC40Uk = -1;
43536 INT out_ACCGk = -1;
43537 in_FRinti = FLD (in_FRinti);
43538 in_FRintj = FLD (in_FRintj);
43539 out_FRintk = FLD (out_FRintk);
43540 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
43541 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
43542 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
43543 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);
43545 return cycles;
43546 #undef FLD
43549 static int
43550 model_fr500_cmxor (SIM_CPU *current_cpu, void *sem_arg)
43552 #define FLD(f) abuf->fields.sfmt_cmand.f
43553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43554 const IDESC * UNUSED idesc = abuf->idesc;
43555 int cycles = 0;
43557 int referenced = 0;
43558 int UNUSED insn_referenced = abuf->written;
43559 INT in_FRinti = -1;
43560 INT in_FRintj = -1;
43561 INT in_ACC40Si = -1;
43562 INT in_ACCGi = -1;
43563 INT out_FRintk = -1;
43564 INT out_ACC40Sk = -1;
43565 INT out_ACC40Uk = -1;
43566 INT out_ACCGk = -1;
43567 in_FRinti = FLD (in_FRinti);
43568 in_FRintj = FLD (in_FRintj);
43569 out_FRintk = FLD (out_FRintk);
43570 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
43571 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
43572 if (insn_referenced & (1 << 4)) referenced |= 1 << 4;
43573 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);
43575 return cycles;
43576 #undef FLD
43579 static int
43580 model_fr500_mnot (SIM_CPU *current_cpu, void *sem_arg)
43582 #define FLD(f) abuf->fields.sfmt_mcut.f
43583 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43584 const IDESC * UNUSED idesc = abuf->idesc;
43585 int cycles = 0;
43587 int referenced = 0;
43588 int UNUSED insn_referenced = abuf->written;
43589 INT in_FRinti = -1;
43590 INT in_FRintj = -1;
43591 INT in_ACC40Si = -1;
43592 INT in_ACCGi = -1;
43593 INT out_FRintk = -1;
43594 INT out_ACC40Sk = -1;
43595 INT out_ACC40Uk = -1;
43596 INT out_ACCGk = -1;
43597 in_FRintj = FLD (in_FRintj);
43598 out_FRintk = FLD (out_FRintk);
43599 referenced |= 1 << 1;
43600 referenced |= 1 << 4;
43601 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);
43603 return cycles;
43604 #undef FLD
43607 static int
43608 model_fr500_cmnot (SIM_CPU *current_cpu, void *sem_arg)
43610 #define FLD(f) abuf->fields.sfmt_cmand.f
43611 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43612 const IDESC * UNUSED idesc = abuf->idesc;
43613 int cycles = 0;
43615 int referenced = 0;
43616 int UNUSED insn_referenced = abuf->written;
43617 INT in_FRinti = -1;
43618 INT in_FRintj = -1;
43619 INT in_ACC40Si = -1;
43620 INT in_ACCGi = -1;
43621 INT out_FRintk = -1;
43622 INT out_ACC40Sk = -1;
43623 INT out_ACC40Uk = -1;
43624 INT out_ACCGk = -1;
43625 in_FRintj = FLD (in_FRintj);
43626 out_FRintk = FLD (out_FRintk);
43627 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
43628 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
43629 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);
43631 return cycles;
43632 #undef FLD
43635 static int
43636 model_fr500_mrotli (SIM_CPU *current_cpu, void *sem_arg)
43638 #define FLD(f) abuf->fields.sfmt_mwcuti.f
43639 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43640 const IDESC * UNUSED idesc = abuf->idesc;
43641 int cycles = 0;
43643 int referenced = 0;
43644 int UNUSED insn_referenced = abuf->written;
43645 INT in_FRinti = -1;
43646 INT in_FRintj = -1;
43647 INT in_ACC40Si = -1;
43648 INT in_ACCGi = -1;
43649 INT out_FRintk = -1;
43650 INT out_ACC40Sk = -1;
43651 INT out_ACC40Uk = -1;
43652 INT out_ACCGk = -1;
43653 in_FRinti = FLD (in_FRinti);
43654 out_FRintk = FLD (out_FRintk);
43655 referenced |= 1 << 0;
43656 referenced |= 1 << 4;
43657 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);
43659 return cycles;
43660 #undef FLD
43663 static int
43664 model_fr500_mrotri (SIM_CPU *current_cpu, void *sem_arg)
43666 #define FLD(f) abuf->fields.sfmt_mwcuti.f
43667 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43668 const IDESC * UNUSED idesc = abuf->idesc;
43669 int cycles = 0;
43671 int referenced = 0;
43672 int UNUSED insn_referenced = abuf->written;
43673 INT in_FRinti = -1;
43674 INT in_FRintj = -1;
43675 INT in_ACC40Si = -1;
43676 INT in_ACCGi = -1;
43677 INT out_FRintk = -1;
43678 INT out_ACC40Sk = -1;
43679 INT out_ACC40Uk = -1;
43680 INT out_ACCGk = -1;
43681 in_FRinti = FLD (in_FRinti);
43682 out_FRintk = FLD (out_FRintk);
43683 referenced |= 1 << 0;
43684 referenced |= 1 << 4;
43685 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);
43687 return cycles;
43688 #undef FLD
43691 static int
43692 model_fr500_mwcut (SIM_CPU *current_cpu, void *sem_arg)
43694 #define FLD(f) abuf->fields.sfmt_mwcut.f
43695 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43696 const IDESC * UNUSED idesc = abuf->idesc;
43697 int cycles = 0;
43699 int referenced = 0;
43700 int UNUSED insn_referenced = abuf->written;
43701 INT in_FRinti = -1;
43702 INT in_FRintj = -1;
43703 INT in_ACC40Si = -1;
43704 INT in_ACCGi = -1;
43705 INT out_FRintk = -1;
43706 INT out_ACC40Sk = -1;
43707 INT out_ACC40Uk = -1;
43708 INT out_ACCGk = -1;
43709 in_FRinti = FLD (in_FRinti);
43710 in_FRintj = FLD (in_FRintj);
43711 out_FRintk = FLD (out_FRintk);
43712 referenced |= 1 << 0;
43713 referenced |= 1 << 1;
43714 referenced |= 1 << 4;
43715 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);
43717 return cycles;
43718 #undef FLD
43721 static int
43722 model_fr500_mwcuti (SIM_CPU *current_cpu, void *sem_arg)
43724 #define FLD(f) abuf->fields.sfmt_mwcuti.f
43725 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43726 const IDESC * UNUSED idesc = abuf->idesc;
43727 int cycles = 0;
43729 int referenced = 0;
43730 int UNUSED insn_referenced = abuf->written;
43731 INT in_FRinti = -1;
43732 INT in_FRintj = -1;
43733 INT in_ACC40Si = -1;
43734 INT in_ACCGi = -1;
43735 INT out_FRintk = -1;
43736 INT out_ACC40Sk = -1;
43737 INT out_ACC40Uk = -1;
43738 INT out_ACCGk = -1;
43739 in_FRinti = FLD (in_FRinti);
43740 out_FRintk = FLD (out_FRintk);
43741 referenced |= 1 << 0;
43742 referenced |= 1 << 4;
43743 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);
43745 return cycles;
43746 #undef FLD
43749 static int
43750 model_fr500_mcut (SIM_CPU *current_cpu, void *sem_arg)
43752 #define FLD(f) abuf->fields.sfmt_mcut.f
43753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43754 const IDESC * UNUSED idesc = abuf->idesc;
43755 int cycles = 0;
43757 int referenced = 0;
43758 int UNUSED insn_referenced = abuf->written;
43759 INT in_FRinti = -1;
43760 INT in_FRintj = -1;
43761 INT in_ACC40Si = -1;
43762 INT in_ACCGi = -1;
43763 INT out_FRintk = -1;
43764 INT out_ACC40Sk = -1;
43765 INT out_ACC40Uk = -1;
43766 INT out_ACCGk = -1;
43767 in_FRintj = FLD (in_FRintj);
43768 in_ACC40Si = FLD (in_ACC40Si);
43769 out_FRintk = FLD (out_FRintk);
43770 referenced |= 1 << 1;
43771 referenced |= 1 << 2;
43772 referenced |= 1 << 4;
43773 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);
43775 return cycles;
43776 #undef FLD
43779 static int
43780 model_fr500_mcuti (SIM_CPU *current_cpu, void *sem_arg)
43782 #define FLD(f) abuf->fields.sfmt_mcuti.f
43783 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43784 const IDESC * UNUSED idesc = abuf->idesc;
43785 int cycles = 0;
43787 int referenced = 0;
43788 int UNUSED insn_referenced = abuf->written;
43789 INT in_FRinti = -1;
43790 INT in_FRintj = -1;
43791 INT in_ACC40Si = -1;
43792 INT in_ACCGi = -1;
43793 INT out_FRintk = -1;
43794 INT out_ACC40Sk = -1;
43795 INT out_ACC40Uk = -1;
43796 INT out_ACCGk = -1;
43797 in_ACC40Si = FLD (in_ACC40Si);
43798 out_FRintk = FLD (out_FRintk);
43799 referenced |= 1 << 2;
43800 referenced |= 1 << 4;
43801 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);
43803 return cycles;
43804 #undef FLD
43807 static int
43808 model_fr500_mcutss (SIM_CPU *current_cpu, void *sem_arg)
43810 #define FLD(f) abuf->fields.sfmt_mcut.f
43811 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43812 const IDESC * UNUSED idesc = abuf->idesc;
43813 int cycles = 0;
43815 int referenced = 0;
43816 int UNUSED insn_referenced = abuf->written;
43817 INT in_FRinti = -1;
43818 INT in_FRintj = -1;
43819 INT in_ACC40Si = -1;
43820 INT in_ACCGi = -1;
43821 INT out_FRintk = -1;
43822 INT out_ACC40Sk = -1;
43823 INT out_ACC40Uk = -1;
43824 INT out_ACCGk = -1;
43825 in_FRintj = FLD (in_FRintj);
43826 in_ACC40Si = FLD (in_ACC40Si);
43827 out_FRintk = FLD (out_FRintk);
43828 referenced |= 1 << 1;
43829 referenced |= 1 << 2;
43830 referenced |= 1 << 4;
43831 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);
43833 return cycles;
43834 #undef FLD
43837 static int
43838 model_fr500_mcutssi (SIM_CPU *current_cpu, void *sem_arg)
43840 #define FLD(f) abuf->fields.sfmt_mcuti.f
43841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43842 const IDESC * UNUSED idesc = abuf->idesc;
43843 int cycles = 0;
43845 int referenced = 0;
43846 int UNUSED insn_referenced = abuf->written;
43847 INT in_FRinti = -1;
43848 INT in_FRintj = -1;
43849 INT in_ACC40Si = -1;
43850 INT in_ACCGi = -1;
43851 INT out_FRintk = -1;
43852 INT out_ACC40Sk = -1;
43853 INT out_ACC40Uk = -1;
43854 INT out_ACCGk = -1;
43855 in_ACC40Si = FLD (in_ACC40Si);
43856 out_FRintk = FLD (out_FRintk);
43857 referenced |= 1 << 2;
43858 referenced |= 1 << 4;
43859 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);
43861 return cycles;
43862 #undef FLD
43865 static int
43866 model_fr500_mdcutssi (SIM_CPU *current_cpu, void *sem_arg)
43868 #define FLD(f) abuf->fields.sfmt_mdcutssi.f
43869 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43870 const IDESC * UNUSED idesc = abuf->idesc;
43871 int cycles = 0;
43873 int referenced = 0;
43874 int UNUSED insn_referenced = abuf->written;
43875 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
43877 return cycles;
43878 #undef FLD
43881 static int
43882 model_fr500_maveh (SIM_CPU *current_cpu, void *sem_arg)
43884 #define FLD(f) abuf->fields.sfmt_mwcut.f
43885 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43886 const IDESC * UNUSED idesc = abuf->idesc;
43887 int cycles = 0;
43889 int referenced = 0;
43890 int UNUSED insn_referenced = abuf->written;
43891 INT in_FRinti = -1;
43892 INT in_FRintj = -1;
43893 INT in_ACC40Si = -1;
43894 INT in_ACCGi = -1;
43895 INT out_FRintk = -1;
43896 INT out_ACC40Sk = -1;
43897 INT out_ACC40Uk = -1;
43898 INT out_ACCGk = -1;
43899 in_FRinti = FLD (in_FRinti);
43900 in_FRintj = FLD (in_FRintj);
43901 out_FRintk = FLD (out_FRintk);
43902 referenced |= 1 << 0;
43903 referenced |= 1 << 1;
43904 referenced |= 1 << 4;
43905 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);
43907 return cycles;
43908 #undef FLD
43911 static int
43912 model_fr500_msllhi (SIM_CPU *current_cpu, void *sem_arg)
43914 #define FLD(f) abuf->fields.sfmt_msllhi.f
43915 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43916 const IDESC * UNUSED idesc = abuf->idesc;
43917 int cycles = 0;
43919 int referenced = 0;
43920 int UNUSED insn_referenced = abuf->written;
43921 INT in_FRinti = -1;
43922 INT in_FRintj = -1;
43923 INT in_ACC40Si = -1;
43924 INT in_ACCGi = -1;
43925 INT out_FRintk = -1;
43926 INT out_ACC40Sk = -1;
43927 INT out_ACC40Uk = -1;
43928 INT out_ACCGk = -1;
43929 in_FRinti = FLD (in_FRinti);
43930 out_FRintk = FLD (out_FRintk);
43931 referenced |= 1 << 0;
43932 referenced |= 1 << 4;
43933 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);
43935 return cycles;
43936 #undef FLD
43939 static int
43940 model_fr500_msrlhi (SIM_CPU *current_cpu, void *sem_arg)
43942 #define FLD(f) abuf->fields.sfmt_msllhi.f
43943 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43944 const IDESC * UNUSED idesc = abuf->idesc;
43945 int cycles = 0;
43947 int referenced = 0;
43948 int UNUSED insn_referenced = abuf->written;
43949 INT in_FRinti = -1;
43950 INT in_FRintj = -1;
43951 INT in_ACC40Si = -1;
43952 INT in_ACCGi = -1;
43953 INT out_FRintk = -1;
43954 INT out_ACC40Sk = -1;
43955 INT out_ACC40Uk = -1;
43956 INT out_ACCGk = -1;
43957 in_FRinti = FLD (in_FRinti);
43958 out_FRintk = FLD (out_FRintk);
43959 referenced |= 1 << 0;
43960 referenced |= 1 << 4;
43961 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);
43963 return cycles;
43964 #undef FLD
43967 static int
43968 model_fr500_msrahi (SIM_CPU *current_cpu, void *sem_arg)
43970 #define FLD(f) abuf->fields.sfmt_msllhi.f
43971 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
43972 const IDESC * UNUSED idesc = abuf->idesc;
43973 int cycles = 0;
43975 int referenced = 0;
43976 int UNUSED insn_referenced = abuf->written;
43977 INT in_FRinti = -1;
43978 INT in_FRintj = -1;
43979 INT in_ACC40Si = -1;
43980 INT in_ACCGi = -1;
43981 INT out_FRintk = -1;
43982 INT out_ACC40Sk = -1;
43983 INT out_ACC40Uk = -1;
43984 INT out_ACCGk = -1;
43985 in_FRinti = FLD (in_FRinti);
43986 out_FRintk = FLD (out_FRintk);
43987 referenced |= 1 << 0;
43988 referenced |= 1 << 4;
43989 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);
43991 return cycles;
43992 #undef FLD
43995 static int
43996 model_fr500_mdrotli (SIM_CPU *current_cpu, void *sem_arg)
43998 #define FLD(f) abuf->fields.sfmt_mdrotli.f
43999 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44000 const IDESC * UNUSED idesc = abuf->idesc;
44001 int cycles = 0;
44003 int referenced = 0;
44004 int UNUSED insn_referenced = abuf->written;
44005 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44007 return cycles;
44008 #undef FLD
44011 static int
44012 model_fr500_mcplhi (SIM_CPU *current_cpu, void *sem_arg)
44014 #define FLD(f) abuf->fields.sfmt_mcplhi.f
44015 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44016 const IDESC * UNUSED idesc = abuf->idesc;
44017 int cycles = 0;
44019 int referenced = 0;
44020 int UNUSED insn_referenced = abuf->written;
44021 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44023 return cycles;
44024 #undef FLD
44027 static int
44028 model_fr500_mcpli (SIM_CPU *current_cpu, void *sem_arg)
44030 #define FLD(f) abuf->fields.sfmt_mwcuti.f
44031 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44032 const IDESC * UNUSED idesc = abuf->idesc;
44033 int cycles = 0;
44035 int referenced = 0;
44036 int UNUSED insn_referenced = abuf->written;
44037 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44039 return cycles;
44040 #undef FLD
44043 static int
44044 model_fr500_msaths (SIM_CPU *current_cpu, void *sem_arg)
44046 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44047 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44048 const IDESC * UNUSED idesc = abuf->idesc;
44049 int cycles = 0;
44051 int referenced = 0;
44052 int UNUSED insn_referenced = abuf->written;
44053 INT in_FRinti = -1;
44054 INT in_FRintj = -1;
44055 INT in_ACC40Si = -1;
44056 INT in_ACCGi = -1;
44057 INT out_FRintk = -1;
44058 INT out_ACC40Sk = -1;
44059 INT out_ACC40Uk = -1;
44060 INT out_ACCGk = -1;
44061 in_FRinti = FLD (in_FRinti);
44062 in_FRintj = FLD (in_FRintj);
44063 referenced |= 1 << 0;
44064 referenced |= 1 << 1;
44065 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);
44067 return cycles;
44068 #undef FLD
44071 static int
44072 model_fr500_mqsaths (SIM_CPU *current_cpu, void *sem_arg)
44074 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44075 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44076 const IDESC * UNUSED idesc = abuf->idesc;
44077 int cycles = 0;
44079 int referenced = 0;
44080 int UNUSED insn_referenced = abuf->written;
44081 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44083 return cycles;
44084 #undef FLD
44087 static int
44088 model_fr500_msathu (SIM_CPU *current_cpu, void *sem_arg)
44090 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44091 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44092 const IDESC * UNUSED idesc = abuf->idesc;
44093 int cycles = 0;
44095 int referenced = 0;
44096 int UNUSED insn_referenced = abuf->written;
44097 INT in_FRinti = -1;
44098 INT in_FRintj = -1;
44099 INT in_ACC40Si = -1;
44100 INT in_ACCGi = -1;
44101 INT out_FRintk = -1;
44102 INT out_ACC40Sk = -1;
44103 INT out_ACC40Uk = -1;
44104 INT out_ACCGk = -1;
44105 in_FRinti = FLD (in_FRinti);
44106 in_FRintj = FLD (in_FRintj);
44107 referenced |= 1 << 0;
44108 referenced |= 1 << 1;
44109 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);
44111 return cycles;
44112 #undef FLD
44115 static int
44116 model_fr500_mcmpsh (SIM_CPU *current_cpu, void *sem_arg)
44118 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
44119 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44120 const IDESC * UNUSED idesc = abuf->idesc;
44121 int cycles = 0;
44123 int referenced = 0;
44124 int UNUSED insn_referenced = abuf->written;
44125 INT in_FRinti = -1;
44126 INT in_FRintj = -1;
44127 INT in_ACC40Si = -1;
44128 INT in_ACCGi = -1;
44129 INT out_FRintk = -1;
44130 INT out_ACC40Sk = -1;
44131 INT out_ACC40Uk = -1;
44132 INT out_ACCGk = -1;
44133 in_FRinti = FLD (in_FRinti);
44134 in_FRintj = FLD (in_FRintj);
44135 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
44136 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
44137 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);
44139 return cycles;
44140 #undef FLD
44143 static int
44144 model_fr500_mcmpuh (SIM_CPU *current_cpu, void *sem_arg)
44146 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
44147 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44148 const IDESC * UNUSED idesc = abuf->idesc;
44149 int cycles = 0;
44151 int referenced = 0;
44152 int UNUSED insn_referenced = abuf->written;
44153 INT in_FRinti = -1;
44154 INT in_FRintj = -1;
44155 INT in_ACC40Si = -1;
44156 INT in_ACCGi = -1;
44157 INT out_FRintk = -1;
44158 INT out_ACC40Sk = -1;
44159 INT out_ACC40Uk = -1;
44160 INT out_ACCGk = -1;
44161 in_FRinti = FLD (in_FRinti);
44162 in_FRintj = FLD (in_FRintj);
44163 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
44164 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
44165 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);
44167 return cycles;
44168 #undef FLD
44171 static int
44172 model_fr500_mabshs (SIM_CPU *current_cpu, void *sem_arg)
44174 #define FLD(f) abuf->fields.sfmt_mabshs.f
44175 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44176 const IDESC * UNUSED idesc = abuf->idesc;
44177 int cycles = 0;
44179 int referenced = 0;
44180 int UNUSED insn_referenced = abuf->written;
44181 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44183 return cycles;
44184 #undef FLD
44187 static int
44188 model_fr500_maddhss (SIM_CPU *current_cpu, void *sem_arg)
44190 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44191 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44192 const IDESC * UNUSED idesc = abuf->idesc;
44193 int cycles = 0;
44195 int referenced = 0;
44196 int UNUSED insn_referenced = abuf->written;
44197 INT in_FRinti = -1;
44198 INT in_FRintj = -1;
44199 INT in_ACC40Si = -1;
44200 INT in_ACCGi = -1;
44201 INT out_FRintk = -1;
44202 INT out_ACC40Sk = -1;
44203 INT out_ACC40Uk = -1;
44204 INT out_ACCGk = -1;
44205 in_FRinti = FLD (in_FRinti);
44206 in_FRintj = FLD (in_FRintj);
44207 referenced |= 1 << 0;
44208 referenced |= 1 << 1;
44209 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);
44211 return cycles;
44212 #undef FLD
44215 static int
44216 model_fr500_maddhus (SIM_CPU *current_cpu, void *sem_arg)
44218 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44219 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44220 const IDESC * UNUSED idesc = abuf->idesc;
44221 int cycles = 0;
44223 int referenced = 0;
44224 int UNUSED insn_referenced = abuf->written;
44225 INT in_FRinti = -1;
44226 INT in_FRintj = -1;
44227 INT in_ACC40Si = -1;
44228 INT in_ACCGi = -1;
44229 INT out_FRintk = -1;
44230 INT out_ACC40Sk = -1;
44231 INT out_ACC40Uk = -1;
44232 INT out_ACCGk = -1;
44233 in_FRinti = FLD (in_FRinti);
44234 in_FRintj = FLD (in_FRintj);
44235 referenced |= 1 << 0;
44236 referenced |= 1 << 1;
44237 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);
44239 return cycles;
44240 #undef FLD
44243 static int
44244 model_fr500_msubhss (SIM_CPU *current_cpu, void *sem_arg)
44246 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44247 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44248 const IDESC * UNUSED idesc = abuf->idesc;
44249 int cycles = 0;
44251 int referenced = 0;
44252 int UNUSED insn_referenced = abuf->written;
44253 INT in_FRinti = -1;
44254 INT in_FRintj = -1;
44255 INT in_ACC40Si = -1;
44256 INT in_ACCGi = -1;
44257 INT out_FRintk = -1;
44258 INT out_ACC40Sk = -1;
44259 INT out_ACC40Uk = -1;
44260 INT out_ACCGk = -1;
44261 in_FRinti = FLD (in_FRinti);
44262 in_FRintj = FLD (in_FRintj);
44263 referenced |= 1 << 0;
44264 referenced |= 1 << 1;
44265 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);
44267 return cycles;
44268 #undef FLD
44271 static int
44272 model_fr500_msubhus (SIM_CPU *current_cpu, void *sem_arg)
44274 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44275 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44276 const IDESC * UNUSED idesc = abuf->idesc;
44277 int cycles = 0;
44279 int referenced = 0;
44280 int UNUSED insn_referenced = abuf->written;
44281 INT in_FRinti = -1;
44282 INT in_FRintj = -1;
44283 INT in_ACC40Si = -1;
44284 INT in_ACCGi = -1;
44285 INT out_FRintk = -1;
44286 INT out_ACC40Sk = -1;
44287 INT out_ACC40Uk = -1;
44288 INT out_ACCGk = -1;
44289 in_FRinti = FLD (in_FRinti);
44290 in_FRintj = FLD (in_FRintj);
44291 referenced |= 1 << 0;
44292 referenced |= 1 << 1;
44293 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);
44295 return cycles;
44296 #undef FLD
44299 static int
44300 model_fr500_cmaddhss (SIM_CPU *current_cpu, void *sem_arg)
44302 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44303 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44304 const IDESC * UNUSED idesc = abuf->idesc;
44305 int cycles = 0;
44307 int referenced = 0;
44308 int UNUSED insn_referenced = abuf->written;
44309 INT in_FRinti = -1;
44310 INT in_FRintj = -1;
44311 INT in_ACC40Si = -1;
44312 INT in_ACCGi = -1;
44313 INT out_FRintk = -1;
44314 INT out_ACC40Sk = -1;
44315 INT out_ACC40Uk = -1;
44316 INT out_ACCGk = -1;
44317 in_FRinti = FLD (in_FRinti);
44318 in_FRintj = FLD (in_FRintj);
44319 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
44320 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
44321 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);
44323 return cycles;
44324 #undef FLD
44327 static int
44328 model_fr500_cmaddhus (SIM_CPU *current_cpu, void *sem_arg)
44330 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44331 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44332 const IDESC * UNUSED idesc = abuf->idesc;
44333 int cycles = 0;
44335 int referenced = 0;
44336 int UNUSED insn_referenced = abuf->written;
44337 INT in_FRinti = -1;
44338 INT in_FRintj = -1;
44339 INT in_ACC40Si = -1;
44340 INT in_ACCGi = -1;
44341 INT out_FRintk = -1;
44342 INT out_ACC40Sk = -1;
44343 INT out_ACC40Uk = -1;
44344 INT out_ACCGk = -1;
44345 in_FRinti = FLD (in_FRinti);
44346 in_FRintj = FLD (in_FRintj);
44347 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
44348 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
44349 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);
44351 return cycles;
44352 #undef FLD
44355 static int
44356 model_fr500_cmsubhss (SIM_CPU *current_cpu, void *sem_arg)
44358 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44359 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44360 const IDESC * UNUSED idesc = abuf->idesc;
44361 int cycles = 0;
44363 int referenced = 0;
44364 int UNUSED insn_referenced = abuf->written;
44365 INT in_FRinti = -1;
44366 INT in_FRintj = -1;
44367 INT in_ACC40Si = -1;
44368 INT in_ACCGi = -1;
44369 INT out_FRintk = -1;
44370 INT out_ACC40Sk = -1;
44371 INT out_ACC40Uk = -1;
44372 INT out_ACCGk = -1;
44373 in_FRinti = FLD (in_FRinti);
44374 in_FRintj = FLD (in_FRintj);
44375 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
44376 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
44377 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);
44379 return cycles;
44380 #undef FLD
44383 static int
44384 model_fr500_cmsubhus (SIM_CPU *current_cpu, void *sem_arg)
44386 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
44387 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44388 const IDESC * UNUSED idesc = abuf->idesc;
44389 int cycles = 0;
44391 int referenced = 0;
44392 int UNUSED insn_referenced = abuf->written;
44393 INT in_FRinti = -1;
44394 INT in_FRintj = -1;
44395 INT in_ACC40Si = -1;
44396 INT in_ACCGi = -1;
44397 INT out_FRintk = -1;
44398 INT out_ACC40Sk = -1;
44399 INT out_ACC40Uk = -1;
44400 INT out_ACCGk = -1;
44401 in_FRinti = FLD (in_FRinti);
44402 in_FRintj = FLD (in_FRintj);
44403 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
44404 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
44405 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);
44407 return cycles;
44408 #undef FLD
44411 static int
44412 model_fr500_mqaddhss (SIM_CPU *current_cpu, void *sem_arg)
44414 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44415 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44416 const IDESC * UNUSED idesc = abuf->idesc;
44417 int cycles = 0;
44419 int referenced = 0;
44420 int UNUSED insn_referenced = abuf->written;
44421 INT in_FRinti = -1;
44422 INT in_FRintj = -1;
44423 INT out_FRintk = -1;
44424 in_FRinti = FLD (in_FRintieven);
44425 in_FRintj = FLD (in_FRintjeven);
44426 out_FRintk = FLD (out_FRintkeven);
44427 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44429 return cycles;
44430 #undef FLD
44433 static int
44434 model_fr500_mqaddhus (SIM_CPU *current_cpu, void *sem_arg)
44436 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44437 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44438 const IDESC * UNUSED idesc = abuf->idesc;
44439 int cycles = 0;
44441 int referenced = 0;
44442 int UNUSED insn_referenced = abuf->written;
44443 INT in_FRinti = -1;
44444 INT in_FRintj = -1;
44445 INT out_FRintk = -1;
44446 in_FRinti = FLD (in_FRintieven);
44447 in_FRintj = FLD (in_FRintjeven);
44448 out_FRintk = FLD (out_FRintkeven);
44449 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44451 return cycles;
44452 #undef FLD
44455 static int
44456 model_fr500_mqsubhss (SIM_CPU *current_cpu, void *sem_arg)
44458 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44459 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44460 const IDESC * UNUSED idesc = abuf->idesc;
44461 int cycles = 0;
44463 int referenced = 0;
44464 int UNUSED insn_referenced = abuf->written;
44465 INT in_FRinti = -1;
44466 INT in_FRintj = -1;
44467 INT out_FRintk = -1;
44468 in_FRinti = FLD (in_FRintieven);
44469 in_FRintj = FLD (in_FRintjeven);
44470 out_FRintk = FLD (out_FRintkeven);
44471 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44473 return cycles;
44474 #undef FLD
44477 static int
44478 model_fr500_mqsubhus (SIM_CPU *current_cpu, void *sem_arg)
44480 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44482 const IDESC * UNUSED idesc = abuf->idesc;
44483 int cycles = 0;
44485 int referenced = 0;
44486 int UNUSED insn_referenced = abuf->written;
44487 INT in_FRinti = -1;
44488 INT in_FRintj = -1;
44489 INT out_FRintk = -1;
44490 in_FRinti = FLD (in_FRintieven);
44491 in_FRintj = FLD (in_FRintjeven);
44492 out_FRintk = FLD (out_FRintkeven);
44493 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44495 return cycles;
44496 #undef FLD
44499 static int
44500 model_fr500_cmqaddhss (SIM_CPU *current_cpu, void *sem_arg)
44502 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44503 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44504 const IDESC * UNUSED idesc = abuf->idesc;
44505 int cycles = 0;
44507 int referenced = 0;
44508 int UNUSED insn_referenced = abuf->written;
44509 INT in_FRinti = -1;
44510 INT in_FRintj = -1;
44511 INT out_FRintk = -1;
44512 in_FRinti = FLD (in_FRintieven);
44513 in_FRintj = FLD (in_FRintjeven);
44514 out_FRintk = FLD (out_FRintkeven);
44515 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44517 return cycles;
44518 #undef FLD
44521 static int
44522 model_fr500_cmqaddhus (SIM_CPU *current_cpu, void *sem_arg)
44524 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44525 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44526 const IDESC * UNUSED idesc = abuf->idesc;
44527 int cycles = 0;
44529 int referenced = 0;
44530 int UNUSED insn_referenced = abuf->written;
44531 INT in_FRinti = -1;
44532 INT in_FRintj = -1;
44533 INT out_FRintk = -1;
44534 in_FRinti = FLD (in_FRintieven);
44535 in_FRintj = FLD (in_FRintjeven);
44536 out_FRintk = FLD (out_FRintkeven);
44537 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44539 return cycles;
44540 #undef FLD
44543 static int
44544 model_fr500_cmqsubhss (SIM_CPU *current_cpu, void *sem_arg)
44546 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44547 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44548 const IDESC * UNUSED idesc = abuf->idesc;
44549 int cycles = 0;
44551 int referenced = 0;
44552 int UNUSED insn_referenced = abuf->written;
44553 INT in_FRinti = -1;
44554 INT in_FRintj = -1;
44555 INT out_FRintk = -1;
44556 in_FRinti = FLD (in_FRintieven);
44557 in_FRintj = FLD (in_FRintjeven);
44558 out_FRintk = FLD (out_FRintkeven);
44559 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44561 return cycles;
44562 #undef FLD
44565 static int
44566 model_fr500_cmqsubhus (SIM_CPU *current_cpu, void *sem_arg)
44568 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44570 const IDESC * UNUSED idesc = abuf->idesc;
44571 int cycles = 0;
44573 int referenced = 0;
44574 int UNUSED insn_referenced = abuf->written;
44575 INT in_FRinti = -1;
44576 INT in_FRintj = -1;
44577 INT out_FRintk = -1;
44578 in_FRinti = FLD (in_FRintieven);
44579 in_FRintj = FLD (in_FRintjeven);
44580 out_FRintk = FLD (out_FRintkeven);
44581 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
44583 return cycles;
44584 #undef FLD
44587 static int
44588 model_fr500_mqlclrhs (SIM_CPU *current_cpu, void *sem_arg)
44590 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44591 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44592 const IDESC * UNUSED idesc = abuf->idesc;
44593 int cycles = 0;
44595 int referenced = 0;
44596 int UNUSED insn_referenced = abuf->written;
44597 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44599 return cycles;
44600 #undef FLD
44603 static int
44604 model_fr500_mqlmths (SIM_CPU *current_cpu, void *sem_arg)
44606 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
44607 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44608 const IDESC * UNUSED idesc = abuf->idesc;
44609 int cycles = 0;
44611 int referenced = 0;
44612 int UNUSED insn_referenced = abuf->written;
44613 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44615 return cycles;
44616 #undef FLD
44619 static int
44620 model_fr500_mqsllhi (SIM_CPU *current_cpu, void *sem_arg)
44622 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
44623 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44624 const IDESC * UNUSED idesc = abuf->idesc;
44625 int cycles = 0;
44627 int referenced = 0;
44628 int UNUSED insn_referenced = abuf->written;
44629 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44631 return cycles;
44632 #undef FLD
44635 static int
44636 model_fr500_mqsrahi (SIM_CPU *current_cpu, void *sem_arg)
44638 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
44639 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44640 const IDESC * UNUSED idesc = abuf->idesc;
44641 int cycles = 0;
44643 int referenced = 0;
44644 int UNUSED insn_referenced = abuf->written;
44645 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44647 return cycles;
44648 #undef FLD
44651 static int
44652 model_fr500_maddaccs (SIM_CPU *current_cpu, void *sem_arg)
44654 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
44655 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44656 const IDESC * UNUSED idesc = abuf->idesc;
44657 int cycles = 0;
44659 int referenced = 0;
44660 int UNUSED insn_referenced = abuf->written;
44661 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44663 return cycles;
44664 #undef FLD
44667 static int
44668 model_fr500_msubaccs (SIM_CPU *current_cpu, void *sem_arg)
44670 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
44671 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44672 const IDESC * UNUSED idesc = abuf->idesc;
44673 int cycles = 0;
44675 int referenced = 0;
44676 int UNUSED insn_referenced = abuf->written;
44677 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44679 return cycles;
44680 #undef FLD
44683 static int
44684 model_fr500_mdaddaccs (SIM_CPU *current_cpu, void *sem_arg)
44686 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
44687 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44688 const IDESC * UNUSED idesc = abuf->idesc;
44689 int cycles = 0;
44691 int referenced = 0;
44692 int UNUSED insn_referenced = abuf->written;
44693 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44695 return cycles;
44696 #undef FLD
44699 static int
44700 model_fr500_mdsubaccs (SIM_CPU *current_cpu, void *sem_arg)
44702 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
44703 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44704 const IDESC * UNUSED idesc = abuf->idesc;
44705 int cycles = 0;
44707 int referenced = 0;
44708 int UNUSED insn_referenced = abuf->written;
44709 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44711 return cycles;
44712 #undef FLD
44715 static int
44716 model_fr500_masaccs (SIM_CPU *current_cpu, void *sem_arg)
44718 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
44719 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44720 const IDESC * UNUSED idesc = abuf->idesc;
44721 int cycles = 0;
44723 int referenced = 0;
44724 int UNUSED insn_referenced = abuf->written;
44725 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44727 return cycles;
44728 #undef FLD
44731 static int
44732 model_fr500_mdasaccs (SIM_CPU *current_cpu, void *sem_arg)
44734 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
44735 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44736 const IDESC * UNUSED idesc = abuf->idesc;
44737 int cycles = 0;
44739 int referenced = 0;
44740 int UNUSED insn_referenced = abuf->written;
44741 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
44743 return cycles;
44744 #undef FLD
44747 static int
44748 model_fr500_mmulhs (SIM_CPU *current_cpu, void *sem_arg)
44750 #define FLD(f) abuf->fields.sfmt_cmmachs.f
44751 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44752 const IDESC * UNUSED idesc = abuf->idesc;
44753 int cycles = 0;
44755 int referenced = 0;
44756 int UNUSED insn_referenced = abuf->written;
44757 INT in_FRinti = -1;
44758 INT in_FRintj = -1;
44759 INT out_ACC40Sk = -1;
44760 INT out_ACC40Uk = -1;
44761 in_FRinti = FLD (in_FRinti);
44762 in_FRintj = FLD (in_FRintj);
44763 out_ACC40Sk = FLD (out_ACC40Sk);
44764 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
44765 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
44766 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
44767 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44769 return cycles;
44770 #undef FLD
44773 static int
44774 model_fr500_mmulhu (SIM_CPU *current_cpu, void *sem_arg)
44776 #define FLD(f) abuf->fields.sfmt_cmmachs.f
44777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44778 const IDESC * UNUSED idesc = abuf->idesc;
44779 int cycles = 0;
44781 int referenced = 0;
44782 int UNUSED insn_referenced = abuf->written;
44783 INT in_FRinti = -1;
44784 INT in_FRintj = -1;
44785 INT out_ACC40Sk = -1;
44786 INT out_ACC40Uk = -1;
44787 in_FRinti = FLD (in_FRinti);
44788 in_FRintj = FLD (in_FRintj);
44789 out_ACC40Sk = FLD (out_ACC40Sk);
44790 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
44791 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
44792 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
44793 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44795 return cycles;
44796 #undef FLD
44799 static int
44800 model_fr500_mmulxhs (SIM_CPU *current_cpu, void *sem_arg)
44802 #define FLD(f) abuf->fields.sfmt_cmmachs.f
44803 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44804 const IDESC * UNUSED idesc = abuf->idesc;
44805 int cycles = 0;
44807 int referenced = 0;
44808 int UNUSED insn_referenced = abuf->written;
44809 INT in_FRinti = -1;
44810 INT in_FRintj = -1;
44811 INT out_ACC40Sk = -1;
44812 INT out_ACC40Uk = -1;
44813 in_FRinti = FLD (in_FRinti);
44814 in_FRintj = FLD (in_FRintj);
44815 out_ACC40Sk = FLD (out_ACC40Sk);
44816 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
44817 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
44818 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
44819 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44821 return cycles;
44822 #undef FLD
44825 static int
44826 model_fr500_mmulxhu (SIM_CPU *current_cpu, void *sem_arg)
44828 #define FLD(f) abuf->fields.sfmt_cmmachs.f
44829 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44830 const IDESC * UNUSED idesc = abuf->idesc;
44831 int cycles = 0;
44833 int referenced = 0;
44834 int UNUSED insn_referenced = abuf->written;
44835 INT in_FRinti = -1;
44836 INT in_FRintj = -1;
44837 INT out_ACC40Sk = -1;
44838 INT out_ACC40Uk = -1;
44839 in_FRinti = FLD (in_FRinti);
44840 in_FRintj = FLD (in_FRintj);
44841 out_ACC40Sk = FLD (out_ACC40Sk);
44842 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
44843 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
44844 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
44845 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44847 return cycles;
44848 #undef FLD
44851 static int
44852 model_fr500_cmmulhs (SIM_CPU *current_cpu, void *sem_arg)
44854 #define FLD(f) abuf->fields.sfmt_cmmachs.f
44855 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44856 const IDESC * UNUSED idesc = abuf->idesc;
44857 int cycles = 0;
44859 int referenced = 0;
44860 int UNUSED insn_referenced = abuf->written;
44861 INT in_FRinti = -1;
44862 INT in_FRintj = -1;
44863 INT out_ACC40Sk = -1;
44864 INT out_ACC40Uk = -1;
44865 in_FRinti = FLD (in_FRinti);
44866 in_FRintj = FLD (in_FRintj);
44867 out_ACC40Sk = FLD (out_ACC40Sk);
44868 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
44869 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
44870 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
44871 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44873 return cycles;
44874 #undef FLD
44877 static int
44878 model_fr500_cmmulhu (SIM_CPU *current_cpu, void *sem_arg)
44880 #define FLD(f) abuf->fields.sfmt_cmmachs.f
44881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44882 const IDESC * UNUSED idesc = abuf->idesc;
44883 int cycles = 0;
44885 int referenced = 0;
44886 int UNUSED insn_referenced = abuf->written;
44887 INT in_FRinti = -1;
44888 INT in_FRintj = -1;
44889 INT out_ACC40Sk = -1;
44890 INT out_ACC40Uk = -1;
44891 in_FRinti = FLD (in_FRinti);
44892 in_FRintj = FLD (in_FRintj);
44893 out_ACC40Sk = FLD (out_ACC40Sk);
44894 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
44895 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
44896 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
44897 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44899 return cycles;
44900 #undef FLD
44903 static int
44904 model_fr500_mqmulhs (SIM_CPU *current_cpu, void *sem_arg)
44906 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
44907 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44908 const IDESC * UNUSED idesc = abuf->idesc;
44909 int cycles = 0;
44911 int referenced = 0;
44912 int UNUSED insn_referenced = abuf->written;
44913 INT in_FRinti = -1;
44914 INT in_FRintj = -1;
44915 INT out_ACC40Sk = -1;
44916 INT out_ACC40Uk = -1;
44917 out_ACC40Sk = FLD (out_ACC40Sk);
44918 in_FRinti = FLD (in_FRintieven);
44919 in_FRintj = FLD (in_FRintjeven);
44920 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
44921 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44923 return cycles;
44924 #undef FLD
44927 static int
44928 model_fr500_mqmulhu (SIM_CPU *current_cpu, void *sem_arg)
44930 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
44931 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44932 const IDESC * UNUSED idesc = abuf->idesc;
44933 int cycles = 0;
44935 int referenced = 0;
44936 int UNUSED insn_referenced = abuf->written;
44937 INT in_FRinti = -1;
44938 INT in_FRintj = -1;
44939 INT out_ACC40Sk = -1;
44940 INT out_ACC40Uk = -1;
44941 out_ACC40Sk = FLD (out_ACC40Sk);
44942 in_FRinti = FLD (in_FRintieven);
44943 in_FRintj = FLD (in_FRintjeven);
44944 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
44945 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44947 return cycles;
44948 #undef FLD
44951 static int
44952 model_fr500_mqmulxhs (SIM_CPU *current_cpu, void *sem_arg)
44954 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
44955 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44956 const IDESC * UNUSED idesc = abuf->idesc;
44957 int cycles = 0;
44959 int referenced = 0;
44960 int UNUSED insn_referenced = abuf->written;
44961 INT in_FRinti = -1;
44962 INT in_FRintj = -1;
44963 INT out_ACC40Sk = -1;
44964 INT out_ACC40Uk = -1;
44965 out_ACC40Sk = FLD (out_ACC40Sk);
44966 in_FRinti = FLD (in_FRintieven);
44967 in_FRintj = FLD (in_FRintjeven);
44968 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
44969 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44971 return cycles;
44972 #undef FLD
44975 static int
44976 model_fr500_mqmulxhu (SIM_CPU *current_cpu, void *sem_arg)
44978 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
44979 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
44980 const IDESC * UNUSED idesc = abuf->idesc;
44981 int cycles = 0;
44983 int referenced = 0;
44984 int UNUSED insn_referenced = abuf->written;
44985 INT in_FRinti = -1;
44986 INT in_FRintj = -1;
44987 INT out_ACC40Sk = -1;
44988 INT out_ACC40Uk = -1;
44989 out_ACC40Sk = FLD (out_ACC40Sk);
44990 in_FRinti = FLD (in_FRintieven);
44991 in_FRintj = FLD (in_FRintjeven);
44992 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
44993 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
44995 return cycles;
44996 #undef FLD
44999 static int
45000 model_fr500_cmqmulhs (SIM_CPU *current_cpu, void *sem_arg)
45002 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45003 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45004 const IDESC * UNUSED idesc = abuf->idesc;
45005 int cycles = 0;
45007 int referenced = 0;
45008 int UNUSED insn_referenced = abuf->written;
45009 INT in_FRinti = -1;
45010 INT in_FRintj = -1;
45011 INT out_ACC40Sk = -1;
45012 INT out_ACC40Uk = -1;
45013 out_ACC40Sk = FLD (out_ACC40Sk);
45014 in_FRinti = FLD (in_FRintieven);
45015 in_FRintj = FLD (in_FRintjeven);
45016 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
45017 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45019 return cycles;
45020 #undef FLD
45023 static int
45024 model_fr500_cmqmulhu (SIM_CPU *current_cpu, void *sem_arg)
45026 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45027 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45028 const IDESC * UNUSED idesc = abuf->idesc;
45029 int cycles = 0;
45031 int referenced = 0;
45032 int UNUSED insn_referenced = abuf->written;
45033 INT in_FRinti = -1;
45034 INT in_FRintj = -1;
45035 INT out_ACC40Sk = -1;
45036 INT out_ACC40Uk = -1;
45037 out_ACC40Sk = FLD (out_ACC40Sk);
45038 in_FRinti = FLD (in_FRintieven);
45039 in_FRintj = FLD (in_FRintjeven);
45040 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
45041 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45043 return cycles;
45044 #undef FLD
45047 static int
45048 model_fr500_mmachs (SIM_CPU *current_cpu, void *sem_arg)
45050 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45051 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45052 const IDESC * UNUSED idesc = abuf->idesc;
45053 int cycles = 0;
45055 int referenced = 0;
45056 int UNUSED insn_referenced = abuf->written;
45057 INT in_FRinti = -1;
45058 INT in_FRintj = -1;
45059 INT out_ACC40Sk = -1;
45060 INT out_ACC40Uk = -1;
45061 in_FRinti = FLD (in_FRinti);
45062 in_FRintj = FLD (in_FRintj);
45063 out_ACC40Sk = FLD (out_ACC40Sk);
45064 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45065 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45066 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
45067 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45069 return cycles;
45070 #undef FLD
45073 static int
45074 model_fr500_mmachu (SIM_CPU *current_cpu, void *sem_arg)
45076 #define FLD(f) abuf->fields.sfmt_cmmachu.f
45077 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45078 const IDESC * UNUSED idesc = abuf->idesc;
45079 int cycles = 0;
45081 int referenced = 0;
45082 int UNUSED insn_referenced = abuf->written;
45083 INT in_FRinti = -1;
45084 INT in_FRintj = -1;
45085 INT out_ACC40Sk = -1;
45086 INT out_ACC40Uk = -1;
45087 in_FRinti = FLD (in_FRinti);
45088 in_FRintj = FLD (in_FRintj);
45089 out_ACC40Uk = FLD (out_ACC40Uk);
45090 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45091 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45092 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
45093 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45095 return cycles;
45096 #undef FLD
45099 static int
45100 model_fr500_mmrdhs (SIM_CPU *current_cpu, void *sem_arg)
45102 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45103 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45104 const IDESC * UNUSED idesc = abuf->idesc;
45105 int cycles = 0;
45107 int referenced = 0;
45108 int UNUSED insn_referenced = abuf->written;
45109 INT in_FRinti = -1;
45110 INT in_FRintj = -1;
45111 INT out_ACC40Sk = -1;
45112 INT out_ACC40Uk = -1;
45113 in_FRinti = FLD (in_FRinti);
45114 in_FRintj = FLD (in_FRintj);
45115 out_ACC40Sk = FLD (out_ACC40Sk);
45116 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45117 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45118 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
45119 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45121 return cycles;
45122 #undef FLD
45125 static int
45126 model_fr500_mmrdhu (SIM_CPU *current_cpu, void *sem_arg)
45128 #define FLD(f) abuf->fields.sfmt_cmmachu.f
45129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45130 const IDESC * UNUSED idesc = abuf->idesc;
45131 int cycles = 0;
45133 int referenced = 0;
45134 int UNUSED insn_referenced = abuf->written;
45135 INT in_FRinti = -1;
45136 INT in_FRintj = -1;
45137 INT out_ACC40Sk = -1;
45138 INT out_ACC40Uk = -1;
45139 in_FRinti = FLD (in_FRinti);
45140 in_FRintj = FLD (in_FRintj);
45141 out_ACC40Uk = FLD (out_ACC40Uk);
45142 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45143 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45144 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
45145 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45147 return cycles;
45148 #undef FLD
45151 static int
45152 model_fr500_cmmachs (SIM_CPU *current_cpu, void *sem_arg)
45154 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45155 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45156 const IDESC * UNUSED idesc = abuf->idesc;
45157 int cycles = 0;
45159 int referenced = 0;
45160 int UNUSED insn_referenced = abuf->written;
45161 INT in_FRinti = -1;
45162 INT in_FRintj = -1;
45163 INT out_ACC40Sk = -1;
45164 INT out_ACC40Uk = -1;
45165 in_FRinti = FLD (in_FRinti);
45166 in_FRintj = FLD (in_FRintj);
45167 out_ACC40Sk = FLD (out_ACC40Sk);
45168 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
45169 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
45170 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
45171 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45173 return cycles;
45174 #undef FLD
45177 static int
45178 model_fr500_cmmachu (SIM_CPU *current_cpu, void *sem_arg)
45180 #define FLD(f) abuf->fields.sfmt_cmmachu.f
45181 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45182 const IDESC * UNUSED idesc = abuf->idesc;
45183 int cycles = 0;
45185 int referenced = 0;
45186 int UNUSED insn_referenced = abuf->written;
45187 INT in_FRinti = -1;
45188 INT in_FRintj = -1;
45189 INT out_ACC40Sk = -1;
45190 INT out_ACC40Uk = -1;
45191 in_FRinti = FLD (in_FRinti);
45192 in_FRintj = FLD (in_FRintj);
45193 out_ACC40Uk = FLD (out_ACC40Uk);
45194 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
45195 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
45196 if (insn_referenced & (1 << 13)) referenced |= 1 << 3;
45197 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45199 return cycles;
45200 #undef FLD
45203 static int
45204 model_fr500_mqmachs (SIM_CPU *current_cpu, void *sem_arg)
45206 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45207 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45208 const IDESC * UNUSED idesc = abuf->idesc;
45209 int cycles = 0;
45211 int referenced = 0;
45212 int UNUSED insn_referenced = abuf->written;
45213 INT in_FRinti = -1;
45214 INT in_FRintj = -1;
45215 INT out_ACC40Sk = -1;
45216 INT out_ACC40Uk = -1;
45217 out_ACC40Sk = FLD (out_ACC40Sk);
45218 in_FRinti = FLD (in_FRintieven);
45219 in_FRintj = FLD (in_FRintjeven);
45220 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
45221 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45223 return cycles;
45224 #undef FLD
45227 static int
45228 model_fr500_mqmachu (SIM_CPU *current_cpu, void *sem_arg)
45230 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
45231 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45232 const IDESC * UNUSED idesc = abuf->idesc;
45233 int cycles = 0;
45235 int referenced = 0;
45236 int UNUSED insn_referenced = abuf->written;
45237 INT in_FRinti = -1;
45238 INT in_FRintj = -1;
45239 INT out_ACC40Sk = -1;
45240 INT out_ACC40Uk = -1;
45241 out_ACC40Uk = FLD (out_ACC40Uk);
45242 in_FRinti = FLD (in_FRintieven);
45243 in_FRintj = FLD (in_FRintjeven);
45244 if (insn_referenced & (1 << 17)) referenced |= 1 << 3;
45245 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45247 return cycles;
45248 #undef FLD
45251 static int
45252 model_fr500_cmqmachs (SIM_CPU *current_cpu, void *sem_arg)
45254 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45255 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45256 const IDESC * UNUSED idesc = abuf->idesc;
45257 int cycles = 0;
45259 int referenced = 0;
45260 int UNUSED insn_referenced = abuf->written;
45261 INT in_FRinti = -1;
45262 INT in_FRintj = -1;
45263 INT out_ACC40Sk = -1;
45264 INT out_ACC40Uk = -1;
45265 out_ACC40Sk = FLD (out_ACC40Sk);
45266 in_FRinti = FLD (in_FRintieven);
45267 in_FRintj = FLD (in_FRintjeven);
45268 if (insn_referenced & (1 << 19)) referenced |= 1 << 2;
45269 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45271 return cycles;
45272 #undef FLD
45275 static int
45276 model_fr500_cmqmachu (SIM_CPU *current_cpu, void *sem_arg)
45278 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
45279 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45280 const IDESC * UNUSED idesc = abuf->idesc;
45281 int cycles = 0;
45283 int referenced = 0;
45284 int UNUSED insn_referenced = abuf->written;
45285 INT in_FRinti = -1;
45286 INT in_FRintj = -1;
45287 INT out_ACC40Sk = -1;
45288 INT out_ACC40Uk = -1;
45289 out_ACC40Uk = FLD (out_ACC40Uk);
45290 in_FRinti = FLD (in_FRintieven);
45291 in_FRintj = FLD (in_FRintjeven);
45292 if (insn_referenced & (1 << 19)) referenced |= 1 << 3;
45293 cycles += frvbf_model_fr500_u_media_quad_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45295 return cycles;
45296 #undef FLD
45299 static int
45300 model_fr500_mqxmachs (SIM_CPU *current_cpu, void *sem_arg)
45302 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45303 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45304 const IDESC * UNUSED idesc = abuf->idesc;
45305 int cycles = 0;
45307 int referenced = 0;
45308 int UNUSED insn_referenced = abuf->written;
45309 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
45311 return cycles;
45312 #undef FLD
45315 static int
45316 model_fr500_mqxmacxhs (SIM_CPU *current_cpu, void *sem_arg)
45318 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45319 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45320 const IDESC * UNUSED idesc = abuf->idesc;
45321 int cycles = 0;
45323 int referenced = 0;
45324 int UNUSED insn_referenced = abuf->written;
45325 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
45327 return cycles;
45328 #undef FLD
45331 static int
45332 model_fr500_mqmacxhs (SIM_CPU *current_cpu, void *sem_arg)
45334 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45335 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45336 const IDESC * UNUSED idesc = abuf->idesc;
45337 int cycles = 0;
45339 int referenced = 0;
45340 int UNUSED insn_referenced = abuf->written;
45341 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
45343 return cycles;
45344 #undef FLD
45347 static int
45348 model_fr500_mcpxrs (SIM_CPU *current_cpu, void *sem_arg)
45350 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45351 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45352 const IDESC * UNUSED idesc = abuf->idesc;
45353 int cycles = 0;
45355 int referenced = 0;
45356 int UNUSED insn_referenced = abuf->written;
45357 INT in_FRinti = -1;
45358 INT in_FRintj = -1;
45359 INT out_ACC40Sk = -1;
45360 INT out_ACC40Uk = -1;
45361 in_FRinti = FLD (in_FRinti);
45362 in_FRintj = FLD (in_FRintj);
45363 out_ACC40Sk = FLD (out_ACC40Sk);
45364 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
45365 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
45366 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
45367 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45369 return cycles;
45370 #undef FLD
45373 static int
45374 model_fr500_mcpxru (SIM_CPU *current_cpu, void *sem_arg)
45376 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45378 const IDESC * UNUSED idesc = abuf->idesc;
45379 int cycles = 0;
45381 int referenced = 0;
45382 int UNUSED insn_referenced = abuf->written;
45383 INT in_FRinti = -1;
45384 INT in_FRintj = -1;
45385 INT out_ACC40Sk = -1;
45386 INT out_ACC40Uk = -1;
45387 in_FRinti = FLD (in_FRinti);
45388 in_FRintj = FLD (in_FRintj);
45389 out_ACC40Sk = FLD (out_ACC40Sk);
45390 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
45391 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
45392 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
45393 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45395 return cycles;
45396 #undef FLD
45399 static int
45400 model_fr500_mcpxis (SIM_CPU *current_cpu, void *sem_arg)
45402 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45403 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45404 const IDESC * UNUSED idesc = abuf->idesc;
45405 int cycles = 0;
45407 int referenced = 0;
45408 int UNUSED insn_referenced = abuf->written;
45409 INT in_FRinti = -1;
45410 INT in_FRintj = -1;
45411 INT out_ACC40Sk = -1;
45412 INT out_ACC40Uk = -1;
45413 in_FRinti = FLD (in_FRinti);
45414 in_FRintj = FLD (in_FRintj);
45415 out_ACC40Sk = FLD (out_ACC40Sk);
45416 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
45417 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
45418 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
45419 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45421 return cycles;
45422 #undef FLD
45425 static int
45426 model_fr500_mcpxiu (SIM_CPU *current_cpu, void *sem_arg)
45428 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45429 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45430 const IDESC * UNUSED idesc = abuf->idesc;
45431 int cycles = 0;
45433 int referenced = 0;
45434 int UNUSED insn_referenced = abuf->written;
45435 INT in_FRinti = -1;
45436 INT in_FRintj = -1;
45437 INT out_ACC40Sk = -1;
45438 INT out_ACC40Uk = -1;
45439 in_FRinti = FLD (in_FRinti);
45440 in_FRintj = FLD (in_FRintj);
45441 out_ACC40Sk = FLD (out_ACC40Sk);
45442 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
45443 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
45444 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
45445 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45447 return cycles;
45448 #undef FLD
45451 static int
45452 model_fr500_cmcpxrs (SIM_CPU *current_cpu, void *sem_arg)
45454 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45455 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45456 const IDESC * UNUSED idesc = abuf->idesc;
45457 int cycles = 0;
45459 int referenced = 0;
45460 int UNUSED insn_referenced = abuf->written;
45461 INT in_FRinti = -1;
45462 INT in_FRintj = -1;
45463 INT out_ACC40Sk = -1;
45464 INT out_ACC40Uk = -1;
45465 in_FRinti = FLD (in_FRinti);
45466 in_FRintj = FLD (in_FRintj);
45467 out_ACC40Sk = FLD (out_ACC40Sk);
45468 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45469 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45470 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
45471 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45473 return cycles;
45474 #undef FLD
45477 static int
45478 model_fr500_cmcpxru (SIM_CPU *current_cpu, void *sem_arg)
45480 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45482 const IDESC * UNUSED idesc = abuf->idesc;
45483 int cycles = 0;
45485 int referenced = 0;
45486 int UNUSED insn_referenced = abuf->written;
45487 INT in_FRinti = -1;
45488 INT in_FRintj = -1;
45489 INT out_ACC40Sk = -1;
45490 INT out_ACC40Uk = -1;
45491 in_FRinti = FLD (in_FRinti);
45492 in_FRintj = FLD (in_FRintj);
45493 out_ACC40Sk = FLD (out_ACC40Sk);
45494 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45495 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45496 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
45497 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45499 return cycles;
45500 #undef FLD
45503 static int
45504 model_fr500_cmcpxis (SIM_CPU *current_cpu, void *sem_arg)
45506 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45507 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45508 const IDESC * UNUSED idesc = abuf->idesc;
45509 int cycles = 0;
45511 int referenced = 0;
45512 int UNUSED insn_referenced = abuf->written;
45513 INT in_FRinti = -1;
45514 INT in_FRintj = -1;
45515 INT out_ACC40Sk = -1;
45516 INT out_ACC40Uk = -1;
45517 in_FRinti = FLD (in_FRinti);
45518 in_FRintj = FLD (in_FRintj);
45519 out_ACC40Sk = FLD (out_ACC40Sk);
45520 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45521 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45522 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
45523 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45525 return cycles;
45526 #undef FLD
45529 static int
45530 model_fr500_cmcpxiu (SIM_CPU *current_cpu, void *sem_arg)
45532 #define FLD(f) abuf->fields.sfmt_cmmachs.f
45533 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45534 const IDESC * UNUSED idesc = abuf->idesc;
45535 int cycles = 0;
45537 int referenced = 0;
45538 int UNUSED insn_referenced = abuf->written;
45539 INT in_FRinti = -1;
45540 INT in_FRintj = -1;
45541 INT out_ACC40Sk = -1;
45542 INT out_ACC40Uk = -1;
45543 in_FRinti = FLD (in_FRinti);
45544 in_FRintj = FLD (in_FRintj);
45545 out_ACC40Sk = FLD (out_ACC40Sk);
45546 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
45547 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
45548 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
45549 cycles += frvbf_model_fr500_u_media_dual_mul (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
45551 return cycles;
45552 #undef FLD
45555 static int
45556 model_fr500_mqcpxrs (SIM_CPU *current_cpu, void *sem_arg)
45558 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45559 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45560 const IDESC * UNUSED idesc = abuf->idesc;
45561 int cycles = 0;
45563 int referenced = 0;
45564 int UNUSED insn_referenced = abuf->written;
45565 INT in_FRinti = -1;
45566 INT in_FRintj = -1;
45567 INT out_ACC40Sk = -1;
45568 out_ACC40Sk = FLD (out_ACC40Sk);
45569 in_FRinti = FLD (in_FRintieven);
45570 in_FRintj = FLD (in_FRintjeven);
45571 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
45572 cycles += frvbf_model_fr500_u_media_quad_complex (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk);
45574 return cycles;
45575 #undef FLD
45578 static int
45579 model_fr500_mqcpxru (SIM_CPU *current_cpu, void *sem_arg)
45581 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45582 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45583 const IDESC * UNUSED idesc = abuf->idesc;
45584 int cycles = 0;
45586 int referenced = 0;
45587 int UNUSED insn_referenced = abuf->written;
45588 INT in_FRinti = -1;
45589 INT in_FRintj = -1;
45590 INT out_ACC40Sk = -1;
45591 out_ACC40Sk = FLD (out_ACC40Sk);
45592 in_FRinti = FLD (in_FRintieven);
45593 in_FRintj = FLD (in_FRintjeven);
45594 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
45595 cycles += frvbf_model_fr500_u_media_quad_complex (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk);
45597 return cycles;
45598 #undef FLD
45601 static int
45602 model_fr500_mqcpxis (SIM_CPU *current_cpu, void *sem_arg)
45604 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45605 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45606 const IDESC * UNUSED idesc = abuf->idesc;
45607 int cycles = 0;
45609 int referenced = 0;
45610 int UNUSED insn_referenced = abuf->written;
45611 INT in_FRinti = -1;
45612 INT in_FRintj = -1;
45613 INT out_ACC40Sk = -1;
45614 out_ACC40Sk = FLD (out_ACC40Sk);
45615 in_FRinti = FLD (in_FRintieven);
45616 in_FRintj = FLD (in_FRintjeven);
45617 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
45618 cycles += frvbf_model_fr500_u_media_quad_complex (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk);
45620 return cycles;
45621 #undef FLD
45624 static int
45625 model_fr500_mqcpxiu (SIM_CPU *current_cpu, void *sem_arg)
45627 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
45628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45629 const IDESC * UNUSED idesc = abuf->idesc;
45630 int cycles = 0;
45632 int referenced = 0;
45633 int UNUSED insn_referenced = abuf->written;
45634 INT in_FRinti = -1;
45635 INT in_FRintj = -1;
45636 INT out_ACC40Sk = -1;
45637 out_ACC40Sk = FLD (out_ACC40Sk);
45638 in_FRinti = FLD (in_FRintieven);
45639 in_FRintj = FLD (in_FRintjeven);
45640 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
45641 cycles += frvbf_model_fr500_u_media_quad_complex (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk);
45643 return cycles;
45644 #undef FLD
45647 static int
45648 model_fr500_mexpdhw (SIM_CPU *current_cpu, void *sem_arg)
45650 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
45651 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45652 const IDESC * UNUSED idesc = abuf->idesc;
45653 int cycles = 0;
45655 int referenced = 0;
45656 int UNUSED insn_referenced = abuf->written;
45657 INT in_FRinti = -1;
45658 INT in_FRintj = -1;
45659 INT in_ACC40Si = -1;
45660 INT in_ACCGi = -1;
45661 INT out_FRintk = -1;
45662 INT out_ACC40Sk = -1;
45663 INT out_ACC40Uk = -1;
45664 INT out_ACCGk = -1;
45665 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);
45667 return cycles;
45668 #undef FLD
45671 static int
45672 model_fr500_cmexpdhw (SIM_CPU *current_cpu, void *sem_arg)
45674 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
45675 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45676 const IDESC * UNUSED idesc = abuf->idesc;
45677 int cycles = 0;
45679 int referenced = 0;
45680 int UNUSED insn_referenced = abuf->written;
45681 INT in_FRinti = -1;
45682 INT in_FRintj = -1;
45683 INT in_ACC40Si = -1;
45684 INT in_ACCGi = -1;
45685 INT out_FRintk = -1;
45686 INT out_ACC40Sk = -1;
45687 INT out_ACC40Uk = -1;
45688 INT out_ACCGk = -1;
45689 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);
45691 return cycles;
45692 #undef FLD
45695 static int
45696 model_fr500_mexpdhd (SIM_CPU *current_cpu, void *sem_arg)
45698 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
45699 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45700 const IDESC * UNUSED idesc = abuf->idesc;
45701 int cycles = 0;
45703 int referenced = 0;
45704 int UNUSED insn_referenced = abuf->written;
45705 INT in_FRinti = -1;
45706 INT out_FRintk = -1;
45707 out_FRintk = FLD (out_FRintkeven);
45708 cycles += frvbf_model_fr500_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
45710 return cycles;
45711 #undef FLD
45714 static int
45715 model_fr500_cmexpdhd (SIM_CPU *current_cpu, void *sem_arg)
45717 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
45718 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45719 const IDESC * UNUSED idesc = abuf->idesc;
45720 int cycles = 0;
45722 int referenced = 0;
45723 int UNUSED insn_referenced = abuf->written;
45724 INT in_FRinti = -1;
45725 INT out_FRintk = -1;
45726 out_FRintk = FLD (out_FRintkeven);
45727 cycles += frvbf_model_fr500_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
45729 return cycles;
45730 #undef FLD
45733 static int
45734 model_fr500_mpackh (SIM_CPU *current_cpu, void *sem_arg)
45736 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
45737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45738 const IDESC * UNUSED idesc = abuf->idesc;
45739 int cycles = 0;
45741 int referenced = 0;
45742 int UNUSED insn_referenced = abuf->written;
45743 INT in_FRinti = -1;
45744 INT in_FRintj = -1;
45745 INT in_ACC40Si = -1;
45746 INT in_ACCGi = -1;
45747 INT out_FRintk = -1;
45748 INT out_ACC40Sk = -1;
45749 INT out_ACC40Uk = -1;
45750 INT out_ACCGk = -1;
45751 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);
45753 return cycles;
45754 #undef FLD
45757 static int
45758 model_fr500_mdpackh (SIM_CPU *current_cpu, void *sem_arg)
45760 #define FLD(f) abuf->fields.sfmt_mdpackh.f
45761 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45762 const IDESC * UNUSED idesc = abuf->idesc;
45763 int cycles = 0;
45765 int referenced = 0;
45766 int UNUSED insn_referenced = abuf->written;
45767 INT in_FRinti = -1;
45768 INT in_FRintj = -1;
45769 INT out_FRintk = -1;
45770 in_FRinti = FLD (in_FRintieven);
45771 in_FRintj = FLD (in_FRintjeven);
45772 out_FRintk = FLD (out_FRintkeven);
45773 cycles += frvbf_model_fr500_u_media_quad_arith (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
45775 return cycles;
45776 #undef FLD
45779 static int
45780 model_fr500_munpackh (SIM_CPU *current_cpu, void *sem_arg)
45782 #define FLD(f) abuf->fields.sfmt_munpackh.f
45783 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45784 const IDESC * UNUSED idesc = abuf->idesc;
45785 int cycles = 0;
45787 int referenced = 0;
45788 int UNUSED insn_referenced = abuf->written;
45789 INT in_FRinti = -1;
45790 INT out_FRintk = -1;
45791 in_FRinti = FLD (in_FRinti);
45792 out_FRintk = FLD (out_FRintkeven);
45793 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
45794 cycles += frvbf_model_fr500_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
45796 return cycles;
45797 #undef FLD
45800 static int
45801 model_fr500_mdunpackh (SIM_CPU *current_cpu, void *sem_arg)
45803 #define FLD(f) abuf->fields.sfmt_mdunpackh.f
45804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45805 const IDESC * UNUSED idesc = abuf->idesc;
45806 int cycles = 0;
45808 int referenced = 0;
45809 int UNUSED insn_referenced = abuf->written;
45810 INT in_FRinti = -1;
45811 INT out_FRintk = -1;
45812 out_FRintk = FLD (out_FRintk);
45813 in_FRinti = FLD (in_FRintieven);
45814 if (insn_referenced & (1 << 9)) referenced |= 1 << 1;
45815 cycles += frvbf_model_fr500_u_media_dual_unpack (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
45817 return cycles;
45818 #undef FLD
45821 static int
45822 model_fr500_mbtoh (SIM_CPU *current_cpu, void *sem_arg)
45824 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
45825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45826 const IDESC * UNUSED idesc = abuf->idesc;
45827 int cycles = 0;
45829 int referenced = 0;
45830 int UNUSED insn_referenced = abuf->written;
45831 INT in_FRintj = -1;
45832 INT out_FRintk = -1;
45833 in_FRintj = FLD (in_FRintj);
45834 out_FRintk = FLD (out_FRintkeven);
45835 referenced |= 1 << 0;
45836 cycles += frvbf_model_fr500_u_media_dual_btoh (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
45838 return cycles;
45839 #undef FLD
45842 static int
45843 model_fr500_cmbtoh (SIM_CPU *current_cpu, void *sem_arg)
45845 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
45846 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45847 const IDESC * UNUSED idesc = abuf->idesc;
45848 int cycles = 0;
45850 int referenced = 0;
45851 int UNUSED insn_referenced = abuf->written;
45852 INT in_FRintj = -1;
45853 INT out_FRintk = -1;
45854 in_FRintj = FLD (in_FRintj);
45855 out_FRintk = FLD (out_FRintkeven);
45856 referenced |= 1 << 0;
45857 cycles += frvbf_model_fr500_u_media_dual_btoh (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
45859 return cycles;
45860 #undef FLD
45863 static int
45864 model_fr500_mhtob (SIM_CPU *current_cpu, void *sem_arg)
45866 #define FLD(f) abuf->fields.sfmt_cmhtob.f
45867 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45868 const IDESC * UNUSED idesc = abuf->idesc;
45869 int cycles = 0;
45871 int referenced = 0;
45872 int UNUSED insn_referenced = abuf->written;
45873 INT in_FRintj = -1;
45874 INT out_FRintk = -1;
45875 out_FRintk = FLD (out_FRintk);
45876 in_FRintj = FLD (in_FRintjeven);
45877 referenced |= 1 << 1;
45878 cycles += frvbf_model_fr500_u_media_dual_htob (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
45880 return cycles;
45881 #undef FLD
45884 static int
45885 model_fr500_cmhtob (SIM_CPU *current_cpu, void *sem_arg)
45887 #define FLD(f) abuf->fields.sfmt_cmhtob.f
45888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45889 const IDESC * UNUSED idesc = abuf->idesc;
45890 int cycles = 0;
45892 int referenced = 0;
45893 int UNUSED insn_referenced = abuf->written;
45894 INT in_FRintj = -1;
45895 INT out_FRintk = -1;
45896 out_FRintk = FLD (out_FRintk);
45897 in_FRintj = FLD (in_FRintjeven);
45898 referenced |= 1 << 1;
45899 cycles += frvbf_model_fr500_u_media_dual_htob (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
45901 return cycles;
45902 #undef FLD
45905 static int
45906 model_fr500_mbtohe (SIM_CPU *current_cpu, void *sem_arg)
45908 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
45909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45910 const IDESC * UNUSED idesc = abuf->idesc;
45911 int cycles = 0;
45913 int referenced = 0;
45914 int UNUSED insn_referenced = abuf->written;
45915 INT in_FRintj = -1;
45916 INT out_FRintk = -1;
45917 in_FRintj = FLD (in_FRintj);
45918 out_FRintk = FLD (out_FRintk);
45919 referenced |= 1 << 0;
45920 referenced |= 1 << 1;
45921 cycles += frvbf_model_fr500_u_media_dual_btohe (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
45923 return cycles;
45924 #undef FLD
45927 static int
45928 model_fr500_cmbtohe (SIM_CPU *current_cpu, void *sem_arg)
45930 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
45931 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45932 const IDESC * UNUSED idesc = abuf->idesc;
45933 int cycles = 0;
45935 int referenced = 0;
45936 int UNUSED insn_referenced = abuf->written;
45937 INT in_FRintj = -1;
45938 INT out_FRintk = -1;
45939 in_FRintj = FLD (in_FRintj);
45940 out_FRintk = FLD (out_FRintk);
45941 referenced |= 1 << 0;
45942 referenced |= 1 << 1;
45943 cycles += frvbf_model_fr500_u_media_dual_btohe (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
45945 return cycles;
45946 #undef FLD
45949 static int
45950 model_fr500_mnop (SIM_CPU *current_cpu, void *sem_arg)
45952 #define FLD(f) abuf->fields.sfmt_empty.f
45953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45954 const IDESC * UNUSED idesc = abuf->idesc;
45955 int cycles = 0;
45957 int referenced = 0;
45958 int UNUSED insn_referenced = abuf->written;
45959 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
45961 return cycles;
45962 #undef FLD
45965 static int
45966 model_fr500_mclracc_0 (SIM_CPU *current_cpu, void *sem_arg)
45968 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
45969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45970 const IDESC * UNUSED idesc = abuf->idesc;
45971 int cycles = 0;
45973 int referenced = 0;
45974 int UNUSED insn_referenced = abuf->written;
45975 INT in_FRinti = -1;
45976 INT in_FRintj = -1;
45977 INT in_ACC40Si = -1;
45978 INT in_ACCGi = -1;
45979 INT out_FRintk = -1;
45980 INT out_ACC40Sk = -1;
45981 INT out_ACC40Uk = -1;
45982 INT out_ACCGk = -1;
45983 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);
45985 return cycles;
45986 #undef FLD
45989 static int
45990 model_fr500_mclracc_1 (SIM_CPU *current_cpu, void *sem_arg)
45992 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
45993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
45994 const IDESC * UNUSED idesc = abuf->idesc;
45995 int cycles = 0;
45997 int referenced = 0;
45998 int UNUSED insn_referenced = abuf->written;
45999 INT in_FRinti = -1;
46000 INT in_FRintj = -1;
46001 INT in_ACC40Si = -1;
46002 INT in_ACCGi = -1;
46003 INT out_FRintk = -1;
46004 INT out_ACC40Sk = -1;
46005 INT out_ACC40Uk = -1;
46006 INT out_ACCGk = -1;
46007 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);
46009 return cycles;
46010 #undef FLD
46013 static int
46014 model_fr500_mrdacc (SIM_CPU *current_cpu, void *sem_arg)
46016 #define FLD(f) abuf->fields.sfmt_mcuti.f
46017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46018 const IDESC * UNUSED idesc = abuf->idesc;
46019 int cycles = 0;
46021 int referenced = 0;
46022 int UNUSED insn_referenced = abuf->written;
46023 INT in_FRinti = -1;
46024 INT in_FRintj = -1;
46025 INT in_ACC40Si = -1;
46026 INT in_ACCGi = -1;
46027 INT out_FRintk = -1;
46028 INT out_ACC40Sk = -1;
46029 INT out_ACC40Uk = -1;
46030 INT out_ACCGk = -1;
46031 in_ACC40Si = FLD (in_ACC40Si);
46032 out_FRintk = FLD (out_FRintk);
46033 referenced |= 1 << 2;
46034 referenced |= 1 << 4;
46035 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);
46037 return cycles;
46038 #undef FLD
46041 static int
46042 model_fr500_mrdaccg (SIM_CPU *current_cpu, void *sem_arg)
46044 #define FLD(f) abuf->fields.sfmt_mrdaccg.f
46045 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46046 const IDESC * UNUSED idesc = abuf->idesc;
46047 int cycles = 0;
46049 int referenced = 0;
46050 int UNUSED insn_referenced = abuf->written;
46051 INT in_FRinti = -1;
46052 INT in_FRintj = -1;
46053 INT in_ACC40Si = -1;
46054 INT in_ACCGi = -1;
46055 INT out_FRintk = -1;
46056 INT out_ACC40Sk = -1;
46057 INT out_ACC40Uk = -1;
46058 INT out_ACCGk = -1;
46059 in_ACCGi = FLD (in_ACCGi);
46060 out_FRintk = FLD (out_FRintk);
46061 referenced |= 1 << 3;
46062 referenced |= 1 << 4;
46063 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);
46065 return cycles;
46066 #undef FLD
46069 static int
46070 model_fr500_mwtacc (SIM_CPU *current_cpu, void *sem_arg)
46072 #define FLD(f) abuf->fields.sfmt_cmmachs.f
46073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46074 const IDESC * UNUSED idesc = abuf->idesc;
46075 int cycles = 0;
46077 int referenced = 0;
46078 int UNUSED insn_referenced = abuf->written;
46079 INT in_FRinti = -1;
46080 INT in_FRintj = -1;
46081 INT in_ACC40Si = -1;
46082 INT in_ACCGi = -1;
46083 INT out_FRintk = -1;
46084 INT out_ACC40Sk = -1;
46085 INT out_ACC40Uk = -1;
46086 INT out_ACCGk = -1;
46087 in_FRinti = FLD (in_FRinti);
46088 out_ACC40Sk = FLD (out_ACC40Sk);
46089 referenced |= 1 << 0;
46090 referenced |= 1 << 5;
46091 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);
46093 return cycles;
46094 #undef FLD
46097 static int
46098 model_fr500_mwtaccg (SIM_CPU *current_cpu, void *sem_arg)
46100 #define FLD(f) abuf->fields.sfmt_mwtaccg.f
46101 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46102 const IDESC * UNUSED idesc = abuf->idesc;
46103 int cycles = 0;
46105 int referenced = 0;
46106 int UNUSED insn_referenced = abuf->written;
46107 INT in_FRinti = -1;
46108 INT in_FRintj = -1;
46109 INT in_ACC40Si = -1;
46110 INT in_ACCGi = -1;
46111 INT out_FRintk = -1;
46112 INT out_ACC40Sk = -1;
46113 INT out_ACC40Uk = -1;
46114 INT out_ACCGk = -1;
46115 in_FRinti = FLD (in_FRinti);
46116 out_ACCGk = FLD (out_ACCGk);
46117 referenced |= 1 << 0;
46118 referenced |= 1 << 7;
46119 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);
46121 return cycles;
46122 #undef FLD
46125 static int
46126 model_fr500_mcop1 (SIM_CPU *current_cpu, void *sem_arg)
46128 #define FLD(f) abuf->fields.sfmt_empty.f
46129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46130 const IDESC * UNUSED idesc = abuf->idesc;
46131 int cycles = 0;
46133 int referenced = 0;
46134 int UNUSED insn_referenced = abuf->written;
46135 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
46137 return cycles;
46138 #undef FLD
46141 static int
46142 model_fr500_mcop2 (SIM_CPU *current_cpu, void *sem_arg)
46144 #define FLD(f) abuf->fields.sfmt_empty.f
46145 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46146 const IDESC * UNUSED idesc = abuf->idesc;
46147 int cycles = 0;
46149 int referenced = 0;
46150 int UNUSED insn_referenced = abuf->written;
46151 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
46153 return cycles;
46154 #undef FLD
46157 static int
46158 model_fr500_fnop (SIM_CPU *current_cpu, void *sem_arg)
46160 #define FLD(f) abuf->fields.sfmt_empty.f
46161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46162 const IDESC * UNUSED idesc = abuf->idesc;
46163 int cycles = 0;
46165 int referenced = 0;
46166 int UNUSED insn_referenced = abuf->written;
46167 cycles += frvbf_model_fr500_u_exec (current_cpu, idesc, 0, referenced);
46169 return cycles;
46170 #undef FLD
46173 static int
46174 model_tomcat_add (SIM_CPU *current_cpu, void *sem_arg)
46176 #define FLD(f) abuf->fields.sfmt_addcc.f
46177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46178 const IDESC * UNUSED idesc = abuf->idesc;
46179 int cycles = 0;
46181 int referenced = 0;
46182 int UNUSED insn_referenced = abuf->written;
46183 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46185 return cycles;
46186 #undef FLD
46189 static int
46190 model_tomcat_sub (SIM_CPU *current_cpu, void *sem_arg)
46192 #define FLD(f) abuf->fields.sfmt_addcc.f
46193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46194 const IDESC * UNUSED idesc = abuf->idesc;
46195 int cycles = 0;
46197 int referenced = 0;
46198 int UNUSED insn_referenced = abuf->written;
46199 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46201 return cycles;
46202 #undef FLD
46205 static int
46206 model_tomcat_and (SIM_CPU *current_cpu, void *sem_arg)
46208 #define FLD(f) abuf->fields.sfmt_addcc.f
46209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46210 const IDESC * UNUSED idesc = abuf->idesc;
46211 int cycles = 0;
46213 int referenced = 0;
46214 int UNUSED insn_referenced = abuf->written;
46215 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46217 return cycles;
46218 #undef FLD
46221 static int
46222 model_tomcat_or (SIM_CPU *current_cpu, void *sem_arg)
46224 #define FLD(f) abuf->fields.sfmt_addcc.f
46225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46226 const IDESC * UNUSED idesc = abuf->idesc;
46227 int cycles = 0;
46229 int referenced = 0;
46230 int UNUSED insn_referenced = abuf->written;
46231 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46233 return cycles;
46234 #undef FLD
46237 static int
46238 model_tomcat_xor (SIM_CPU *current_cpu, void *sem_arg)
46240 #define FLD(f) abuf->fields.sfmt_addcc.f
46241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46242 const IDESC * UNUSED idesc = abuf->idesc;
46243 int cycles = 0;
46245 int referenced = 0;
46246 int UNUSED insn_referenced = abuf->written;
46247 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46249 return cycles;
46250 #undef FLD
46253 static int
46254 model_tomcat_not (SIM_CPU *current_cpu, void *sem_arg)
46256 #define FLD(f) abuf->fields.sfmt_scutss.f
46257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46258 const IDESC * UNUSED idesc = abuf->idesc;
46259 int cycles = 0;
46261 int referenced = 0;
46262 int UNUSED insn_referenced = abuf->written;
46263 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46265 return cycles;
46266 #undef FLD
46269 static int
46270 model_tomcat_sdiv (SIM_CPU *current_cpu, void *sem_arg)
46272 #define FLD(f) abuf->fields.sfmt_addcc.f
46273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46274 const IDESC * UNUSED idesc = abuf->idesc;
46275 int cycles = 0;
46277 int referenced = 0;
46278 int UNUSED insn_referenced = abuf->written;
46279 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46281 return cycles;
46282 #undef FLD
46285 static int
46286 model_tomcat_nsdiv (SIM_CPU *current_cpu, void *sem_arg)
46288 #define FLD(f) abuf->fields.sfmt_addcc.f
46289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46290 const IDESC * UNUSED idesc = abuf->idesc;
46291 int cycles = 0;
46293 int referenced = 0;
46294 int UNUSED insn_referenced = abuf->written;
46295 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46297 return cycles;
46298 #undef FLD
46301 static int
46302 model_tomcat_udiv (SIM_CPU *current_cpu, void *sem_arg)
46304 #define FLD(f) abuf->fields.sfmt_addcc.f
46305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46306 const IDESC * UNUSED idesc = abuf->idesc;
46307 int cycles = 0;
46309 int referenced = 0;
46310 int UNUSED insn_referenced = abuf->written;
46311 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46313 return cycles;
46314 #undef FLD
46317 static int
46318 model_tomcat_nudiv (SIM_CPU *current_cpu, void *sem_arg)
46320 #define FLD(f) abuf->fields.sfmt_addcc.f
46321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46322 const IDESC * UNUSED idesc = abuf->idesc;
46323 int cycles = 0;
46325 int referenced = 0;
46326 int UNUSED insn_referenced = abuf->written;
46327 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46329 return cycles;
46330 #undef FLD
46333 static int
46334 model_tomcat_smul (SIM_CPU *current_cpu, void *sem_arg)
46336 #define FLD(f) abuf->fields.sfmt_smulcc.f
46337 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46338 const IDESC * UNUSED idesc = abuf->idesc;
46339 int cycles = 0;
46341 int referenced = 0;
46342 int UNUSED insn_referenced = abuf->written;
46343 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46345 return cycles;
46346 #undef FLD
46349 static int
46350 model_tomcat_umul (SIM_CPU *current_cpu, void *sem_arg)
46352 #define FLD(f) abuf->fields.sfmt_smulcc.f
46353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46354 const IDESC * UNUSED idesc = abuf->idesc;
46355 int cycles = 0;
46357 int referenced = 0;
46358 int UNUSED insn_referenced = abuf->written;
46359 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46361 return cycles;
46362 #undef FLD
46365 static int
46366 model_tomcat_smu (SIM_CPU *current_cpu, void *sem_arg)
46368 #define FLD(f) abuf->fields.sfmt_smass.f
46369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46370 const IDESC * UNUSED idesc = abuf->idesc;
46371 int cycles = 0;
46373 int referenced = 0;
46374 int UNUSED insn_referenced = abuf->written;
46375 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46377 return cycles;
46378 #undef FLD
46381 static int
46382 model_tomcat_smass (SIM_CPU *current_cpu, void *sem_arg)
46384 #define FLD(f) abuf->fields.sfmt_smass.f
46385 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46386 const IDESC * UNUSED idesc = abuf->idesc;
46387 int cycles = 0;
46389 int referenced = 0;
46390 int UNUSED insn_referenced = abuf->written;
46391 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46393 return cycles;
46394 #undef FLD
46397 static int
46398 model_tomcat_smsss (SIM_CPU *current_cpu, void *sem_arg)
46400 #define FLD(f) abuf->fields.sfmt_smass.f
46401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46402 const IDESC * UNUSED idesc = abuf->idesc;
46403 int cycles = 0;
46405 int referenced = 0;
46406 int UNUSED insn_referenced = abuf->written;
46407 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46409 return cycles;
46410 #undef FLD
46413 static int
46414 model_tomcat_sll (SIM_CPU *current_cpu, void *sem_arg)
46416 #define FLD(f) abuf->fields.sfmt_addcc.f
46417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46418 const IDESC * UNUSED idesc = abuf->idesc;
46419 int cycles = 0;
46421 int referenced = 0;
46422 int UNUSED insn_referenced = abuf->written;
46423 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46425 return cycles;
46426 #undef FLD
46429 static int
46430 model_tomcat_srl (SIM_CPU *current_cpu, void *sem_arg)
46432 #define FLD(f) abuf->fields.sfmt_addcc.f
46433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46434 const IDESC * UNUSED idesc = abuf->idesc;
46435 int cycles = 0;
46437 int referenced = 0;
46438 int UNUSED insn_referenced = abuf->written;
46439 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46441 return cycles;
46442 #undef FLD
46445 static int
46446 model_tomcat_sra (SIM_CPU *current_cpu, void *sem_arg)
46448 #define FLD(f) abuf->fields.sfmt_addcc.f
46449 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46450 const IDESC * UNUSED idesc = abuf->idesc;
46451 int cycles = 0;
46453 int referenced = 0;
46454 int UNUSED insn_referenced = abuf->written;
46455 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46457 return cycles;
46458 #undef FLD
46461 static int
46462 model_tomcat_slass (SIM_CPU *current_cpu, void *sem_arg)
46464 #define FLD(f) abuf->fields.sfmt_addcc.f
46465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46466 const IDESC * UNUSED idesc = abuf->idesc;
46467 int cycles = 0;
46469 int referenced = 0;
46470 int UNUSED insn_referenced = abuf->written;
46471 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46473 return cycles;
46474 #undef FLD
46477 static int
46478 model_tomcat_scutss (SIM_CPU *current_cpu, void *sem_arg)
46480 #define FLD(f) abuf->fields.sfmt_scutss.f
46481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46482 const IDESC * UNUSED idesc = abuf->idesc;
46483 int cycles = 0;
46485 int referenced = 0;
46486 int UNUSED insn_referenced = abuf->written;
46487 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46489 return cycles;
46490 #undef FLD
46493 static int
46494 model_tomcat_scan (SIM_CPU *current_cpu, void *sem_arg)
46496 #define FLD(f) abuf->fields.sfmt_addcc.f
46497 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46498 const IDESC * UNUSED idesc = abuf->idesc;
46499 int cycles = 0;
46501 int referenced = 0;
46502 int UNUSED insn_referenced = abuf->written;
46503 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46505 return cycles;
46506 #undef FLD
46509 static int
46510 model_tomcat_cadd (SIM_CPU *current_cpu, void *sem_arg)
46512 #define FLD(f) abuf->fields.sfmt_cswap.f
46513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46514 const IDESC * UNUSED idesc = abuf->idesc;
46515 int cycles = 0;
46517 int referenced = 0;
46518 int UNUSED insn_referenced = abuf->written;
46519 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46521 return cycles;
46522 #undef FLD
46525 static int
46526 model_tomcat_csub (SIM_CPU *current_cpu, void *sem_arg)
46528 #define FLD(f) abuf->fields.sfmt_cswap.f
46529 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46530 const IDESC * UNUSED idesc = abuf->idesc;
46531 int cycles = 0;
46533 int referenced = 0;
46534 int UNUSED insn_referenced = abuf->written;
46535 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46537 return cycles;
46538 #undef FLD
46541 static int
46542 model_tomcat_cand (SIM_CPU *current_cpu, void *sem_arg)
46544 #define FLD(f) abuf->fields.sfmt_cswap.f
46545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46546 const IDESC * UNUSED idesc = abuf->idesc;
46547 int cycles = 0;
46549 int referenced = 0;
46550 int UNUSED insn_referenced = abuf->written;
46551 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46553 return cycles;
46554 #undef FLD
46557 static int
46558 model_tomcat_cor (SIM_CPU *current_cpu, void *sem_arg)
46560 #define FLD(f) abuf->fields.sfmt_cswap.f
46561 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46562 const IDESC * UNUSED idesc = abuf->idesc;
46563 int cycles = 0;
46565 int referenced = 0;
46566 int UNUSED insn_referenced = abuf->written;
46567 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46569 return cycles;
46570 #undef FLD
46573 static int
46574 model_tomcat_cxor (SIM_CPU *current_cpu, void *sem_arg)
46576 #define FLD(f) abuf->fields.sfmt_cswap.f
46577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46578 const IDESC * UNUSED idesc = abuf->idesc;
46579 int cycles = 0;
46581 int referenced = 0;
46582 int UNUSED insn_referenced = abuf->written;
46583 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46585 return cycles;
46586 #undef FLD
46589 static int
46590 model_tomcat_cnot (SIM_CPU *current_cpu, void *sem_arg)
46592 #define FLD(f) abuf->fields.sfmt_cswap.f
46593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46594 const IDESC * UNUSED idesc = abuf->idesc;
46595 int cycles = 0;
46597 int referenced = 0;
46598 int UNUSED insn_referenced = abuf->written;
46599 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46601 return cycles;
46602 #undef FLD
46605 static int
46606 model_tomcat_csmul (SIM_CPU *current_cpu, void *sem_arg)
46608 #define FLD(f) abuf->fields.sfmt_clddu.f
46609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46610 const IDESC * UNUSED idesc = abuf->idesc;
46611 int cycles = 0;
46613 int referenced = 0;
46614 int UNUSED insn_referenced = abuf->written;
46615 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46617 return cycles;
46618 #undef FLD
46621 static int
46622 model_tomcat_csdiv (SIM_CPU *current_cpu, void *sem_arg)
46624 #define FLD(f) abuf->fields.sfmt_cswap.f
46625 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46626 const IDESC * UNUSED idesc = abuf->idesc;
46627 int cycles = 0;
46629 int referenced = 0;
46630 int UNUSED insn_referenced = abuf->written;
46631 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46633 return cycles;
46634 #undef FLD
46637 static int
46638 model_tomcat_cudiv (SIM_CPU *current_cpu, void *sem_arg)
46640 #define FLD(f) abuf->fields.sfmt_cswap.f
46641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46642 const IDESC * UNUSED idesc = abuf->idesc;
46643 int cycles = 0;
46645 int referenced = 0;
46646 int UNUSED insn_referenced = abuf->written;
46647 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46649 return cycles;
46650 #undef FLD
46653 static int
46654 model_tomcat_csll (SIM_CPU *current_cpu, void *sem_arg)
46656 #define FLD(f) abuf->fields.sfmt_cswap.f
46657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46658 const IDESC * UNUSED idesc = abuf->idesc;
46659 int cycles = 0;
46661 int referenced = 0;
46662 int UNUSED insn_referenced = abuf->written;
46663 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46665 return cycles;
46666 #undef FLD
46669 static int
46670 model_tomcat_csrl (SIM_CPU *current_cpu, void *sem_arg)
46672 #define FLD(f) abuf->fields.sfmt_cswap.f
46673 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46674 const IDESC * UNUSED idesc = abuf->idesc;
46675 int cycles = 0;
46677 int referenced = 0;
46678 int UNUSED insn_referenced = abuf->written;
46679 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46681 return cycles;
46682 #undef FLD
46685 static int
46686 model_tomcat_csra (SIM_CPU *current_cpu, void *sem_arg)
46688 #define FLD(f) abuf->fields.sfmt_cswap.f
46689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46690 const IDESC * UNUSED idesc = abuf->idesc;
46691 int cycles = 0;
46693 int referenced = 0;
46694 int UNUSED insn_referenced = abuf->written;
46695 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46697 return cycles;
46698 #undef FLD
46701 static int
46702 model_tomcat_cscan (SIM_CPU *current_cpu, void *sem_arg)
46704 #define FLD(f) abuf->fields.sfmt_cswap.f
46705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46706 const IDESC * UNUSED idesc = abuf->idesc;
46707 int cycles = 0;
46709 int referenced = 0;
46710 int UNUSED insn_referenced = abuf->written;
46711 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46713 return cycles;
46714 #undef FLD
46717 static int
46718 model_tomcat_addcc (SIM_CPU *current_cpu, void *sem_arg)
46720 #define FLD(f) abuf->fields.sfmt_addcc.f
46721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46722 const IDESC * UNUSED idesc = abuf->idesc;
46723 int cycles = 0;
46725 int referenced = 0;
46726 int UNUSED insn_referenced = abuf->written;
46727 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46729 return cycles;
46730 #undef FLD
46733 static int
46734 model_tomcat_subcc (SIM_CPU *current_cpu, void *sem_arg)
46736 #define FLD(f) abuf->fields.sfmt_addcc.f
46737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46738 const IDESC * UNUSED idesc = abuf->idesc;
46739 int cycles = 0;
46741 int referenced = 0;
46742 int UNUSED insn_referenced = abuf->written;
46743 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46745 return cycles;
46746 #undef FLD
46749 static int
46750 model_tomcat_andcc (SIM_CPU *current_cpu, void *sem_arg)
46752 #define FLD(f) abuf->fields.sfmt_addcc.f
46753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46754 const IDESC * UNUSED idesc = abuf->idesc;
46755 int cycles = 0;
46757 int referenced = 0;
46758 int UNUSED insn_referenced = abuf->written;
46759 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46761 return cycles;
46762 #undef FLD
46765 static int
46766 model_tomcat_orcc (SIM_CPU *current_cpu, void *sem_arg)
46768 #define FLD(f) abuf->fields.sfmt_addcc.f
46769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46770 const IDESC * UNUSED idesc = abuf->idesc;
46771 int cycles = 0;
46773 int referenced = 0;
46774 int UNUSED insn_referenced = abuf->written;
46775 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46777 return cycles;
46778 #undef FLD
46781 static int
46782 model_tomcat_xorcc (SIM_CPU *current_cpu, void *sem_arg)
46784 #define FLD(f) abuf->fields.sfmt_addcc.f
46785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46786 const IDESC * UNUSED idesc = abuf->idesc;
46787 int cycles = 0;
46789 int referenced = 0;
46790 int UNUSED insn_referenced = abuf->written;
46791 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46793 return cycles;
46794 #undef FLD
46797 static int
46798 model_tomcat_sllcc (SIM_CPU *current_cpu, void *sem_arg)
46800 #define FLD(f) abuf->fields.sfmt_addcc.f
46801 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46802 const IDESC * UNUSED idesc = abuf->idesc;
46803 int cycles = 0;
46805 int referenced = 0;
46806 int UNUSED insn_referenced = abuf->written;
46807 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46809 return cycles;
46810 #undef FLD
46813 static int
46814 model_tomcat_srlcc (SIM_CPU *current_cpu, void *sem_arg)
46816 #define FLD(f) abuf->fields.sfmt_addcc.f
46817 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46818 const IDESC * UNUSED idesc = abuf->idesc;
46819 int cycles = 0;
46821 int referenced = 0;
46822 int UNUSED insn_referenced = abuf->written;
46823 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46825 return cycles;
46826 #undef FLD
46829 static int
46830 model_tomcat_sracc (SIM_CPU *current_cpu, void *sem_arg)
46832 #define FLD(f) abuf->fields.sfmt_addcc.f
46833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46834 const IDESC * UNUSED idesc = abuf->idesc;
46835 int cycles = 0;
46837 int referenced = 0;
46838 int UNUSED insn_referenced = abuf->written;
46839 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46841 return cycles;
46842 #undef FLD
46845 static int
46846 model_tomcat_smulcc (SIM_CPU *current_cpu, void *sem_arg)
46848 #define FLD(f) abuf->fields.sfmt_smulcc.f
46849 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46850 const IDESC * UNUSED idesc = abuf->idesc;
46851 int cycles = 0;
46853 int referenced = 0;
46854 int UNUSED insn_referenced = abuf->written;
46855 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46857 return cycles;
46858 #undef FLD
46861 static int
46862 model_tomcat_umulcc (SIM_CPU *current_cpu, void *sem_arg)
46864 #define FLD(f) abuf->fields.sfmt_smulcc.f
46865 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46866 const IDESC * UNUSED idesc = abuf->idesc;
46867 int cycles = 0;
46869 int referenced = 0;
46870 int UNUSED insn_referenced = abuf->written;
46871 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46873 return cycles;
46874 #undef FLD
46877 static int
46878 model_tomcat_caddcc (SIM_CPU *current_cpu, void *sem_arg)
46880 #define FLD(f) abuf->fields.sfmt_caddcc.f
46881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46882 const IDESC * UNUSED idesc = abuf->idesc;
46883 int cycles = 0;
46885 int referenced = 0;
46886 int UNUSED insn_referenced = abuf->written;
46887 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46889 return cycles;
46890 #undef FLD
46893 static int
46894 model_tomcat_csubcc (SIM_CPU *current_cpu, void *sem_arg)
46896 #define FLD(f) abuf->fields.sfmt_caddcc.f
46897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46898 const IDESC * UNUSED idesc = abuf->idesc;
46899 int cycles = 0;
46901 int referenced = 0;
46902 int UNUSED insn_referenced = abuf->written;
46903 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46905 return cycles;
46906 #undef FLD
46909 static int
46910 model_tomcat_csmulcc (SIM_CPU *current_cpu, void *sem_arg)
46912 #define FLD(f) abuf->fields.sfmt_csmulcc.f
46913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46914 const IDESC * UNUSED idesc = abuf->idesc;
46915 int cycles = 0;
46917 int referenced = 0;
46918 int UNUSED insn_referenced = abuf->written;
46919 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46921 return cycles;
46922 #undef FLD
46925 static int
46926 model_tomcat_candcc (SIM_CPU *current_cpu, void *sem_arg)
46928 #define FLD(f) abuf->fields.sfmt_caddcc.f
46929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46930 const IDESC * UNUSED idesc = abuf->idesc;
46931 int cycles = 0;
46933 int referenced = 0;
46934 int UNUSED insn_referenced = abuf->written;
46935 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46937 return cycles;
46938 #undef FLD
46941 static int
46942 model_tomcat_corcc (SIM_CPU *current_cpu, void *sem_arg)
46944 #define FLD(f) abuf->fields.sfmt_caddcc.f
46945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46946 const IDESC * UNUSED idesc = abuf->idesc;
46947 int cycles = 0;
46949 int referenced = 0;
46950 int UNUSED insn_referenced = abuf->written;
46951 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46953 return cycles;
46954 #undef FLD
46957 static int
46958 model_tomcat_cxorcc (SIM_CPU *current_cpu, void *sem_arg)
46960 #define FLD(f) abuf->fields.sfmt_caddcc.f
46961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46962 const IDESC * UNUSED idesc = abuf->idesc;
46963 int cycles = 0;
46965 int referenced = 0;
46966 int UNUSED insn_referenced = abuf->written;
46967 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46969 return cycles;
46970 #undef FLD
46973 static int
46974 model_tomcat_csllcc (SIM_CPU *current_cpu, void *sem_arg)
46976 #define FLD(f) abuf->fields.sfmt_caddcc.f
46977 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46978 const IDESC * UNUSED idesc = abuf->idesc;
46979 int cycles = 0;
46981 int referenced = 0;
46982 int UNUSED insn_referenced = abuf->written;
46983 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
46985 return cycles;
46986 #undef FLD
46989 static int
46990 model_tomcat_csrlcc (SIM_CPU *current_cpu, void *sem_arg)
46992 #define FLD(f) abuf->fields.sfmt_caddcc.f
46993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
46994 const IDESC * UNUSED idesc = abuf->idesc;
46995 int cycles = 0;
46997 int referenced = 0;
46998 int UNUSED insn_referenced = abuf->written;
46999 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47001 return cycles;
47002 #undef FLD
47005 static int
47006 model_tomcat_csracc (SIM_CPU *current_cpu, void *sem_arg)
47008 #define FLD(f) abuf->fields.sfmt_caddcc.f
47009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47010 const IDESC * UNUSED idesc = abuf->idesc;
47011 int cycles = 0;
47013 int referenced = 0;
47014 int UNUSED insn_referenced = abuf->written;
47015 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47017 return cycles;
47018 #undef FLD
47021 static int
47022 model_tomcat_addx (SIM_CPU *current_cpu, void *sem_arg)
47024 #define FLD(f) abuf->fields.sfmt_addcc.f
47025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47026 const IDESC * UNUSED idesc = abuf->idesc;
47027 int cycles = 0;
47029 int referenced = 0;
47030 int UNUSED insn_referenced = abuf->written;
47031 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47033 return cycles;
47034 #undef FLD
47037 static int
47038 model_tomcat_subx (SIM_CPU *current_cpu, void *sem_arg)
47040 #define FLD(f) abuf->fields.sfmt_addcc.f
47041 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47042 const IDESC * UNUSED idesc = abuf->idesc;
47043 int cycles = 0;
47045 int referenced = 0;
47046 int UNUSED insn_referenced = abuf->written;
47047 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47049 return cycles;
47050 #undef FLD
47053 static int
47054 model_tomcat_addxcc (SIM_CPU *current_cpu, void *sem_arg)
47056 #define FLD(f) abuf->fields.sfmt_addcc.f
47057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47058 const IDESC * UNUSED idesc = abuf->idesc;
47059 int cycles = 0;
47061 int referenced = 0;
47062 int UNUSED insn_referenced = abuf->written;
47063 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47065 return cycles;
47066 #undef FLD
47069 static int
47070 model_tomcat_subxcc (SIM_CPU *current_cpu, void *sem_arg)
47072 #define FLD(f) abuf->fields.sfmt_addcc.f
47073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47074 const IDESC * UNUSED idesc = abuf->idesc;
47075 int cycles = 0;
47077 int referenced = 0;
47078 int UNUSED insn_referenced = abuf->written;
47079 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47081 return cycles;
47082 #undef FLD
47085 static int
47086 model_tomcat_addss (SIM_CPU *current_cpu, void *sem_arg)
47088 #define FLD(f) abuf->fields.sfmt_addcc.f
47089 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47090 const IDESC * UNUSED idesc = abuf->idesc;
47091 int cycles = 0;
47093 int referenced = 0;
47094 int UNUSED insn_referenced = abuf->written;
47095 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47097 return cycles;
47098 #undef FLD
47101 static int
47102 model_tomcat_subss (SIM_CPU *current_cpu, void *sem_arg)
47104 #define FLD(f) abuf->fields.sfmt_addcc.f
47105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47106 const IDESC * UNUSED idesc = abuf->idesc;
47107 int cycles = 0;
47109 int referenced = 0;
47110 int UNUSED insn_referenced = abuf->written;
47111 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47113 return cycles;
47114 #undef FLD
47117 static int
47118 model_tomcat_addi (SIM_CPU *current_cpu, void *sem_arg)
47120 #define FLD(f) abuf->fields.sfmt_swapi.f
47121 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47122 const IDESC * UNUSED idesc = abuf->idesc;
47123 int cycles = 0;
47125 int referenced = 0;
47126 int UNUSED insn_referenced = abuf->written;
47127 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47129 return cycles;
47130 #undef FLD
47133 static int
47134 model_tomcat_subi (SIM_CPU *current_cpu, void *sem_arg)
47136 #define FLD(f) abuf->fields.sfmt_swapi.f
47137 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47138 const IDESC * UNUSED idesc = abuf->idesc;
47139 int cycles = 0;
47141 int referenced = 0;
47142 int UNUSED insn_referenced = abuf->written;
47143 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47145 return cycles;
47146 #undef FLD
47149 static int
47150 model_tomcat_andi (SIM_CPU *current_cpu, void *sem_arg)
47152 #define FLD(f) abuf->fields.sfmt_swapi.f
47153 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47154 const IDESC * UNUSED idesc = abuf->idesc;
47155 int cycles = 0;
47157 int referenced = 0;
47158 int UNUSED insn_referenced = abuf->written;
47159 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47161 return cycles;
47162 #undef FLD
47165 static int
47166 model_tomcat_ori (SIM_CPU *current_cpu, void *sem_arg)
47168 #define FLD(f) abuf->fields.sfmt_swapi.f
47169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47170 const IDESC * UNUSED idesc = abuf->idesc;
47171 int cycles = 0;
47173 int referenced = 0;
47174 int UNUSED insn_referenced = abuf->written;
47175 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47177 return cycles;
47178 #undef FLD
47181 static int
47182 model_tomcat_xori (SIM_CPU *current_cpu, void *sem_arg)
47184 #define FLD(f) abuf->fields.sfmt_swapi.f
47185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47186 const IDESC * UNUSED idesc = abuf->idesc;
47187 int cycles = 0;
47189 int referenced = 0;
47190 int UNUSED insn_referenced = abuf->written;
47191 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47193 return cycles;
47194 #undef FLD
47197 static int
47198 model_tomcat_sdivi (SIM_CPU *current_cpu, void *sem_arg)
47200 #define FLD(f) abuf->fields.sfmt_swapi.f
47201 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47202 const IDESC * UNUSED idesc = abuf->idesc;
47203 int cycles = 0;
47205 int referenced = 0;
47206 int UNUSED insn_referenced = abuf->written;
47207 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47209 return cycles;
47210 #undef FLD
47213 static int
47214 model_tomcat_nsdivi (SIM_CPU *current_cpu, void *sem_arg)
47216 #define FLD(f) abuf->fields.sfmt_swapi.f
47217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47218 const IDESC * UNUSED idesc = abuf->idesc;
47219 int cycles = 0;
47221 int referenced = 0;
47222 int UNUSED insn_referenced = abuf->written;
47223 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47225 return cycles;
47226 #undef FLD
47229 static int
47230 model_tomcat_udivi (SIM_CPU *current_cpu, void *sem_arg)
47232 #define FLD(f) abuf->fields.sfmt_swapi.f
47233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47234 const IDESC * UNUSED idesc = abuf->idesc;
47235 int cycles = 0;
47237 int referenced = 0;
47238 int UNUSED insn_referenced = abuf->written;
47239 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47241 return cycles;
47242 #undef FLD
47245 static int
47246 model_tomcat_nudivi (SIM_CPU *current_cpu, void *sem_arg)
47248 #define FLD(f) abuf->fields.sfmt_swapi.f
47249 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47250 const IDESC * UNUSED idesc = abuf->idesc;
47251 int cycles = 0;
47253 int referenced = 0;
47254 int UNUSED insn_referenced = abuf->written;
47255 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47257 return cycles;
47258 #undef FLD
47261 static int
47262 model_tomcat_smuli (SIM_CPU *current_cpu, void *sem_arg)
47264 #define FLD(f) abuf->fields.sfmt_smuli.f
47265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47266 const IDESC * UNUSED idesc = abuf->idesc;
47267 int cycles = 0;
47269 int referenced = 0;
47270 int UNUSED insn_referenced = abuf->written;
47271 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47273 return cycles;
47274 #undef FLD
47277 static int
47278 model_tomcat_umuli (SIM_CPU *current_cpu, void *sem_arg)
47280 #define FLD(f) abuf->fields.sfmt_smuli.f
47281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47282 const IDESC * UNUSED idesc = abuf->idesc;
47283 int cycles = 0;
47285 int referenced = 0;
47286 int UNUSED insn_referenced = abuf->written;
47287 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47289 return cycles;
47290 #undef FLD
47293 static int
47294 model_tomcat_slli (SIM_CPU *current_cpu, void *sem_arg)
47296 #define FLD(f) abuf->fields.sfmt_swapi.f
47297 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47298 const IDESC * UNUSED idesc = abuf->idesc;
47299 int cycles = 0;
47301 int referenced = 0;
47302 int UNUSED insn_referenced = abuf->written;
47303 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47305 return cycles;
47306 #undef FLD
47309 static int
47310 model_tomcat_srli (SIM_CPU *current_cpu, void *sem_arg)
47312 #define FLD(f) abuf->fields.sfmt_swapi.f
47313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47314 const IDESC * UNUSED idesc = abuf->idesc;
47315 int cycles = 0;
47317 int referenced = 0;
47318 int UNUSED insn_referenced = abuf->written;
47319 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47321 return cycles;
47322 #undef FLD
47325 static int
47326 model_tomcat_srai (SIM_CPU *current_cpu, void *sem_arg)
47328 #define FLD(f) abuf->fields.sfmt_swapi.f
47329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47330 const IDESC * UNUSED idesc = abuf->idesc;
47331 int cycles = 0;
47333 int referenced = 0;
47334 int UNUSED insn_referenced = abuf->written;
47335 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47337 return cycles;
47338 #undef FLD
47341 static int
47342 model_tomcat_scani (SIM_CPU *current_cpu, void *sem_arg)
47344 #define FLD(f) abuf->fields.sfmt_swapi.f
47345 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47346 const IDESC * UNUSED idesc = abuf->idesc;
47347 int cycles = 0;
47349 int referenced = 0;
47350 int UNUSED insn_referenced = abuf->written;
47351 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47353 return cycles;
47354 #undef FLD
47357 static int
47358 model_tomcat_addicc (SIM_CPU *current_cpu, void *sem_arg)
47360 #define FLD(f) abuf->fields.sfmt_addicc.f
47361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47362 const IDESC * UNUSED idesc = abuf->idesc;
47363 int cycles = 0;
47365 int referenced = 0;
47366 int UNUSED insn_referenced = abuf->written;
47367 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47369 return cycles;
47370 #undef FLD
47373 static int
47374 model_tomcat_subicc (SIM_CPU *current_cpu, void *sem_arg)
47376 #define FLD(f) abuf->fields.sfmt_addicc.f
47377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47378 const IDESC * UNUSED idesc = abuf->idesc;
47379 int cycles = 0;
47381 int referenced = 0;
47382 int UNUSED insn_referenced = abuf->written;
47383 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47385 return cycles;
47386 #undef FLD
47389 static int
47390 model_tomcat_andicc (SIM_CPU *current_cpu, void *sem_arg)
47392 #define FLD(f) abuf->fields.sfmt_addicc.f
47393 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47394 const IDESC * UNUSED idesc = abuf->idesc;
47395 int cycles = 0;
47397 int referenced = 0;
47398 int UNUSED insn_referenced = abuf->written;
47399 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47401 return cycles;
47402 #undef FLD
47405 static int
47406 model_tomcat_oricc (SIM_CPU *current_cpu, void *sem_arg)
47408 #define FLD(f) abuf->fields.sfmt_addicc.f
47409 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47410 const IDESC * UNUSED idesc = abuf->idesc;
47411 int cycles = 0;
47413 int referenced = 0;
47414 int UNUSED insn_referenced = abuf->written;
47415 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47417 return cycles;
47418 #undef FLD
47421 static int
47422 model_tomcat_xoricc (SIM_CPU *current_cpu, void *sem_arg)
47424 #define FLD(f) abuf->fields.sfmt_addicc.f
47425 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47426 const IDESC * UNUSED idesc = abuf->idesc;
47427 int cycles = 0;
47429 int referenced = 0;
47430 int UNUSED insn_referenced = abuf->written;
47431 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47433 return cycles;
47434 #undef FLD
47437 static int
47438 model_tomcat_smulicc (SIM_CPU *current_cpu, void *sem_arg)
47440 #define FLD(f) abuf->fields.sfmt_smulicc.f
47441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47442 const IDESC * UNUSED idesc = abuf->idesc;
47443 int cycles = 0;
47445 int referenced = 0;
47446 int UNUSED insn_referenced = abuf->written;
47447 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47449 return cycles;
47450 #undef FLD
47453 static int
47454 model_tomcat_umulicc (SIM_CPU *current_cpu, void *sem_arg)
47456 #define FLD(f) abuf->fields.sfmt_smulicc.f
47457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47458 const IDESC * UNUSED idesc = abuf->idesc;
47459 int cycles = 0;
47461 int referenced = 0;
47462 int UNUSED insn_referenced = abuf->written;
47463 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47465 return cycles;
47466 #undef FLD
47469 static int
47470 model_tomcat_sllicc (SIM_CPU *current_cpu, void *sem_arg)
47472 #define FLD(f) abuf->fields.sfmt_addicc.f
47473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47474 const IDESC * UNUSED idesc = abuf->idesc;
47475 int cycles = 0;
47477 int referenced = 0;
47478 int UNUSED insn_referenced = abuf->written;
47479 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47481 return cycles;
47482 #undef FLD
47485 static int
47486 model_tomcat_srlicc (SIM_CPU *current_cpu, void *sem_arg)
47488 #define FLD(f) abuf->fields.sfmt_addicc.f
47489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47490 const IDESC * UNUSED idesc = abuf->idesc;
47491 int cycles = 0;
47493 int referenced = 0;
47494 int UNUSED insn_referenced = abuf->written;
47495 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47497 return cycles;
47498 #undef FLD
47501 static int
47502 model_tomcat_sraicc (SIM_CPU *current_cpu, void *sem_arg)
47504 #define FLD(f) abuf->fields.sfmt_addicc.f
47505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47506 const IDESC * UNUSED idesc = abuf->idesc;
47507 int cycles = 0;
47509 int referenced = 0;
47510 int UNUSED insn_referenced = abuf->written;
47511 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47513 return cycles;
47514 #undef FLD
47517 static int
47518 model_tomcat_addxi (SIM_CPU *current_cpu, void *sem_arg)
47520 #define FLD(f) abuf->fields.sfmt_addicc.f
47521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47522 const IDESC * UNUSED idesc = abuf->idesc;
47523 int cycles = 0;
47525 int referenced = 0;
47526 int UNUSED insn_referenced = abuf->written;
47527 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47529 return cycles;
47530 #undef FLD
47533 static int
47534 model_tomcat_subxi (SIM_CPU *current_cpu, void *sem_arg)
47536 #define FLD(f) abuf->fields.sfmt_addicc.f
47537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47538 const IDESC * UNUSED idesc = abuf->idesc;
47539 int cycles = 0;
47541 int referenced = 0;
47542 int UNUSED insn_referenced = abuf->written;
47543 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47545 return cycles;
47546 #undef FLD
47549 static int
47550 model_tomcat_addxicc (SIM_CPU *current_cpu, void *sem_arg)
47552 #define FLD(f) abuf->fields.sfmt_addicc.f
47553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47554 const IDESC * UNUSED idesc = abuf->idesc;
47555 int cycles = 0;
47557 int referenced = 0;
47558 int UNUSED insn_referenced = abuf->written;
47559 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47561 return cycles;
47562 #undef FLD
47565 static int
47566 model_tomcat_subxicc (SIM_CPU *current_cpu, void *sem_arg)
47568 #define FLD(f) abuf->fields.sfmt_addicc.f
47569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47570 const IDESC * UNUSED idesc = abuf->idesc;
47571 int cycles = 0;
47573 int referenced = 0;
47574 int UNUSED insn_referenced = abuf->written;
47575 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47577 return cycles;
47578 #undef FLD
47581 static int
47582 model_tomcat_cmpb (SIM_CPU *current_cpu, void *sem_arg)
47584 #define FLD(f) abuf->fields.sfmt_smulcc.f
47585 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47586 const IDESC * UNUSED idesc = abuf->idesc;
47587 int cycles = 0;
47589 int referenced = 0;
47590 int UNUSED insn_referenced = abuf->written;
47591 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47593 return cycles;
47594 #undef FLD
47597 static int
47598 model_tomcat_cmpba (SIM_CPU *current_cpu, void *sem_arg)
47600 #define FLD(f) abuf->fields.sfmt_smulcc.f
47601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47602 const IDESC * UNUSED idesc = abuf->idesc;
47603 int cycles = 0;
47605 int referenced = 0;
47606 int UNUSED insn_referenced = abuf->written;
47607 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47609 return cycles;
47610 #undef FLD
47613 static int
47614 model_tomcat_setlo (SIM_CPU *current_cpu, void *sem_arg)
47616 #define FLD(f) abuf->fields.sfmt_setlo.f
47617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47618 const IDESC * UNUSED idesc = abuf->idesc;
47619 int cycles = 0;
47621 int referenced = 0;
47622 int UNUSED insn_referenced = abuf->written;
47623 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47625 return cycles;
47626 #undef FLD
47629 static int
47630 model_tomcat_sethi (SIM_CPU *current_cpu, void *sem_arg)
47632 #define FLD(f) abuf->fields.sfmt_sethi.f
47633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47634 const IDESC * UNUSED idesc = abuf->idesc;
47635 int cycles = 0;
47637 int referenced = 0;
47638 int UNUSED insn_referenced = abuf->written;
47639 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47641 return cycles;
47642 #undef FLD
47645 static int
47646 model_tomcat_setlos (SIM_CPU *current_cpu, void *sem_arg)
47648 #define FLD(f) abuf->fields.sfmt_setlos.f
47649 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47650 const IDESC * UNUSED idesc = abuf->idesc;
47651 int cycles = 0;
47653 int referenced = 0;
47654 int UNUSED insn_referenced = abuf->written;
47655 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47657 return cycles;
47658 #undef FLD
47661 static int
47662 model_tomcat_ldsb (SIM_CPU *current_cpu, void *sem_arg)
47664 #define FLD(f) abuf->fields.sfmt_addcc.f
47665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47666 const IDESC * UNUSED idesc = abuf->idesc;
47667 int cycles = 0;
47669 int referenced = 0;
47670 int UNUSED insn_referenced = abuf->written;
47671 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47673 return cycles;
47674 #undef FLD
47677 static int
47678 model_tomcat_ldub (SIM_CPU *current_cpu, void *sem_arg)
47680 #define FLD(f) abuf->fields.sfmt_addcc.f
47681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47682 const IDESC * UNUSED idesc = abuf->idesc;
47683 int cycles = 0;
47685 int referenced = 0;
47686 int UNUSED insn_referenced = abuf->written;
47687 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47689 return cycles;
47690 #undef FLD
47693 static int
47694 model_tomcat_ldsh (SIM_CPU *current_cpu, void *sem_arg)
47696 #define FLD(f) abuf->fields.sfmt_addcc.f
47697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47698 const IDESC * UNUSED idesc = abuf->idesc;
47699 int cycles = 0;
47701 int referenced = 0;
47702 int UNUSED insn_referenced = abuf->written;
47703 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47705 return cycles;
47706 #undef FLD
47709 static int
47710 model_tomcat_lduh (SIM_CPU *current_cpu, void *sem_arg)
47712 #define FLD(f) abuf->fields.sfmt_addcc.f
47713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47714 const IDESC * UNUSED idesc = abuf->idesc;
47715 int cycles = 0;
47717 int referenced = 0;
47718 int UNUSED insn_referenced = abuf->written;
47719 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47721 return cycles;
47722 #undef FLD
47725 static int
47726 model_tomcat_ld (SIM_CPU *current_cpu, void *sem_arg)
47728 #define FLD(f) abuf->fields.sfmt_addcc.f
47729 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47730 const IDESC * UNUSED idesc = abuf->idesc;
47731 int cycles = 0;
47733 int referenced = 0;
47734 int UNUSED insn_referenced = abuf->written;
47735 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47737 return cycles;
47738 #undef FLD
47741 static int
47742 model_tomcat_ldbf (SIM_CPU *current_cpu, void *sem_arg)
47744 #define FLD(f) abuf->fields.sfmt_cldbfu.f
47745 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47746 const IDESC * UNUSED idesc = abuf->idesc;
47747 int cycles = 0;
47749 int referenced = 0;
47750 int UNUSED insn_referenced = abuf->written;
47751 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47753 return cycles;
47754 #undef FLD
47757 static int
47758 model_tomcat_ldhf (SIM_CPU *current_cpu, void *sem_arg)
47760 #define FLD(f) abuf->fields.sfmt_cldbfu.f
47761 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47762 const IDESC * UNUSED idesc = abuf->idesc;
47763 int cycles = 0;
47765 int referenced = 0;
47766 int UNUSED insn_referenced = abuf->written;
47767 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47769 return cycles;
47770 #undef FLD
47773 static int
47774 model_tomcat_ldf (SIM_CPU *current_cpu, void *sem_arg)
47776 #define FLD(f) abuf->fields.sfmt_cldbfu.f
47777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47778 const IDESC * UNUSED idesc = abuf->idesc;
47779 int cycles = 0;
47781 int referenced = 0;
47782 int UNUSED insn_referenced = abuf->written;
47783 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47785 return cycles;
47786 #undef FLD
47789 static int
47790 model_tomcat_ldc (SIM_CPU *current_cpu, void *sem_arg)
47792 #define FLD(f) abuf->fields.sfmt_ldcu.f
47793 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47794 const IDESC * UNUSED idesc = abuf->idesc;
47795 int cycles = 0;
47797 int referenced = 0;
47798 int UNUSED insn_referenced = abuf->written;
47799 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47801 return cycles;
47802 #undef FLD
47805 static int
47806 model_tomcat_nldsb (SIM_CPU *current_cpu, void *sem_arg)
47808 #define FLD(f) abuf->fields.sfmt_addcc.f
47809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47810 const IDESC * UNUSED idesc = abuf->idesc;
47811 int cycles = 0;
47813 int referenced = 0;
47814 int UNUSED insn_referenced = abuf->written;
47815 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47817 return cycles;
47818 #undef FLD
47821 static int
47822 model_tomcat_nldub (SIM_CPU *current_cpu, void *sem_arg)
47824 #define FLD(f) abuf->fields.sfmt_addcc.f
47825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47826 const IDESC * UNUSED idesc = abuf->idesc;
47827 int cycles = 0;
47829 int referenced = 0;
47830 int UNUSED insn_referenced = abuf->written;
47831 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47833 return cycles;
47834 #undef FLD
47837 static int
47838 model_tomcat_nldsh (SIM_CPU *current_cpu, void *sem_arg)
47840 #define FLD(f) abuf->fields.sfmt_addcc.f
47841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47842 const IDESC * UNUSED idesc = abuf->idesc;
47843 int cycles = 0;
47845 int referenced = 0;
47846 int UNUSED insn_referenced = abuf->written;
47847 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47849 return cycles;
47850 #undef FLD
47853 static int
47854 model_tomcat_nlduh (SIM_CPU *current_cpu, void *sem_arg)
47856 #define FLD(f) abuf->fields.sfmt_addcc.f
47857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47858 const IDESC * UNUSED idesc = abuf->idesc;
47859 int cycles = 0;
47861 int referenced = 0;
47862 int UNUSED insn_referenced = abuf->written;
47863 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47865 return cycles;
47866 #undef FLD
47869 static int
47870 model_tomcat_nld (SIM_CPU *current_cpu, void *sem_arg)
47872 #define FLD(f) abuf->fields.sfmt_addcc.f
47873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47874 const IDESC * UNUSED idesc = abuf->idesc;
47875 int cycles = 0;
47877 int referenced = 0;
47878 int UNUSED insn_referenced = abuf->written;
47879 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47881 return cycles;
47882 #undef FLD
47885 static int
47886 model_tomcat_nldbf (SIM_CPU *current_cpu, void *sem_arg)
47888 #define FLD(f) abuf->fields.sfmt_cldbfu.f
47889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47890 const IDESC * UNUSED idesc = abuf->idesc;
47891 int cycles = 0;
47893 int referenced = 0;
47894 int UNUSED insn_referenced = abuf->written;
47895 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47897 return cycles;
47898 #undef FLD
47901 static int
47902 model_tomcat_nldhf (SIM_CPU *current_cpu, void *sem_arg)
47904 #define FLD(f) abuf->fields.sfmt_cldbfu.f
47905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47906 const IDESC * UNUSED idesc = abuf->idesc;
47907 int cycles = 0;
47909 int referenced = 0;
47910 int UNUSED insn_referenced = abuf->written;
47911 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47913 return cycles;
47914 #undef FLD
47917 static int
47918 model_tomcat_nldf (SIM_CPU *current_cpu, void *sem_arg)
47920 #define FLD(f) abuf->fields.sfmt_cldbfu.f
47921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47922 const IDESC * UNUSED idesc = abuf->idesc;
47923 int cycles = 0;
47925 int referenced = 0;
47926 int UNUSED insn_referenced = abuf->written;
47927 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47929 return cycles;
47930 #undef FLD
47933 static int
47934 model_tomcat_ldd (SIM_CPU *current_cpu, void *sem_arg)
47936 #define FLD(f) abuf->fields.sfmt_smulcc.f
47937 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47938 const IDESC * UNUSED idesc = abuf->idesc;
47939 int cycles = 0;
47941 int referenced = 0;
47942 int UNUSED insn_referenced = abuf->written;
47943 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47945 return cycles;
47946 #undef FLD
47949 static int
47950 model_tomcat_lddf (SIM_CPU *current_cpu, void *sem_arg)
47952 #define FLD(f) abuf->fields.sfmt_clddfu.f
47953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47954 const IDESC * UNUSED idesc = abuf->idesc;
47955 int cycles = 0;
47957 int referenced = 0;
47958 int UNUSED insn_referenced = abuf->written;
47959 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47961 return cycles;
47962 #undef FLD
47965 static int
47966 model_tomcat_lddc (SIM_CPU *current_cpu, void *sem_arg)
47968 #define FLD(f) abuf->fields.sfmt_lddcu.f
47969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47970 const IDESC * UNUSED idesc = abuf->idesc;
47971 int cycles = 0;
47973 int referenced = 0;
47974 int UNUSED insn_referenced = abuf->written;
47975 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47977 return cycles;
47978 #undef FLD
47981 static int
47982 model_tomcat_nldd (SIM_CPU *current_cpu, void *sem_arg)
47984 #define FLD(f) abuf->fields.sfmt_smulcc.f
47985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
47986 const IDESC * UNUSED idesc = abuf->idesc;
47987 int cycles = 0;
47989 int referenced = 0;
47990 int UNUSED insn_referenced = abuf->written;
47991 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
47993 return cycles;
47994 #undef FLD
47997 static int
47998 model_tomcat_nlddf (SIM_CPU *current_cpu, void *sem_arg)
48000 #define FLD(f) abuf->fields.sfmt_clddfu.f
48001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48002 const IDESC * UNUSED idesc = abuf->idesc;
48003 int cycles = 0;
48005 int referenced = 0;
48006 int UNUSED insn_referenced = abuf->written;
48007 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48009 return cycles;
48010 #undef FLD
48013 static int
48014 model_tomcat_ldq (SIM_CPU *current_cpu, void *sem_arg)
48016 #define FLD(f) abuf->fields.sfmt_smulcc.f
48017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48018 const IDESC * UNUSED idesc = abuf->idesc;
48019 int cycles = 0;
48021 int referenced = 0;
48022 int UNUSED insn_referenced = abuf->written;
48023 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48025 return cycles;
48026 #undef FLD
48029 static int
48030 model_tomcat_ldqf (SIM_CPU *current_cpu, void *sem_arg)
48032 #define FLD(f) abuf->fields.sfmt_cstdfu.f
48033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48034 const IDESC * UNUSED idesc = abuf->idesc;
48035 int cycles = 0;
48037 int referenced = 0;
48038 int UNUSED insn_referenced = abuf->written;
48039 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48041 return cycles;
48042 #undef FLD
48045 static int
48046 model_tomcat_ldqc (SIM_CPU *current_cpu, void *sem_arg)
48048 #define FLD(f) abuf->fields.sfmt_stdcu.f
48049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48050 const IDESC * UNUSED idesc = abuf->idesc;
48051 int cycles = 0;
48053 int referenced = 0;
48054 int UNUSED insn_referenced = abuf->written;
48055 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48057 return cycles;
48058 #undef FLD
48061 static int
48062 model_tomcat_nldq (SIM_CPU *current_cpu, void *sem_arg)
48064 #define FLD(f) abuf->fields.sfmt_smulcc.f
48065 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48066 const IDESC * UNUSED idesc = abuf->idesc;
48067 int cycles = 0;
48069 int referenced = 0;
48070 int UNUSED insn_referenced = abuf->written;
48071 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48073 return cycles;
48074 #undef FLD
48077 static int
48078 model_tomcat_nldqf (SIM_CPU *current_cpu, void *sem_arg)
48080 #define FLD(f) abuf->fields.sfmt_cstdfu.f
48081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48082 const IDESC * UNUSED idesc = abuf->idesc;
48083 int cycles = 0;
48085 int referenced = 0;
48086 int UNUSED insn_referenced = abuf->written;
48087 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48089 return cycles;
48090 #undef FLD
48093 static int
48094 model_tomcat_ldsbu (SIM_CPU *current_cpu, void *sem_arg)
48096 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48098 const IDESC * UNUSED idesc = abuf->idesc;
48099 int cycles = 0;
48101 int referenced = 0;
48102 int UNUSED insn_referenced = abuf->written;
48103 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48105 return cycles;
48106 #undef FLD
48109 static int
48110 model_tomcat_ldubu (SIM_CPU *current_cpu, void *sem_arg)
48112 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48114 const IDESC * UNUSED idesc = abuf->idesc;
48115 int cycles = 0;
48117 int referenced = 0;
48118 int UNUSED insn_referenced = abuf->written;
48119 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48121 return cycles;
48122 #undef FLD
48125 static int
48126 model_tomcat_ldshu (SIM_CPU *current_cpu, void *sem_arg)
48128 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48130 const IDESC * UNUSED idesc = abuf->idesc;
48131 int cycles = 0;
48133 int referenced = 0;
48134 int UNUSED insn_referenced = abuf->written;
48135 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48137 return cycles;
48138 #undef FLD
48141 static int
48142 model_tomcat_lduhu (SIM_CPU *current_cpu, void *sem_arg)
48144 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48145 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48146 const IDESC * UNUSED idesc = abuf->idesc;
48147 int cycles = 0;
48149 int referenced = 0;
48150 int UNUSED insn_referenced = abuf->written;
48151 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48153 return cycles;
48154 #undef FLD
48157 static int
48158 model_tomcat_ldu (SIM_CPU *current_cpu, void *sem_arg)
48160 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48162 const IDESC * UNUSED idesc = abuf->idesc;
48163 int cycles = 0;
48165 int referenced = 0;
48166 int UNUSED insn_referenced = abuf->written;
48167 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48169 return cycles;
48170 #undef FLD
48173 static int
48174 model_tomcat_nldsbu (SIM_CPU *current_cpu, void *sem_arg)
48176 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48178 const IDESC * UNUSED idesc = abuf->idesc;
48179 int cycles = 0;
48181 int referenced = 0;
48182 int UNUSED insn_referenced = abuf->written;
48183 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48185 return cycles;
48186 #undef FLD
48189 static int
48190 model_tomcat_nldubu (SIM_CPU *current_cpu, void *sem_arg)
48192 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48194 const IDESC * UNUSED idesc = abuf->idesc;
48195 int cycles = 0;
48197 int referenced = 0;
48198 int UNUSED insn_referenced = abuf->written;
48199 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48201 return cycles;
48202 #undef FLD
48205 static int
48206 model_tomcat_nldshu (SIM_CPU *current_cpu, void *sem_arg)
48208 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48210 const IDESC * UNUSED idesc = abuf->idesc;
48211 int cycles = 0;
48213 int referenced = 0;
48214 int UNUSED insn_referenced = abuf->written;
48215 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48217 return cycles;
48218 #undef FLD
48221 static int
48222 model_tomcat_nlduhu (SIM_CPU *current_cpu, void *sem_arg)
48224 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48226 const IDESC * UNUSED idesc = abuf->idesc;
48227 int cycles = 0;
48229 int referenced = 0;
48230 int UNUSED insn_referenced = abuf->written;
48231 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48233 return cycles;
48234 #undef FLD
48237 static int
48238 model_tomcat_nldu (SIM_CPU *current_cpu, void *sem_arg)
48240 #define FLD(f) abuf->fields.sfmt_cldsbu.f
48241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48242 const IDESC * UNUSED idesc = abuf->idesc;
48243 int cycles = 0;
48245 int referenced = 0;
48246 int UNUSED insn_referenced = abuf->written;
48247 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48249 return cycles;
48250 #undef FLD
48253 static int
48254 model_tomcat_ldbfu (SIM_CPU *current_cpu, void *sem_arg)
48256 #define FLD(f) abuf->fields.sfmt_cldbfu.f
48257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48258 const IDESC * UNUSED idesc = abuf->idesc;
48259 int cycles = 0;
48261 int referenced = 0;
48262 int UNUSED insn_referenced = abuf->written;
48263 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48265 return cycles;
48266 #undef FLD
48269 static int
48270 model_tomcat_ldhfu (SIM_CPU *current_cpu, void *sem_arg)
48272 #define FLD(f) abuf->fields.sfmt_cldbfu.f
48273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48274 const IDESC * UNUSED idesc = abuf->idesc;
48275 int cycles = 0;
48277 int referenced = 0;
48278 int UNUSED insn_referenced = abuf->written;
48279 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48281 return cycles;
48282 #undef FLD
48285 static int
48286 model_tomcat_ldfu (SIM_CPU *current_cpu, void *sem_arg)
48288 #define FLD(f) abuf->fields.sfmt_cldbfu.f
48289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48290 const IDESC * UNUSED idesc = abuf->idesc;
48291 int cycles = 0;
48293 int referenced = 0;
48294 int UNUSED insn_referenced = abuf->written;
48295 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48297 return cycles;
48298 #undef FLD
48301 static int
48302 model_tomcat_ldcu (SIM_CPU *current_cpu, void *sem_arg)
48304 #define FLD(f) abuf->fields.sfmt_ldcu.f
48305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48306 const IDESC * UNUSED idesc = abuf->idesc;
48307 int cycles = 0;
48309 int referenced = 0;
48310 int UNUSED insn_referenced = abuf->written;
48311 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48313 return cycles;
48314 #undef FLD
48317 static int
48318 model_tomcat_nldbfu (SIM_CPU *current_cpu, void *sem_arg)
48320 #define FLD(f) abuf->fields.sfmt_cldbfu.f
48321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48322 const IDESC * UNUSED idesc = abuf->idesc;
48323 int cycles = 0;
48325 int referenced = 0;
48326 int UNUSED insn_referenced = abuf->written;
48327 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48329 return cycles;
48330 #undef FLD
48333 static int
48334 model_tomcat_nldhfu (SIM_CPU *current_cpu, void *sem_arg)
48336 #define FLD(f) abuf->fields.sfmt_cldbfu.f
48337 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48338 const IDESC * UNUSED idesc = abuf->idesc;
48339 int cycles = 0;
48341 int referenced = 0;
48342 int UNUSED insn_referenced = abuf->written;
48343 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48345 return cycles;
48346 #undef FLD
48349 static int
48350 model_tomcat_nldfu (SIM_CPU *current_cpu, void *sem_arg)
48352 #define FLD(f) abuf->fields.sfmt_cldbfu.f
48353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48354 const IDESC * UNUSED idesc = abuf->idesc;
48355 int cycles = 0;
48357 int referenced = 0;
48358 int UNUSED insn_referenced = abuf->written;
48359 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48361 return cycles;
48362 #undef FLD
48365 static int
48366 model_tomcat_lddu (SIM_CPU *current_cpu, void *sem_arg)
48368 #define FLD(f) abuf->fields.sfmt_clddu.f
48369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48370 const IDESC * UNUSED idesc = abuf->idesc;
48371 int cycles = 0;
48373 int referenced = 0;
48374 int UNUSED insn_referenced = abuf->written;
48375 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48377 return cycles;
48378 #undef FLD
48381 static int
48382 model_tomcat_nlddu (SIM_CPU *current_cpu, void *sem_arg)
48384 #define FLD(f) abuf->fields.sfmt_clddu.f
48385 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48386 const IDESC * UNUSED idesc = abuf->idesc;
48387 int cycles = 0;
48389 int referenced = 0;
48390 int UNUSED insn_referenced = abuf->written;
48391 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48393 return cycles;
48394 #undef FLD
48397 static int
48398 model_tomcat_lddfu (SIM_CPU *current_cpu, void *sem_arg)
48400 #define FLD(f) abuf->fields.sfmt_clddfu.f
48401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48402 const IDESC * UNUSED idesc = abuf->idesc;
48403 int cycles = 0;
48405 int referenced = 0;
48406 int UNUSED insn_referenced = abuf->written;
48407 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48409 return cycles;
48410 #undef FLD
48413 static int
48414 model_tomcat_lddcu (SIM_CPU *current_cpu, void *sem_arg)
48416 #define FLD(f) abuf->fields.sfmt_lddcu.f
48417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48418 const IDESC * UNUSED idesc = abuf->idesc;
48419 int cycles = 0;
48421 int referenced = 0;
48422 int UNUSED insn_referenced = abuf->written;
48423 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48425 return cycles;
48426 #undef FLD
48429 static int
48430 model_tomcat_nlddfu (SIM_CPU *current_cpu, void *sem_arg)
48432 #define FLD(f) abuf->fields.sfmt_clddfu.f
48433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48434 const IDESC * UNUSED idesc = abuf->idesc;
48435 int cycles = 0;
48437 int referenced = 0;
48438 int UNUSED insn_referenced = abuf->written;
48439 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48441 return cycles;
48442 #undef FLD
48445 static int
48446 model_tomcat_ldqu (SIM_CPU *current_cpu, void *sem_arg)
48448 #define FLD(f) abuf->fields.sfmt_cstdu.f
48449 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48450 const IDESC * UNUSED idesc = abuf->idesc;
48451 int cycles = 0;
48453 int referenced = 0;
48454 int UNUSED insn_referenced = abuf->written;
48455 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48457 return cycles;
48458 #undef FLD
48461 static int
48462 model_tomcat_nldqu (SIM_CPU *current_cpu, void *sem_arg)
48464 #define FLD(f) abuf->fields.sfmt_cstdu.f
48465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48466 const IDESC * UNUSED idesc = abuf->idesc;
48467 int cycles = 0;
48469 int referenced = 0;
48470 int UNUSED insn_referenced = abuf->written;
48471 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48473 return cycles;
48474 #undef FLD
48477 static int
48478 model_tomcat_ldqfu (SIM_CPU *current_cpu, void *sem_arg)
48480 #define FLD(f) abuf->fields.sfmt_cstdfu.f
48481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48482 const IDESC * UNUSED idesc = abuf->idesc;
48483 int cycles = 0;
48485 int referenced = 0;
48486 int UNUSED insn_referenced = abuf->written;
48487 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48489 return cycles;
48490 #undef FLD
48493 static int
48494 model_tomcat_ldqcu (SIM_CPU *current_cpu, void *sem_arg)
48496 #define FLD(f) abuf->fields.sfmt_stdcu.f
48497 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48498 const IDESC * UNUSED idesc = abuf->idesc;
48499 int cycles = 0;
48501 int referenced = 0;
48502 int UNUSED insn_referenced = abuf->written;
48503 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48505 return cycles;
48506 #undef FLD
48509 static int
48510 model_tomcat_nldqfu (SIM_CPU *current_cpu, void *sem_arg)
48512 #define FLD(f) abuf->fields.sfmt_cstdfu.f
48513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48514 const IDESC * UNUSED idesc = abuf->idesc;
48515 int cycles = 0;
48517 int referenced = 0;
48518 int UNUSED insn_referenced = abuf->written;
48519 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48521 return cycles;
48522 #undef FLD
48525 static int
48526 model_tomcat_ldsbi (SIM_CPU *current_cpu, void *sem_arg)
48528 #define FLD(f) abuf->fields.sfmt_swapi.f
48529 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48530 const IDESC * UNUSED idesc = abuf->idesc;
48531 int cycles = 0;
48533 int referenced = 0;
48534 int UNUSED insn_referenced = abuf->written;
48535 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48537 return cycles;
48538 #undef FLD
48541 static int
48542 model_tomcat_ldshi (SIM_CPU *current_cpu, void *sem_arg)
48544 #define FLD(f) abuf->fields.sfmt_swapi.f
48545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48546 const IDESC * UNUSED idesc = abuf->idesc;
48547 int cycles = 0;
48549 int referenced = 0;
48550 int UNUSED insn_referenced = abuf->written;
48551 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48553 return cycles;
48554 #undef FLD
48557 static int
48558 model_tomcat_ldi (SIM_CPU *current_cpu, void *sem_arg)
48560 #define FLD(f) abuf->fields.sfmt_swapi.f
48561 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48562 const IDESC * UNUSED idesc = abuf->idesc;
48563 int cycles = 0;
48565 int referenced = 0;
48566 int UNUSED insn_referenced = abuf->written;
48567 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48569 return cycles;
48570 #undef FLD
48573 static int
48574 model_tomcat_ldubi (SIM_CPU *current_cpu, void *sem_arg)
48576 #define FLD(f) abuf->fields.sfmt_swapi.f
48577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48578 const IDESC * UNUSED idesc = abuf->idesc;
48579 int cycles = 0;
48581 int referenced = 0;
48582 int UNUSED insn_referenced = abuf->written;
48583 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48585 return cycles;
48586 #undef FLD
48589 static int
48590 model_tomcat_lduhi (SIM_CPU *current_cpu, void *sem_arg)
48592 #define FLD(f) abuf->fields.sfmt_swapi.f
48593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48594 const IDESC * UNUSED idesc = abuf->idesc;
48595 int cycles = 0;
48597 int referenced = 0;
48598 int UNUSED insn_referenced = abuf->written;
48599 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48601 return cycles;
48602 #undef FLD
48605 static int
48606 model_tomcat_ldbfi (SIM_CPU *current_cpu, void *sem_arg)
48608 #define FLD(f) abuf->fields.sfmt_ldbfi.f
48609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48610 const IDESC * UNUSED idesc = abuf->idesc;
48611 int cycles = 0;
48613 int referenced = 0;
48614 int UNUSED insn_referenced = abuf->written;
48615 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48617 return cycles;
48618 #undef FLD
48621 static int
48622 model_tomcat_ldhfi (SIM_CPU *current_cpu, void *sem_arg)
48624 #define FLD(f) abuf->fields.sfmt_ldbfi.f
48625 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48626 const IDESC * UNUSED idesc = abuf->idesc;
48627 int cycles = 0;
48629 int referenced = 0;
48630 int UNUSED insn_referenced = abuf->written;
48631 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48633 return cycles;
48634 #undef FLD
48637 static int
48638 model_tomcat_ldfi (SIM_CPU *current_cpu, void *sem_arg)
48640 #define FLD(f) abuf->fields.sfmt_ldbfi.f
48641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48642 const IDESC * UNUSED idesc = abuf->idesc;
48643 int cycles = 0;
48645 int referenced = 0;
48646 int UNUSED insn_referenced = abuf->written;
48647 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48649 return cycles;
48650 #undef FLD
48653 static int
48654 model_tomcat_nldsbi (SIM_CPU *current_cpu, void *sem_arg)
48656 #define FLD(f) abuf->fields.sfmt_swapi.f
48657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48658 const IDESC * UNUSED idesc = abuf->idesc;
48659 int cycles = 0;
48661 int referenced = 0;
48662 int UNUSED insn_referenced = abuf->written;
48663 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48665 return cycles;
48666 #undef FLD
48669 static int
48670 model_tomcat_nldubi (SIM_CPU *current_cpu, void *sem_arg)
48672 #define FLD(f) abuf->fields.sfmt_swapi.f
48673 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48674 const IDESC * UNUSED idesc = abuf->idesc;
48675 int cycles = 0;
48677 int referenced = 0;
48678 int UNUSED insn_referenced = abuf->written;
48679 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48681 return cycles;
48682 #undef FLD
48685 static int
48686 model_tomcat_nldshi (SIM_CPU *current_cpu, void *sem_arg)
48688 #define FLD(f) abuf->fields.sfmt_swapi.f
48689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48690 const IDESC * UNUSED idesc = abuf->idesc;
48691 int cycles = 0;
48693 int referenced = 0;
48694 int UNUSED insn_referenced = abuf->written;
48695 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48697 return cycles;
48698 #undef FLD
48701 static int
48702 model_tomcat_nlduhi (SIM_CPU *current_cpu, void *sem_arg)
48704 #define FLD(f) abuf->fields.sfmt_swapi.f
48705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48706 const IDESC * UNUSED idesc = abuf->idesc;
48707 int cycles = 0;
48709 int referenced = 0;
48710 int UNUSED insn_referenced = abuf->written;
48711 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48713 return cycles;
48714 #undef FLD
48717 static int
48718 model_tomcat_nldi (SIM_CPU *current_cpu, void *sem_arg)
48720 #define FLD(f) abuf->fields.sfmt_swapi.f
48721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48722 const IDESC * UNUSED idesc = abuf->idesc;
48723 int cycles = 0;
48725 int referenced = 0;
48726 int UNUSED insn_referenced = abuf->written;
48727 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48729 return cycles;
48730 #undef FLD
48733 static int
48734 model_tomcat_nldbfi (SIM_CPU *current_cpu, void *sem_arg)
48736 #define FLD(f) abuf->fields.sfmt_ldbfi.f
48737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48738 const IDESC * UNUSED idesc = abuf->idesc;
48739 int cycles = 0;
48741 int referenced = 0;
48742 int UNUSED insn_referenced = abuf->written;
48743 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48745 return cycles;
48746 #undef FLD
48749 static int
48750 model_tomcat_nldhfi (SIM_CPU *current_cpu, void *sem_arg)
48752 #define FLD(f) abuf->fields.sfmt_ldbfi.f
48753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48754 const IDESC * UNUSED idesc = abuf->idesc;
48755 int cycles = 0;
48757 int referenced = 0;
48758 int UNUSED insn_referenced = abuf->written;
48759 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48761 return cycles;
48762 #undef FLD
48765 static int
48766 model_tomcat_nldfi (SIM_CPU *current_cpu, void *sem_arg)
48768 #define FLD(f) abuf->fields.sfmt_ldbfi.f
48769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48770 const IDESC * UNUSED idesc = abuf->idesc;
48771 int cycles = 0;
48773 int referenced = 0;
48774 int UNUSED insn_referenced = abuf->written;
48775 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48777 return cycles;
48778 #undef FLD
48781 static int
48782 model_tomcat_lddi (SIM_CPU *current_cpu, void *sem_arg)
48784 #define FLD(f) abuf->fields.sfmt_smuli.f
48785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48786 const IDESC * UNUSED idesc = abuf->idesc;
48787 int cycles = 0;
48789 int referenced = 0;
48790 int UNUSED insn_referenced = abuf->written;
48791 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48793 return cycles;
48794 #undef FLD
48797 static int
48798 model_tomcat_lddfi (SIM_CPU *current_cpu, void *sem_arg)
48800 #define FLD(f) abuf->fields.sfmt_lddfi.f
48801 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48802 const IDESC * UNUSED idesc = abuf->idesc;
48803 int cycles = 0;
48805 int referenced = 0;
48806 int UNUSED insn_referenced = abuf->written;
48807 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48809 return cycles;
48810 #undef FLD
48813 static int
48814 model_tomcat_nlddi (SIM_CPU *current_cpu, void *sem_arg)
48816 #define FLD(f) abuf->fields.sfmt_smuli.f
48817 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48818 const IDESC * UNUSED idesc = abuf->idesc;
48819 int cycles = 0;
48821 int referenced = 0;
48822 int UNUSED insn_referenced = abuf->written;
48823 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48825 return cycles;
48826 #undef FLD
48829 static int
48830 model_tomcat_nlddfi (SIM_CPU *current_cpu, void *sem_arg)
48832 #define FLD(f) abuf->fields.sfmt_lddfi.f
48833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48834 const IDESC * UNUSED idesc = abuf->idesc;
48835 int cycles = 0;
48837 int referenced = 0;
48838 int UNUSED insn_referenced = abuf->written;
48839 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48841 return cycles;
48842 #undef FLD
48845 static int
48846 model_tomcat_ldqi (SIM_CPU *current_cpu, void *sem_arg)
48848 #define FLD(f) abuf->fields.sfmt_stdi.f
48849 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48850 const IDESC * UNUSED idesc = abuf->idesc;
48851 int cycles = 0;
48853 int referenced = 0;
48854 int UNUSED insn_referenced = abuf->written;
48855 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48857 return cycles;
48858 #undef FLD
48861 static int
48862 model_tomcat_ldqfi (SIM_CPU *current_cpu, void *sem_arg)
48864 #define FLD(f) abuf->fields.sfmt_stdfi.f
48865 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48866 const IDESC * UNUSED idesc = abuf->idesc;
48867 int cycles = 0;
48869 int referenced = 0;
48870 int UNUSED insn_referenced = abuf->written;
48871 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48873 return cycles;
48874 #undef FLD
48877 static int
48878 model_tomcat_nldqfi (SIM_CPU *current_cpu, void *sem_arg)
48880 #define FLD(f) abuf->fields.sfmt_stdfi.f
48881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48882 const IDESC * UNUSED idesc = abuf->idesc;
48883 int cycles = 0;
48885 int referenced = 0;
48886 int UNUSED insn_referenced = abuf->written;
48887 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48889 return cycles;
48890 #undef FLD
48893 static int
48894 model_tomcat_stb (SIM_CPU *current_cpu, void *sem_arg)
48896 #define FLD(f) abuf->fields.sfmt_cswap.f
48897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48898 const IDESC * UNUSED idesc = abuf->idesc;
48899 int cycles = 0;
48901 int referenced = 0;
48902 int UNUSED insn_referenced = abuf->written;
48903 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48905 return cycles;
48906 #undef FLD
48909 static int
48910 model_tomcat_sth (SIM_CPU *current_cpu, void *sem_arg)
48912 #define FLD(f) abuf->fields.sfmt_cswap.f
48913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48914 const IDESC * UNUSED idesc = abuf->idesc;
48915 int cycles = 0;
48917 int referenced = 0;
48918 int UNUSED insn_referenced = abuf->written;
48919 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48921 return cycles;
48922 #undef FLD
48925 static int
48926 model_tomcat_st (SIM_CPU *current_cpu, void *sem_arg)
48928 #define FLD(f) abuf->fields.sfmt_cswap.f
48929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48930 const IDESC * UNUSED idesc = abuf->idesc;
48931 int cycles = 0;
48933 int referenced = 0;
48934 int UNUSED insn_referenced = abuf->written;
48935 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48937 return cycles;
48938 #undef FLD
48941 static int
48942 model_tomcat_stbf (SIM_CPU *current_cpu, void *sem_arg)
48944 #define FLD(f) abuf->fields.sfmt_cstbfu.f
48945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48946 const IDESC * UNUSED idesc = abuf->idesc;
48947 int cycles = 0;
48949 int referenced = 0;
48950 int UNUSED insn_referenced = abuf->written;
48951 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48953 return cycles;
48954 #undef FLD
48957 static int
48958 model_tomcat_sthf (SIM_CPU *current_cpu, void *sem_arg)
48960 #define FLD(f) abuf->fields.sfmt_cstbfu.f
48961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48962 const IDESC * UNUSED idesc = abuf->idesc;
48963 int cycles = 0;
48965 int referenced = 0;
48966 int UNUSED insn_referenced = abuf->written;
48967 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48969 return cycles;
48970 #undef FLD
48973 static int
48974 model_tomcat_stf (SIM_CPU *current_cpu, void *sem_arg)
48976 #define FLD(f) abuf->fields.sfmt_cstbfu.f
48977 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48978 const IDESC * UNUSED idesc = abuf->idesc;
48979 int cycles = 0;
48981 int referenced = 0;
48982 int UNUSED insn_referenced = abuf->written;
48983 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
48985 return cycles;
48986 #undef FLD
48989 static int
48990 model_tomcat_stc (SIM_CPU *current_cpu, void *sem_arg)
48992 #define FLD(f) abuf->fields.sfmt_stcu.f
48993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
48994 const IDESC * UNUSED idesc = abuf->idesc;
48995 int cycles = 0;
48997 int referenced = 0;
48998 int UNUSED insn_referenced = abuf->written;
48999 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49001 return cycles;
49002 #undef FLD
49005 static int
49006 model_tomcat_std (SIM_CPU *current_cpu, void *sem_arg)
49008 #define FLD(f) abuf->fields.sfmt_cstdu.f
49009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49010 const IDESC * UNUSED idesc = abuf->idesc;
49011 int cycles = 0;
49013 int referenced = 0;
49014 int UNUSED insn_referenced = abuf->written;
49015 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49017 return cycles;
49018 #undef FLD
49021 static int
49022 model_tomcat_stdf (SIM_CPU *current_cpu, void *sem_arg)
49024 #define FLD(f) abuf->fields.sfmt_cstdfu.f
49025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49026 const IDESC * UNUSED idesc = abuf->idesc;
49027 int cycles = 0;
49029 int referenced = 0;
49030 int UNUSED insn_referenced = abuf->written;
49031 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49033 return cycles;
49034 #undef FLD
49037 static int
49038 model_tomcat_stdc (SIM_CPU *current_cpu, void *sem_arg)
49040 #define FLD(f) abuf->fields.sfmt_stdcu.f
49041 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49042 const IDESC * UNUSED idesc = abuf->idesc;
49043 int cycles = 0;
49045 int referenced = 0;
49046 int UNUSED insn_referenced = abuf->written;
49047 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49049 return cycles;
49050 #undef FLD
49053 static int
49054 model_tomcat_stq (SIM_CPU *current_cpu, void *sem_arg)
49056 #define FLD(f) abuf->fields.sfmt_smulcc.f
49057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49058 const IDESC * UNUSED idesc = abuf->idesc;
49059 int cycles = 0;
49061 int referenced = 0;
49062 int UNUSED insn_referenced = abuf->written;
49063 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49065 return cycles;
49066 #undef FLD
49069 static int
49070 model_tomcat_stqf (SIM_CPU *current_cpu, void *sem_arg)
49072 #define FLD(f) abuf->fields.sfmt_cstdfu.f
49073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49074 const IDESC * UNUSED idesc = abuf->idesc;
49075 int cycles = 0;
49077 int referenced = 0;
49078 int UNUSED insn_referenced = abuf->written;
49079 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49081 return cycles;
49082 #undef FLD
49085 static int
49086 model_tomcat_stqc (SIM_CPU *current_cpu, void *sem_arg)
49088 #define FLD(f) abuf->fields.sfmt_stdcu.f
49089 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49090 const IDESC * UNUSED idesc = abuf->idesc;
49091 int cycles = 0;
49093 int referenced = 0;
49094 int UNUSED insn_referenced = abuf->written;
49095 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49097 return cycles;
49098 #undef FLD
49101 static int
49102 model_tomcat_stbu (SIM_CPU *current_cpu, void *sem_arg)
49104 #define FLD(f) abuf->fields.sfmt_cstbu.f
49105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49106 const IDESC * UNUSED idesc = abuf->idesc;
49107 int cycles = 0;
49109 int referenced = 0;
49110 int UNUSED insn_referenced = abuf->written;
49111 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49113 return cycles;
49114 #undef FLD
49117 static int
49118 model_tomcat_sthu (SIM_CPU *current_cpu, void *sem_arg)
49120 #define FLD(f) abuf->fields.sfmt_cstbu.f
49121 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49122 const IDESC * UNUSED idesc = abuf->idesc;
49123 int cycles = 0;
49125 int referenced = 0;
49126 int UNUSED insn_referenced = abuf->written;
49127 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49129 return cycles;
49130 #undef FLD
49133 static int
49134 model_tomcat_stu (SIM_CPU *current_cpu, void *sem_arg)
49136 #define FLD(f) abuf->fields.sfmt_cstbu.f
49137 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49138 const IDESC * UNUSED idesc = abuf->idesc;
49139 int cycles = 0;
49141 int referenced = 0;
49142 int UNUSED insn_referenced = abuf->written;
49143 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49145 return cycles;
49146 #undef FLD
49149 static int
49150 model_tomcat_stbfu (SIM_CPU *current_cpu, void *sem_arg)
49152 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49153 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49154 const IDESC * UNUSED idesc = abuf->idesc;
49155 int cycles = 0;
49157 int referenced = 0;
49158 int UNUSED insn_referenced = abuf->written;
49159 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49161 return cycles;
49162 #undef FLD
49165 static int
49166 model_tomcat_sthfu (SIM_CPU *current_cpu, void *sem_arg)
49168 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49170 const IDESC * UNUSED idesc = abuf->idesc;
49171 int cycles = 0;
49173 int referenced = 0;
49174 int UNUSED insn_referenced = abuf->written;
49175 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49177 return cycles;
49178 #undef FLD
49181 static int
49182 model_tomcat_stfu (SIM_CPU *current_cpu, void *sem_arg)
49184 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49186 const IDESC * UNUSED idesc = abuf->idesc;
49187 int cycles = 0;
49189 int referenced = 0;
49190 int UNUSED insn_referenced = abuf->written;
49191 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49193 return cycles;
49194 #undef FLD
49197 static int
49198 model_tomcat_stcu (SIM_CPU *current_cpu, void *sem_arg)
49200 #define FLD(f) abuf->fields.sfmt_stcu.f
49201 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49202 const IDESC * UNUSED idesc = abuf->idesc;
49203 int cycles = 0;
49205 int referenced = 0;
49206 int UNUSED insn_referenced = abuf->written;
49207 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49209 return cycles;
49210 #undef FLD
49213 static int
49214 model_tomcat_stdu (SIM_CPU *current_cpu, void *sem_arg)
49216 #define FLD(f) abuf->fields.sfmt_cstdu.f
49217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49218 const IDESC * UNUSED idesc = abuf->idesc;
49219 int cycles = 0;
49221 int referenced = 0;
49222 int UNUSED insn_referenced = abuf->written;
49223 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49225 return cycles;
49226 #undef FLD
49229 static int
49230 model_tomcat_stdfu (SIM_CPU *current_cpu, void *sem_arg)
49232 #define FLD(f) abuf->fields.sfmt_cstdfu.f
49233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49234 const IDESC * UNUSED idesc = abuf->idesc;
49235 int cycles = 0;
49237 int referenced = 0;
49238 int UNUSED insn_referenced = abuf->written;
49239 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49241 return cycles;
49242 #undef FLD
49245 static int
49246 model_tomcat_stdcu (SIM_CPU *current_cpu, void *sem_arg)
49248 #define FLD(f) abuf->fields.sfmt_stdcu.f
49249 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49250 const IDESC * UNUSED idesc = abuf->idesc;
49251 int cycles = 0;
49253 int referenced = 0;
49254 int UNUSED insn_referenced = abuf->written;
49255 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49257 return cycles;
49258 #undef FLD
49261 static int
49262 model_tomcat_stqu (SIM_CPU *current_cpu, void *sem_arg)
49264 #define FLD(f) abuf->fields.sfmt_cstdu.f
49265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49266 const IDESC * UNUSED idesc = abuf->idesc;
49267 int cycles = 0;
49269 int referenced = 0;
49270 int UNUSED insn_referenced = abuf->written;
49271 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49273 return cycles;
49274 #undef FLD
49277 static int
49278 model_tomcat_stqfu (SIM_CPU *current_cpu, void *sem_arg)
49280 #define FLD(f) abuf->fields.sfmt_cstdfu.f
49281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49282 const IDESC * UNUSED idesc = abuf->idesc;
49283 int cycles = 0;
49285 int referenced = 0;
49286 int UNUSED insn_referenced = abuf->written;
49287 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49289 return cycles;
49290 #undef FLD
49293 static int
49294 model_tomcat_stqcu (SIM_CPU *current_cpu, void *sem_arg)
49296 #define FLD(f) abuf->fields.sfmt_stdcu.f
49297 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49298 const IDESC * UNUSED idesc = abuf->idesc;
49299 int cycles = 0;
49301 int referenced = 0;
49302 int UNUSED insn_referenced = abuf->written;
49303 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49305 return cycles;
49306 #undef FLD
49309 static int
49310 model_tomcat_cldsb (SIM_CPU *current_cpu, void *sem_arg)
49312 #define FLD(f) abuf->fields.sfmt_cswap.f
49313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49314 const IDESC * UNUSED idesc = abuf->idesc;
49315 int cycles = 0;
49317 int referenced = 0;
49318 int UNUSED insn_referenced = abuf->written;
49319 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49321 return cycles;
49322 #undef FLD
49325 static int
49326 model_tomcat_cldub (SIM_CPU *current_cpu, void *sem_arg)
49328 #define FLD(f) abuf->fields.sfmt_cswap.f
49329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49330 const IDESC * UNUSED idesc = abuf->idesc;
49331 int cycles = 0;
49333 int referenced = 0;
49334 int UNUSED insn_referenced = abuf->written;
49335 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49337 return cycles;
49338 #undef FLD
49341 static int
49342 model_tomcat_cldsh (SIM_CPU *current_cpu, void *sem_arg)
49344 #define FLD(f) abuf->fields.sfmt_cswap.f
49345 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49346 const IDESC * UNUSED idesc = abuf->idesc;
49347 int cycles = 0;
49349 int referenced = 0;
49350 int UNUSED insn_referenced = abuf->written;
49351 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49353 return cycles;
49354 #undef FLD
49357 static int
49358 model_tomcat_clduh (SIM_CPU *current_cpu, void *sem_arg)
49360 #define FLD(f) abuf->fields.sfmt_cswap.f
49361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49362 const IDESC * UNUSED idesc = abuf->idesc;
49363 int cycles = 0;
49365 int referenced = 0;
49366 int UNUSED insn_referenced = abuf->written;
49367 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49369 return cycles;
49370 #undef FLD
49373 static int
49374 model_tomcat_cld (SIM_CPU *current_cpu, void *sem_arg)
49376 #define FLD(f) abuf->fields.sfmt_cswap.f
49377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49378 const IDESC * UNUSED idesc = abuf->idesc;
49379 int cycles = 0;
49381 int referenced = 0;
49382 int UNUSED insn_referenced = abuf->written;
49383 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49385 return cycles;
49386 #undef FLD
49389 static int
49390 model_tomcat_cldbf (SIM_CPU *current_cpu, void *sem_arg)
49392 #define FLD(f) abuf->fields.sfmt_cldbfu.f
49393 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49394 const IDESC * UNUSED idesc = abuf->idesc;
49395 int cycles = 0;
49397 int referenced = 0;
49398 int UNUSED insn_referenced = abuf->written;
49399 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49401 return cycles;
49402 #undef FLD
49405 static int
49406 model_tomcat_cldhf (SIM_CPU *current_cpu, void *sem_arg)
49408 #define FLD(f) abuf->fields.sfmt_cldbfu.f
49409 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49410 const IDESC * UNUSED idesc = abuf->idesc;
49411 int cycles = 0;
49413 int referenced = 0;
49414 int UNUSED insn_referenced = abuf->written;
49415 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49417 return cycles;
49418 #undef FLD
49421 static int
49422 model_tomcat_cldf (SIM_CPU *current_cpu, void *sem_arg)
49424 #define FLD(f) abuf->fields.sfmt_cldbfu.f
49425 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49426 const IDESC * UNUSED idesc = abuf->idesc;
49427 int cycles = 0;
49429 int referenced = 0;
49430 int UNUSED insn_referenced = abuf->written;
49431 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49433 return cycles;
49434 #undef FLD
49437 static int
49438 model_tomcat_cldd (SIM_CPU *current_cpu, void *sem_arg)
49440 #define FLD(f) abuf->fields.sfmt_clddu.f
49441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49442 const IDESC * UNUSED idesc = abuf->idesc;
49443 int cycles = 0;
49445 int referenced = 0;
49446 int UNUSED insn_referenced = abuf->written;
49447 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49449 return cycles;
49450 #undef FLD
49453 static int
49454 model_tomcat_clddf (SIM_CPU *current_cpu, void *sem_arg)
49456 #define FLD(f) abuf->fields.sfmt_clddfu.f
49457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49458 const IDESC * UNUSED idesc = abuf->idesc;
49459 int cycles = 0;
49461 int referenced = 0;
49462 int UNUSED insn_referenced = abuf->written;
49463 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49465 return cycles;
49466 #undef FLD
49469 static int
49470 model_tomcat_cldq (SIM_CPU *current_cpu, void *sem_arg)
49472 #define FLD(f) abuf->fields.sfmt_cswap.f
49473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49474 const IDESC * UNUSED idesc = abuf->idesc;
49475 int cycles = 0;
49477 int referenced = 0;
49478 int UNUSED insn_referenced = abuf->written;
49479 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49481 return cycles;
49482 #undef FLD
49485 static int
49486 model_tomcat_cldsbu (SIM_CPU *current_cpu, void *sem_arg)
49488 #define FLD(f) abuf->fields.sfmt_cldsbu.f
49489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49490 const IDESC * UNUSED idesc = abuf->idesc;
49491 int cycles = 0;
49493 int referenced = 0;
49494 int UNUSED insn_referenced = abuf->written;
49495 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49497 return cycles;
49498 #undef FLD
49501 static int
49502 model_tomcat_cldubu (SIM_CPU *current_cpu, void *sem_arg)
49504 #define FLD(f) abuf->fields.sfmt_cldsbu.f
49505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49506 const IDESC * UNUSED idesc = abuf->idesc;
49507 int cycles = 0;
49509 int referenced = 0;
49510 int UNUSED insn_referenced = abuf->written;
49511 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49513 return cycles;
49514 #undef FLD
49517 static int
49518 model_tomcat_cldshu (SIM_CPU *current_cpu, void *sem_arg)
49520 #define FLD(f) abuf->fields.sfmt_cldsbu.f
49521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49522 const IDESC * UNUSED idesc = abuf->idesc;
49523 int cycles = 0;
49525 int referenced = 0;
49526 int UNUSED insn_referenced = abuf->written;
49527 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49529 return cycles;
49530 #undef FLD
49533 static int
49534 model_tomcat_clduhu (SIM_CPU *current_cpu, void *sem_arg)
49536 #define FLD(f) abuf->fields.sfmt_cldsbu.f
49537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49538 const IDESC * UNUSED idesc = abuf->idesc;
49539 int cycles = 0;
49541 int referenced = 0;
49542 int UNUSED insn_referenced = abuf->written;
49543 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49545 return cycles;
49546 #undef FLD
49549 static int
49550 model_tomcat_cldu (SIM_CPU *current_cpu, void *sem_arg)
49552 #define FLD(f) abuf->fields.sfmt_cldsbu.f
49553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49554 const IDESC * UNUSED idesc = abuf->idesc;
49555 int cycles = 0;
49557 int referenced = 0;
49558 int UNUSED insn_referenced = abuf->written;
49559 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49561 return cycles;
49562 #undef FLD
49565 static int
49566 model_tomcat_cldbfu (SIM_CPU *current_cpu, void *sem_arg)
49568 #define FLD(f) abuf->fields.sfmt_cldbfu.f
49569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49570 const IDESC * UNUSED idesc = abuf->idesc;
49571 int cycles = 0;
49573 int referenced = 0;
49574 int UNUSED insn_referenced = abuf->written;
49575 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49577 return cycles;
49578 #undef FLD
49581 static int
49582 model_tomcat_cldhfu (SIM_CPU *current_cpu, void *sem_arg)
49584 #define FLD(f) abuf->fields.sfmt_cldbfu.f
49585 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49586 const IDESC * UNUSED idesc = abuf->idesc;
49587 int cycles = 0;
49589 int referenced = 0;
49590 int UNUSED insn_referenced = abuf->written;
49591 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49593 return cycles;
49594 #undef FLD
49597 static int
49598 model_tomcat_cldfu (SIM_CPU *current_cpu, void *sem_arg)
49600 #define FLD(f) abuf->fields.sfmt_cldbfu.f
49601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49602 const IDESC * UNUSED idesc = abuf->idesc;
49603 int cycles = 0;
49605 int referenced = 0;
49606 int UNUSED insn_referenced = abuf->written;
49607 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49609 return cycles;
49610 #undef FLD
49613 static int
49614 model_tomcat_clddu (SIM_CPU *current_cpu, void *sem_arg)
49616 #define FLD(f) abuf->fields.sfmt_clddu.f
49617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49618 const IDESC * UNUSED idesc = abuf->idesc;
49619 int cycles = 0;
49621 int referenced = 0;
49622 int UNUSED insn_referenced = abuf->written;
49623 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49625 return cycles;
49626 #undef FLD
49629 static int
49630 model_tomcat_clddfu (SIM_CPU *current_cpu, void *sem_arg)
49632 #define FLD(f) abuf->fields.sfmt_clddfu.f
49633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49634 const IDESC * UNUSED idesc = abuf->idesc;
49635 int cycles = 0;
49637 int referenced = 0;
49638 int UNUSED insn_referenced = abuf->written;
49639 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49641 return cycles;
49642 #undef FLD
49645 static int
49646 model_tomcat_cldqu (SIM_CPU *current_cpu, void *sem_arg)
49648 #define FLD(f) abuf->fields.sfmt_cstdu.f
49649 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49650 const IDESC * UNUSED idesc = abuf->idesc;
49651 int cycles = 0;
49653 int referenced = 0;
49654 int UNUSED insn_referenced = abuf->written;
49655 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49657 return cycles;
49658 #undef FLD
49661 static int
49662 model_tomcat_cstb (SIM_CPU *current_cpu, void *sem_arg)
49664 #define FLD(f) abuf->fields.sfmt_cswap.f
49665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49666 const IDESC * UNUSED idesc = abuf->idesc;
49667 int cycles = 0;
49669 int referenced = 0;
49670 int UNUSED insn_referenced = abuf->written;
49671 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49673 return cycles;
49674 #undef FLD
49677 static int
49678 model_tomcat_csth (SIM_CPU *current_cpu, void *sem_arg)
49680 #define FLD(f) abuf->fields.sfmt_cswap.f
49681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49682 const IDESC * UNUSED idesc = abuf->idesc;
49683 int cycles = 0;
49685 int referenced = 0;
49686 int UNUSED insn_referenced = abuf->written;
49687 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49689 return cycles;
49690 #undef FLD
49693 static int
49694 model_tomcat_cst (SIM_CPU *current_cpu, void *sem_arg)
49696 #define FLD(f) abuf->fields.sfmt_cswap.f
49697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49698 const IDESC * UNUSED idesc = abuf->idesc;
49699 int cycles = 0;
49701 int referenced = 0;
49702 int UNUSED insn_referenced = abuf->written;
49703 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49705 return cycles;
49706 #undef FLD
49709 static int
49710 model_tomcat_cstbf (SIM_CPU *current_cpu, void *sem_arg)
49712 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49714 const IDESC * UNUSED idesc = abuf->idesc;
49715 int cycles = 0;
49717 int referenced = 0;
49718 int UNUSED insn_referenced = abuf->written;
49719 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49721 return cycles;
49722 #undef FLD
49725 static int
49726 model_tomcat_csthf (SIM_CPU *current_cpu, void *sem_arg)
49728 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49729 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49730 const IDESC * UNUSED idesc = abuf->idesc;
49731 int cycles = 0;
49733 int referenced = 0;
49734 int UNUSED insn_referenced = abuf->written;
49735 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49737 return cycles;
49738 #undef FLD
49741 static int
49742 model_tomcat_cstf (SIM_CPU *current_cpu, void *sem_arg)
49744 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49745 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49746 const IDESC * UNUSED idesc = abuf->idesc;
49747 int cycles = 0;
49749 int referenced = 0;
49750 int UNUSED insn_referenced = abuf->written;
49751 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49753 return cycles;
49754 #undef FLD
49757 static int
49758 model_tomcat_cstd (SIM_CPU *current_cpu, void *sem_arg)
49760 #define FLD(f) abuf->fields.sfmt_cstdu.f
49761 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49762 const IDESC * UNUSED idesc = abuf->idesc;
49763 int cycles = 0;
49765 int referenced = 0;
49766 int UNUSED insn_referenced = abuf->written;
49767 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49769 return cycles;
49770 #undef FLD
49773 static int
49774 model_tomcat_cstdf (SIM_CPU *current_cpu, void *sem_arg)
49776 #define FLD(f) abuf->fields.sfmt_cstdfu.f
49777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49778 const IDESC * UNUSED idesc = abuf->idesc;
49779 int cycles = 0;
49781 int referenced = 0;
49782 int UNUSED insn_referenced = abuf->written;
49783 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49785 return cycles;
49786 #undef FLD
49789 static int
49790 model_tomcat_cstq (SIM_CPU *current_cpu, void *sem_arg)
49792 #define FLD(f) abuf->fields.sfmt_cswap.f
49793 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49794 const IDESC * UNUSED idesc = abuf->idesc;
49795 int cycles = 0;
49797 int referenced = 0;
49798 int UNUSED insn_referenced = abuf->written;
49799 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49801 return cycles;
49802 #undef FLD
49805 static int
49806 model_tomcat_cstbu (SIM_CPU *current_cpu, void *sem_arg)
49808 #define FLD(f) abuf->fields.sfmt_cstbu.f
49809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49810 const IDESC * UNUSED idesc = abuf->idesc;
49811 int cycles = 0;
49813 int referenced = 0;
49814 int UNUSED insn_referenced = abuf->written;
49815 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49817 return cycles;
49818 #undef FLD
49821 static int
49822 model_tomcat_csthu (SIM_CPU *current_cpu, void *sem_arg)
49824 #define FLD(f) abuf->fields.sfmt_cstbu.f
49825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49826 const IDESC * UNUSED idesc = abuf->idesc;
49827 int cycles = 0;
49829 int referenced = 0;
49830 int UNUSED insn_referenced = abuf->written;
49831 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49833 return cycles;
49834 #undef FLD
49837 static int
49838 model_tomcat_cstu (SIM_CPU *current_cpu, void *sem_arg)
49840 #define FLD(f) abuf->fields.sfmt_cstbu.f
49841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49842 const IDESC * UNUSED idesc = abuf->idesc;
49843 int cycles = 0;
49845 int referenced = 0;
49846 int UNUSED insn_referenced = abuf->written;
49847 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49849 return cycles;
49850 #undef FLD
49853 static int
49854 model_tomcat_cstbfu (SIM_CPU *current_cpu, void *sem_arg)
49856 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49858 const IDESC * UNUSED idesc = abuf->idesc;
49859 int cycles = 0;
49861 int referenced = 0;
49862 int UNUSED insn_referenced = abuf->written;
49863 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49865 return cycles;
49866 #undef FLD
49869 static int
49870 model_tomcat_csthfu (SIM_CPU *current_cpu, void *sem_arg)
49872 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49874 const IDESC * UNUSED idesc = abuf->idesc;
49875 int cycles = 0;
49877 int referenced = 0;
49878 int UNUSED insn_referenced = abuf->written;
49879 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49881 return cycles;
49882 #undef FLD
49885 static int
49886 model_tomcat_cstfu (SIM_CPU *current_cpu, void *sem_arg)
49888 #define FLD(f) abuf->fields.sfmt_cstbfu.f
49889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49890 const IDESC * UNUSED idesc = abuf->idesc;
49891 int cycles = 0;
49893 int referenced = 0;
49894 int UNUSED insn_referenced = abuf->written;
49895 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49897 return cycles;
49898 #undef FLD
49901 static int
49902 model_tomcat_cstdu (SIM_CPU *current_cpu, void *sem_arg)
49904 #define FLD(f) abuf->fields.sfmt_cstdu.f
49905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49906 const IDESC * UNUSED idesc = abuf->idesc;
49907 int cycles = 0;
49909 int referenced = 0;
49910 int UNUSED insn_referenced = abuf->written;
49911 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49913 return cycles;
49914 #undef FLD
49917 static int
49918 model_tomcat_cstdfu (SIM_CPU *current_cpu, void *sem_arg)
49920 #define FLD(f) abuf->fields.sfmt_cstdfu.f
49921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49922 const IDESC * UNUSED idesc = abuf->idesc;
49923 int cycles = 0;
49925 int referenced = 0;
49926 int UNUSED insn_referenced = abuf->written;
49927 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49929 return cycles;
49930 #undef FLD
49933 static int
49934 model_tomcat_stbi (SIM_CPU *current_cpu, void *sem_arg)
49936 #define FLD(f) abuf->fields.sfmt_swapi.f
49937 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49938 const IDESC * UNUSED idesc = abuf->idesc;
49939 int cycles = 0;
49941 int referenced = 0;
49942 int UNUSED insn_referenced = abuf->written;
49943 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49945 return cycles;
49946 #undef FLD
49949 static int
49950 model_tomcat_sthi (SIM_CPU *current_cpu, void *sem_arg)
49952 #define FLD(f) abuf->fields.sfmt_swapi.f
49953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49954 const IDESC * UNUSED idesc = abuf->idesc;
49955 int cycles = 0;
49957 int referenced = 0;
49958 int UNUSED insn_referenced = abuf->written;
49959 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49961 return cycles;
49962 #undef FLD
49965 static int
49966 model_tomcat_sti (SIM_CPU *current_cpu, void *sem_arg)
49968 #define FLD(f) abuf->fields.sfmt_swapi.f
49969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49970 const IDESC * UNUSED idesc = abuf->idesc;
49971 int cycles = 0;
49973 int referenced = 0;
49974 int UNUSED insn_referenced = abuf->written;
49975 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49977 return cycles;
49978 #undef FLD
49981 static int
49982 model_tomcat_stbfi (SIM_CPU *current_cpu, void *sem_arg)
49984 #define FLD(f) abuf->fields.sfmt_stbfi.f
49985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
49986 const IDESC * UNUSED idesc = abuf->idesc;
49987 int cycles = 0;
49989 int referenced = 0;
49990 int UNUSED insn_referenced = abuf->written;
49991 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
49993 return cycles;
49994 #undef FLD
49997 static int
49998 model_tomcat_sthfi (SIM_CPU *current_cpu, void *sem_arg)
50000 #define FLD(f) abuf->fields.sfmt_stbfi.f
50001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50002 const IDESC * UNUSED idesc = abuf->idesc;
50003 int cycles = 0;
50005 int referenced = 0;
50006 int UNUSED insn_referenced = abuf->written;
50007 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50009 return cycles;
50010 #undef FLD
50013 static int
50014 model_tomcat_stfi (SIM_CPU *current_cpu, void *sem_arg)
50016 #define FLD(f) abuf->fields.sfmt_stbfi.f
50017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50018 const IDESC * UNUSED idesc = abuf->idesc;
50019 int cycles = 0;
50021 int referenced = 0;
50022 int UNUSED insn_referenced = abuf->written;
50023 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50025 return cycles;
50026 #undef FLD
50029 static int
50030 model_tomcat_stdi (SIM_CPU *current_cpu, void *sem_arg)
50032 #define FLD(f) abuf->fields.sfmt_stdi.f
50033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50034 const IDESC * UNUSED idesc = abuf->idesc;
50035 int cycles = 0;
50037 int referenced = 0;
50038 int UNUSED insn_referenced = abuf->written;
50039 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50041 return cycles;
50042 #undef FLD
50045 static int
50046 model_tomcat_stdfi (SIM_CPU *current_cpu, void *sem_arg)
50048 #define FLD(f) abuf->fields.sfmt_stdfi.f
50049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50050 const IDESC * UNUSED idesc = abuf->idesc;
50051 int cycles = 0;
50053 int referenced = 0;
50054 int UNUSED insn_referenced = abuf->written;
50055 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50057 return cycles;
50058 #undef FLD
50061 static int
50062 model_tomcat_stqi (SIM_CPU *current_cpu, void *sem_arg)
50064 #define FLD(f) abuf->fields.sfmt_stdi.f
50065 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50066 const IDESC * UNUSED idesc = abuf->idesc;
50067 int cycles = 0;
50069 int referenced = 0;
50070 int UNUSED insn_referenced = abuf->written;
50071 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50073 return cycles;
50074 #undef FLD
50077 static int
50078 model_tomcat_stqfi (SIM_CPU *current_cpu, void *sem_arg)
50080 #define FLD(f) abuf->fields.sfmt_stdfi.f
50081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50082 const IDESC * UNUSED idesc = abuf->idesc;
50083 int cycles = 0;
50085 int referenced = 0;
50086 int UNUSED insn_referenced = abuf->written;
50087 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50089 return cycles;
50090 #undef FLD
50093 static int
50094 model_tomcat_swap (SIM_CPU *current_cpu, void *sem_arg)
50096 #define FLD(f) abuf->fields.sfmt_cswap.f
50097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50098 const IDESC * UNUSED idesc = abuf->idesc;
50099 int cycles = 0;
50101 int referenced = 0;
50102 int UNUSED insn_referenced = abuf->written;
50103 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50105 return cycles;
50106 #undef FLD
50109 static int
50110 model_tomcat_swapi (SIM_CPU *current_cpu, void *sem_arg)
50112 #define FLD(f) abuf->fields.sfmt_swapi.f
50113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50114 const IDESC * UNUSED idesc = abuf->idesc;
50115 int cycles = 0;
50117 int referenced = 0;
50118 int UNUSED insn_referenced = abuf->written;
50119 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50121 return cycles;
50122 #undef FLD
50125 static int
50126 model_tomcat_cswap (SIM_CPU *current_cpu, void *sem_arg)
50128 #define FLD(f) abuf->fields.sfmt_cswap.f
50129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50130 const IDESC * UNUSED idesc = abuf->idesc;
50131 int cycles = 0;
50133 int referenced = 0;
50134 int UNUSED insn_referenced = abuf->written;
50135 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50137 return cycles;
50138 #undef FLD
50141 static int
50142 model_tomcat_movgf (SIM_CPU *current_cpu, void *sem_arg)
50144 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
50145 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50146 const IDESC * UNUSED idesc = abuf->idesc;
50147 int cycles = 0;
50149 int referenced = 0;
50150 int UNUSED insn_referenced = abuf->written;
50151 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50153 return cycles;
50154 #undef FLD
50157 static int
50158 model_tomcat_movfg (SIM_CPU *current_cpu, void *sem_arg)
50160 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
50161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50162 const IDESC * UNUSED idesc = abuf->idesc;
50163 int cycles = 0;
50165 int referenced = 0;
50166 int UNUSED insn_referenced = abuf->written;
50167 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50169 return cycles;
50170 #undef FLD
50173 static int
50174 model_tomcat_movgfd (SIM_CPU *current_cpu, void *sem_arg)
50176 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
50177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50178 const IDESC * UNUSED idesc = abuf->idesc;
50179 int cycles = 0;
50181 int referenced = 0;
50182 int UNUSED insn_referenced = abuf->written;
50183 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50185 return cycles;
50186 #undef FLD
50189 static int
50190 model_tomcat_movfgd (SIM_CPU *current_cpu, void *sem_arg)
50192 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
50193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50194 const IDESC * UNUSED idesc = abuf->idesc;
50195 int cycles = 0;
50197 int referenced = 0;
50198 int UNUSED insn_referenced = abuf->written;
50199 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50201 return cycles;
50202 #undef FLD
50205 static int
50206 model_tomcat_movgfq (SIM_CPU *current_cpu, void *sem_arg)
50208 #define FLD(f) abuf->fields.sfmt_movgfq.f
50209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50210 const IDESC * UNUSED idesc = abuf->idesc;
50211 int cycles = 0;
50213 int referenced = 0;
50214 int UNUSED insn_referenced = abuf->written;
50215 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50217 return cycles;
50218 #undef FLD
50221 static int
50222 model_tomcat_movfgq (SIM_CPU *current_cpu, void *sem_arg)
50224 #define FLD(f) abuf->fields.sfmt_movfgq.f
50225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50226 const IDESC * UNUSED idesc = abuf->idesc;
50227 int cycles = 0;
50229 int referenced = 0;
50230 int UNUSED insn_referenced = abuf->written;
50231 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50233 return cycles;
50234 #undef FLD
50237 static int
50238 model_tomcat_cmovgf (SIM_CPU *current_cpu, void *sem_arg)
50240 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
50241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50242 const IDESC * UNUSED idesc = abuf->idesc;
50243 int cycles = 0;
50245 int referenced = 0;
50246 int UNUSED insn_referenced = abuf->written;
50247 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50249 return cycles;
50250 #undef FLD
50253 static int
50254 model_tomcat_cmovfg (SIM_CPU *current_cpu, void *sem_arg)
50256 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
50257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50258 const IDESC * UNUSED idesc = abuf->idesc;
50259 int cycles = 0;
50261 int referenced = 0;
50262 int UNUSED insn_referenced = abuf->written;
50263 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50265 return cycles;
50266 #undef FLD
50269 static int
50270 model_tomcat_cmovgfd (SIM_CPU *current_cpu, void *sem_arg)
50272 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
50273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50274 const IDESC * UNUSED idesc = abuf->idesc;
50275 int cycles = 0;
50277 int referenced = 0;
50278 int UNUSED insn_referenced = abuf->written;
50279 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50281 return cycles;
50282 #undef FLD
50285 static int
50286 model_tomcat_cmovfgd (SIM_CPU *current_cpu, void *sem_arg)
50288 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
50289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50290 const IDESC * UNUSED idesc = abuf->idesc;
50291 int cycles = 0;
50293 int referenced = 0;
50294 int UNUSED insn_referenced = abuf->written;
50295 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50297 return cycles;
50298 #undef FLD
50301 static int
50302 model_tomcat_movgs (SIM_CPU *current_cpu, void *sem_arg)
50304 #define FLD(f) abuf->fields.sfmt_movgs.f
50305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50306 const IDESC * UNUSED idesc = abuf->idesc;
50307 int cycles = 0;
50309 int referenced = 0;
50310 int UNUSED insn_referenced = abuf->written;
50311 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50313 return cycles;
50314 #undef FLD
50317 static int
50318 model_tomcat_movsg (SIM_CPU *current_cpu, void *sem_arg)
50320 #define FLD(f) abuf->fields.sfmt_movsg.f
50321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50322 const IDESC * UNUSED idesc = abuf->idesc;
50323 int cycles = 0;
50325 int referenced = 0;
50326 int UNUSED insn_referenced = abuf->written;
50327 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50329 return cycles;
50330 #undef FLD
50333 static int
50334 model_tomcat_bra (SIM_CPU *current_cpu, void *sem_arg)
50336 #define FLD(f) abuf->fields.sfmt_fbne.f
50337 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50338 const IDESC * UNUSED idesc = abuf->idesc;
50339 int cycles = 0;
50341 int referenced = 0;
50342 int UNUSED insn_referenced = abuf->written;
50343 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50345 return cycles;
50346 #undef FLD
50349 static int
50350 model_tomcat_bno (SIM_CPU *current_cpu, void *sem_arg)
50352 #define FLD(f) abuf->fields.sfmt_fbne.f
50353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50354 const IDESC * UNUSED idesc = abuf->idesc;
50355 int cycles = 0;
50357 int referenced = 0;
50358 int UNUSED insn_referenced = abuf->written;
50359 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50361 return cycles;
50362 #undef FLD
50365 static int
50366 model_tomcat_beq (SIM_CPU *current_cpu, void *sem_arg)
50368 #define FLD(f) abuf->fields.sfmt_beq.f
50369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50370 const IDESC * UNUSED idesc = abuf->idesc;
50371 int cycles = 0;
50373 int referenced = 0;
50374 int UNUSED insn_referenced = abuf->written;
50375 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50377 return cycles;
50378 #undef FLD
50381 static int
50382 model_tomcat_bne (SIM_CPU *current_cpu, void *sem_arg)
50384 #define FLD(f) abuf->fields.sfmt_beq.f
50385 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50386 const IDESC * UNUSED idesc = abuf->idesc;
50387 int cycles = 0;
50389 int referenced = 0;
50390 int UNUSED insn_referenced = abuf->written;
50391 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50393 return cycles;
50394 #undef FLD
50397 static int
50398 model_tomcat_ble (SIM_CPU *current_cpu, void *sem_arg)
50400 #define FLD(f) abuf->fields.sfmt_beq.f
50401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50402 const IDESC * UNUSED idesc = abuf->idesc;
50403 int cycles = 0;
50405 int referenced = 0;
50406 int UNUSED insn_referenced = abuf->written;
50407 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50409 return cycles;
50410 #undef FLD
50413 static int
50414 model_tomcat_bgt (SIM_CPU *current_cpu, void *sem_arg)
50416 #define FLD(f) abuf->fields.sfmt_beq.f
50417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50418 const IDESC * UNUSED idesc = abuf->idesc;
50419 int cycles = 0;
50421 int referenced = 0;
50422 int UNUSED insn_referenced = abuf->written;
50423 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50425 return cycles;
50426 #undef FLD
50429 static int
50430 model_tomcat_blt (SIM_CPU *current_cpu, void *sem_arg)
50432 #define FLD(f) abuf->fields.sfmt_beq.f
50433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50434 const IDESC * UNUSED idesc = abuf->idesc;
50435 int cycles = 0;
50437 int referenced = 0;
50438 int UNUSED insn_referenced = abuf->written;
50439 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50441 return cycles;
50442 #undef FLD
50445 static int
50446 model_tomcat_bge (SIM_CPU *current_cpu, void *sem_arg)
50448 #define FLD(f) abuf->fields.sfmt_beq.f
50449 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50450 const IDESC * UNUSED idesc = abuf->idesc;
50451 int cycles = 0;
50453 int referenced = 0;
50454 int UNUSED insn_referenced = abuf->written;
50455 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50457 return cycles;
50458 #undef FLD
50461 static int
50462 model_tomcat_bls (SIM_CPU *current_cpu, void *sem_arg)
50464 #define FLD(f) abuf->fields.sfmt_beq.f
50465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50466 const IDESC * UNUSED idesc = abuf->idesc;
50467 int cycles = 0;
50469 int referenced = 0;
50470 int UNUSED insn_referenced = abuf->written;
50471 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50473 return cycles;
50474 #undef FLD
50477 static int
50478 model_tomcat_bhi (SIM_CPU *current_cpu, void *sem_arg)
50480 #define FLD(f) abuf->fields.sfmt_beq.f
50481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50482 const IDESC * UNUSED idesc = abuf->idesc;
50483 int cycles = 0;
50485 int referenced = 0;
50486 int UNUSED insn_referenced = abuf->written;
50487 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50489 return cycles;
50490 #undef FLD
50493 static int
50494 model_tomcat_bc (SIM_CPU *current_cpu, void *sem_arg)
50496 #define FLD(f) abuf->fields.sfmt_beq.f
50497 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50498 const IDESC * UNUSED idesc = abuf->idesc;
50499 int cycles = 0;
50501 int referenced = 0;
50502 int UNUSED insn_referenced = abuf->written;
50503 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50505 return cycles;
50506 #undef FLD
50509 static int
50510 model_tomcat_bnc (SIM_CPU *current_cpu, void *sem_arg)
50512 #define FLD(f) abuf->fields.sfmt_beq.f
50513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50514 const IDESC * UNUSED idesc = abuf->idesc;
50515 int cycles = 0;
50517 int referenced = 0;
50518 int UNUSED insn_referenced = abuf->written;
50519 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50521 return cycles;
50522 #undef FLD
50525 static int
50526 model_tomcat_bn (SIM_CPU *current_cpu, void *sem_arg)
50528 #define FLD(f) abuf->fields.sfmt_beq.f
50529 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50530 const IDESC * UNUSED idesc = abuf->idesc;
50531 int cycles = 0;
50533 int referenced = 0;
50534 int UNUSED insn_referenced = abuf->written;
50535 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50537 return cycles;
50538 #undef FLD
50541 static int
50542 model_tomcat_bp (SIM_CPU *current_cpu, void *sem_arg)
50544 #define FLD(f) abuf->fields.sfmt_beq.f
50545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50546 const IDESC * UNUSED idesc = abuf->idesc;
50547 int cycles = 0;
50549 int referenced = 0;
50550 int UNUSED insn_referenced = abuf->written;
50551 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50553 return cycles;
50554 #undef FLD
50557 static int
50558 model_tomcat_bv (SIM_CPU *current_cpu, void *sem_arg)
50560 #define FLD(f) abuf->fields.sfmt_beq.f
50561 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50562 const IDESC * UNUSED idesc = abuf->idesc;
50563 int cycles = 0;
50565 int referenced = 0;
50566 int UNUSED insn_referenced = abuf->written;
50567 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50569 return cycles;
50570 #undef FLD
50573 static int
50574 model_tomcat_bnv (SIM_CPU *current_cpu, void *sem_arg)
50576 #define FLD(f) abuf->fields.sfmt_beq.f
50577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50578 const IDESC * UNUSED idesc = abuf->idesc;
50579 int cycles = 0;
50581 int referenced = 0;
50582 int UNUSED insn_referenced = abuf->written;
50583 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50585 return cycles;
50586 #undef FLD
50589 static int
50590 model_tomcat_fbra (SIM_CPU *current_cpu, void *sem_arg)
50592 #define FLD(f) abuf->fields.sfmt_fbne.f
50593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50594 const IDESC * UNUSED idesc = abuf->idesc;
50595 int cycles = 0;
50597 int referenced = 0;
50598 int UNUSED insn_referenced = abuf->written;
50599 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50601 return cycles;
50602 #undef FLD
50605 static int
50606 model_tomcat_fbno (SIM_CPU *current_cpu, void *sem_arg)
50608 #define FLD(f) abuf->fields.sfmt_fbne.f
50609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50610 const IDESC * UNUSED idesc = abuf->idesc;
50611 int cycles = 0;
50613 int referenced = 0;
50614 int UNUSED insn_referenced = abuf->written;
50615 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50617 return cycles;
50618 #undef FLD
50621 static int
50622 model_tomcat_fbne (SIM_CPU *current_cpu, void *sem_arg)
50624 #define FLD(f) abuf->fields.sfmt_fbne.f
50625 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50626 const IDESC * UNUSED idesc = abuf->idesc;
50627 int cycles = 0;
50629 int referenced = 0;
50630 int UNUSED insn_referenced = abuf->written;
50631 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50633 return cycles;
50634 #undef FLD
50637 static int
50638 model_tomcat_fbeq (SIM_CPU *current_cpu, void *sem_arg)
50640 #define FLD(f) abuf->fields.sfmt_fbne.f
50641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50642 const IDESC * UNUSED idesc = abuf->idesc;
50643 int cycles = 0;
50645 int referenced = 0;
50646 int UNUSED insn_referenced = abuf->written;
50647 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50649 return cycles;
50650 #undef FLD
50653 static int
50654 model_tomcat_fblg (SIM_CPU *current_cpu, void *sem_arg)
50656 #define FLD(f) abuf->fields.sfmt_fbne.f
50657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50658 const IDESC * UNUSED idesc = abuf->idesc;
50659 int cycles = 0;
50661 int referenced = 0;
50662 int UNUSED insn_referenced = abuf->written;
50663 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50665 return cycles;
50666 #undef FLD
50669 static int
50670 model_tomcat_fbue (SIM_CPU *current_cpu, void *sem_arg)
50672 #define FLD(f) abuf->fields.sfmt_fbne.f
50673 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50674 const IDESC * UNUSED idesc = abuf->idesc;
50675 int cycles = 0;
50677 int referenced = 0;
50678 int UNUSED insn_referenced = abuf->written;
50679 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50681 return cycles;
50682 #undef FLD
50685 static int
50686 model_tomcat_fbul (SIM_CPU *current_cpu, void *sem_arg)
50688 #define FLD(f) abuf->fields.sfmt_fbne.f
50689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50690 const IDESC * UNUSED idesc = abuf->idesc;
50691 int cycles = 0;
50693 int referenced = 0;
50694 int UNUSED insn_referenced = abuf->written;
50695 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50697 return cycles;
50698 #undef FLD
50701 static int
50702 model_tomcat_fbge (SIM_CPU *current_cpu, void *sem_arg)
50704 #define FLD(f) abuf->fields.sfmt_fbne.f
50705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50706 const IDESC * UNUSED idesc = abuf->idesc;
50707 int cycles = 0;
50709 int referenced = 0;
50710 int UNUSED insn_referenced = abuf->written;
50711 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50713 return cycles;
50714 #undef FLD
50717 static int
50718 model_tomcat_fblt (SIM_CPU *current_cpu, void *sem_arg)
50720 #define FLD(f) abuf->fields.sfmt_fbne.f
50721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50722 const IDESC * UNUSED idesc = abuf->idesc;
50723 int cycles = 0;
50725 int referenced = 0;
50726 int UNUSED insn_referenced = abuf->written;
50727 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50729 return cycles;
50730 #undef FLD
50733 static int
50734 model_tomcat_fbuge (SIM_CPU *current_cpu, void *sem_arg)
50736 #define FLD(f) abuf->fields.sfmt_fbne.f
50737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50738 const IDESC * UNUSED idesc = abuf->idesc;
50739 int cycles = 0;
50741 int referenced = 0;
50742 int UNUSED insn_referenced = abuf->written;
50743 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50745 return cycles;
50746 #undef FLD
50749 static int
50750 model_tomcat_fbug (SIM_CPU *current_cpu, void *sem_arg)
50752 #define FLD(f) abuf->fields.sfmt_fbne.f
50753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50754 const IDESC * UNUSED idesc = abuf->idesc;
50755 int cycles = 0;
50757 int referenced = 0;
50758 int UNUSED insn_referenced = abuf->written;
50759 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50761 return cycles;
50762 #undef FLD
50765 static int
50766 model_tomcat_fble (SIM_CPU *current_cpu, void *sem_arg)
50768 #define FLD(f) abuf->fields.sfmt_fbne.f
50769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50770 const IDESC * UNUSED idesc = abuf->idesc;
50771 int cycles = 0;
50773 int referenced = 0;
50774 int UNUSED insn_referenced = abuf->written;
50775 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50777 return cycles;
50778 #undef FLD
50781 static int
50782 model_tomcat_fbgt (SIM_CPU *current_cpu, void *sem_arg)
50784 #define FLD(f) abuf->fields.sfmt_fbne.f
50785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50786 const IDESC * UNUSED idesc = abuf->idesc;
50787 int cycles = 0;
50789 int referenced = 0;
50790 int UNUSED insn_referenced = abuf->written;
50791 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50793 return cycles;
50794 #undef FLD
50797 static int
50798 model_tomcat_fbule (SIM_CPU *current_cpu, void *sem_arg)
50800 #define FLD(f) abuf->fields.sfmt_fbne.f
50801 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50802 const IDESC * UNUSED idesc = abuf->idesc;
50803 int cycles = 0;
50805 int referenced = 0;
50806 int UNUSED insn_referenced = abuf->written;
50807 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50809 return cycles;
50810 #undef FLD
50813 static int
50814 model_tomcat_fbu (SIM_CPU *current_cpu, void *sem_arg)
50816 #define FLD(f) abuf->fields.sfmt_fbne.f
50817 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50818 const IDESC * UNUSED idesc = abuf->idesc;
50819 int cycles = 0;
50821 int referenced = 0;
50822 int UNUSED insn_referenced = abuf->written;
50823 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50825 return cycles;
50826 #undef FLD
50829 static int
50830 model_tomcat_fbo (SIM_CPU *current_cpu, void *sem_arg)
50832 #define FLD(f) abuf->fields.sfmt_fbne.f
50833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50834 const IDESC * UNUSED idesc = abuf->idesc;
50835 int cycles = 0;
50837 int referenced = 0;
50838 int UNUSED insn_referenced = abuf->written;
50839 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50841 return cycles;
50842 #undef FLD
50845 static int
50846 model_tomcat_bctrlr (SIM_CPU *current_cpu, void *sem_arg)
50848 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
50849 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50850 const IDESC * UNUSED idesc = abuf->idesc;
50851 int cycles = 0;
50853 int referenced = 0;
50854 int UNUSED insn_referenced = abuf->written;
50855 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50857 return cycles;
50858 #undef FLD
50861 static int
50862 model_tomcat_bralr (SIM_CPU *current_cpu, void *sem_arg)
50864 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
50865 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50866 const IDESC * UNUSED idesc = abuf->idesc;
50867 int cycles = 0;
50869 int referenced = 0;
50870 int UNUSED insn_referenced = abuf->written;
50871 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50873 return cycles;
50874 #undef FLD
50877 static int
50878 model_tomcat_bnolr (SIM_CPU *current_cpu, void *sem_arg)
50880 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
50881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50882 const IDESC * UNUSED idesc = abuf->idesc;
50883 int cycles = 0;
50885 int referenced = 0;
50886 int UNUSED insn_referenced = abuf->written;
50887 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50889 return cycles;
50890 #undef FLD
50893 static int
50894 model_tomcat_beqlr (SIM_CPU *current_cpu, void *sem_arg)
50896 #define FLD(f) abuf->fields.sfmt_bceqlr.f
50897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50898 const IDESC * UNUSED idesc = abuf->idesc;
50899 int cycles = 0;
50901 int referenced = 0;
50902 int UNUSED insn_referenced = abuf->written;
50903 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50905 return cycles;
50906 #undef FLD
50909 static int
50910 model_tomcat_bnelr (SIM_CPU *current_cpu, void *sem_arg)
50912 #define FLD(f) abuf->fields.sfmt_bceqlr.f
50913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50914 const IDESC * UNUSED idesc = abuf->idesc;
50915 int cycles = 0;
50917 int referenced = 0;
50918 int UNUSED insn_referenced = abuf->written;
50919 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50921 return cycles;
50922 #undef FLD
50925 static int
50926 model_tomcat_blelr (SIM_CPU *current_cpu, void *sem_arg)
50928 #define FLD(f) abuf->fields.sfmt_bceqlr.f
50929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50930 const IDESC * UNUSED idesc = abuf->idesc;
50931 int cycles = 0;
50933 int referenced = 0;
50934 int UNUSED insn_referenced = abuf->written;
50935 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50937 return cycles;
50938 #undef FLD
50941 static int
50942 model_tomcat_bgtlr (SIM_CPU *current_cpu, void *sem_arg)
50944 #define FLD(f) abuf->fields.sfmt_bceqlr.f
50945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50946 const IDESC * UNUSED idesc = abuf->idesc;
50947 int cycles = 0;
50949 int referenced = 0;
50950 int UNUSED insn_referenced = abuf->written;
50951 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50953 return cycles;
50954 #undef FLD
50957 static int
50958 model_tomcat_bltlr (SIM_CPU *current_cpu, void *sem_arg)
50960 #define FLD(f) abuf->fields.sfmt_bceqlr.f
50961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50962 const IDESC * UNUSED idesc = abuf->idesc;
50963 int cycles = 0;
50965 int referenced = 0;
50966 int UNUSED insn_referenced = abuf->written;
50967 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50969 return cycles;
50970 #undef FLD
50973 static int
50974 model_tomcat_bgelr (SIM_CPU *current_cpu, void *sem_arg)
50976 #define FLD(f) abuf->fields.sfmt_bceqlr.f
50977 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50978 const IDESC * UNUSED idesc = abuf->idesc;
50979 int cycles = 0;
50981 int referenced = 0;
50982 int UNUSED insn_referenced = abuf->written;
50983 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
50985 return cycles;
50986 #undef FLD
50989 static int
50990 model_tomcat_blslr (SIM_CPU *current_cpu, void *sem_arg)
50992 #define FLD(f) abuf->fields.sfmt_bceqlr.f
50993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
50994 const IDESC * UNUSED idesc = abuf->idesc;
50995 int cycles = 0;
50997 int referenced = 0;
50998 int UNUSED insn_referenced = abuf->written;
50999 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51001 return cycles;
51002 #undef FLD
51005 static int
51006 model_tomcat_bhilr (SIM_CPU *current_cpu, void *sem_arg)
51008 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51010 const IDESC * UNUSED idesc = abuf->idesc;
51011 int cycles = 0;
51013 int referenced = 0;
51014 int UNUSED insn_referenced = abuf->written;
51015 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51017 return cycles;
51018 #undef FLD
51021 static int
51022 model_tomcat_bclr (SIM_CPU *current_cpu, void *sem_arg)
51024 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51026 const IDESC * UNUSED idesc = abuf->idesc;
51027 int cycles = 0;
51029 int referenced = 0;
51030 int UNUSED insn_referenced = abuf->written;
51031 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51033 return cycles;
51034 #undef FLD
51037 static int
51038 model_tomcat_bnclr (SIM_CPU *current_cpu, void *sem_arg)
51040 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51041 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51042 const IDESC * UNUSED idesc = abuf->idesc;
51043 int cycles = 0;
51045 int referenced = 0;
51046 int UNUSED insn_referenced = abuf->written;
51047 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51049 return cycles;
51050 #undef FLD
51053 static int
51054 model_tomcat_bnlr (SIM_CPU *current_cpu, void *sem_arg)
51056 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51058 const IDESC * UNUSED idesc = abuf->idesc;
51059 int cycles = 0;
51061 int referenced = 0;
51062 int UNUSED insn_referenced = abuf->written;
51063 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51065 return cycles;
51066 #undef FLD
51069 static int
51070 model_tomcat_bplr (SIM_CPU *current_cpu, void *sem_arg)
51072 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51074 const IDESC * UNUSED idesc = abuf->idesc;
51075 int cycles = 0;
51077 int referenced = 0;
51078 int UNUSED insn_referenced = abuf->written;
51079 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51081 return cycles;
51082 #undef FLD
51085 static int
51086 model_tomcat_bvlr (SIM_CPU *current_cpu, void *sem_arg)
51088 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51089 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51090 const IDESC * UNUSED idesc = abuf->idesc;
51091 int cycles = 0;
51093 int referenced = 0;
51094 int UNUSED insn_referenced = abuf->written;
51095 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51097 return cycles;
51098 #undef FLD
51101 static int
51102 model_tomcat_bnvlr (SIM_CPU *current_cpu, void *sem_arg)
51104 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51106 const IDESC * UNUSED idesc = abuf->idesc;
51107 int cycles = 0;
51109 int referenced = 0;
51110 int UNUSED insn_referenced = abuf->written;
51111 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51113 return cycles;
51114 #undef FLD
51117 static int
51118 model_tomcat_fbralr (SIM_CPU *current_cpu, void *sem_arg)
51120 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51121 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51122 const IDESC * UNUSED idesc = abuf->idesc;
51123 int cycles = 0;
51125 int referenced = 0;
51126 int UNUSED insn_referenced = abuf->written;
51127 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51129 return cycles;
51130 #undef FLD
51133 static int
51134 model_tomcat_fbnolr (SIM_CPU *current_cpu, void *sem_arg)
51136 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51137 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51138 const IDESC * UNUSED idesc = abuf->idesc;
51139 int cycles = 0;
51141 int referenced = 0;
51142 int UNUSED insn_referenced = abuf->written;
51143 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51145 return cycles;
51146 #undef FLD
51149 static int
51150 model_tomcat_fbeqlr (SIM_CPU *current_cpu, void *sem_arg)
51152 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51153 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51154 const IDESC * UNUSED idesc = abuf->idesc;
51155 int cycles = 0;
51157 int referenced = 0;
51158 int UNUSED insn_referenced = abuf->written;
51159 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51161 return cycles;
51162 #undef FLD
51165 static int
51166 model_tomcat_fbnelr (SIM_CPU *current_cpu, void *sem_arg)
51168 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51170 const IDESC * UNUSED idesc = abuf->idesc;
51171 int cycles = 0;
51173 int referenced = 0;
51174 int UNUSED insn_referenced = abuf->written;
51175 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51177 return cycles;
51178 #undef FLD
51181 static int
51182 model_tomcat_fblglr (SIM_CPU *current_cpu, void *sem_arg)
51184 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51186 const IDESC * UNUSED idesc = abuf->idesc;
51187 int cycles = 0;
51189 int referenced = 0;
51190 int UNUSED insn_referenced = abuf->written;
51191 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51193 return cycles;
51194 #undef FLD
51197 static int
51198 model_tomcat_fbuelr (SIM_CPU *current_cpu, void *sem_arg)
51200 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51201 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51202 const IDESC * UNUSED idesc = abuf->idesc;
51203 int cycles = 0;
51205 int referenced = 0;
51206 int UNUSED insn_referenced = abuf->written;
51207 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51209 return cycles;
51210 #undef FLD
51213 static int
51214 model_tomcat_fbullr (SIM_CPU *current_cpu, void *sem_arg)
51216 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51218 const IDESC * UNUSED idesc = abuf->idesc;
51219 int cycles = 0;
51221 int referenced = 0;
51222 int UNUSED insn_referenced = abuf->written;
51223 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51225 return cycles;
51226 #undef FLD
51229 static int
51230 model_tomcat_fbgelr (SIM_CPU *current_cpu, void *sem_arg)
51232 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51234 const IDESC * UNUSED idesc = abuf->idesc;
51235 int cycles = 0;
51237 int referenced = 0;
51238 int UNUSED insn_referenced = abuf->written;
51239 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51241 return cycles;
51242 #undef FLD
51245 static int
51246 model_tomcat_fbltlr (SIM_CPU *current_cpu, void *sem_arg)
51248 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51249 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51250 const IDESC * UNUSED idesc = abuf->idesc;
51251 int cycles = 0;
51253 int referenced = 0;
51254 int UNUSED insn_referenced = abuf->written;
51255 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51257 return cycles;
51258 #undef FLD
51261 static int
51262 model_tomcat_fbugelr (SIM_CPU *current_cpu, void *sem_arg)
51264 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51266 const IDESC * UNUSED idesc = abuf->idesc;
51267 int cycles = 0;
51269 int referenced = 0;
51270 int UNUSED insn_referenced = abuf->written;
51271 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51273 return cycles;
51274 #undef FLD
51277 static int
51278 model_tomcat_fbuglr (SIM_CPU *current_cpu, void *sem_arg)
51280 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51282 const IDESC * UNUSED idesc = abuf->idesc;
51283 int cycles = 0;
51285 int referenced = 0;
51286 int UNUSED insn_referenced = abuf->written;
51287 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51289 return cycles;
51290 #undef FLD
51293 static int
51294 model_tomcat_fblelr (SIM_CPU *current_cpu, void *sem_arg)
51296 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51297 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51298 const IDESC * UNUSED idesc = abuf->idesc;
51299 int cycles = 0;
51301 int referenced = 0;
51302 int UNUSED insn_referenced = abuf->written;
51303 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51305 return cycles;
51306 #undef FLD
51309 static int
51310 model_tomcat_fbgtlr (SIM_CPU *current_cpu, void *sem_arg)
51312 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51314 const IDESC * UNUSED idesc = abuf->idesc;
51315 int cycles = 0;
51317 int referenced = 0;
51318 int UNUSED insn_referenced = abuf->written;
51319 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51321 return cycles;
51322 #undef FLD
51325 static int
51326 model_tomcat_fbulelr (SIM_CPU *current_cpu, void *sem_arg)
51328 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51330 const IDESC * UNUSED idesc = abuf->idesc;
51331 int cycles = 0;
51333 int referenced = 0;
51334 int UNUSED insn_referenced = abuf->written;
51335 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51337 return cycles;
51338 #undef FLD
51341 static int
51342 model_tomcat_fbulr (SIM_CPU *current_cpu, void *sem_arg)
51344 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51345 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51346 const IDESC * UNUSED idesc = abuf->idesc;
51347 int cycles = 0;
51349 int referenced = 0;
51350 int UNUSED insn_referenced = abuf->written;
51351 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51353 return cycles;
51354 #undef FLD
51357 static int
51358 model_tomcat_fbolr (SIM_CPU *current_cpu, void *sem_arg)
51360 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51362 const IDESC * UNUSED idesc = abuf->idesc;
51363 int cycles = 0;
51365 int referenced = 0;
51366 int UNUSED insn_referenced = abuf->written;
51367 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51369 return cycles;
51370 #undef FLD
51373 static int
51374 model_tomcat_bcralr (SIM_CPU *current_cpu, void *sem_arg)
51376 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51378 const IDESC * UNUSED idesc = abuf->idesc;
51379 int cycles = 0;
51381 int referenced = 0;
51382 int UNUSED insn_referenced = abuf->written;
51383 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51385 return cycles;
51386 #undef FLD
51389 static int
51390 model_tomcat_bcnolr (SIM_CPU *current_cpu, void *sem_arg)
51392 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51393 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51394 const IDESC * UNUSED idesc = abuf->idesc;
51395 int cycles = 0;
51397 int referenced = 0;
51398 int UNUSED insn_referenced = abuf->written;
51399 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51401 return cycles;
51402 #undef FLD
51405 static int
51406 model_tomcat_bceqlr (SIM_CPU *current_cpu, void *sem_arg)
51408 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51409 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51410 const IDESC * UNUSED idesc = abuf->idesc;
51411 int cycles = 0;
51413 int referenced = 0;
51414 int UNUSED insn_referenced = abuf->written;
51415 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51417 return cycles;
51418 #undef FLD
51421 static int
51422 model_tomcat_bcnelr (SIM_CPU *current_cpu, void *sem_arg)
51424 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51425 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51426 const IDESC * UNUSED idesc = abuf->idesc;
51427 int cycles = 0;
51429 int referenced = 0;
51430 int UNUSED insn_referenced = abuf->written;
51431 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51433 return cycles;
51434 #undef FLD
51437 static int
51438 model_tomcat_bclelr (SIM_CPU *current_cpu, void *sem_arg)
51440 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51442 const IDESC * UNUSED idesc = abuf->idesc;
51443 int cycles = 0;
51445 int referenced = 0;
51446 int UNUSED insn_referenced = abuf->written;
51447 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51449 return cycles;
51450 #undef FLD
51453 static int
51454 model_tomcat_bcgtlr (SIM_CPU *current_cpu, void *sem_arg)
51456 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51458 const IDESC * UNUSED idesc = abuf->idesc;
51459 int cycles = 0;
51461 int referenced = 0;
51462 int UNUSED insn_referenced = abuf->written;
51463 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51465 return cycles;
51466 #undef FLD
51469 static int
51470 model_tomcat_bcltlr (SIM_CPU *current_cpu, void *sem_arg)
51472 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51474 const IDESC * UNUSED idesc = abuf->idesc;
51475 int cycles = 0;
51477 int referenced = 0;
51478 int UNUSED insn_referenced = abuf->written;
51479 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51481 return cycles;
51482 #undef FLD
51485 static int
51486 model_tomcat_bcgelr (SIM_CPU *current_cpu, void *sem_arg)
51488 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51490 const IDESC * UNUSED idesc = abuf->idesc;
51491 int cycles = 0;
51493 int referenced = 0;
51494 int UNUSED insn_referenced = abuf->written;
51495 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51497 return cycles;
51498 #undef FLD
51501 static int
51502 model_tomcat_bclslr (SIM_CPU *current_cpu, void *sem_arg)
51504 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51506 const IDESC * UNUSED idesc = abuf->idesc;
51507 int cycles = 0;
51509 int referenced = 0;
51510 int UNUSED insn_referenced = abuf->written;
51511 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51513 return cycles;
51514 #undef FLD
51517 static int
51518 model_tomcat_bchilr (SIM_CPU *current_cpu, void *sem_arg)
51520 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51522 const IDESC * UNUSED idesc = abuf->idesc;
51523 int cycles = 0;
51525 int referenced = 0;
51526 int UNUSED insn_referenced = abuf->written;
51527 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51529 return cycles;
51530 #undef FLD
51533 static int
51534 model_tomcat_bcclr (SIM_CPU *current_cpu, void *sem_arg)
51536 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51538 const IDESC * UNUSED idesc = abuf->idesc;
51539 int cycles = 0;
51541 int referenced = 0;
51542 int UNUSED insn_referenced = abuf->written;
51543 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51545 return cycles;
51546 #undef FLD
51549 static int
51550 model_tomcat_bcnclr (SIM_CPU *current_cpu, void *sem_arg)
51552 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51554 const IDESC * UNUSED idesc = abuf->idesc;
51555 int cycles = 0;
51557 int referenced = 0;
51558 int UNUSED insn_referenced = abuf->written;
51559 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51561 return cycles;
51562 #undef FLD
51565 static int
51566 model_tomcat_bcnlr (SIM_CPU *current_cpu, void *sem_arg)
51568 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51570 const IDESC * UNUSED idesc = abuf->idesc;
51571 int cycles = 0;
51573 int referenced = 0;
51574 int UNUSED insn_referenced = abuf->written;
51575 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51577 return cycles;
51578 #undef FLD
51581 static int
51582 model_tomcat_bcplr (SIM_CPU *current_cpu, void *sem_arg)
51584 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51585 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51586 const IDESC * UNUSED idesc = abuf->idesc;
51587 int cycles = 0;
51589 int referenced = 0;
51590 int UNUSED insn_referenced = abuf->written;
51591 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51593 return cycles;
51594 #undef FLD
51597 static int
51598 model_tomcat_bcvlr (SIM_CPU *current_cpu, void *sem_arg)
51600 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51602 const IDESC * UNUSED idesc = abuf->idesc;
51603 int cycles = 0;
51605 int referenced = 0;
51606 int UNUSED insn_referenced = abuf->written;
51607 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51609 return cycles;
51610 #undef FLD
51613 static int
51614 model_tomcat_bcnvlr (SIM_CPU *current_cpu, void *sem_arg)
51616 #define FLD(f) abuf->fields.sfmt_bceqlr.f
51617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51618 const IDESC * UNUSED idesc = abuf->idesc;
51619 int cycles = 0;
51621 int referenced = 0;
51622 int UNUSED insn_referenced = abuf->written;
51623 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51625 return cycles;
51626 #undef FLD
51629 static int
51630 model_tomcat_fcbralr (SIM_CPU *current_cpu, void *sem_arg)
51632 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51634 const IDESC * UNUSED idesc = abuf->idesc;
51635 int cycles = 0;
51637 int referenced = 0;
51638 int UNUSED insn_referenced = abuf->written;
51639 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51641 return cycles;
51642 #undef FLD
51645 static int
51646 model_tomcat_fcbnolr (SIM_CPU *current_cpu, void *sem_arg)
51648 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51649 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51650 const IDESC * UNUSED idesc = abuf->idesc;
51651 int cycles = 0;
51653 int referenced = 0;
51654 int UNUSED insn_referenced = abuf->written;
51655 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51657 return cycles;
51658 #undef FLD
51661 static int
51662 model_tomcat_fcbeqlr (SIM_CPU *current_cpu, void *sem_arg)
51664 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51666 const IDESC * UNUSED idesc = abuf->idesc;
51667 int cycles = 0;
51669 int referenced = 0;
51670 int UNUSED insn_referenced = abuf->written;
51671 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51673 return cycles;
51674 #undef FLD
51677 static int
51678 model_tomcat_fcbnelr (SIM_CPU *current_cpu, void *sem_arg)
51680 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51682 const IDESC * UNUSED idesc = abuf->idesc;
51683 int cycles = 0;
51685 int referenced = 0;
51686 int UNUSED insn_referenced = abuf->written;
51687 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51689 return cycles;
51690 #undef FLD
51693 static int
51694 model_tomcat_fcblglr (SIM_CPU *current_cpu, void *sem_arg)
51696 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51698 const IDESC * UNUSED idesc = abuf->idesc;
51699 int cycles = 0;
51701 int referenced = 0;
51702 int UNUSED insn_referenced = abuf->written;
51703 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51705 return cycles;
51706 #undef FLD
51709 static int
51710 model_tomcat_fcbuelr (SIM_CPU *current_cpu, void *sem_arg)
51712 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51714 const IDESC * UNUSED idesc = abuf->idesc;
51715 int cycles = 0;
51717 int referenced = 0;
51718 int UNUSED insn_referenced = abuf->written;
51719 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51721 return cycles;
51722 #undef FLD
51725 static int
51726 model_tomcat_fcbullr (SIM_CPU *current_cpu, void *sem_arg)
51728 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51729 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51730 const IDESC * UNUSED idesc = abuf->idesc;
51731 int cycles = 0;
51733 int referenced = 0;
51734 int UNUSED insn_referenced = abuf->written;
51735 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51737 return cycles;
51738 #undef FLD
51741 static int
51742 model_tomcat_fcbgelr (SIM_CPU *current_cpu, void *sem_arg)
51744 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51745 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51746 const IDESC * UNUSED idesc = abuf->idesc;
51747 int cycles = 0;
51749 int referenced = 0;
51750 int UNUSED insn_referenced = abuf->written;
51751 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51753 return cycles;
51754 #undef FLD
51757 static int
51758 model_tomcat_fcbltlr (SIM_CPU *current_cpu, void *sem_arg)
51760 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51761 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51762 const IDESC * UNUSED idesc = abuf->idesc;
51763 int cycles = 0;
51765 int referenced = 0;
51766 int UNUSED insn_referenced = abuf->written;
51767 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51769 return cycles;
51770 #undef FLD
51773 static int
51774 model_tomcat_fcbugelr (SIM_CPU *current_cpu, void *sem_arg)
51776 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51778 const IDESC * UNUSED idesc = abuf->idesc;
51779 int cycles = 0;
51781 int referenced = 0;
51782 int UNUSED insn_referenced = abuf->written;
51783 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51785 return cycles;
51786 #undef FLD
51789 static int
51790 model_tomcat_fcbuglr (SIM_CPU *current_cpu, void *sem_arg)
51792 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51793 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51794 const IDESC * UNUSED idesc = abuf->idesc;
51795 int cycles = 0;
51797 int referenced = 0;
51798 int UNUSED insn_referenced = abuf->written;
51799 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51801 return cycles;
51802 #undef FLD
51805 static int
51806 model_tomcat_fcblelr (SIM_CPU *current_cpu, void *sem_arg)
51808 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51810 const IDESC * UNUSED idesc = abuf->idesc;
51811 int cycles = 0;
51813 int referenced = 0;
51814 int UNUSED insn_referenced = abuf->written;
51815 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51817 return cycles;
51818 #undef FLD
51821 static int
51822 model_tomcat_fcbgtlr (SIM_CPU *current_cpu, void *sem_arg)
51824 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51826 const IDESC * UNUSED idesc = abuf->idesc;
51827 int cycles = 0;
51829 int referenced = 0;
51830 int UNUSED insn_referenced = abuf->written;
51831 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51833 return cycles;
51834 #undef FLD
51837 static int
51838 model_tomcat_fcbulelr (SIM_CPU *current_cpu, void *sem_arg)
51840 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51842 const IDESC * UNUSED idesc = abuf->idesc;
51843 int cycles = 0;
51845 int referenced = 0;
51846 int UNUSED insn_referenced = abuf->written;
51847 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51849 return cycles;
51850 #undef FLD
51853 static int
51854 model_tomcat_fcbulr (SIM_CPU *current_cpu, void *sem_arg)
51856 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51858 const IDESC * UNUSED idesc = abuf->idesc;
51859 int cycles = 0;
51861 int referenced = 0;
51862 int UNUSED insn_referenced = abuf->written;
51863 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51865 return cycles;
51866 #undef FLD
51869 static int
51870 model_tomcat_fcbolr (SIM_CPU *current_cpu, void *sem_arg)
51872 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
51873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51874 const IDESC * UNUSED idesc = abuf->idesc;
51875 int cycles = 0;
51877 int referenced = 0;
51878 int UNUSED insn_referenced = abuf->written;
51879 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51881 return cycles;
51882 #undef FLD
51885 static int
51886 model_tomcat_jmpl (SIM_CPU *current_cpu, void *sem_arg)
51888 #define FLD(f) abuf->fields.sfmt_cjmpl.f
51889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51890 const IDESC * UNUSED idesc = abuf->idesc;
51891 int cycles = 0;
51893 int referenced = 0;
51894 int UNUSED insn_referenced = abuf->written;
51895 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51897 return cycles;
51898 #undef FLD
51901 static int
51902 model_tomcat_calll (SIM_CPU *current_cpu, void *sem_arg)
51904 #define FLD(f) abuf->fields.sfmt_cjmpl.f
51905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51906 const IDESC * UNUSED idesc = abuf->idesc;
51907 int cycles = 0;
51909 int referenced = 0;
51910 int UNUSED insn_referenced = abuf->written;
51911 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51913 return cycles;
51914 #undef FLD
51917 static int
51918 model_tomcat_jmpil (SIM_CPU *current_cpu, void *sem_arg)
51920 #define FLD(f) abuf->fields.sfmt_jmpil.f
51921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51922 const IDESC * UNUSED idesc = abuf->idesc;
51923 int cycles = 0;
51925 int referenced = 0;
51926 int UNUSED insn_referenced = abuf->written;
51927 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51929 return cycles;
51930 #undef FLD
51933 static int
51934 model_tomcat_callil (SIM_CPU *current_cpu, void *sem_arg)
51936 #define FLD(f) abuf->fields.sfmt_jmpil.f
51937 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51938 const IDESC * UNUSED idesc = abuf->idesc;
51939 int cycles = 0;
51941 int referenced = 0;
51942 int UNUSED insn_referenced = abuf->written;
51943 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51945 return cycles;
51946 #undef FLD
51949 static int
51950 model_tomcat_call (SIM_CPU *current_cpu, void *sem_arg)
51952 #define FLD(f) abuf->fields.sfmt_call.f
51953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51954 const IDESC * UNUSED idesc = abuf->idesc;
51955 int cycles = 0;
51957 int referenced = 0;
51958 int UNUSED insn_referenced = abuf->written;
51959 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51961 return cycles;
51962 #undef FLD
51965 static int
51966 model_tomcat_rett (SIM_CPU *current_cpu, void *sem_arg)
51968 #define FLD(f) abuf->fields.sfmt_rett.f
51969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51970 const IDESC * UNUSED idesc = abuf->idesc;
51971 int cycles = 0;
51973 int referenced = 0;
51974 int UNUSED insn_referenced = abuf->written;
51975 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51977 return cycles;
51978 #undef FLD
51981 static int
51982 model_tomcat_rei (SIM_CPU *current_cpu, void *sem_arg)
51984 #define FLD(f) abuf->fields.sfmt_empty.f
51985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
51986 const IDESC * UNUSED idesc = abuf->idesc;
51987 int cycles = 0;
51989 int referenced = 0;
51990 int UNUSED insn_referenced = abuf->written;
51991 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
51993 return cycles;
51994 #undef FLD
51997 static int
51998 model_tomcat_tra (SIM_CPU *current_cpu, void *sem_arg)
52000 #define FLD(f) abuf->fields.sfmt_ftne.f
52001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52002 const IDESC * UNUSED idesc = abuf->idesc;
52003 int cycles = 0;
52005 int referenced = 0;
52006 int UNUSED insn_referenced = abuf->written;
52007 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52009 return cycles;
52010 #undef FLD
52013 static int
52014 model_tomcat_tno (SIM_CPU *current_cpu, void *sem_arg)
52016 #define FLD(f) abuf->fields.sfmt_empty.f
52017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52018 const IDESC * UNUSED idesc = abuf->idesc;
52019 int cycles = 0;
52021 int referenced = 0;
52022 int UNUSED insn_referenced = abuf->written;
52023 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52025 return cycles;
52026 #undef FLD
52029 static int
52030 model_tomcat_teq (SIM_CPU *current_cpu, void *sem_arg)
52032 #define FLD(f) abuf->fields.sfmt_teq.f
52033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52034 const IDESC * UNUSED idesc = abuf->idesc;
52035 int cycles = 0;
52037 int referenced = 0;
52038 int UNUSED insn_referenced = abuf->written;
52039 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52041 return cycles;
52042 #undef FLD
52045 static int
52046 model_tomcat_tne (SIM_CPU *current_cpu, void *sem_arg)
52048 #define FLD(f) abuf->fields.sfmt_teq.f
52049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52050 const IDESC * UNUSED idesc = abuf->idesc;
52051 int cycles = 0;
52053 int referenced = 0;
52054 int UNUSED insn_referenced = abuf->written;
52055 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52057 return cycles;
52058 #undef FLD
52061 static int
52062 model_tomcat_tle (SIM_CPU *current_cpu, void *sem_arg)
52064 #define FLD(f) abuf->fields.sfmt_teq.f
52065 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52066 const IDESC * UNUSED idesc = abuf->idesc;
52067 int cycles = 0;
52069 int referenced = 0;
52070 int UNUSED insn_referenced = abuf->written;
52071 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52073 return cycles;
52074 #undef FLD
52077 static int
52078 model_tomcat_tgt (SIM_CPU *current_cpu, void *sem_arg)
52080 #define FLD(f) abuf->fields.sfmt_teq.f
52081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52082 const IDESC * UNUSED idesc = abuf->idesc;
52083 int cycles = 0;
52085 int referenced = 0;
52086 int UNUSED insn_referenced = abuf->written;
52087 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52089 return cycles;
52090 #undef FLD
52093 static int
52094 model_tomcat_tlt (SIM_CPU *current_cpu, void *sem_arg)
52096 #define FLD(f) abuf->fields.sfmt_teq.f
52097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52098 const IDESC * UNUSED idesc = abuf->idesc;
52099 int cycles = 0;
52101 int referenced = 0;
52102 int UNUSED insn_referenced = abuf->written;
52103 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52105 return cycles;
52106 #undef FLD
52109 static int
52110 model_tomcat_tge (SIM_CPU *current_cpu, void *sem_arg)
52112 #define FLD(f) abuf->fields.sfmt_teq.f
52113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52114 const IDESC * UNUSED idesc = abuf->idesc;
52115 int cycles = 0;
52117 int referenced = 0;
52118 int UNUSED insn_referenced = abuf->written;
52119 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52121 return cycles;
52122 #undef FLD
52125 static int
52126 model_tomcat_tls (SIM_CPU *current_cpu, void *sem_arg)
52128 #define FLD(f) abuf->fields.sfmt_teq.f
52129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52130 const IDESC * UNUSED idesc = abuf->idesc;
52131 int cycles = 0;
52133 int referenced = 0;
52134 int UNUSED insn_referenced = abuf->written;
52135 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52137 return cycles;
52138 #undef FLD
52141 static int
52142 model_tomcat_thi (SIM_CPU *current_cpu, void *sem_arg)
52144 #define FLD(f) abuf->fields.sfmt_teq.f
52145 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52146 const IDESC * UNUSED idesc = abuf->idesc;
52147 int cycles = 0;
52149 int referenced = 0;
52150 int UNUSED insn_referenced = abuf->written;
52151 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52153 return cycles;
52154 #undef FLD
52157 static int
52158 model_tomcat_tc (SIM_CPU *current_cpu, void *sem_arg)
52160 #define FLD(f) abuf->fields.sfmt_teq.f
52161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52162 const IDESC * UNUSED idesc = abuf->idesc;
52163 int cycles = 0;
52165 int referenced = 0;
52166 int UNUSED insn_referenced = abuf->written;
52167 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52169 return cycles;
52170 #undef FLD
52173 static int
52174 model_tomcat_tnc (SIM_CPU *current_cpu, void *sem_arg)
52176 #define FLD(f) abuf->fields.sfmt_teq.f
52177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52178 const IDESC * UNUSED idesc = abuf->idesc;
52179 int cycles = 0;
52181 int referenced = 0;
52182 int UNUSED insn_referenced = abuf->written;
52183 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52185 return cycles;
52186 #undef FLD
52189 static int
52190 model_tomcat_tn (SIM_CPU *current_cpu, void *sem_arg)
52192 #define FLD(f) abuf->fields.sfmt_teq.f
52193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52194 const IDESC * UNUSED idesc = abuf->idesc;
52195 int cycles = 0;
52197 int referenced = 0;
52198 int UNUSED insn_referenced = abuf->written;
52199 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52201 return cycles;
52202 #undef FLD
52205 static int
52206 model_tomcat_tp (SIM_CPU *current_cpu, void *sem_arg)
52208 #define FLD(f) abuf->fields.sfmt_teq.f
52209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52210 const IDESC * UNUSED idesc = abuf->idesc;
52211 int cycles = 0;
52213 int referenced = 0;
52214 int UNUSED insn_referenced = abuf->written;
52215 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52217 return cycles;
52218 #undef FLD
52221 static int
52222 model_tomcat_tv (SIM_CPU *current_cpu, void *sem_arg)
52224 #define FLD(f) abuf->fields.sfmt_teq.f
52225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52226 const IDESC * UNUSED idesc = abuf->idesc;
52227 int cycles = 0;
52229 int referenced = 0;
52230 int UNUSED insn_referenced = abuf->written;
52231 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52233 return cycles;
52234 #undef FLD
52237 static int
52238 model_tomcat_tnv (SIM_CPU *current_cpu, void *sem_arg)
52240 #define FLD(f) abuf->fields.sfmt_teq.f
52241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52242 const IDESC * UNUSED idesc = abuf->idesc;
52243 int cycles = 0;
52245 int referenced = 0;
52246 int UNUSED insn_referenced = abuf->written;
52247 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52249 return cycles;
52250 #undef FLD
52253 static int
52254 model_tomcat_ftra (SIM_CPU *current_cpu, void *sem_arg)
52256 #define FLD(f) abuf->fields.sfmt_ftne.f
52257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52258 const IDESC * UNUSED idesc = abuf->idesc;
52259 int cycles = 0;
52261 int referenced = 0;
52262 int UNUSED insn_referenced = abuf->written;
52263 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52265 return cycles;
52266 #undef FLD
52269 static int
52270 model_tomcat_ftno (SIM_CPU *current_cpu, void *sem_arg)
52272 #define FLD(f) abuf->fields.sfmt_empty.f
52273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52274 const IDESC * UNUSED idesc = abuf->idesc;
52275 int cycles = 0;
52277 int referenced = 0;
52278 int UNUSED insn_referenced = abuf->written;
52279 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52281 return cycles;
52282 #undef FLD
52285 static int
52286 model_tomcat_ftne (SIM_CPU *current_cpu, void *sem_arg)
52288 #define FLD(f) abuf->fields.sfmt_ftne.f
52289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52290 const IDESC * UNUSED idesc = abuf->idesc;
52291 int cycles = 0;
52293 int referenced = 0;
52294 int UNUSED insn_referenced = abuf->written;
52295 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52297 return cycles;
52298 #undef FLD
52301 static int
52302 model_tomcat_fteq (SIM_CPU *current_cpu, void *sem_arg)
52304 #define FLD(f) abuf->fields.sfmt_ftne.f
52305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52306 const IDESC * UNUSED idesc = abuf->idesc;
52307 int cycles = 0;
52309 int referenced = 0;
52310 int UNUSED insn_referenced = abuf->written;
52311 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52313 return cycles;
52314 #undef FLD
52317 static int
52318 model_tomcat_ftlg (SIM_CPU *current_cpu, void *sem_arg)
52320 #define FLD(f) abuf->fields.sfmt_ftne.f
52321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52322 const IDESC * UNUSED idesc = abuf->idesc;
52323 int cycles = 0;
52325 int referenced = 0;
52326 int UNUSED insn_referenced = abuf->written;
52327 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52329 return cycles;
52330 #undef FLD
52333 static int
52334 model_tomcat_ftue (SIM_CPU *current_cpu, void *sem_arg)
52336 #define FLD(f) abuf->fields.sfmt_ftne.f
52337 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52338 const IDESC * UNUSED idesc = abuf->idesc;
52339 int cycles = 0;
52341 int referenced = 0;
52342 int UNUSED insn_referenced = abuf->written;
52343 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52345 return cycles;
52346 #undef FLD
52349 static int
52350 model_tomcat_ftul (SIM_CPU *current_cpu, void *sem_arg)
52352 #define FLD(f) abuf->fields.sfmt_ftne.f
52353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52354 const IDESC * UNUSED idesc = abuf->idesc;
52355 int cycles = 0;
52357 int referenced = 0;
52358 int UNUSED insn_referenced = abuf->written;
52359 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52361 return cycles;
52362 #undef FLD
52365 static int
52366 model_tomcat_ftge (SIM_CPU *current_cpu, void *sem_arg)
52368 #define FLD(f) abuf->fields.sfmt_ftne.f
52369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52370 const IDESC * UNUSED idesc = abuf->idesc;
52371 int cycles = 0;
52373 int referenced = 0;
52374 int UNUSED insn_referenced = abuf->written;
52375 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52377 return cycles;
52378 #undef FLD
52381 static int
52382 model_tomcat_ftlt (SIM_CPU *current_cpu, void *sem_arg)
52384 #define FLD(f) abuf->fields.sfmt_ftne.f
52385 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52386 const IDESC * UNUSED idesc = abuf->idesc;
52387 int cycles = 0;
52389 int referenced = 0;
52390 int UNUSED insn_referenced = abuf->written;
52391 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52393 return cycles;
52394 #undef FLD
52397 static int
52398 model_tomcat_ftuge (SIM_CPU *current_cpu, void *sem_arg)
52400 #define FLD(f) abuf->fields.sfmt_ftne.f
52401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52402 const IDESC * UNUSED idesc = abuf->idesc;
52403 int cycles = 0;
52405 int referenced = 0;
52406 int UNUSED insn_referenced = abuf->written;
52407 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52409 return cycles;
52410 #undef FLD
52413 static int
52414 model_tomcat_ftug (SIM_CPU *current_cpu, void *sem_arg)
52416 #define FLD(f) abuf->fields.sfmt_ftne.f
52417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52418 const IDESC * UNUSED idesc = abuf->idesc;
52419 int cycles = 0;
52421 int referenced = 0;
52422 int UNUSED insn_referenced = abuf->written;
52423 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52425 return cycles;
52426 #undef FLD
52429 static int
52430 model_tomcat_ftle (SIM_CPU *current_cpu, void *sem_arg)
52432 #define FLD(f) abuf->fields.sfmt_ftne.f
52433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52434 const IDESC * UNUSED idesc = abuf->idesc;
52435 int cycles = 0;
52437 int referenced = 0;
52438 int UNUSED insn_referenced = abuf->written;
52439 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52441 return cycles;
52442 #undef FLD
52445 static int
52446 model_tomcat_ftgt (SIM_CPU *current_cpu, void *sem_arg)
52448 #define FLD(f) abuf->fields.sfmt_ftne.f
52449 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52450 const IDESC * UNUSED idesc = abuf->idesc;
52451 int cycles = 0;
52453 int referenced = 0;
52454 int UNUSED insn_referenced = abuf->written;
52455 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52457 return cycles;
52458 #undef FLD
52461 static int
52462 model_tomcat_ftule (SIM_CPU *current_cpu, void *sem_arg)
52464 #define FLD(f) abuf->fields.sfmt_ftne.f
52465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52466 const IDESC * UNUSED idesc = abuf->idesc;
52467 int cycles = 0;
52469 int referenced = 0;
52470 int UNUSED insn_referenced = abuf->written;
52471 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52473 return cycles;
52474 #undef FLD
52477 static int
52478 model_tomcat_ftu (SIM_CPU *current_cpu, void *sem_arg)
52480 #define FLD(f) abuf->fields.sfmt_ftne.f
52481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52482 const IDESC * UNUSED idesc = abuf->idesc;
52483 int cycles = 0;
52485 int referenced = 0;
52486 int UNUSED insn_referenced = abuf->written;
52487 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52489 return cycles;
52490 #undef FLD
52493 static int
52494 model_tomcat_fto (SIM_CPU *current_cpu, void *sem_arg)
52496 #define FLD(f) abuf->fields.sfmt_ftne.f
52497 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52498 const IDESC * UNUSED idesc = abuf->idesc;
52499 int cycles = 0;
52501 int referenced = 0;
52502 int UNUSED insn_referenced = abuf->written;
52503 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52505 return cycles;
52506 #undef FLD
52509 static int
52510 model_tomcat_tira (SIM_CPU *current_cpu, void *sem_arg)
52512 #define FLD(f) abuf->fields.sfmt_ftine.f
52513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52514 const IDESC * UNUSED idesc = abuf->idesc;
52515 int cycles = 0;
52517 int referenced = 0;
52518 int UNUSED insn_referenced = abuf->written;
52519 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52521 return cycles;
52522 #undef FLD
52525 static int
52526 model_tomcat_tino (SIM_CPU *current_cpu, void *sem_arg)
52528 #define FLD(f) abuf->fields.sfmt_empty.f
52529 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52530 const IDESC * UNUSED idesc = abuf->idesc;
52531 int cycles = 0;
52533 int referenced = 0;
52534 int UNUSED insn_referenced = abuf->written;
52535 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52537 return cycles;
52538 #undef FLD
52541 static int
52542 model_tomcat_tieq (SIM_CPU *current_cpu, void *sem_arg)
52544 #define FLD(f) abuf->fields.sfmt_tieq.f
52545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52546 const IDESC * UNUSED idesc = abuf->idesc;
52547 int cycles = 0;
52549 int referenced = 0;
52550 int UNUSED insn_referenced = abuf->written;
52551 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52553 return cycles;
52554 #undef FLD
52557 static int
52558 model_tomcat_tine (SIM_CPU *current_cpu, void *sem_arg)
52560 #define FLD(f) abuf->fields.sfmt_tieq.f
52561 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52562 const IDESC * UNUSED idesc = abuf->idesc;
52563 int cycles = 0;
52565 int referenced = 0;
52566 int UNUSED insn_referenced = abuf->written;
52567 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52569 return cycles;
52570 #undef FLD
52573 static int
52574 model_tomcat_tile (SIM_CPU *current_cpu, void *sem_arg)
52576 #define FLD(f) abuf->fields.sfmt_tieq.f
52577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52578 const IDESC * UNUSED idesc = abuf->idesc;
52579 int cycles = 0;
52581 int referenced = 0;
52582 int UNUSED insn_referenced = abuf->written;
52583 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52585 return cycles;
52586 #undef FLD
52589 static int
52590 model_tomcat_tigt (SIM_CPU *current_cpu, void *sem_arg)
52592 #define FLD(f) abuf->fields.sfmt_tieq.f
52593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52594 const IDESC * UNUSED idesc = abuf->idesc;
52595 int cycles = 0;
52597 int referenced = 0;
52598 int UNUSED insn_referenced = abuf->written;
52599 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52601 return cycles;
52602 #undef FLD
52605 static int
52606 model_tomcat_tilt (SIM_CPU *current_cpu, void *sem_arg)
52608 #define FLD(f) abuf->fields.sfmt_tieq.f
52609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52610 const IDESC * UNUSED idesc = abuf->idesc;
52611 int cycles = 0;
52613 int referenced = 0;
52614 int UNUSED insn_referenced = abuf->written;
52615 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52617 return cycles;
52618 #undef FLD
52621 static int
52622 model_tomcat_tige (SIM_CPU *current_cpu, void *sem_arg)
52624 #define FLD(f) abuf->fields.sfmt_tieq.f
52625 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52626 const IDESC * UNUSED idesc = abuf->idesc;
52627 int cycles = 0;
52629 int referenced = 0;
52630 int UNUSED insn_referenced = abuf->written;
52631 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52633 return cycles;
52634 #undef FLD
52637 static int
52638 model_tomcat_tils (SIM_CPU *current_cpu, void *sem_arg)
52640 #define FLD(f) abuf->fields.sfmt_tieq.f
52641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52642 const IDESC * UNUSED idesc = abuf->idesc;
52643 int cycles = 0;
52645 int referenced = 0;
52646 int UNUSED insn_referenced = abuf->written;
52647 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52649 return cycles;
52650 #undef FLD
52653 static int
52654 model_tomcat_tihi (SIM_CPU *current_cpu, void *sem_arg)
52656 #define FLD(f) abuf->fields.sfmt_tieq.f
52657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52658 const IDESC * UNUSED idesc = abuf->idesc;
52659 int cycles = 0;
52661 int referenced = 0;
52662 int UNUSED insn_referenced = abuf->written;
52663 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52665 return cycles;
52666 #undef FLD
52669 static int
52670 model_tomcat_tic (SIM_CPU *current_cpu, void *sem_arg)
52672 #define FLD(f) abuf->fields.sfmt_tieq.f
52673 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52674 const IDESC * UNUSED idesc = abuf->idesc;
52675 int cycles = 0;
52677 int referenced = 0;
52678 int UNUSED insn_referenced = abuf->written;
52679 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52681 return cycles;
52682 #undef FLD
52685 static int
52686 model_tomcat_tinc (SIM_CPU *current_cpu, void *sem_arg)
52688 #define FLD(f) abuf->fields.sfmt_tieq.f
52689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52690 const IDESC * UNUSED idesc = abuf->idesc;
52691 int cycles = 0;
52693 int referenced = 0;
52694 int UNUSED insn_referenced = abuf->written;
52695 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52697 return cycles;
52698 #undef FLD
52701 static int
52702 model_tomcat_tin (SIM_CPU *current_cpu, void *sem_arg)
52704 #define FLD(f) abuf->fields.sfmt_tieq.f
52705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52706 const IDESC * UNUSED idesc = abuf->idesc;
52707 int cycles = 0;
52709 int referenced = 0;
52710 int UNUSED insn_referenced = abuf->written;
52711 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52713 return cycles;
52714 #undef FLD
52717 static int
52718 model_tomcat_tip (SIM_CPU *current_cpu, void *sem_arg)
52720 #define FLD(f) abuf->fields.sfmt_tieq.f
52721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52722 const IDESC * UNUSED idesc = abuf->idesc;
52723 int cycles = 0;
52725 int referenced = 0;
52726 int UNUSED insn_referenced = abuf->written;
52727 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52729 return cycles;
52730 #undef FLD
52733 static int
52734 model_tomcat_tiv (SIM_CPU *current_cpu, void *sem_arg)
52736 #define FLD(f) abuf->fields.sfmt_tieq.f
52737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52738 const IDESC * UNUSED idesc = abuf->idesc;
52739 int cycles = 0;
52741 int referenced = 0;
52742 int UNUSED insn_referenced = abuf->written;
52743 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52745 return cycles;
52746 #undef FLD
52749 static int
52750 model_tomcat_tinv (SIM_CPU *current_cpu, void *sem_arg)
52752 #define FLD(f) abuf->fields.sfmt_tieq.f
52753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52754 const IDESC * UNUSED idesc = abuf->idesc;
52755 int cycles = 0;
52757 int referenced = 0;
52758 int UNUSED insn_referenced = abuf->written;
52759 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52761 return cycles;
52762 #undef FLD
52765 static int
52766 model_tomcat_ftira (SIM_CPU *current_cpu, void *sem_arg)
52768 #define FLD(f) abuf->fields.sfmt_ftine.f
52769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52770 const IDESC * UNUSED idesc = abuf->idesc;
52771 int cycles = 0;
52773 int referenced = 0;
52774 int UNUSED insn_referenced = abuf->written;
52775 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52777 return cycles;
52778 #undef FLD
52781 static int
52782 model_tomcat_ftino (SIM_CPU *current_cpu, void *sem_arg)
52784 #define FLD(f) abuf->fields.sfmt_empty.f
52785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52786 const IDESC * UNUSED idesc = abuf->idesc;
52787 int cycles = 0;
52789 int referenced = 0;
52790 int UNUSED insn_referenced = abuf->written;
52791 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52793 return cycles;
52794 #undef FLD
52797 static int
52798 model_tomcat_ftine (SIM_CPU *current_cpu, void *sem_arg)
52800 #define FLD(f) abuf->fields.sfmt_ftine.f
52801 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52802 const IDESC * UNUSED idesc = abuf->idesc;
52803 int cycles = 0;
52805 int referenced = 0;
52806 int UNUSED insn_referenced = abuf->written;
52807 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52809 return cycles;
52810 #undef FLD
52813 static int
52814 model_tomcat_ftieq (SIM_CPU *current_cpu, void *sem_arg)
52816 #define FLD(f) abuf->fields.sfmt_ftine.f
52817 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52818 const IDESC * UNUSED idesc = abuf->idesc;
52819 int cycles = 0;
52821 int referenced = 0;
52822 int UNUSED insn_referenced = abuf->written;
52823 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52825 return cycles;
52826 #undef FLD
52829 static int
52830 model_tomcat_ftilg (SIM_CPU *current_cpu, void *sem_arg)
52832 #define FLD(f) abuf->fields.sfmt_ftine.f
52833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52834 const IDESC * UNUSED idesc = abuf->idesc;
52835 int cycles = 0;
52837 int referenced = 0;
52838 int UNUSED insn_referenced = abuf->written;
52839 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52841 return cycles;
52842 #undef FLD
52845 static int
52846 model_tomcat_ftiue (SIM_CPU *current_cpu, void *sem_arg)
52848 #define FLD(f) abuf->fields.sfmt_ftine.f
52849 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52850 const IDESC * UNUSED idesc = abuf->idesc;
52851 int cycles = 0;
52853 int referenced = 0;
52854 int UNUSED insn_referenced = abuf->written;
52855 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52857 return cycles;
52858 #undef FLD
52861 static int
52862 model_tomcat_ftiul (SIM_CPU *current_cpu, void *sem_arg)
52864 #define FLD(f) abuf->fields.sfmt_ftine.f
52865 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52866 const IDESC * UNUSED idesc = abuf->idesc;
52867 int cycles = 0;
52869 int referenced = 0;
52870 int UNUSED insn_referenced = abuf->written;
52871 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52873 return cycles;
52874 #undef FLD
52877 static int
52878 model_tomcat_ftige (SIM_CPU *current_cpu, void *sem_arg)
52880 #define FLD(f) abuf->fields.sfmt_ftine.f
52881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52882 const IDESC * UNUSED idesc = abuf->idesc;
52883 int cycles = 0;
52885 int referenced = 0;
52886 int UNUSED insn_referenced = abuf->written;
52887 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52889 return cycles;
52890 #undef FLD
52893 static int
52894 model_tomcat_ftilt (SIM_CPU *current_cpu, void *sem_arg)
52896 #define FLD(f) abuf->fields.sfmt_ftine.f
52897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52898 const IDESC * UNUSED idesc = abuf->idesc;
52899 int cycles = 0;
52901 int referenced = 0;
52902 int UNUSED insn_referenced = abuf->written;
52903 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52905 return cycles;
52906 #undef FLD
52909 static int
52910 model_tomcat_ftiuge (SIM_CPU *current_cpu, void *sem_arg)
52912 #define FLD(f) abuf->fields.sfmt_ftine.f
52913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52914 const IDESC * UNUSED idesc = abuf->idesc;
52915 int cycles = 0;
52917 int referenced = 0;
52918 int UNUSED insn_referenced = abuf->written;
52919 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52921 return cycles;
52922 #undef FLD
52925 static int
52926 model_tomcat_ftiug (SIM_CPU *current_cpu, void *sem_arg)
52928 #define FLD(f) abuf->fields.sfmt_ftine.f
52929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52930 const IDESC * UNUSED idesc = abuf->idesc;
52931 int cycles = 0;
52933 int referenced = 0;
52934 int UNUSED insn_referenced = abuf->written;
52935 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52937 return cycles;
52938 #undef FLD
52941 static int
52942 model_tomcat_ftile (SIM_CPU *current_cpu, void *sem_arg)
52944 #define FLD(f) abuf->fields.sfmt_ftine.f
52945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52946 const IDESC * UNUSED idesc = abuf->idesc;
52947 int cycles = 0;
52949 int referenced = 0;
52950 int UNUSED insn_referenced = abuf->written;
52951 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52953 return cycles;
52954 #undef FLD
52957 static int
52958 model_tomcat_ftigt (SIM_CPU *current_cpu, void *sem_arg)
52960 #define FLD(f) abuf->fields.sfmt_ftine.f
52961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52962 const IDESC * UNUSED idesc = abuf->idesc;
52963 int cycles = 0;
52965 int referenced = 0;
52966 int UNUSED insn_referenced = abuf->written;
52967 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52969 return cycles;
52970 #undef FLD
52973 static int
52974 model_tomcat_ftiule (SIM_CPU *current_cpu, void *sem_arg)
52976 #define FLD(f) abuf->fields.sfmt_ftine.f
52977 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52978 const IDESC * UNUSED idesc = abuf->idesc;
52979 int cycles = 0;
52981 int referenced = 0;
52982 int UNUSED insn_referenced = abuf->written;
52983 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
52985 return cycles;
52986 #undef FLD
52989 static int
52990 model_tomcat_ftiu (SIM_CPU *current_cpu, void *sem_arg)
52992 #define FLD(f) abuf->fields.sfmt_ftine.f
52993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
52994 const IDESC * UNUSED idesc = abuf->idesc;
52995 int cycles = 0;
52997 int referenced = 0;
52998 int UNUSED insn_referenced = abuf->written;
52999 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53001 return cycles;
53002 #undef FLD
53005 static int
53006 model_tomcat_ftio (SIM_CPU *current_cpu, void *sem_arg)
53008 #define FLD(f) abuf->fields.sfmt_ftine.f
53009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53010 const IDESC * UNUSED idesc = abuf->idesc;
53011 int cycles = 0;
53013 int referenced = 0;
53014 int UNUSED insn_referenced = abuf->written;
53015 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53017 return cycles;
53018 #undef FLD
53021 static int
53022 model_tomcat_break (SIM_CPU *current_cpu, void *sem_arg)
53024 #define FLD(f) abuf->fields.sfmt_break.f
53025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53026 const IDESC * UNUSED idesc = abuf->idesc;
53027 int cycles = 0;
53029 int referenced = 0;
53030 int UNUSED insn_referenced = abuf->written;
53031 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53033 return cycles;
53034 #undef FLD
53037 static int
53038 model_tomcat_mtrap (SIM_CPU *current_cpu, void *sem_arg)
53040 #define FLD(f) abuf->fields.sfmt_empty.f
53041 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53042 const IDESC * UNUSED idesc = abuf->idesc;
53043 int cycles = 0;
53045 int referenced = 0;
53046 int UNUSED insn_referenced = abuf->written;
53047 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53049 return cycles;
53050 #undef FLD
53053 static int
53054 model_tomcat_andcr (SIM_CPU *current_cpu, void *sem_arg)
53056 #define FLD(f) abuf->fields.sfmt_andcr.f
53057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53058 const IDESC * UNUSED idesc = abuf->idesc;
53059 int cycles = 0;
53061 int referenced = 0;
53062 int UNUSED insn_referenced = abuf->written;
53063 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53065 return cycles;
53066 #undef FLD
53069 static int
53070 model_tomcat_orcr (SIM_CPU *current_cpu, void *sem_arg)
53072 #define FLD(f) abuf->fields.sfmt_andcr.f
53073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53074 const IDESC * UNUSED idesc = abuf->idesc;
53075 int cycles = 0;
53077 int referenced = 0;
53078 int UNUSED insn_referenced = abuf->written;
53079 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53081 return cycles;
53082 #undef FLD
53085 static int
53086 model_tomcat_xorcr (SIM_CPU *current_cpu, void *sem_arg)
53088 #define FLD(f) abuf->fields.sfmt_andcr.f
53089 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53090 const IDESC * UNUSED idesc = abuf->idesc;
53091 int cycles = 0;
53093 int referenced = 0;
53094 int UNUSED insn_referenced = abuf->written;
53095 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53097 return cycles;
53098 #undef FLD
53101 static int
53102 model_tomcat_nandcr (SIM_CPU *current_cpu, void *sem_arg)
53104 #define FLD(f) abuf->fields.sfmt_andcr.f
53105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53106 const IDESC * UNUSED idesc = abuf->idesc;
53107 int cycles = 0;
53109 int referenced = 0;
53110 int UNUSED insn_referenced = abuf->written;
53111 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53113 return cycles;
53114 #undef FLD
53117 static int
53118 model_tomcat_norcr (SIM_CPU *current_cpu, void *sem_arg)
53120 #define FLD(f) abuf->fields.sfmt_andcr.f
53121 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53122 const IDESC * UNUSED idesc = abuf->idesc;
53123 int cycles = 0;
53125 int referenced = 0;
53126 int UNUSED insn_referenced = abuf->written;
53127 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53129 return cycles;
53130 #undef FLD
53133 static int
53134 model_tomcat_andncr (SIM_CPU *current_cpu, void *sem_arg)
53136 #define FLD(f) abuf->fields.sfmt_andcr.f
53137 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53138 const IDESC * UNUSED idesc = abuf->idesc;
53139 int cycles = 0;
53141 int referenced = 0;
53142 int UNUSED insn_referenced = abuf->written;
53143 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53145 return cycles;
53146 #undef FLD
53149 static int
53150 model_tomcat_orncr (SIM_CPU *current_cpu, void *sem_arg)
53152 #define FLD(f) abuf->fields.sfmt_andcr.f
53153 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53154 const IDESC * UNUSED idesc = abuf->idesc;
53155 int cycles = 0;
53157 int referenced = 0;
53158 int UNUSED insn_referenced = abuf->written;
53159 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53161 return cycles;
53162 #undef FLD
53165 static int
53166 model_tomcat_nandncr (SIM_CPU *current_cpu, void *sem_arg)
53168 #define FLD(f) abuf->fields.sfmt_andcr.f
53169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53170 const IDESC * UNUSED idesc = abuf->idesc;
53171 int cycles = 0;
53173 int referenced = 0;
53174 int UNUSED insn_referenced = abuf->written;
53175 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53177 return cycles;
53178 #undef FLD
53181 static int
53182 model_tomcat_norncr (SIM_CPU *current_cpu, void *sem_arg)
53184 #define FLD(f) abuf->fields.sfmt_andcr.f
53185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53186 const IDESC * UNUSED idesc = abuf->idesc;
53187 int cycles = 0;
53189 int referenced = 0;
53190 int UNUSED insn_referenced = abuf->written;
53191 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53193 return cycles;
53194 #undef FLD
53197 static int
53198 model_tomcat_notcr (SIM_CPU *current_cpu, void *sem_arg)
53200 #define FLD(f) abuf->fields.sfmt_andcr.f
53201 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53202 const IDESC * UNUSED idesc = abuf->idesc;
53203 int cycles = 0;
53205 int referenced = 0;
53206 int UNUSED insn_referenced = abuf->written;
53207 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53209 return cycles;
53210 #undef FLD
53213 static int
53214 model_tomcat_ckra (SIM_CPU *current_cpu, void *sem_arg)
53216 #define FLD(f) abuf->fields.sfmt_cckeq.f
53217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53218 const IDESC * UNUSED idesc = abuf->idesc;
53219 int cycles = 0;
53221 int referenced = 0;
53222 int UNUSED insn_referenced = abuf->written;
53223 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53225 return cycles;
53226 #undef FLD
53229 static int
53230 model_tomcat_ckno (SIM_CPU *current_cpu, void *sem_arg)
53232 #define FLD(f) abuf->fields.sfmt_cckeq.f
53233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53234 const IDESC * UNUSED idesc = abuf->idesc;
53235 int cycles = 0;
53237 int referenced = 0;
53238 int UNUSED insn_referenced = abuf->written;
53239 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53241 return cycles;
53242 #undef FLD
53245 static int
53246 model_tomcat_ckeq (SIM_CPU *current_cpu, void *sem_arg)
53248 #define FLD(f) abuf->fields.sfmt_cckeq.f
53249 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53250 const IDESC * UNUSED idesc = abuf->idesc;
53251 int cycles = 0;
53253 int referenced = 0;
53254 int UNUSED insn_referenced = abuf->written;
53255 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53257 return cycles;
53258 #undef FLD
53261 static int
53262 model_tomcat_ckne (SIM_CPU *current_cpu, void *sem_arg)
53264 #define FLD(f) abuf->fields.sfmt_cckeq.f
53265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53266 const IDESC * UNUSED idesc = abuf->idesc;
53267 int cycles = 0;
53269 int referenced = 0;
53270 int UNUSED insn_referenced = abuf->written;
53271 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53273 return cycles;
53274 #undef FLD
53277 static int
53278 model_tomcat_ckle (SIM_CPU *current_cpu, void *sem_arg)
53280 #define FLD(f) abuf->fields.sfmt_cckeq.f
53281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53282 const IDESC * UNUSED idesc = abuf->idesc;
53283 int cycles = 0;
53285 int referenced = 0;
53286 int UNUSED insn_referenced = abuf->written;
53287 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53289 return cycles;
53290 #undef FLD
53293 static int
53294 model_tomcat_ckgt (SIM_CPU *current_cpu, void *sem_arg)
53296 #define FLD(f) abuf->fields.sfmt_cckeq.f
53297 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53298 const IDESC * UNUSED idesc = abuf->idesc;
53299 int cycles = 0;
53301 int referenced = 0;
53302 int UNUSED insn_referenced = abuf->written;
53303 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53305 return cycles;
53306 #undef FLD
53309 static int
53310 model_tomcat_cklt (SIM_CPU *current_cpu, void *sem_arg)
53312 #define FLD(f) abuf->fields.sfmt_cckeq.f
53313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53314 const IDESC * UNUSED idesc = abuf->idesc;
53315 int cycles = 0;
53317 int referenced = 0;
53318 int UNUSED insn_referenced = abuf->written;
53319 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53321 return cycles;
53322 #undef FLD
53325 static int
53326 model_tomcat_ckge (SIM_CPU *current_cpu, void *sem_arg)
53328 #define FLD(f) abuf->fields.sfmt_cckeq.f
53329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53330 const IDESC * UNUSED idesc = abuf->idesc;
53331 int cycles = 0;
53333 int referenced = 0;
53334 int UNUSED insn_referenced = abuf->written;
53335 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53337 return cycles;
53338 #undef FLD
53341 static int
53342 model_tomcat_ckls (SIM_CPU *current_cpu, void *sem_arg)
53344 #define FLD(f) abuf->fields.sfmt_cckeq.f
53345 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53346 const IDESC * UNUSED idesc = abuf->idesc;
53347 int cycles = 0;
53349 int referenced = 0;
53350 int UNUSED insn_referenced = abuf->written;
53351 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53353 return cycles;
53354 #undef FLD
53357 static int
53358 model_tomcat_ckhi (SIM_CPU *current_cpu, void *sem_arg)
53360 #define FLD(f) abuf->fields.sfmt_cckeq.f
53361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53362 const IDESC * UNUSED idesc = abuf->idesc;
53363 int cycles = 0;
53365 int referenced = 0;
53366 int UNUSED insn_referenced = abuf->written;
53367 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53369 return cycles;
53370 #undef FLD
53373 static int
53374 model_tomcat_ckc (SIM_CPU *current_cpu, void *sem_arg)
53376 #define FLD(f) abuf->fields.sfmt_cckeq.f
53377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53378 const IDESC * UNUSED idesc = abuf->idesc;
53379 int cycles = 0;
53381 int referenced = 0;
53382 int UNUSED insn_referenced = abuf->written;
53383 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53385 return cycles;
53386 #undef FLD
53389 static int
53390 model_tomcat_cknc (SIM_CPU *current_cpu, void *sem_arg)
53392 #define FLD(f) abuf->fields.sfmt_cckeq.f
53393 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53394 const IDESC * UNUSED idesc = abuf->idesc;
53395 int cycles = 0;
53397 int referenced = 0;
53398 int UNUSED insn_referenced = abuf->written;
53399 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53401 return cycles;
53402 #undef FLD
53405 static int
53406 model_tomcat_ckn (SIM_CPU *current_cpu, void *sem_arg)
53408 #define FLD(f) abuf->fields.sfmt_cckeq.f
53409 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53410 const IDESC * UNUSED idesc = abuf->idesc;
53411 int cycles = 0;
53413 int referenced = 0;
53414 int UNUSED insn_referenced = abuf->written;
53415 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53417 return cycles;
53418 #undef FLD
53421 static int
53422 model_tomcat_ckp (SIM_CPU *current_cpu, void *sem_arg)
53424 #define FLD(f) abuf->fields.sfmt_cckeq.f
53425 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53426 const IDESC * UNUSED idesc = abuf->idesc;
53427 int cycles = 0;
53429 int referenced = 0;
53430 int UNUSED insn_referenced = abuf->written;
53431 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53433 return cycles;
53434 #undef FLD
53437 static int
53438 model_tomcat_ckv (SIM_CPU *current_cpu, void *sem_arg)
53440 #define FLD(f) abuf->fields.sfmt_cckeq.f
53441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53442 const IDESC * UNUSED idesc = abuf->idesc;
53443 int cycles = 0;
53445 int referenced = 0;
53446 int UNUSED insn_referenced = abuf->written;
53447 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53449 return cycles;
53450 #undef FLD
53453 static int
53454 model_tomcat_cknv (SIM_CPU *current_cpu, void *sem_arg)
53456 #define FLD(f) abuf->fields.sfmt_cckeq.f
53457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53458 const IDESC * UNUSED idesc = abuf->idesc;
53459 int cycles = 0;
53461 int referenced = 0;
53462 int UNUSED insn_referenced = abuf->written;
53463 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53465 return cycles;
53466 #undef FLD
53469 static int
53470 model_tomcat_fckra (SIM_CPU *current_cpu, void *sem_arg)
53472 #define FLD(f) abuf->fields.sfmt_cfckne.f
53473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53474 const IDESC * UNUSED idesc = abuf->idesc;
53475 int cycles = 0;
53477 int referenced = 0;
53478 int UNUSED insn_referenced = abuf->written;
53479 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53481 return cycles;
53482 #undef FLD
53485 static int
53486 model_tomcat_fckno (SIM_CPU *current_cpu, void *sem_arg)
53488 #define FLD(f) abuf->fields.sfmt_cfckne.f
53489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53490 const IDESC * UNUSED idesc = abuf->idesc;
53491 int cycles = 0;
53493 int referenced = 0;
53494 int UNUSED insn_referenced = abuf->written;
53495 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53497 return cycles;
53498 #undef FLD
53501 static int
53502 model_tomcat_fckne (SIM_CPU *current_cpu, void *sem_arg)
53504 #define FLD(f) abuf->fields.sfmt_cfckne.f
53505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53506 const IDESC * UNUSED idesc = abuf->idesc;
53507 int cycles = 0;
53509 int referenced = 0;
53510 int UNUSED insn_referenced = abuf->written;
53511 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53513 return cycles;
53514 #undef FLD
53517 static int
53518 model_tomcat_fckeq (SIM_CPU *current_cpu, void *sem_arg)
53520 #define FLD(f) abuf->fields.sfmt_cfckne.f
53521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53522 const IDESC * UNUSED idesc = abuf->idesc;
53523 int cycles = 0;
53525 int referenced = 0;
53526 int UNUSED insn_referenced = abuf->written;
53527 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53529 return cycles;
53530 #undef FLD
53533 static int
53534 model_tomcat_fcklg (SIM_CPU *current_cpu, void *sem_arg)
53536 #define FLD(f) abuf->fields.sfmt_cfckne.f
53537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53538 const IDESC * UNUSED idesc = abuf->idesc;
53539 int cycles = 0;
53541 int referenced = 0;
53542 int UNUSED insn_referenced = abuf->written;
53543 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53545 return cycles;
53546 #undef FLD
53549 static int
53550 model_tomcat_fckue (SIM_CPU *current_cpu, void *sem_arg)
53552 #define FLD(f) abuf->fields.sfmt_cfckne.f
53553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53554 const IDESC * UNUSED idesc = abuf->idesc;
53555 int cycles = 0;
53557 int referenced = 0;
53558 int UNUSED insn_referenced = abuf->written;
53559 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53561 return cycles;
53562 #undef FLD
53565 static int
53566 model_tomcat_fckul (SIM_CPU *current_cpu, void *sem_arg)
53568 #define FLD(f) abuf->fields.sfmt_cfckne.f
53569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53570 const IDESC * UNUSED idesc = abuf->idesc;
53571 int cycles = 0;
53573 int referenced = 0;
53574 int UNUSED insn_referenced = abuf->written;
53575 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53577 return cycles;
53578 #undef FLD
53581 static int
53582 model_tomcat_fckge (SIM_CPU *current_cpu, void *sem_arg)
53584 #define FLD(f) abuf->fields.sfmt_cfckne.f
53585 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53586 const IDESC * UNUSED idesc = abuf->idesc;
53587 int cycles = 0;
53589 int referenced = 0;
53590 int UNUSED insn_referenced = abuf->written;
53591 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53593 return cycles;
53594 #undef FLD
53597 static int
53598 model_tomcat_fcklt (SIM_CPU *current_cpu, void *sem_arg)
53600 #define FLD(f) abuf->fields.sfmt_cfckne.f
53601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53602 const IDESC * UNUSED idesc = abuf->idesc;
53603 int cycles = 0;
53605 int referenced = 0;
53606 int UNUSED insn_referenced = abuf->written;
53607 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53609 return cycles;
53610 #undef FLD
53613 static int
53614 model_tomcat_fckuge (SIM_CPU *current_cpu, void *sem_arg)
53616 #define FLD(f) abuf->fields.sfmt_cfckne.f
53617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53618 const IDESC * UNUSED idesc = abuf->idesc;
53619 int cycles = 0;
53621 int referenced = 0;
53622 int UNUSED insn_referenced = abuf->written;
53623 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53625 return cycles;
53626 #undef FLD
53629 static int
53630 model_tomcat_fckug (SIM_CPU *current_cpu, void *sem_arg)
53632 #define FLD(f) abuf->fields.sfmt_cfckne.f
53633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53634 const IDESC * UNUSED idesc = abuf->idesc;
53635 int cycles = 0;
53637 int referenced = 0;
53638 int UNUSED insn_referenced = abuf->written;
53639 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53641 return cycles;
53642 #undef FLD
53645 static int
53646 model_tomcat_fckle (SIM_CPU *current_cpu, void *sem_arg)
53648 #define FLD(f) abuf->fields.sfmt_cfckne.f
53649 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53650 const IDESC * UNUSED idesc = abuf->idesc;
53651 int cycles = 0;
53653 int referenced = 0;
53654 int UNUSED insn_referenced = abuf->written;
53655 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53657 return cycles;
53658 #undef FLD
53661 static int
53662 model_tomcat_fckgt (SIM_CPU *current_cpu, void *sem_arg)
53664 #define FLD(f) abuf->fields.sfmt_cfckne.f
53665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53666 const IDESC * UNUSED idesc = abuf->idesc;
53667 int cycles = 0;
53669 int referenced = 0;
53670 int UNUSED insn_referenced = abuf->written;
53671 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53673 return cycles;
53674 #undef FLD
53677 static int
53678 model_tomcat_fckule (SIM_CPU *current_cpu, void *sem_arg)
53680 #define FLD(f) abuf->fields.sfmt_cfckne.f
53681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53682 const IDESC * UNUSED idesc = abuf->idesc;
53683 int cycles = 0;
53685 int referenced = 0;
53686 int UNUSED insn_referenced = abuf->written;
53687 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53689 return cycles;
53690 #undef FLD
53693 static int
53694 model_tomcat_fcku (SIM_CPU *current_cpu, void *sem_arg)
53696 #define FLD(f) abuf->fields.sfmt_cfckne.f
53697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53698 const IDESC * UNUSED idesc = abuf->idesc;
53699 int cycles = 0;
53701 int referenced = 0;
53702 int UNUSED insn_referenced = abuf->written;
53703 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53705 return cycles;
53706 #undef FLD
53709 static int
53710 model_tomcat_fcko (SIM_CPU *current_cpu, void *sem_arg)
53712 #define FLD(f) abuf->fields.sfmt_cfckne.f
53713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53714 const IDESC * UNUSED idesc = abuf->idesc;
53715 int cycles = 0;
53717 int referenced = 0;
53718 int UNUSED insn_referenced = abuf->written;
53719 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53721 return cycles;
53722 #undef FLD
53725 static int
53726 model_tomcat_cckra (SIM_CPU *current_cpu, void *sem_arg)
53728 #define FLD(f) abuf->fields.sfmt_cckeq.f
53729 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53730 const IDESC * UNUSED idesc = abuf->idesc;
53731 int cycles = 0;
53733 int referenced = 0;
53734 int UNUSED insn_referenced = abuf->written;
53735 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53737 return cycles;
53738 #undef FLD
53741 static int
53742 model_tomcat_cckno (SIM_CPU *current_cpu, void *sem_arg)
53744 #define FLD(f) abuf->fields.sfmt_cckeq.f
53745 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53746 const IDESC * UNUSED idesc = abuf->idesc;
53747 int cycles = 0;
53749 int referenced = 0;
53750 int UNUSED insn_referenced = abuf->written;
53751 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53753 return cycles;
53754 #undef FLD
53757 static int
53758 model_tomcat_cckeq (SIM_CPU *current_cpu, void *sem_arg)
53760 #define FLD(f) abuf->fields.sfmt_cckeq.f
53761 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53762 const IDESC * UNUSED idesc = abuf->idesc;
53763 int cycles = 0;
53765 int referenced = 0;
53766 int UNUSED insn_referenced = abuf->written;
53767 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53769 return cycles;
53770 #undef FLD
53773 static int
53774 model_tomcat_cckne (SIM_CPU *current_cpu, void *sem_arg)
53776 #define FLD(f) abuf->fields.sfmt_cckeq.f
53777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53778 const IDESC * UNUSED idesc = abuf->idesc;
53779 int cycles = 0;
53781 int referenced = 0;
53782 int UNUSED insn_referenced = abuf->written;
53783 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53785 return cycles;
53786 #undef FLD
53789 static int
53790 model_tomcat_cckle (SIM_CPU *current_cpu, void *sem_arg)
53792 #define FLD(f) abuf->fields.sfmt_cckeq.f
53793 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53794 const IDESC * UNUSED idesc = abuf->idesc;
53795 int cycles = 0;
53797 int referenced = 0;
53798 int UNUSED insn_referenced = abuf->written;
53799 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53801 return cycles;
53802 #undef FLD
53805 static int
53806 model_tomcat_cckgt (SIM_CPU *current_cpu, void *sem_arg)
53808 #define FLD(f) abuf->fields.sfmt_cckeq.f
53809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53810 const IDESC * UNUSED idesc = abuf->idesc;
53811 int cycles = 0;
53813 int referenced = 0;
53814 int UNUSED insn_referenced = abuf->written;
53815 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53817 return cycles;
53818 #undef FLD
53821 static int
53822 model_tomcat_ccklt (SIM_CPU *current_cpu, void *sem_arg)
53824 #define FLD(f) abuf->fields.sfmt_cckeq.f
53825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53826 const IDESC * UNUSED idesc = abuf->idesc;
53827 int cycles = 0;
53829 int referenced = 0;
53830 int UNUSED insn_referenced = abuf->written;
53831 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53833 return cycles;
53834 #undef FLD
53837 static int
53838 model_tomcat_cckge (SIM_CPU *current_cpu, void *sem_arg)
53840 #define FLD(f) abuf->fields.sfmt_cckeq.f
53841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53842 const IDESC * UNUSED idesc = abuf->idesc;
53843 int cycles = 0;
53845 int referenced = 0;
53846 int UNUSED insn_referenced = abuf->written;
53847 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53849 return cycles;
53850 #undef FLD
53853 static int
53854 model_tomcat_cckls (SIM_CPU *current_cpu, void *sem_arg)
53856 #define FLD(f) abuf->fields.sfmt_cckeq.f
53857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53858 const IDESC * UNUSED idesc = abuf->idesc;
53859 int cycles = 0;
53861 int referenced = 0;
53862 int UNUSED insn_referenced = abuf->written;
53863 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53865 return cycles;
53866 #undef FLD
53869 static int
53870 model_tomcat_cckhi (SIM_CPU *current_cpu, void *sem_arg)
53872 #define FLD(f) abuf->fields.sfmt_cckeq.f
53873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53874 const IDESC * UNUSED idesc = abuf->idesc;
53875 int cycles = 0;
53877 int referenced = 0;
53878 int UNUSED insn_referenced = abuf->written;
53879 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53881 return cycles;
53882 #undef FLD
53885 static int
53886 model_tomcat_cckc (SIM_CPU *current_cpu, void *sem_arg)
53888 #define FLD(f) abuf->fields.sfmt_cckeq.f
53889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53890 const IDESC * UNUSED idesc = abuf->idesc;
53891 int cycles = 0;
53893 int referenced = 0;
53894 int UNUSED insn_referenced = abuf->written;
53895 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53897 return cycles;
53898 #undef FLD
53901 static int
53902 model_tomcat_ccknc (SIM_CPU *current_cpu, void *sem_arg)
53904 #define FLD(f) abuf->fields.sfmt_cckeq.f
53905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53906 const IDESC * UNUSED idesc = abuf->idesc;
53907 int cycles = 0;
53909 int referenced = 0;
53910 int UNUSED insn_referenced = abuf->written;
53911 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53913 return cycles;
53914 #undef FLD
53917 static int
53918 model_tomcat_cckn (SIM_CPU *current_cpu, void *sem_arg)
53920 #define FLD(f) abuf->fields.sfmt_cckeq.f
53921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53922 const IDESC * UNUSED idesc = abuf->idesc;
53923 int cycles = 0;
53925 int referenced = 0;
53926 int UNUSED insn_referenced = abuf->written;
53927 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53929 return cycles;
53930 #undef FLD
53933 static int
53934 model_tomcat_cckp (SIM_CPU *current_cpu, void *sem_arg)
53936 #define FLD(f) abuf->fields.sfmt_cckeq.f
53937 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53938 const IDESC * UNUSED idesc = abuf->idesc;
53939 int cycles = 0;
53941 int referenced = 0;
53942 int UNUSED insn_referenced = abuf->written;
53943 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53945 return cycles;
53946 #undef FLD
53949 static int
53950 model_tomcat_cckv (SIM_CPU *current_cpu, void *sem_arg)
53952 #define FLD(f) abuf->fields.sfmt_cckeq.f
53953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53954 const IDESC * UNUSED idesc = abuf->idesc;
53955 int cycles = 0;
53957 int referenced = 0;
53958 int UNUSED insn_referenced = abuf->written;
53959 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53961 return cycles;
53962 #undef FLD
53965 static int
53966 model_tomcat_ccknv (SIM_CPU *current_cpu, void *sem_arg)
53968 #define FLD(f) abuf->fields.sfmt_cckeq.f
53969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53970 const IDESC * UNUSED idesc = abuf->idesc;
53971 int cycles = 0;
53973 int referenced = 0;
53974 int UNUSED insn_referenced = abuf->written;
53975 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53977 return cycles;
53978 #undef FLD
53981 static int
53982 model_tomcat_cfckra (SIM_CPU *current_cpu, void *sem_arg)
53984 #define FLD(f) abuf->fields.sfmt_cfckne.f
53985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
53986 const IDESC * UNUSED idesc = abuf->idesc;
53987 int cycles = 0;
53989 int referenced = 0;
53990 int UNUSED insn_referenced = abuf->written;
53991 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
53993 return cycles;
53994 #undef FLD
53997 static int
53998 model_tomcat_cfckno (SIM_CPU *current_cpu, void *sem_arg)
54000 #define FLD(f) abuf->fields.sfmt_cfckne.f
54001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54002 const IDESC * UNUSED idesc = abuf->idesc;
54003 int cycles = 0;
54005 int referenced = 0;
54006 int UNUSED insn_referenced = abuf->written;
54007 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54009 return cycles;
54010 #undef FLD
54013 static int
54014 model_tomcat_cfckne (SIM_CPU *current_cpu, void *sem_arg)
54016 #define FLD(f) abuf->fields.sfmt_cfckne.f
54017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54018 const IDESC * UNUSED idesc = abuf->idesc;
54019 int cycles = 0;
54021 int referenced = 0;
54022 int UNUSED insn_referenced = abuf->written;
54023 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54025 return cycles;
54026 #undef FLD
54029 static int
54030 model_tomcat_cfckeq (SIM_CPU *current_cpu, void *sem_arg)
54032 #define FLD(f) abuf->fields.sfmt_cfckne.f
54033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54034 const IDESC * UNUSED idesc = abuf->idesc;
54035 int cycles = 0;
54037 int referenced = 0;
54038 int UNUSED insn_referenced = abuf->written;
54039 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54041 return cycles;
54042 #undef FLD
54045 static int
54046 model_tomcat_cfcklg (SIM_CPU *current_cpu, void *sem_arg)
54048 #define FLD(f) abuf->fields.sfmt_cfckne.f
54049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54050 const IDESC * UNUSED idesc = abuf->idesc;
54051 int cycles = 0;
54053 int referenced = 0;
54054 int UNUSED insn_referenced = abuf->written;
54055 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54057 return cycles;
54058 #undef FLD
54061 static int
54062 model_tomcat_cfckue (SIM_CPU *current_cpu, void *sem_arg)
54064 #define FLD(f) abuf->fields.sfmt_cfckne.f
54065 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54066 const IDESC * UNUSED idesc = abuf->idesc;
54067 int cycles = 0;
54069 int referenced = 0;
54070 int UNUSED insn_referenced = abuf->written;
54071 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54073 return cycles;
54074 #undef FLD
54077 static int
54078 model_tomcat_cfckul (SIM_CPU *current_cpu, void *sem_arg)
54080 #define FLD(f) abuf->fields.sfmt_cfckne.f
54081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54082 const IDESC * UNUSED idesc = abuf->idesc;
54083 int cycles = 0;
54085 int referenced = 0;
54086 int UNUSED insn_referenced = abuf->written;
54087 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54089 return cycles;
54090 #undef FLD
54093 static int
54094 model_tomcat_cfckge (SIM_CPU *current_cpu, void *sem_arg)
54096 #define FLD(f) abuf->fields.sfmt_cfckne.f
54097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54098 const IDESC * UNUSED idesc = abuf->idesc;
54099 int cycles = 0;
54101 int referenced = 0;
54102 int UNUSED insn_referenced = abuf->written;
54103 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54105 return cycles;
54106 #undef FLD
54109 static int
54110 model_tomcat_cfcklt (SIM_CPU *current_cpu, void *sem_arg)
54112 #define FLD(f) abuf->fields.sfmt_cfckne.f
54113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54114 const IDESC * UNUSED idesc = abuf->idesc;
54115 int cycles = 0;
54117 int referenced = 0;
54118 int UNUSED insn_referenced = abuf->written;
54119 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54121 return cycles;
54122 #undef FLD
54125 static int
54126 model_tomcat_cfckuge (SIM_CPU *current_cpu, void *sem_arg)
54128 #define FLD(f) abuf->fields.sfmt_cfckne.f
54129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54130 const IDESC * UNUSED idesc = abuf->idesc;
54131 int cycles = 0;
54133 int referenced = 0;
54134 int UNUSED insn_referenced = abuf->written;
54135 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54137 return cycles;
54138 #undef FLD
54141 static int
54142 model_tomcat_cfckug (SIM_CPU *current_cpu, void *sem_arg)
54144 #define FLD(f) abuf->fields.sfmt_cfckne.f
54145 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54146 const IDESC * UNUSED idesc = abuf->idesc;
54147 int cycles = 0;
54149 int referenced = 0;
54150 int UNUSED insn_referenced = abuf->written;
54151 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54153 return cycles;
54154 #undef FLD
54157 static int
54158 model_tomcat_cfckle (SIM_CPU *current_cpu, void *sem_arg)
54160 #define FLD(f) abuf->fields.sfmt_cfckne.f
54161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54162 const IDESC * UNUSED idesc = abuf->idesc;
54163 int cycles = 0;
54165 int referenced = 0;
54166 int UNUSED insn_referenced = abuf->written;
54167 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54169 return cycles;
54170 #undef FLD
54173 static int
54174 model_tomcat_cfckgt (SIM_CPU *current_cpu, void *sem_arg)
54176 #define FLD(f) abuf->fields.sfmt_cfckne.f
54177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54178 const IDESC * UNUSED idesc = abuf->idesc;
54179 int cycles = 0;
54181 int referenced = 0;
54182 int UNUSED insn_referenced = abuf->written;
54183 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54185 return cycles;
54186 #undef FLD
54189 static int
54190 model_tomcat_cfckule (SIM_CPU *current_cpu, void *sem_arg)
54192 #define FLD(f) abuf->fields.sfmt_cfckne.f
54193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54194 const IDESC * UNUSED idesc = abuf->idesc;
54195 int cycles = 0;
54197 int referenced = 0;
54198 int UNUSED insn_referenced = abuf->written;
54199 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54201 return cycles;
54202 #undef FLD
54205 static int
54206 model_tomcat_cfcku (SIM_CPU *current_cpu, void *sem_arg)
54208 #define FLD(f) abuf->fields.sfmt_cfckne.f
54209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54210 const IDESC * UNUSED idesc = abuf->idesc;
54211 int cycles = 0;
54213 int referenced = 0;
54214 int UNUSED insn_referenced = abuf->written;
54215 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54217 return cycles;
54218 #undef FLD
54221 static int
54222 model_tomcat_cfcko (SIM_CPU *current_cpu, void *sem_arg)
54224 #define FLD(f) abuf->fields.sfmt_cfckne.f
54225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54226 const IDESC * UNUSED idesc = abuf->idesc;
54227 int cycles = 0;
54229 int referenced = 0;
54230 int UNUSED insn_referenced = abuf->written;
54231 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54233 return cycles;
54234 #undef FLD
54237 static int
54238 model_tomcat_cjmpl (SIM_CPU *current_cpu, void *sem_arg)
54240 #define FLD(f) abuf->fields.sfmt_cjmpl.f
54241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54242 const IDESC * UNUSED idesc = abuf->idesc;
54243 int cycles = 0;
54245 int referenced = 0;
54246 int UNUSED insn_referenced = abuf->written;
54247 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54249 return cycles;
54250 #undef FLD
54253 static int
54254 model_tomcat_ccalll (SIM_CPU *current_cpu, void *sem_arg)
54256 #define FLD(f) abuf->fields.sfmt_cjmpl.f
54257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54258 const IDESC * UNUSED idesc = abuf->idesc;
54259 int cycles = 0;
54261 int referenced = 0;
54262 int UNUSED insn_referenced = abuf->written;
54263 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54265 return cycles;
54266 #undef FLD
54269 static int
54270 model_tomcat_ici (SIM_CPU *current_cpu, void *sem_arg)
54272 #define FLD(f) abuf->fields.sfmt_icpl.f
54273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54274 const IDESC * UNUSED idesc = abuf->idesc;
54275 int cycles = 0;
54277 int referenced = 0;
54278 int UNUSED insn_referenced = abuf->written;
54279 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54281 return cycles;
54282 #undef FLD
54285 static int
54286 model_tomcat_dci (SIM_CPU *current_cpu, void *sem_arg)
54288 #define FLD(f) abuf->fields.sfmt_icpl.f
54289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54290 const IDESC * UNUSED idesc = abuf->idesc;
54291 int cycles = 0;
54293 int referenced = 0;
54294 int UNUSED insn_referenced = abuf->written;
54295 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54297 return cycles;
54298 #undef FLD
54301 static int
54302 model_tomcat_icei (SIM_CPU *current_cpu, void *sem_arg)
54304 #define FLD(f) abuf->fields.sfmt_icei.f
54305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54306 const IDESC * UNUSED idesc = abuf->idesc;
54307 int cycles = 0;
54309 int referenced = 0;
54310 int UNUSED insn_referenced = abuf->written;
54311 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54313 return cycles;
54314 #undef FLD
54317 static int
54318 model_tomcat_dcei (SIM_CPU *current_cpu, void *sem_arg)
54320 #define FLD(f) abuf->fields.sfmt_icei.f
54321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54322 const IDESC * UNUSED idesc = abuf->idesc;
54323 int cycles = 0;
54325 int referenced = 0;
54326 int UNUSED insn_referenced = abuf->written;
54327 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54329 return cycles;
54330 #undef FLD
54333 static int
54334 model_tomcat_dcf (SIM_CPU *current_cpu, void *sem_arg)
54336 #define FLD(f) abuf->fields.sfmt_icpl.f
54337 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54338 const IDESC * UNUSED idesc = abuf->idesc;
54339 int cycles = 0;
54341 int referenced = 0;
54342 int UNUSED insn_referenced = abuf->written;
54343 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54345 return cycles;
54346 #undef FLD
54349 static int
54350 model_tomcat_dcef (SIM_CPU *current_cpu, void *sem_arg)
54352 #define FLD(f) abuf->fields.sfmt_icei.f
54353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54354 const IDESC * UNUSED idesc = abuf->idesc;
54355 int cycles = 0;
54357 int referenced = 0;
54358 int UNUSED insn_referenced = abuf->written;
54359 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54361 return cycles;
54362 #undef FLD
54365 static int
54366 model_tomcat_witlb (SIM_CPU *current_cpu, void *sem_arg)
54368 #define FLD(f) abuf->fields.sfmt_empty.f
54369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54370 const IDESC * UNUSED idesc = abuf->idesc;
54371 int cycles = 0;
54373 int referenced = 0;
54374 int UNUSED insn_referenced = abuf->written;
54375 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54377 return cycles;
54378 #undef FLD
54381 static int
54382 model_tomcat_wdtlb (SIM_CPU *current_cpu, void *sem_arg)
54384 #define FLD(f) abuf->fields.sfmt_empty.f
54385 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54386 const IDESC * UNUSED idesc = abuf->idesc;
54387 int cycles = 0;
54389 int referenced = 0;
54390 int UNUSED insn_referenced = abuf->written;
54391 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54393 return cycles;
54394 #undef FLD
54397 static int
54398 model_tomcat_itlbi (SIM_CPU *current_cpu, void *sem_arg)
54400 #define FLD(f) abuf->fields.sfmt_empty.f
54401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54402 const IDESC * UNUSED idesc = abuf->idesc;
54403 int cycles = 0;
54405 int referenced = 0;
54406 int UNUSED insn_referenced = abuf->written;
54407 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54409 return cycles;
54410 #undef FLD
54413 static int
54414 model_tomcat_dtlbi (SIM_CPU *current_cpu, void *sem_arg)
54416 #define FLD(f) abuf->fields.sfmt_empty.f
54417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54418 const IDESC * UNUSED idesc = abuf->idesc;
54419 int cycles = 0;
54421 int referenced = 0;
54422 int UNUSED insn_referenced = abuf->written;
54423 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54425 return cycles;
54426 #undef FLD
54429 static int
54430 model_tomcat_icpl (SIM_CPU *current_cpu, void *sem_arg)
54432 #define FLD(f) abuf->fields.sfmt_icpl.f
54433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54434 const IDESC * UNUSED idesc = abuf->idesc;
54435 int cycles = 0;
54437 int referenced = 0;
54438 int UNUSED insn_referenced = abuf->written;
54439 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54441 return cycles;
54442 #undef FLD
54445 static int
54446 model_tomcat_dcpl (SIM_CPU *current_cpu, void *sem_arg)
54448 #define FLD(f) abuf->fields.sfmt_icpl.f
54449 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54450 const IDESC * UNUSED idesc = abuf->idesc;
54451 int cycles = 0;
54453 int referenced = 0;
54454 int UNUSED insn_referenced = abuf->written;
54455 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54457 return cycles;
54458 #undef FLD
54461 static int
54462 model_tomcat_icul (SIM_CPU *current_cpu, void *sem_arg)
54464 #define FLD(f) abuf->fields.sfmt_jmpil.f
54465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54466 const IDESC * UNUSED idesc = abuf->idesc;
54467 int cycles = 0;
54469 int referenced = 0;
54470 int UNUSED insn_referenced = abuf->written;
54471 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54473 return cycles;
54474 #undef FLD
54477 static int
54478 model_tomcat_dcul (SIM_CPU *current_cpu, void *sem_arg)
54480 #define FLD(f) abuf->fields.sfmt_jmpil.f
54481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54482 const IDESC * UNUSED idesc = abuf->idesc;
54483 int cycles = 0;
54485 int referenced = 0;
54486 int UNUSED insn_referenced = abuf->written;
54487 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54489 return cycles;
54490 #undef FLD
54493 static int
54494 model_tomcat_bar (SIM_CPU *current_cpu, void *sem_arg)
54496 #define FLD(f) abuf->fields.sfmt_empty.f
54497 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54498 const IDESC * UNUSED idesc = abuf->idesc;
54499 int cycles = 0;
54501 int referenced = 0;
54502 int UNUSED insn_referenced = abuf->written;
54503 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54505 return cycles;
54506 #undef FLD
54509 static int
54510 model_tomcat_membar (SIM_CPU *current_cpu, void *sem_arg)
54512 #define FLD(f) abuf->fields.sfmt_empty.f
54513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54514 const IDESC * UNUSED idesc = abuf->idesc;
54515 int cycles = 0;
54517 int referenced = 0;
54518 int UNUSED insn_referenced = abuf->written;
54519 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54521 return cycles;
54522 #undef FLD
54525 static int
54526 model_tomcat_lrai (SIM_CPU *current_cpu, void *sem_arg)
54528 #define FLD(f) abuf->fields.sfmt_empty.f
54529 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54530 const IDESC * UNUSED idesc = abuf->idesc;
54531 int cycles = 0;
54533 int referenced = 0;
54534 int UNUSED insn_referenced = abuf->written;
54535 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54537 return cycles;
54538 #undef FLD
54541 static int
54542 model_tomcat_lrad (SIM_CPU *current_cpu, void *sem_arg)
54544 #define FLD(f) abuf->fields.sfmt_empty.f
54545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54546 const IDESC * UNUSED idesc = abuf->idesc;
54547 int cycles = 0;
54549 int referenced = 0;
54550 int UNUSED insn_referenced = abuf->written;
54551 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54553 return cycles;
54554 #undef FLD
54557 static int
54558 model_tomcat_tlbpr (SIM_CPU *current_cpu, void *sem_arg)
54560 #define FLD(f) abuf->fields.sfmt_empty.f
54561 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54562 const IDESC * UNUSED idesc = abuf->idesc;
54563 int cycles = 0;
54565 int referenced = 0;
54566 int UNUSED insn_referenced = abuf->written;
54567 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54569 return cycles;
54570 #undef FLD
54573 static int
54574 model_tomcat_cop1 (SIM_CPU *current_cpu, void *sem_arg)
54576 #define FLD(f) abuf->fields.sfmt_empty.f
54577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54578 const IDESC * UNUSED idesc = abuf->idesc;
54579 int cycles = 0;
54581 int referenced = 0;
54582 int UNUSED insn_referenced = abuf->written;
54583 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54585 return cycles;
54586 #undef FLD
54589 static int
54590 model_tomcat_cop2 (SIM_CPU *current_cpu, void *sem_arg)
54592 #define FLD(f) abuf->fields.sfmt_empty.f
54593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54594 const IDESC * UNUSED idesc = abuf->idesc;
54595 int cycles = 0;
54597 int referenced = 0;
54598 int UNUSED insn_referenced = abuf->written;
54599 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54601 return cycles;
54602 #undef FLD
54605 static int
54606 model_tomcat_clrgr (SIM_CPU *current_cpu, void *sem_arg)
54608 #define FLD(f) abuf->fields.sfmt_swapi.f
54609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54610 const IDESC * UNUSED idesc = abuf->idesc;
54611 int cycles = 0;
54613 int referenced = 0;
54614 int UNUSED insn_referenced = abuf->written;
54615 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54617 return cycles;
54618 #undef FLD
54621 static int
54622 model_tomcat_clrfr (SIM_CPU *current_cpu, void *sem_arg)
54624 #define FLD(f) abuf->fields.sfmt_cfmadds.f
54625 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54626 const IDESC * UNUSED idesc = abuf->idesc;
54627 int cycles = 0;
54629 int referenced = 0;
54630 int UNUSED insn_referenced = abuf->written;
54631 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54633 return cycles;
54634 #undef FLD
54637 static int
54638 model_tomcat_clrga (SIM_CPU *current_cpu, void *sem_arg)
54640 #define FLD(f) abuf->fields.sfmt_empty.f
54641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54642 const IDESC * UNUSED idesc = abuf->idesc;
54643 int cycles = 0;
54645 int referenced = 0;
54646 int UNUSED insn_referenced = abuf->written;
54647 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54649 return cycles;
54650 #undef FLD
54653 static int
54654 model_tomcat_clrfa (SIM_CPU *current_cpu, void *sem_arg)
54656 #define FLD(f) abuf->fields.sfmt_empty.f
54657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54658 const IDESC * UNUSED idesc = abuf->idesc;
54659 int cycles = 0;
54661 int referenced = 0;
54662 int UNUSED insn_referenced = abuf->written;
54663 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54665 return cycles;
54666 #undef FLD
54669 static int
54670 model_tomcat_commitgr (SIM_CPU *current_cpu, void *sem_arg)
54672 #define FLD(f) abuf->fields.sfmt_setlos.f
54673 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54674 const IDESC * UNUSED idesc = abuf->idesc;
54675 int cycles = 0;
54677 int referenced = 0;
54678 int UNUSED insn_referenced = abuf->written;
54679 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54681 return cycles;
54682 #undef FLD
54685 static int
54686 model_tomcat_commitfr (SIM_CPU *current_cpu, void *sem_arg)
54688 #define FLD(f) abuf->fields.sfmt_mhsethis.f
54689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54690 const IDESC * UNUSED idesc = abuf->idesc;
54691 int cycles = 0;
54693 int referenced = 0;
54694 int UNUSED insn_referenced = abuf->written;
54695 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54697 return cycles;
54698 #undef FLD
54701 static int
54702 model_tomcat_commitga (SIM_CPU *current_cpu, void *sem_arg)
54704 #define FLD(f) abuf->fields.sfmt_empty.f
54705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54706 const IDESC * UNUSED idesc = abuf->idesc;
54707 int cycles = 0;
54709 int referenced = 0;
54710 int UNUSED insn_referenced = abuf->written;
54711 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54713 return cycles;
54714 #undef FLD
54717 static int
54718 model_tomcat_commitfa (SIM_CPU *current_cpu, void *sem_arg)
54720 #define FLD(f) abuf->fields.sfmt_empty.f
54721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54722 const IDESC * UNUSED idesc = abuf->idesc;
54723 int cycles = 0;
54725 int referenced = 0;
54726 int UNUSED insn_referenced = abuf->written;
54727 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54729 return cycles;
54730 #undef FLD
54733 static int
54734 model_tomcat_fitos (SIM_CPU *current_cpu, void *sem_arg)
54736 #define FLD(f) abuf->fields.sfmt_fditos.f
54737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54738 const IDESC * UNUSED idesc = abuf->idesc;
54739 int cycles = 0;
54741 int referenced = 0;
54742 int UNUSED insn_referenced = abuf->written;
54743 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54745 return cycles;
54746 #undef FLD
54749 static int
54750 model_tomcat_fstoi (SIM_CPU *current_cpu, void *sem_arg)
54752 #define FLD(f) abuf->fields.sfmt_fdstoi.f
54753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54754 const IDESC * UNUSED idesc = abuf->idesc;
54755 int cycles = 0;
54757 int referenced = 0;
54758 int UNUSED insn_referenced = abuf->written;
54759 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54761 return cycles;
54762 #undef FLD
54765 static int
54766 model_tomcat_fitod (SIM_CPU *current_cpu, void *sem_arg)
54768 #define FLD(f) abuf->fields.sfmt_fitod.f
54769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54770 const IDESC * UNUSED idesc = abuf->idesc;
54771 int cycles = 0;
54773 int referenced = 0;
54774 int UNUSED insn_referenced = abuf->written;
54775 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54777 return cycles;
54778 #undef FLD
54781 static int
54782 model_tomcat_fdtoi (SIM_CPU *current_cpu, void *sem_arg)
54784 #define FLD(f) abuf->fields.sfmt_fdtoi.f
54785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54786 const IDESC * UNUSED idesc = abuf->idesc;
54787 int cycles = 0;
54789 int referenced = 0;
54790 int UNUSED insn_referenced = abuf->written;
54791 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54793 return cycles;
54794 #undef FLD
54797 static int
54798 model_tomcat_fditos (SIM_CPU *current_cpu, void *sem_arg)
54800 #define FLD(f) abuf->fields.sfmt_fditos.f
54801 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54802 const IDESC * UNUSED idesc = abuf->idesc;
54803 int cycles = 0;
54805 int referenced = 0;
54806 int UNUSED insn_referenced = abuf->written;
54807 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54809 return cycles;
54810 #undef FLD
54813 static int
54814 model_tomcat_fdstoi (SIM_CPU *current_cpu, void *sem_arg)
54816 #define FLD(f) abuf->fields.sfmt_fdstoi.f
54817 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54818 const IDESC * UNUSED idesc = abuf->idesc;
54819 int cycles = 0;
54821 int referenced = 0;
54822 int UNUSED insn_referenced = abuf->written;
54823 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54825 return cycles;
54826 #undef FLD
54829 static int
54830 model_tomcat_nfditos (SIM_CPU *current_cpu, void *sem_arg)
54832 #define FLD(f) abuf->fields.sfmt_fditos.f
54833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54834 const IDESC * UNUSED idesc = abuf->idesc;
54835 int cycles = 0;
54837 int referenced = 0;
54838 int UNUSED insn_referenced = abuf->written;
54839 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54841 return cycles;
54842 #undef FLD
54845 static int
54846 model_tomcat_nfdstoi (SIM_CPU *current_cpu, void *sem_arg)
54848 #define FLD(f) abuf->fields.sfmt_fdstoi.f
54849 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54850 const IDESC * UNUSED idesc = abuf->idesc;
54851 int cycles = 0;
54853 int referenced = 0;
54854 int UNUSED insn_referenced = abuf->written;
54855 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54857 return cycles;
54858 #undef FLD
54861 static int
54862 model_tomcat_cfitos (SIM_CPU *current_cpu, void *sem_arg)
54864 #define FLD(f) abuf->fields.sfmt_cfitos.f
54865 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54866 const IDESC * UNUSED idesc = abuf->idesc;
54867 int cycles = 0;
54869 int referenced = 0;
54870 int UNUSED insn_referenced = abuf->written;
54871 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54873 return cycles;
54874 #undef FLD
54877 static int
54878 model_tomcat_cfstoi (SIM_CPU *current_cpu, void *sem_arg)
54880 #define FLD(f) abuf->fields.sfmt_cfstoi.f
54881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54882 const IDESC * UNUSED idesc = abuf->idesc;
54883 int cycles = 0;
54885 int referenced = 0;
54886 int UNUSED insn_referenced = abuf->written;
54887 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54889 return cycles;
54890 #undef FLD
54893 static int
54894 model_tomcat_nfitos (SIM_CPU *current_cpu, void *sem_arg)
54896 #define FLD(f) abuf->fields.sfmt_fditos.f
54897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54898 const IDESC * UNUSED idesc = abuf->idesc;
54899 int cycles = 0;
54901 int referenced = 0;
54902 int UNUSED insn_referenced = abuf->written;
54903 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54905 return cycles;
54906 #undef FLD
54909 static int
54910 model_tomcat_nfstoi (SIM_CPU *current_cpu, void *sem_arg)
54912 #define FLD(f) abuf->fields.sfmt_fdstoi.f
54913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54914 const IDESC * UNUSED idesc = abuf->idesc;
54915 int cycles = 0;
54917 int referenced = 0;
54918 int UNUSED insn_referenced = abuf->written;
54919 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54921 return cycles;
54922 #undef FLD
54925 static int
54926 model_tomcat_fmovs (SIM_CPU *current_cpu, void *sem_arg)
54928 #define FLD(f) abuf->fields.sfmt_cfmadds.f
54929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54930 const IDESC * UNUSED idesc = abuf->idesc;
54931 int cycles = 0;
54933 int referenced = 0;
54934 int UNUSED insn_referenced = abuf->written;
54935 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54937 return cycles;
54938 #undef FLD
54941 static int
54942 model_tomcat_fmovd (SIM_CPU *current_cpu, void *sem_arg)
54944 #define FLD(f) abuf->fields.sfmt_fmaddd.f
54945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54946 const IDESC * UNUSED idesc = abuf->idesc;
54947 int cycles = 0;
54949 int referenced = 0;
54950 int UNUSED insn_referenced = abuf->written;
54951 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54953 return cycles;
54954 #undef FLD
54957 static int
54958 model_tomcat_fdmovs (SIM_CPU *current_cpu, void *sem_arg)
54960 #define FLD(f) abuf->fields.sfmt_fdmadds.f
54961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54962 const IDESC * UNUSED idesc = abuf->idesc;
54963 int cycles = 0;
54965 int referenced = 0;
54966 int UNUSED insn_referenced = abuf->written;
54967 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54969 return cycles;
54970 #undef FLD
54973 static int
54974 model_tomcat_cfmovs (SIM_CPU *current_cpu, void *sem_arg)
54976 #define FLD(f) abuf->fields.sfmt_cfmadds.f
54977 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54978 const IDESC * UNUSED idesc = abuf->idesc;
54979 int cycles = 0;
54981 int referenced = 0;
54982 int UNUSED insn_referenced = abuf->written;
54983 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
54985 return cycles;
54986 #undef FLD
54989 static int
54990 model_tomcat_fnegs (SIM_CPU *current_cpu, void *sem_arg)
54992 #define FLD(f) abuf->fields.sfmt_cfmadds.f
54993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
54994 const IDESC * UNUSED idesc = abuf->idesc;
54995 int cycles = 0;
54997 int referenced = 0;
54998 int UNUSED insn_referenced = abuf->written;
54999 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55001 return cycles;
55002 #undef FLD
55005 static int
55006 model_tomcat_fnegd (SIM_CPU *current_cpu, void *sem_arg)
55008 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55010 const IDESC * UNUSED idesc = abuf->idesc;
55011 int cycles = 0;
55013 int referenced = 0;
55014 int UNUSED insn_referenced = abuf->written;
55015 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55017 return cycles;
55018 #undef FLD
55021 static int
55022 model_tomcat_fdnegs (SIM_CPU *current_cpu, void *sem_arg)
55024 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55026 const IDESC * UNUSED idesc = abuf->idesc;
55027 int cycles = 0;
55029 int referenced = 0;
55030 int UNUSED insn_referenced = abuf->written;
55031 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55033 return cycles;
55034 #undef FLD
55037 static int
55038 model_tomcat_cfnegs (SIM_CPU *current_cpu, void *sem_arg)
55040 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55041 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55042 const IDESC * UNUSED idesc = abuf->idesc;
55043 int cycles = 0;
55045 int referenced = 0;
55046 int UNUSED insn_referenced = abuf->written;
55047 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55049 return cycles;
55050 #undef FLD
55053 static int
55054 model_tomcat_fabss (SIM_CPU *current_cpu, void *sem_arg)
55056 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55058 const IDESC * UNUSED idesc = abuf->idesc;
55059 int cycles = 0;
55061 int referenced = 0;
55062 int UNUSED insn_referenced = abuf->written;
55063 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55065 return cycles;
55066 #undef FLD
55069 static int
55070 model_tomcat_fabsd (SIM_CPU *current_cpu, void *sem_arg)
55072 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55074 const IDESC * UNUSED idesc = abuf->idesc;
55075 int cycles = 0;
55077 int referenced = 0;
55078 int UNUSED insn_referenced = abuf->written;
55079 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55081 return cycles;
55082 #undef FLD
55085 static int
55086 model_tomcat_fdabss (SIM_CPU *current_cpu, void *sem_arg)
55088 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55089 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55090 const IDESC * UNUSED idesc = abuf->idesc;
55091 int cycles = 0;
55093 int referenced = 0;
55094 int UNUSED insn_referenced = abuf->written;
55095 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55097 return cycles;
55098 #undef FLD
55101 static int
55102 model_tomcat_cfabss (SIM_CPU *current_cpu, void *sem_arg)
55104 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55106 const IDESC * UNUSED idesc = abuf->idesc;
55107 int cycles = 0;
55109 int referenced = 0;
55110 int UNUSED insn_referenced = abuf->written;
55111 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55113 return cycles;
55114 #undef FLD
55117 static int
55118 model_tomcat_fsqrts (SIM_CPU *current_cpu, void *sem_arg)
55120 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55121 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55122 const IDESC * UNUSED idesc = abuf->idesc;
55123 int cycles = 0;
55125 int referenced = 0;
55126 int UNUSED insn_referenced = abuf->written;
55127 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55129 return cycles;
55130 #undef FLD
55133 static int
55134 model_tomcat_fdsqrts (SIM_CPU *current_cpu, void *sem_arg)
55136 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55137 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55138 const IDESC * UNUSED idesc = abuf->idesc;
55139 int cycles = 0;
55141 int referenced = 0;
55142 int UNUSED insn_referenced = abuf->written;
55143 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55145 return cycles;
55146 #undef FLD
55149 static int
55150 model_tomcat_nfdsqrts (SIM_CPU *current_cpu, void *sem_arg)
55152 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55153 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55154 const IDESC * UNUSED idesc = abuf->idesc;
55155 int cycles = 0;
55157 int referenced = 0;
55158 int UNUSED insn_referenced = abuf->written;
55159 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55161 return cycles;
55162 #undef FLD
55165 static int
55166 model_tomcat_fsqrtd (SIM_CPU *current_cpu, void *sem_arg)
55168 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55170 const IDESC * UNUSED idesc = abuf->idesc;
55171 int cycles = 0;
55173 int referenced = 0;
55174 int UNUSED insn_referenced = abuf->written;
55175 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55177 return cycles;
55178 #undef FLD
55181 static int
55182 model_tomcat_cfsqrts (SIM_CPU *current_cpu, void *sem_arg)
55184 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55186 const IDESC * UNUSED idesc = abuf->idesc;
55187 int cycles = 0;
55189 int referenced = 0;
55190 int UNUSED insn_referenced = abuf->written;
55191 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55193 return cycles;
55194 #undef FLD
55197 static int
55198 model_tomcat_nfsqrts (SIM_CPU *current_cpu, void *sem_arg)
55200 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55201 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55202 const IDESC * UNUSED idesc = abuf->idesc;
55203 int cycles = 0;
55205 int referenced = 0;
55206 int UNUSED insn_referenced = abuf->written;
55207 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55209 return cycles;
55210 #undef FLD
55213 static int
55214 model_tomcat_fadds (SIM_CPU *current_cpu, void *sem_arg)
55216 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55218 const IDESC * UNUSED idesc = abuf->idesc;
55219 int cycles = 0;
55221 int referenced = 0;
55222 int UNUSED insn_referenced = abuf->written;
55223 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55225 return cycles;
55226 #undef FLD
55229 static int
55230 model_tomcat_fsubs (SIM_CPU *current_cpu, void *sem_arg)
55232 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55234 const IDESC * UNUSED idesc = abuf->idesc;
55235 int cycles = 0;
55237 int referenced = 0;
55238 int UNUSED insn_referenced = abuf->written;
55239 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55241 return cycles;
55242 #undef FLD
55245 static int
55246 model_tomcat_fmuls (SIM_CPU *current_cpu, void *sem_arg)
55248 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55249 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55250 const IDESC * UNUSED idesc = abuf->idesc;
55251 int cycles = 0;
55253 int referenced = 0;
55254 int UNUSED insn_referenced = abuf->written;
55255 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55257 return cycles;
55258 #undef FLD
55261 static int
55262 model_tomcat_fdivs (SIM_CPU *current_cpu, void *sem_arg)
55264 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55266 const IDESC * UNUSED idesc = abuf->idesc;
55267 int cycles = 0;
55269 int referenced = 0;
55270 int UNUSED insn_referenced = abuf->written;
55271 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55273 return cycles;
55274 #undef FLD
55277 static int
55278 model_tomcat_faddd (SIM_CPU *current_cpu, void *sem_arg)
55280 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55282 const IDESC * UNUSED idesc = abuf->idesc;
55283 int cycles = 0;
55285 int referenced = 0;
55286 int UNUSED insn_referenced = abuf->written;
55287 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55289 return cycles;
55290 #undef FLD
55293 static int
55294 model_tomcat_fsubd (SIM_CPU *current_cpu, void *sem_arg)
55296 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55297 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55298 const IDESC * UNUSED idesc = abuf->idesc;
55299 int cycles = 0;
55301 int referenced = 0;
55302 int UNUSED insn_referenced = abuf->written;
55303 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55305 return cycles;
55306 #undef FLD
55309 static int
55310 model_tomcat_fmuld (SIM_CPU *current_cpu, void *sem_arg)
55312 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55314 const IDESC * UNUSED idesc = abuf->idesc;
55315 int cycles = 0;
55317 int referenced = 0;
55318 int UNUSED insn_referenced = abuf->written;
55319 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55321 return cycles;
55322 #undef FLD
55325 static int
55326 model_tomcat_fdivd (SIM_CPU *current_cpu, void *sem_arg)
55328 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55330 const IDESC * UNUSED idesc = abuf->idesc;
55331 int cycles = 0;
55333 int referenced = 0;
55334 int UNUSED insn_referenced = abuf->written;
55335 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55337 return cycles;
55338 #undef FLD
55341 static int
55342 model_tomcat_cfadds (SIM_CPU *current_cpu, void *sem_arg)
55344 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55345 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55346 const IDESC * UNUSED idesc = abuf->idesc;
55347 int cycles = 0;
55349 int referenced = 0;
55350 int UNUSED insn_referenced = abuf->written;
55351 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55353 return cycles;
55354 #undef FLD
55357 static int
55358 model_tomcat_cfsubs (SIM_CPU *current_cpu, void *sem_arg)
55360 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55362 const IDESC * UNUSED idesc = abuf->idesc;
55363 int cycles = 0;
55365 int referenced = 0;
55366 int UNUSED insn_referenced = abuf->written;
55367 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55369 return cycles;
55370 #undef FLD
55373 static int
55374 model_tomcat_cfmuls (SIM_CPU *current_cpu, void *sem_arg)
55376 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55378 const IDESC * UNUSED idesc = abuf->idesc;
55379 int cycles = 0;
55381 int referenced = 0;
55382 int UNUSED insn_referenced = abuf->written;
55383 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55385 return cycles;
55386 #undef FLD
55389 static int
55390 model_tomcat_cfdivs (SIM_CPU *current_cpu, void *sem_arg)
55392 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55393 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55394 const IDESC * UNUSED idesc = abuf->idesc;
55395 int cycles = 0;
55397 int referenced = 0;
55398 int UNUSED insn_referenced = abuf->written;
55399 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55401 return cycles;
55402 #undef FLD
55405 static int
55406 model_tomcat_nfadds (SIM_CPU *current_cpu, void *sem_arg)
55408 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55409 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55410 const IDESC * UNUSED idesc = abuf->idesc;
55411 int cycles = 0;
55413 int referenced = 0;
55414 int UNUSED insn_referenced = abuf->written;
55415 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55417 return cycles;
55418 #undef FLD
55421 static int
55422 model_tomcat_nfsubs (SIM_CPU *current_cpu, void *sem_arg)
55424 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55425 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55426 const IDESC * UNUSED idesc = abuf->idesc;
55427 int cycles = 0;
55429 int referenced = 0;
55430 int UNUSED insn_referenced = abuf->written;
55431 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55433 return cycles;
55434 #undef FLD
55437 static int
55438 model_tomcat_nfmuls (SIM_CPU *current_cpu, void *sem_arg)
55440 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55442 const IDESC * UNUSED idesc = abuf->idesc;
55443 int cycles = 0;
55445 int referenced = 0;
55446 int UNUSED insn_referenced = abuf->written;
55447 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55449 return cycles;
55450 #undef FLD
55453 static int
55454 model_tomcat_nfdivs (SIM_CPU *current_cpu, void *sem_arg)
55456 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55458 const IDESC * UNUSED idesc = abuf->idesc;
55459 int cycles = 0;
55461 int referenced = 0;
55462 int UNUSED insn_referenced = abuf->written;
55463 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55465 return cycles;
55466 #undef FLD
55469 static int
55470 model_tomcat_fcmps (SIM_CPU *current_cpu, void *sem_arg)
55472 #define FLD(f) abuf->fields.sfmt_cfcmps.f
55473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55474 const IDESC * UNUSED idesc = abuf->idesc;
55475 int cycles = 0;
55477 int referenced = 0;
55478 int UNUSED insn_referenced = abuf->written;
55479 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55481 return cycles;
55482 #undef FLD
55485 static int
55486 model_tomcat_fcmpd (SIM_CPU *current_cpu, void *sem_arg)
55488 #define FLD(f) abuf->fields.sfmt_fcmpd.f
55489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55490 const IDESC * UNUSED idesc = abuf->idesc;
55491 int cycles = 0;
55493 int referenced = 0;
55494 int UNUSED insn_referenced = abuf->written;
55495 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55497 return cycles;
55498 #undef FLD
55501 static int
55502 model_tomcat_cfcmps (SIM_CPU *current_cpu, void *sem_arg)
55504 #define FLD(f) abuf->fields.sfmt_cfcmps.f
55505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55506 const IDESC * UNUSED idesc = abuf->idesc;
55507 int cycles = 0;
55509 int referenced = 0;
55510 int UNUSED insn_referenced = abuf->written;
55511 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55513 return cycles;
55514 #undef FLD
55517 static int
55518 model_tomcat_fdcmps (SIM_CPU *current_cpu, void *sem_arg)
55520 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
55521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55522 const IDESC * UNUSED idesc = abuf->idesc;
55523 int cycles = 0;
55525 int referenced = 0;
55526 int UNUSED insn_referenced = abuf->written;
55527 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55529 return cycles;
55530 #undef FLD
55533 static int
55534 model_tomcat_fmadds (SIM_CPU *current_cpu, void *sem_arg)
55536 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55538 const IDESC * UNUSED idesc = abuf->idesc;
55539 int cycles = 0;
55541 int referenced = 0;
55542 int UNUSED insn_referenced = abuf->written;
55543 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55545 return cycles;
55546 #undef FLD
55549 static int
55550 model_tomcat_fmsubs (SIM_CPU *current_cpu, void *sem_arg)
55552 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55554 const IDESC * UNUSED idesc = abuf->idesc;
55555 int cycles = 0;
55557 int referenced = 0;
55558 int UNUSED insn_referenced = abuf->written;
55559 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55561 return cycles;
55562 #undef FLD
55565 static int
55566 model_tomcat_fmaddd (SIM_CPU *current_cpu, void *sem_arg)
55568 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55570 const IDESC * UNUSED idesc = abuf->idesc;
55571 int cycles = 0;
55573 int referenced = 0;
55574 int UNUSED insn_referenced = abuf->written;
55575 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55577 return cycles;
55578 #undef FLD
55581 static int
55582 model_tomcat_fmsubd (SIM_CPU *current_cpu, void *sem_arg)
55584 #define FLD(f) abuf->fields.sfmt_fmaddd.f
55585 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55586 const IDESC * UNUSED idesc = abuf->idesc;
55587 int cycles = 0;
55589 int referenced = 0;
55590 int UNUSED insn_referenced = abuf->written;
55591 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55593 return cycles;
55594 #undef FLD
55597 static int
55598 model_tomcat_fdmadds (SIM_CPU *current_cpu, void *sem_arg)
55600 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55602 const IDESC * UNUSED idesc = abuf->idesc;
55603 int cycles = 0;
55605 int referenced = 0;
55606 int UNUSED insn_referenced = abuf->written;
55607 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55609 return cycles;
55610 #undef FLD
55613 static int
55614 model_tomcat_nfdmadds (SIM_CPU *current_cpu, void *sem_arg)
55616 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55618 const IDESC * UNUSED idesc = abuf->idesc;
55619 int cycles = 0;
55621 int referenced = 0;
55622 int UNUSED insn_referenced = abuf->written;
55623 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55625 return cycles;
55626 #undef FLD
55629 static int
55630 model_tomcat_cfmadds (SIM_CPU *current_cpu, void *sem_arg)
55632 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55634 const IDESC * UNUSED idesc = abuf->idesc;
55635 int cycles = 0;
55637 int referenced = 0;
55638 int UNUSED insn_referenced = abuf->written;
55639 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55641 return cycles;
55642 #undef FLD
55645 static int
55646 model_tomcat_cfmsubs (SIM_CPU *current_cpu, void *sem_arg)
55648 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55649 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55650 const IDESC * UNUSED idesc = abuf->idesc;
55651 int cycles = 0;
55653 int referenced = 0;
55654 int UNUSED insn_referenced = abuf->written;
55655 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55657 return cycles;
55658 #undef FLD
55661 static int
55662 model_tomcat_nfmadds (SIM_CPU *current_cpu, void *sem_arg)
55664 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55666 const IDESC * UNUSED idesc = abuf->idesc;
55667 int cycles = 0;
55669 int referenced = 0;
55670 int UNUSED insn_referenced = abuf->written;
55671 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55673 return cycles;
55674 #undef FLD
55677 static int
55678 model_tomcat_nfmsubs (SIM_CPU *current_cpu, void *sem_arg)
55680 #define FLD(f) abuf->fields.sfmt_cfmadds.f
55681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55682 const IDESC * UNUSED idesc = abuf->idesc;
55683 int cycles = 0;
55685 int referenced = 0;
55686 int UNUSED insn_referenced = abuf->written;
55687 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55689 return cycles;
55690 #undef FLD
55693 static int
55694 model_tomcat_fmas (SIM_CPU *current_cpu, void *sem_arg)
55696 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55698 const IDESC * UNUSED idesc = abuf->idesc;
55699 int cycles = 0;
55701 int referenced = 0;
55702 int UNUSED insn_referenced = abuf->written;
55703 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55705 return cycles;
55706 #undef FLD
55709 static int
55710 model_tomcat_fmss (SIM_CPU *current_cpu, void *sem_arg)
55712 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55714 const IDESC * UNUSED idesc = abuf->idesc;
55715 int cycles = 0;
55717 int referenced = 0;
55718 int UNUSED insn_referenced = abuf->written;
55719 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55721 return cycles;
55722 #undef FLD
55725 static int
55726 model_tomcat_fdmas (SIM_CPU *current_cpu, void *sem_arg)
55728 #define FLD(f) abuf->fields.sfmt_fdmas.f
55729 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55730 const IDESC * UNUSED idesc = abuf->idesc;
55731 int cycles = 0;
55733 int referenced = 0;
55734 int UNUSED insn_referenced = abuf->written;
55735 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55737 return cycles;
55738 #undef FLD
55741 static int
55742 model_tomcat_fdmss (SIM_CPU *current_cpu, void *sem_arg)
55744 #define FLD(f) abuf->fields.sfmt_fdmas.f
55745 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55746 const IDESC * UNUSED idesc = abuf->idesc;
55747 int cycles = 0;
55749 int referenced = 0;
55750 int UNUSED insn_referenced = abuf->written;
55751 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55753 return cycles;
55754 #undef FLD
55757 static int
55758 model_tomcat_nfdmas (SIM_CPU *current_cpu, void *sem_arg)
55760 #define FLD(f) abuf->fields.sfmt_fdmas.f
55761 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55762 const IDESC * UNUSED idesc = abuf->idesc;
55763 int cycles = 0;
55765 int referenced = 0;
55766 int UNUSED insn_referenced = abuf->written;
55767 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55769 return cycles;
55770 #undef FLD
55773 static int
55774 model_tomcat_nfdmss (SIM_CPU *current_cpu, void *sem_arg)
55776 #define FLD(f) abuf->fields.sfmt_fdmas.f
55777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55778 const IDESC * UNUSED idesc = abuf->idesc;
55779 int cycles = 0;
55781 int referenced = 0;
55782 int UNUSED insn_referenced = abuf->written;
55783 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55785 return cycles;
55786 #undef FLD
55789 static int
55790 model_tomcat_cfmas (SIM_CPU *current_cpu, void *sem_arg)
55792 #define FLD(f) abuf->fields.sfmt_cfmas.f
55793 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55794 const IDESC * UNUSED idesc = abuf->idesc;
55795 int cycles = 0;
55797 int referenced = 0;
55798 int UNUSED insn_referenced = abuf->written;
55799 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55801 return cycles;
55802 #undef FLD
55805 static int
55806 model_tomcat_cfmss (SIM_CPU *current_cpu, void *sem_arg)
55808 #define FLD(f) abuf->fields.sfmt_cfmas.f
55809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55810 const IDESC * UNUSED idesc = abuf->idesc;
55811 int cycles = 0;
55813 int referenced = 0;
55814 int UNUSED insn_referenced = abuf->written;
55815 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55817 return cycles;
55818 #undef FLD
55821 static int
55822 model_tomcat_fmad (SIM_CPU *current_cpu, void *sem_arg)
55824 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55826 const IDESC * UNUSED idesc = abuf->idesc;
55827 int cycles = 0;
55829 int referenced = 0;
55830 int UNUSED insn_referenced = abuf->written;
55831 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55833 return cycles;
55834 #undef FLD
55837 static int
55838 model_tomcat_fmsd (SIM_CPU *current_cpu, void *sem_arg)
55840 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55842 const IDESC * UNUSED idesc = abuf->idesc;
55843 int cycles = 0;
55845 int referenced = 0;
55846 int UNUSED insn_referenced = abuf->written;
55847 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55849 return cycles;
55850 #undef FLD
55853 static int
55854 model_tomcat_nfmas (SIM_CPU *current_cpu, void *sem_arg)
55856 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55858 const IDESC * UNUSED idesc = abuf->idesc;
55859 int cycles = 0;
55861 int referenced = 0;
55862 int UNUSED insn_referenced = abuf->written;
55863 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55865 return cycles;
55866 #undef FLD
55869 static int
55870 model_tomcat_nfmss (SIM_CPU *current_cpu, void *sem_arg)
55872 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55874 const IDESC * UNUSED idesc = abuf->idesc;
55875 int cycles = 0;
55877 int referenced = 0;
55878 int UNUSED insn_referenced = abuf->written;
55879 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55881 return cycles;
55882 #undef FLD
55885 static int
55886 model_tomcat_fdadds (SIM_CPU *current_cpu, void *sem_arg)
55888 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55890 const IDESC * UNUSED idesc = abuf->idesc;
55891 int cycles = 0;
55893 int referenced = 0;
55894 int UNUSED insn_referenced = abuf->written;
55895 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55897 return cycles;
55898 #undef FLD
55901 static int
55902 model_tomcat_fdsubs (SIM_CPU *current_cpu, void *sem_arg)
55904 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55906 const IDESC * UNUSED idesc = abuf->idesc;
55907 int cycles = 0;
55909 int referenced = 0;
55910 int UNUSED insn_referenced = abuf->written;
55911 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55913 return cycles;
55914 #undef FLD
55917 static int
55918 model_tomcat_fdmuls (SIM_CPU *current_cpu, void *sem_arg)
55920 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55922 const IDESC * UNUSED idesc = abuf->idesc;
55923 int cycles = 0;
55925 int referenced = 0;
55926 int UNUSED insn_referenced = abuf->written;
55927 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55929 return cycles;
55930 #undef FLD
55933 static int
55934 model_tomcat_fddivs (SIM_CPU *current_cpu, void *sem_arg)
55936 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55937 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55938 const IDESC * UNUSED idesc = abuf->idesc;
55939 int cycles = 0;
55941 int referenced = 0;
55942 int UNUSED insn_referenced = abuf->written;
55943 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55945 return cycles;
55946 #undef FLD
55949 static int
55950 model_tomcat_fdsads (SIM_CPU *current_cpu, void *sem_arg)
55952 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55954 const IDESC * UNUSED idesc = abuf->idesc;
55955 int cycles = 0;
55957 int referenced = 0;
55958 int UNUSED insn_referenced = abuf->written;
55959 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55961 return cycles;
55962 #undef FLD
55965 static int
55966 model_tomcat_fdmulcs (SIM_CPU *current_cpu, void *sem_arg)
55968 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55970 const IDESC * UNUSED idesc = abuf->idesc;
55971 int cycles = 0;
55973 int referenced = 0;
55974 int UNUSED insn_referenced = abuf->written;
55975 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55977 return cycles;
55978 #undef FLD
55981 static int
55982 model_tomcat_nfdmulcs (SIM_CPU *current_cpu, void *sem_arg)
55984 #define FLD(f) abuf->fields.sfmt_fdmadds.f
55985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
55986 const IDESC * UNUSED idesc = abuf->idesc;
55987 int cycles = 0;
55989 int referenced = 0;
55990 int UNUSED insn_referenced = abuf->written;
55991 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
55993 return cycles;
55994 #undef FLD
55997 static int
55998 model_tomcat_nfdadds (SIM_CPU *current_cpu, void *sem_arg)
56000 #define FLD(f) abuf->fields.sfmt_fdmadds.f
56001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56002 const IDESC * UNUSED idesc = abuf->idesc;
56003 int cycles = 0;
56005 int referenced = 0;
56006 int UNUSED insn_referenced = abuf->written;
56007 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56009 return cycles;
56010 #undef FLD
56013 static int
56014 model_tomcat_nfdsubs (SIM_CPU *current_cpu, void *sem_arg)
56016 #define FLD(f) abuf->fields.sfmt_fdmadds.f
56017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56018 const IDESC * UNUSED idesc = abuf->idesc;
56019 int cycles = 0;
56021 int referenced = 0;
56022 int UNUSED insn_referenced = abuf->written;
56023 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56025 return cycles;
56026 #undef FLD
56029 static int
56030 model_tomcat_nfdmuls (SIM_CPU *current_cpu, void *sem_arg)
56032 #define FLD(f) abuf->fields.sfmt_fdmadds.f
56033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56034 const IDESC * UNUSED idesc = abuf->idesc;
56035 int cycles = 0;
56037 int referenced = 0;
56038 int UNUSED insn_referenced = abuf->written;
56039 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56041 return cycles;
56042 #undef FLD
56045 static int
56046 model_tomcat_nfddivs (SIM_CPU *current_cpu, void *sem_arg)
56048 #define FLD(f) abuf->fields.sfmt_fdmadds.f
56049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56050 const IDESC * UNUSED idesc = abuf->idesc;
56051 int cycles = 0;
56053 int referenced = 0;
56054 int UNUSED insn_referenced = abuf->written;
56055 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56057 return cycles;
56058 #undef FLD
56061 static int
56062 model_tomcat_nfdsads (SIM_CPU *current_cpu, void *sem_arg)
56064 #define FLD(f) abuf->fields.sfmt_fdmadds.f
56065 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56066 const IDESC * UNUSED idesc = abuf->idesc;
56067 int cycles = 0;
56069 int referenced = 0;
56070 int UNUSED insn_referenced = abuf->written;
56071 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56073 return cycles;
56074 #undef FLD
56077 static int
56078 model_tomcat_nfdcmps (SIM_CPU *current_cpu, void *sem_arg)
56080 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
56081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56082 const IDESC * UNUSED idesc = abuf->idesc;
56083 int cycles = 0;
56085 int referenced = 0;
56086 int UNUSED insn_referenced = abuf->written;
56087 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56089 return cycles;
56090 #undef FLD
56093 static int
56094 model_tomcat_mhsetlos (SIM_CPU *current_cpu, void *sem_arg)
56096 #define FLD(f) abuf->fields.sfmt_mhsetlos.f
56097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56098 const IDESC * UNUSED idesc = abuf->idesc;
56099 int cycles = 0;
56101 int referenced = 0;
56102 int UNUSED insn_referenced = abuf->written;
56103 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56105 return cycles;
56106 #undef FLD
56109 static int
56110 model_tomcat_mhsethis (SIM_CPU *current_cpu, void *sem_arg)
56112 #define FLD(f) abuf->fields.sfmt_mhsethis.f
56113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56114 const IDESC * UNUSED idesc = abuf->idesc;
56115 int cycles = 0;
56117 int referenced = 0;
56118 int UNUSED insn_referenced = abuf->written;
56119 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56121 return cycles;
56122 #undef FLD
56125 static int
56126 model_tomcat_mhdsets (SIM_CPU *current_cpu, void *sem_arg)
56128 #define FLD(f) abuf->fields.sfmt_mhdsets.f
56129 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56130 const IDESC * UNUSED idesc = abuf->idesc;
56131 int cycles = 0;
56133 int referenced = 0;
56134 int UNUSED insn_referenced = abuf->written;
56135 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56137 return cycles;
56138 #undef FLD
56141 static int
56142 model_tomcat_mhsetloh (SIM_CPU *current_cpu, void *sem_arg)
56144 #define FLD(f) abuf->fields.sfmt_mhsetloh.f
56145 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56146 const IDESC * UNUSED idesc = abuf->idesc;
56147 int cycles = 0;
56149 int referenced = 0;
56150 int UNUSED insn_referenced = abuf->written;
56151 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56153 return cycles;
56154 #undef FLD
56157 static int
56158 model_tomcat_mhsethih (SIM_CPU *current_cpu, void *sem_arg)
56160 #define FLD(f) abuf->fields.sfmt_mhsethih.f
56161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56162 const IDESC * UNUSED idesc = abuf->idesc;
56163 int cycles = 0;
56165 int referenced = 0;
56166 int UNUSED insn_referenced = abuf->written;
56167 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56169 return cycles;
56170 #undef FLD
56173 static int
56174 model_tomcat_mhdseth (SIM_CPU *current_cpu, void *sem_arg)
56176 #define FLD(f) abuf->fields.sfmt_mhdseth.f
56177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56178 const IDESC * UNUSED idesc = abuf->idesc;
56179 int cycles = 0;
56181 int referenced = 0;
56182 int UNUSED insn_referenced = abuf->written;
56183 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56185 return cycles;
56186 #undef FLD
56189 static int
56190 model_tomcat_mand (SIM_CPU *current_cpu, void *sem_arg)
56192 #define FLD(f) abuf->fields.sfmt_mwcut.f
56193 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56194 const IDESC * UNUSED idesc = abuf->idesc;
56195 int cycles = 0;
56197 int referenced = 0;
56198 int UNUSED insn_referenced = abuf->written;
56199 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56201 return cycles;
56202 #undef FLD
56205 static int
56206 model_tomcat_mor (SIM_CPU *current_cpu, void *sem_arg)
56208 #define FLD(f) abuf->fields.sfmt_mwcut.f
56209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56210 const IDESC * UNUSED idesc = abuf->idesc;
56211 int cycles = 0;
56213 int referenced = 0;
56214 int UNUSED insn_referenced = abuf->written;
56215 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56217 return cycles;
56218 #undef FLD
56221 static int
56222 model_tomcat_mxor (SIM_CPU *current_cpu, void *sem_arg)
56224 #define FLD(f) abuf->fields.sfmt_mwcut.f
56225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56226 const IDESC * UNUSED idesc = abuf->idesc;
56227 int cycles = 0;
56229 int referenced = 0;
56230 int UNUSED insn_referenced = abuf->written;
56231 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56233 return cycles;
56234 #undef FLD
56237 static int
56238 model_tomcat_cmand (SIM_CPU *current_cpu, void *sem_arg)
56240 #define FLD(f) abuf->fields.sfmt_cmand.f
56241 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56242 const IDESC * UNUSED idesc = abuf->idesc;
56243 int cycles = 0;
56245 int referenced = 0;
56246 int UNUSED insn_referenced = abuf->written;
56247 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56249 return cycles;
56250 #undef FLD
56253 static int
56254 model_tomcat_cmor (SIM_CPU *current_cpu, void *sem_arg)
56256 #define FLD(f) abuf->fields.sfmt_cmand.f
56257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56258 const IDESC * UNUSED idesc = abuf->idesc;
56259 int cycles = 0;
56261 int referenced = 0;
56262 int UNUSED insn_referenced = abuf->written;
56263 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56265 return cycles;
56266 #undef FLD
56269 static int
56270 model_tomcat_cmxor (SIM_CPU *current_cpu, void *sem_arg)
56272 #define FLD(f) abuf->fields.sfmt_cmand.f
56273 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56274 const IDESC * UNUSED idesc = abuf->idesc;
56275 int cycles = 0;
56277 int referenced = 0;
56278 int UNUSED insn_referenced = abuf->written;
56279 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56281 return cycles;
56282 #undef FLD
56285 static int
56286 model_tomcat_mnot (SIM_CPU *current_cpu, void *sem_arg)
56288 #define FLD(f) abuf->fields.sfmt_mcut.f
56289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56290 const IDESC * UNUSED idesc = abuf->idesc;
56291 int cycles = 0;
56293 int referenced = 0;
56294 int UNUSED insn_referenced = abuf->written;
56295 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56297 return cycles;
56298 #undef FLD
56301 static int
56302 model_tomcat_cmnot (SIM_CPU *current_cpu, void *sem_arg)
56304 #define FLD(f) abuf->fields.sfmt_cmand.f
56305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56306 const IDESC * UNUSED idesc = abuf->idesc;
56307 int cycles = 0;
56309 int referenced = 0;
56310 int UNUSED insn_referenced = abuf->written;
56311 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56313 return cycles;
56314 #undef FLD
56317 static int
56318 model_tomcat_mrotli (SIM_CPU *current_cpu, void *sem_arg)
56320 #define FLD(f) abuf->fields.sfmt_mwcuti.f
56321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56322 const IDESC * UNUSED idesc = abuf->idesc;
56323 int cycles = 0;
56325 int referenced = 0;
56326 int UNUSED insn_referenced = abuf->written;
56327 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56329 return cycles;
56330 #undef FLD
56333 static int
56334 model_tomcat_mrotri (SIM_CPU *current_cpu, void *sem_arg)
56336 #define FLD(f) abuf->fields.sfmt_mwcuti.f
56337 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56338 const IDESC * UNUSED idesc = abuf->idesc;
56339 int cycles = 0;
56341 int referenced = 0;
56342 int UNUSED insn_referenced = abuf->written;
56343 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56345 return cycles;
56346 #undef FLD
56349 static int
56350 model_tomcat_mwcut (SIM_CPU *current_cpu, void *sem_arg)
56352 #define FLD(f) abuf->fields.sfmt_mwcut.f
56353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56354 const IDESC * UNUSED idesc = abuf->idesc;
56355 int cycles = 0;
56357 int referenced = 0;
56358 int UNUSED insn_referenced = abuf->written;
56359 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56361 return cycles;
56362 #undef FLD
56365 static int
56366 model_tomcat_mwcuti (SIM_CPU *current_cpu, void *sem_arg)
56368 #define FLD(f) abuf->fields.sfmt_mwcuti.f
56369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56370 const IDESC * UNUSED idesc = abuf->idesc;
56371 int cycles = 0;
56373 int referenced = 0;
56374 int UNUSED insn_referenced = abuf->written;
56375 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56377 return cycles;
56378 #undef FLD
56381 static int
56382 model_tomcat_mcut (SIM_CPU *current_cpu, void *sem_arg)
56384 #define FLD(f) abuf->fields.sfmt_mcut.f
56385 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56386 const IDESC * UNUSED idesc = abuf->idesc;
56387 int cycles = 0;
56389 int referenced = 0;
56390 int UNUSED insn_referenced = abuf->written;
56391 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56393 return cycles;
56394 #undef FLD
56397 static int
56398 model_tomcat_mcuti (SIM_CPU *current_cpu, void *sem_arg)
56400 #define FLD(f) abuf->fields.sfmt_mcuti.f
56401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56402 const IDESC * UNUSED idesc = abuf->idesc;
56403 int cycles = 0;
56405 int referenced = 0;
56406 int UNUSED insn_referenced = abuf->written;
56407 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56409 return cycles;
56410 #undef FLD
56413 static int
56414 model_tomcat_mcutss (SIM_CPU *current_cpu, void *sem_arg)
56416 #define FLD(f) abuf->fields.sfmt_mcut.f
56417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56418 const IDESC * UNUSED idesc = abuf->idesc;
56419 int cycles = 0;
56421 int referenced = 0;
56422 int UNUSED insn_referenced = abuf->written;
56423 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56425 return cycles;
56426 #undef FLD
56429 static int
56430 model_tomcat_mcutssi (SIM_CPU *current_cpu, void *sem_arg)
56432 #define FLD(f) abuf->fields.sfmt_mcuti.f
56433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56434 const IDESC * UNUSED idesc = abuf->idesc;
56435 int cycles = 0;
56437 int referenced = 0;
56438 int UNUSED insn_referenced = abuf->written;
56439 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56441 return cycles;
56442 #undef FLD
56445 static int
56446 model_tomcat_mdcutssi (SIM_CPU *current_cpu, void *sem_arg)
56448 #define FLD(f) abuf->fields.sfmt_mdcutssi.f
56449 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56450 const IDESC * UNUSED idesc = abuf->idesc;
56451 int cycles = 0;
56453 int referenced = 0;
56454 int UNUSED insn_referenced = abuf->written;
56455 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56457 return cycles;
56458 #undef FLD
56461 static int
56462 model_tomcat_maveh (SIM_CPU *current_cpu, void *sem_arg)
56464 #define FLD(f) abuf->fields.sfmt_mwcut.f
56465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56466 const IDESC * UNUSED idesc = abuf->idesc;
56467 int cycles = 0;
56469 int referenced = 0;
56470 int UNUSED insn_referenced = abuf->written;
56471 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56473 return cycles;
56474 #undef FLD
56477 static int
56478 model_tomcat_msllhi (SIM_CPU *current_cpu, void *sem_arg)
56480 #define FLD(f) abuf->fields.sfmt_msllhi.f
56481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56482 const IDESC * UNUSED idesc = abuf->idesc;
56483 int cycles = 0;
56485 int referenced = 0;
56486 int UNUSED insn_referenced = abuf->written;
56487 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56489 return cycles;
56490 #undef FLD
56493 static int
56494 model_tomcat_msrlhi (SIM_CPU *current_cpu, void *sem_arg)
56496 #define FLD(f) abuf->fields.sfmt_msllhi.f
56497 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56498 const IDESC * UNUSED idesc = abuf->idesc;
56499 int cycles = 0;
56501 int referenced = 0;
56502 int UNUSED insn_referenced = abuf->written;
56503 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56505 return cycles;
56506 #undef FLD
56509 static int
56510 model_tomcat_msrahi (SIM_CPU *current_cpu, void *sem_arg)
56512 #define FLD(f) abuf->fields.sfmt_msllhi.f
56513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56514 const IDESC * UNUSED idesc = abuf->idesc;
56515 int cycles = 0;
56517 int referenced = 0;
56518 int UNUSED insn_referenced = abuf->written;
56519 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56521 return cycles;
56522 #undef FLD
56525 static int
56526 model_tomcat_mdrotli (SIM_CPU *current_cpu, void *sem_arg)
56528 #define FLD(f) abuf->fields.sfmt_mdrotli.f
56529 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56530 const IDESC * UNUSED idesc = abuf->idesc;
56531 int cycles = 0;
56533 int referenced = 0;
56534 int UNUSED insn_referenced = abuf->written;
56535 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56537 return cycles;
56538 #undef FLD
56541 static int
56542 model_tomcat_mcplhi (SIM_CPU *current_cpu, void *sem_arg)
56544 #define FLD(f) abuf->fields.sfmt_mcplhi.f
56545 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56546 const IDESC * UNUSED idesc = abuf->idesc;
56547 int cycles = 0;
56549 int referenced = 0;
56550 int UNUSED insn_referenced = abuf->written;
56551 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56553 return cycles;
56554 #undef FLD
56557 static int
56558 model_tomcat_mcpli (SIM_CPU *current_cpu, void *sem_arg)
56560 #define FLD(f) abuf->fields.sfmt_mwcuti.f
56561 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56562 const IDESC * UNUSED idesc = abuf->idesc;
56563 int cycles = 0;
56565 int referenced = 0;
56566 int UNUSED insn_referenced = abuf->written;
56567 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56569 return cycles;
56570 #undef FLD
56573 static int
56574 model_tomcat_msaths (SIM_CPU *current_cpu, void *sem_arg)
56576 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56578 const IDESC * UNUSED idesc = abuf->idesc;
56579 int cycles = 0;
56581 int referenced = 0;
56582 int UNUSED insn_referenced = abuf->written;
56583 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56585 return cycles;
56586 #undef FLD
56589 static int
56590 model_tomcat_mqsaths (SIM_CPU *current_cpu, void *sem_arg)
56592 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56594 const IDESC * UNUSED idesc = abuf->idesc;
56595 int cycles = 0;
56597 int referenced = 0;
56598 int UNUSED insn_referenced = abuf->written;
56599 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56601 return cycles;
56602 #undef FLD
56605 static int
56606 model_tomcat_msathu (SIM_CPU *current_cpu, void *sem_arg)
56608 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56610 const IDESC * UNUSED idesc = abuf->idesc;
56611 int cycles = 0;
56613 int referenced = 0;
56614 int UNUSED insn_referenced = abuf->written;
56615 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56617 return cycles;
56618 #undef FLD
56621 static int
56622 model_tomcat_mcmpsh (SIM_CPU *current_cpu, void *sem_arg)
56624 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
56625 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56626 const IDESC * UNUSED idesc = abuf->idesc;
56627 int cycles = 0;
56629 int referenced = 0;
56630 int UNUSED insn_referenced = abuf->written;
56631 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56633 return cycles;
56634 #undef FLD
56637 static int
56638 model_tomcat_mcmpuh (SIM_CPU *current_cpu, void *sem_arg)
56640 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
56641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56642 const IDESC * UNUSED idesc = abuf->idesc;
56643 int cycles = 0;
56645 int referenced = 0;
56646 int UNUSED insn_referenced = abuf->written;
56647 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56649 return cycles;
56650 #undef FLD
56653 static int
56654 model_tomcat_mabshs (SIM_CPU *current_cpu, void *sem_arg)
56656 #define FLD(f) abuf->fields.sfmt_mabshs.f
56657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56658 const IDESC * UNUSED idesc = abuf->idesc;
56659 int cycles = 0;
56661 int referenced = 0;
56662 int UNUSED insn_referenced = abuf->written;
56663 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56665 return cycles;
56666 #undef FLD
56669 static int
56670 model_tomcat_maddhss (SIM_CPU *current_cpu, void *sem_arg)
56672 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56673 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56674 const IDESC * UNUSED idesc = abuf->idesc;
56675 int cycles = 0;
56677 int referenced = 0;
56678 int UNUSED insn_referenced = abuf->written;
56679 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56681 return cycles;
56682 #undef FLD
56685 static int
56686 model_tomcat_maddhus (SIM_CPU *current_cpu, void *sem_arg)
56688 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56690 const IDESC * UNUSED idesc = abuf->idesc;
56691 int cycles = 0;
56693 int referenced = 0;
56694 int UNUSED insn_referenced = abuf->written;
56695 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56697 return cycles;
56698 #undef FLD
56701 static int
56702 model_tomcat_msubhss (SIM_CPU *current_cpu, void *sem_arg)
56704 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56706 const IDESC * UNUSED idesc = abuf->idesc;
56707 int cycles = 0;
56709 int referenced = 0;
56710 int UNUSED insn_referenced = abuf->written;
56711 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56713 return cycles;
56714 #undef FLD
56717 static int
56718 model_tomcat_msubhus (SIM_CPU *current_cpu, void *sem_arg)
56720 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56722 const IDESC * UNUSED idesc = abuf->idesc;
56723 int cycles = 0;
56725 int referenced = 0;
56726 int UNUSED insn_referenced = abuf->written;
56727 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56729 return cycles;
56730 #undef FLD
56733 static int
56734 model_tomcat_cmaddhss (SIM_CPU *current_cpu, void *sem_arg)
56736 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56738 const IDESC * UNUSED idesc = abuf->idesc;
56739 int cycles = 0;
56741 int referenced = 0;
56742 int UNUSED insn_referenced = abuf->written;
56743 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56745 return cycles;
56746 #undef FLD
56749 static int
56750 model_tomcat_cmaddhus (SIM_CPU *current_cpu, void *sem_arg)
56752 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56754 const IDESC * UNUSED idesc = abuf->idesc;
56755 int cycles = 0;
56757 int referenced = 0;
56758 int UNUSED insn_referenced = abuf->written;
56759 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56761 return cycles;
56762 #undef FLD
56765 static int
56766 model_tomcat_cmsubhss (SIM_CPU *current_cpu, void *sem_arg)
56768 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56770 const IDESC * UNUSED idesc = abuf->idesc;
56771 int cycles = 0;
56773 int referenced = 0;
56774 int UNUSED insn_referenced = abuf->written;
56775 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56777 return cycles;
56778 #undef FLD
56781 static int
56782 model_tomcat_cmsubhus (SIM_CPU *current_cpu, void *sem_arg)
56784 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
56785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56786 const IDESC * UNUSED idesc = abuf->idesc;
56787 int cycles = 0;
56789 int referenced = 0;
56790 int UNUSED insn_referenced = abuf->written;
56791 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56793 return cycles;
56794 #undef FLD
56797 static int
56798 model_tomcat_mqaddhss (SIM_CPU *current_cpu, void *sem_arg)
56800 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56801 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56802 const IDESC * UNUSED idesc = abuf->idesc;
56803 int cycles = 0;
56805 int referenced = 0;
56806 int UNUSED insn_referenced = abuf->written;
56807 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56809 return cycles;
56810 #undef FLD
56813 static int
56814 model_tomcat_mqaddhus (SIM_CPU *current_cpu, void *sem_arg)
56816 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56817 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56818 const IDESC * UNUSED idesc = abuf->idesc;
56819 int cycles = 0;
56821 int referenced = 0;
56822 int UNUSED insn_referenced = abuf->written;
56823 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56825 return cycles;
56826 #undef FLD
56829 static int
56830 model_tomcat_mqsubhss (SIM_CPU *current_cpu, void *sem_arg)
56832 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56834 const IDESC * UNUSED idesc = abuf->idesc;
56835 int cycles = 0;
56837 int referenced = 0;
56838 int UNUSED insn_referenced = abuf->written;
56839 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56841 return cycles;
56842 #undef FLD
56845 static int
56846 model_tomcat_mqsubhus (SIM_CPU *current_cpu, void *sem_arg)
56848 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56849 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56850 const IDESC * UNUSED idesc = abuf->idesc;
56851 int cycles = 0;
56853 int referenced = 0;
56854 int UNUSED insn_referenced = abuf->written;
56855 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56857 return cycles;
56858 #undef FLD
56861 static int
56862 model_tomcat_cmqaddhss (SIM_CPU *current_cpu, void *sem_arg)
56864 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56865 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56866 const IDESC * UNUSED idesc = abuf->idesc;
56867 int cycles = 0;
56869 int referenced = 0;
56870 int UNUSED insn_referenced = abuf->written;
56871 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56873 return cycles;
56874 #undef FLD
56877 static int
56878 model_tomcat_cmqaddhus (SIM_CPU *current_cpu, void *sem_arg)
56880 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56881 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56882 const IDESC * UNUSED idesc = abuf->idesc;
56883 int cycles = 0;
56885 int referenced = 0;
56886 int UNUSED insn_referenced = abuf->written;
56887 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56889 return cycles;
56890 #undef FLD
56893 static int
56894 model_tomcat_cmqsubhss (SIM_CPU *current_cpu, void *sem_arg)
56896 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56898 const IDESC * UNUSED idesc = abuf->idesc;
56899 int cycles = 0;
56901 int referenced = 0;
56902 int UNUSED insn_referenced = abuf->written;
56903 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56905 return cycles;
56906 #undef FLD
56909 static int
56910 model_tomcat_cmqsubhus (SIM_CPU *current_cpu, void *sem_arg)
56912 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56914 const IDESC * UNUSED idesc = abuf->idesc;
56915 int cycles = 0;
56917 int referenced = 0;
56918 int UNUSED insn_referenced = abuf->written;
56919 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56921 return cycles;
56922 #undef FLD
56925 static int
56926 model_tomcat_mqlclrhs (SIM_CPU *current_cpu, void *sem_arg)
56928 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56930 const IDESC * UNUSED idesc = abuf->idesc;
56931 int cycles = 0;
56933 int referenced = 0;
56934 int UNUSED insn_referenced = abuf->written;
56935 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56937 return cycles;
56938 #undef FLD
56941 static int
56942 model_tomcat_mqlmths (SIM_CPU *current_cpu, void *sem_arg)
56944 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
56945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56946 const IDESC * UNUSED idesc = abuf->idesc;
56947 int cycles = 0;
56949 int referenced = 0;
56950 int UNUSED insn_referenced = abuf->written;
56951 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56953 return cycles;
56954 #undef FLD
56957 static int
56958 model_tomcat_mqsllhi (SIM_CPU *current_cpu, void *sem_arg)
56960 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
56961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56962 const IDESC * UNUSED idesc = abuf->idesc;
56963 int cycles = 0;
56965 int referenced = 0;
56966 int UNUSED insn_referenced = abuf->written;
56967 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56969 return cycles;
56970 #undef FLD
56973 static int
56974 model_tomcat_mqsrahi (SIM_CPU *current_cpu, void *sem_arg)
56976 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
56977 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56978 const IDESC * UNUSED idesc = abuf->idesc;
56979 int cycles = 0;
56981 int referenced = 0;
56982 int UNUSED insn_referenced = abuf->written;
56983 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
56985 return cycles;
56986 #undef FLD
56989 static int
56990 model_tomcat_maddaccs (SIM_CPU *current_cpu, void *sem_arg)
56992 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
56993 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
56994 const IDESC * UNUSED idesc = abuf->idesc;
56995 int cycles = 0;
56997 int referenced = 0;
56998 int UNUSED insn_referenced = abuf->written;
56999 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57001 return cycles;
57002 #undef FLD
57005 static int
57006 model_tomcat_msubaccs (SIM_CPU *current_cpu, void *sem_arg)
57008 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
57009 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57010 const IDESC * UNUSED idesc = abuf->idesc;
57011 int cycles = 0;
57013 int referenced = 0;
57014 int UNUSED insn_referenced = abuf->written;
57015 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57017 return cycles;
57018 #undef FLD
57021 static int
57022 model_tomcat_mdaddaccs (SIM_CPU *current_cpu, void *sem_arg)
57024 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
57025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57026 const IDESC * UNUSED idesc = abuf->idesc;
57027 int cycles = 0;
57029 int referenced = 0;
57030 int UNUSED insn_referenced = abuf->written;
57031 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57033 return cycles;
57034 #undef FLD
57037 static int
57038 model_tomcat_mdsubaccs (SIM_CPU *current_cpu, void *sem_arg)
57040 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
57041 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57042 const IDESC * UNUSED idesc = abuf->idesc;
57043 int cycles = 0;
57045 int referenced = 0;
57046 int UNUSED insn_referenced = abuf->written;
57047 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57049 return cycles;
57050 #undef FLD
57053 static int
57054 model_tomcat_masaccs (SIM_CPU *current_cpu, void *sem_arg)
57056 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
57057 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57058 const IDESC * UNUSED idesc = abuf->idesc;
57059 int cycles = 0;
57061 int referenced = 0;
57062 int UNUSED insn_referenced = abuf->written;
57063 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57065 return cycles;
57066 #undef FLD
57069 static int
57070 model_tomcat_mdasaccs (SIM_CPU *current_cpu, void *sem_arg)
57072 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
57073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57074 const IDESC * UNUSED idesc = abuf->idesc;
57075 int cycles = 0;
57077 int referenced = 0;
57078 int UNUSED insn_referenced = abuf->written;
57079 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57081 return cycles;
57082 #undef FLD
57085 static int
57086 model_tomcat_mmulhs (SIM_CPU *current_cpu, void *sem_arg)
57088 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57089 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57090 const IDESC * UNUSED idesc = abuf->idesc;
57091 int cycles = 0;
57093 int referenced = 0;
57094 int UNUSED insn_referenced = abuf->written;
57095 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57097 return cycles;
57098 #undef FLD
57101 static int
57102 model_tomcat_mmulhu (SIM_CPU *current_cpu, void *sem_arg)
57104 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57106 const IDESC * UNUSED idesc = abuf->idesc;
57107 int cycles = 0;
57109 int referenced = 0;
57110 int UNUSED insn_referenced = abuf->written;
57111 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57113 return cycles;
57114 #undef FLD
57117 static int
57118 model_tomcat_mmulxhs (SIM_CPU *current_cpu, void *sem_arg)
57120 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57121 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57122 const IDESC * UNUSED idesc = abuf->idesc;
57123 int cycles = 0;
57125 int referenced = 0;
57126 int UNUSED insn_referenced = abuf->written;
57127 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57129 return cycles;
57130 #undef FLD
57133 static int
57134 model_tomcat_mmulxhu (SIM_CPU *current_cpu, void *sem_arg)
57136 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57137 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57138 const IDESC * UNUSED idesc = abuf->idesc;
57139 int cycles = 0;
57141 int referenced = 0;
57142 int UNUSED insn_referenced = abuf->written;
57143 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57145 return cycles;
57146 #undef FLD
57149 static int
57150 model_tomcat_cmmulhs (SIM_CPU *current_cpu, void *sem_arg)
57152 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57153 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57154 const IDESC * UNUSED idesc = abuf->idesc;
57155 int cycles = 0;
57157 int referenced = 0;
57158 int UNUSED insn_referenced = abuf->written;
57159 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57161 return cycles;
57162 #undef FLD
57165 static int
57166 model_tomcat_cmmulhu (SIM_CPU *current_cpu, void *sem_arg)
57168 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57170 const IDESC * UNUSED idesc = abuf->idesc;
57171 int cycles = 0;
57173 int referenced = 0;
57174 int UNUSED insn_referenced = abuf->written;
57175 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57177 return cycles;
57178 #undef FLD
57181 static int
57182 model_tomcat_mqmulhs (SIM_CPU *current_cpu, void *sem_arg)
57184 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57186 const IDESC * UNUSED idesc = abuf->idesc;
57187 int cycles = 0;
57189 int referenced = 0;
57190 int UNUSED insn_referenced = abuf->written;
57191 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57193 return cycles;
57194 #undef FLD
57197 static int
57198 model_tomcat_mqmulhu (SIM_CPU *current_cpu, void *sem_arg)
57200 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57201 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57202 const IDESC * UNUSED idesc = abuf->idesc;
57203 int cycles = 0;
57205 int referenced = 0;
57206 int UNUSED insn_referenced = abuf->written;
57207 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57209 return cycles;
57210 #undef FLD
57213 static int
57214 model_tomcat_mqmulxhs (SIM_CPU *current_cpu, void *sem_arg)
57216 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57218 const IDESC * UNUSED idesc = abuf->idesc;
57219 int cycles = 0;
57221 int referenced = 0;
57222 int UNUSED insn_referenced = abuf->written;
57223 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57225 return cycles;
57226 #undef FLD
57229 static int
57230 model_tomcat_mqmulxhu (SIM_CPU *current_cpu, void *sem_arg)
57232 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57234 const IDESC * UNUSED idesc = abuf->idesc;
57235 int cycles = 0;
57237 int referenced = 0;
57238 int UNUSED insn_referenced = abuf->written;
57239 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57241 return cycles;
57242 #undef FLD
57245 static int
57246 model_tomcat_cmqmulhs (SIM_CPU *current_cpu, void *sem_arg)
57248 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57249 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57250 const IDESC * UNUSED idesc = abuf->idesc;
57251 int cycles = 0;
57253 int referenced = 0;
57254 int UNUSED insn_referenced = abuf->written;
57255 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57257 return cycles;
57258 #undef FLD
57261 static int
57262 model_tomcat_cmqmulhu (SIM_CPU *current_cpu, void *sem_arg)
57264 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57266 const IDESC * UNUSED idesc = abuf->idesc;
57267 int cycles = 0;
57269 int referenced = 0;
57270 int UNUSED insn_referenced = abuf->written;
57271 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57273 return cycles;
57274 #undef FLD
57277 static int
57278 model_tomcat_mmachs (SIM_CPU *current_cpu, void *sem_arg)
57280 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57282 const IDESC * UNUSED idesc = abuf->idesc;
57283 int cycles = 0;
57285 int referenced = 0;
57286 int UNUSED insn_referenced = abuf->written;
57287 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57289 return cycles;
57290 #undef FLD
57293 static int
57294 model_tomcat_mmachu (SIM_CPU *current_cpu, void *sem_arg)
57296 #define FLD(f) abuf->fields.sfmt_cmmachu.f
57297 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57298 const IDESC * UNUSED idesc = abuf->idesc;
57299 int cycles = 0;
57301 int referenced = 0;
57302 int UNUSED insn_referenced = abuf->written;
57303 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57305 return cycles;
57306 #undef FLD
57309 static int
57310 model_tomcat_mmrdhs (SIM_CPU *current_cpu, void *sem_arg)
57312 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57314 const IDESC * UNUSED idesc = abuf->idesc;
57315 int cycles = 0;
57317 int referenced = 0;
57318 int UNUSED insn_referenced = abuf->written;
57319 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57321 return cycles;
57322 #undef FLD
57325 static int
57326 model_tomcat_mmrdhu (SIM_CPU *current_cpu, void *sem_arg)
57328 #define FLD(f) abuf->fields.sfmt_cmmachu.f
57329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57330 const IDESC * UNUSED idesc = abuf->idesc;
57331 int cycles = 0;
57333 int referenced = 0;
57334 int UNUSED insn_referenced = abuf->written;
57335 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57337 return cycles;
57338 #undef FLD
57341 static int
57342 model_tomcat_cmmachs (SIM_CPU *current_cpu, void *sem_arg)
57344 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57345 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57346 const IDESC * UNUSED idesc = abuf->idesc;
57347 int cycles = 0;
57349 int referenced = 0;
57350 int UNUSED insn_referenced = abuf->written;
57351 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57353 return cycles;
57354 #undef FLD
57357 static int
57358 model_tomcat_cmmachu (SIM_CPU *current_cpu, void *sem_arg)
57360 #define FLD(f) abuf->fields.sfmt_cmmachu.f
57361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57362 const IDESC * UNUSED idesc = abuf->idesc;
57363 int cycles = 0;
57365 int referenced = 0;
57366 int UNUSED insn_referenced = abuf->written;
57367 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57369 return cycles;
57370 #undef FLD
57373 static int
57374 model_tomcat_mqmachs (SIM_CPU *current_cpu, void *sem_arg)
57376 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57378 const IDESC * UNUSED idesc = abuf->idesc;
57379 int cycles = 0;
57381 int referenced = 0;
57382 int UNUSED insn_referenced = abuf->written;
57383 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57385 return cycles;
57386 #undef FLD
57389 static int
57390 model_tomcat_mqmachu (SIM_CPU *current_cpu, void *sem_arg)
57392 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
57393 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57394 const IDESC * UNUSED idesc = abuf->idesc;
57395 int cycles = 0;
57397 int referenced = 0;
57398 int UNUSED insn_referenced = abuf->written;
57399 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57401 return cycles;
57402 #undef FLD
57405 static int
57406 model_tomcat_cmqmachs (SIM_CPU *current_cpu, void *sem_arg)
57408 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57409 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57410 const IDESC * UNUSED idesc = abuf->idesc;
57411 int cycles = 0;
57413 int referenced = 0;
57414 int UNUSED insn_referenced = abuf->written;
57415 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57417 return cycles;
57418 #undef FLD
57421 static int
57422 model_tomcat_cmqmachu (SIM_CPU *current_cpu, void *sem_arg)
57424 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
57425 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57426 const IDESC * UNUSED idesc = abuf->idesc;
57427 int cycles = 0;
57429 int referenced = 0;
57430 int UNUSED insn_referenced = abuf->written;
57431 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57433 return cycles;
57434 #undef FLD
57437 static int
57438 model_tomcat_mqxmachs (SIM_CPU *current_cpu, void *sem_arg)
57440 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57441 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57442 const IDESC * UNUSED idesc = abuf->idesc;
57443 int cycles = 0;
57445 int referenced = 0;
57446 int UNUSED insn_referenced = abuf->written;
57447 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57449 return cycles;
57450 #undef FLD
57453 static int
57454 model_tomcat_mqxmacxhs (SIM_CPU *current_cpu, void *sem_arg)
57456 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57457 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57458 const IDESC * UNUSED idesc = abuf->idesc;
57459 int cycles = 0;
57461 int referenced = 0;
57462 int UNUSED insn_referenced = abuf->written;
57463 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57465 return cycles;
57466 #undef FLD
57469 static int
57470 model_tomcat_mqmacxhs (SIM_CPU *current_cpu, void *sem_arg)
57472 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57473 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57474 const IDESC * UNUSED idesc = abuf->idesc;
57475 int cycles = 0;
57477 int referenced = 0;
57478 int UNUSED insn_referenced = abuf->written;
57479 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57481 return cycles;
57482 #undef FLD
57485 static int
57486 model_tomcat_mcpxrs (SIM_CPU *current_cpu, void *sem_arg)
57488 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57490 const IDESC * UNUSED idesc = abuf->idesc;
57491 int cycles = 0;
57493 int referenced = 0;
57494 int UNUSED insn_referenced = abuf->written;
57495 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57497 return cycles;
57498 #undef FLD
57501 static int
57502 model_tomcat_mcpxru (SIM_CPU *current_cpu, void *sem_arg)
57504 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57506 const IDESC * UNUSED idesc = abuf->idesc;
57507 int cycles = 0;
57509 int referenced = 0;
57510 int UNUSED insn_referenced = abuf->written;
57511 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57513 return cycles;
57514 #undef FLD
57517 static int
57518 model_tomcat_mcpxis (SIM_CPU *current_cpu, void *sem_arg)
57520 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57522 const IDESC * UNUSED idesc = abuf->idesc;
57523 int cycles = 0;
57525 int referenced = 0;
57526 int UNUSED insn_referenced = abuf->written;
57527 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57529 return cycles;
57530 #undef FLD
57533 static int
57534 model_tomcat_mcpxiu (SIM_CPU *current_cpu, void *sem_arg)
57536 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57538 const IDESC * UNUSED idesc = abuf->idesc;
57539 int cycles = 0;
57541 int referenced = 0;
57542 int UNUSED insn_referenced = abuf->written;
57543 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57545 return cycles;
57546 #undef FLD
57549 static int
57550 model_tomcat_cmcpxrs (SIM_CPU *current_cpu, void *sem_arg)
57552 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57553 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57554 const IDESC * UNUSED idesc = abuf->idesc;
57555 int cycles = 0;
57557 int referenced = 0;
57558 int UNUSED insn_referenced = abuf->written;
57559 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57561 return cycles;
57562 #undef FLD
57565 static int
57566 model_tomcat_cmcpxru (SIM_CPU *current_cpu, void *sem_arg)
57568 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57569 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57570 const IDESC * UNUSED idesc = abuf->idesc;
57571 int cycles = 0;
57573 int referenced = 0;
57574 int UNUSED insn_referenced = abuf->written;
57575 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57577 return cycles;
57578 #undef FLD
57581 static int
57582 model_tomcat_cmcpxis (SIM_CPU *current_cpu, void *sem_arg)
57584 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57585 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57586 const IDESC * UNUSED idesc = abuf->idesc;
57587 int cycles = 0;
57589 int referenced = 0;
57590 int UNUSED insn_referenced = abuf->written;
57591 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57593 return cycles;
57594 #undef FLD
57597 static int
57598 model_tomcat_cmcpxiu (SIM_CPU *current_cpu, void *sem_arg)
57600 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57602 const IDESC * UNUSED idesc = abuf->idesc;
57603 int cycles = 0;
57605 int referenced = 0;
57606 int UNUSED insn_referenced = abuf->written;
57607 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57609 return cycles;
57610 #undef FLD
57613 static int
57614 model_tomcat_mqcpxrs (SIM_CPU *current_cpu, void *sem_arg)
57616 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57617 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57618 const IDESC * UNUSED idesc = abuf->idesc;
57619 int cycles = 0;
57621 int referenced = 0;
57622 int UNUSED insn_referenced = abuf->written;
57623 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57625 return cycles;
57626 #undef FLD
57629 static int
57630 model_tomcat_mqcpxru (SIM_CPU *current_cpu, void *sem_arg)
57632 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57634 const IDESC * UNUSED idesc = abuf->idesc;
57635 int cycles = 0;
57637 int referenced = 0;
57638 int UNUSED insn_referenced = abuf->written;
57639 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57641 return cycles;
57642 #undef FLD
57645 static int
57646 model_tomcat_mqcpxis (SIM_CPU *current_cpu, void *sem_arg)
57648 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57649 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57650 const IDESC * UNUSED idesc = abuf->idesc;
57651 int cycles = 0;
57653 int referenced = 0;
57654 int UNUSED insn_referenced = abuf->written;
57655 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57657 return cycles;
57658 #undef FLD
57661 static int
57662 model_tomcat_mqcpxiu (SIM_CPU *current_cpu, void *sem_arg)
57664 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
57665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57666 const IDESC * UNUSED idesc = abuf->idesc;
57667 int cycles = 0;
57669 int referenced = 0;
57670 int UNUSED insn_referenced = abuf->written;
57671 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57673 return cycles;
57674 #undef FLD
57677 static int
57678 model_tomcat_mexpdhw (SIM_CPU *current_cpu, void *sem_arg)
57680 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
57681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57682 const IDESC * UNUSED idesc = abuf->idesc;
57683 int cycles = 0;
57685 int referenced = 0;
57686 int UNUSED insn_referenced = abuf->written;
57687 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57689 return cycles;
57690 #undef FLD
57693 static int
57694 model_tomcat_cmexpdhw (SIM_CPU *current_cpu, void *sem_arg)
57696 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
57697 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57698 const IDESC * UNUSED idesc = abuf->idesc;
57699 int cycles = 0;
57701 int referenced = 0;
57702 int UNUSED insn_referenced = abuf->written;
57703 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57705 return cycles;
57706 #undef FLD
57709 static int
57710 model_tomcat_mexpdhd (SIM_CPU *current_cpu, void *sem_arg)
57712 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
57713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57714 const IDESC * UNUSED idesc = abuf->idesc;
57715 int cycles = 0;
57717 int referenced = 0;
57718 int UNUSED insn_referenced = abuf->written;
57719 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57721 return cycles;
57722 #undef FLD
57725 static int
57726 model_tomcat_cmexpdhd (SIM_CPU *current_cpu, void *sem_arg)
57728 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
57729 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57730 const IDESC * UNUSED idesc = abuf->idesc;
57731 int cycles = 0;
57733 int referenced = 0;
57734 int UNUSED insn_referenced = abuf->written;
57735 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57737 return cycles;
57738 #undef FLD
57741 static int
57742 model_tomcat_mpackh (SIM_CPU *current_cpu, void *sem_arg)
57744 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
57745 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57746 const IDESC * UNUSED idesc = abuf->idesc;
57747 int cycles = 0;
57749 int referenced = 0;
57750 int UNUSED insn_referenced = abuf->written;
57751 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57753 return cycles;
57754 #undef FLD
57757 static int
57758 model_tomcat_mdpackh (SIM_CPU *current_cpu, void *sem_arg)
57760 #define FLD(f) abuf->fields.sfmt_mdpackh.f
57761 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57762 const IDESC * UNUSED idesc = abuf->idesc;
57763 int cycles = 0;
57765 int referenced = 0;
57766 int UNUSED insn_referenced = abuf->written;
57767 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57769 return cycles;
57770 #undef FLD
57773 static int
57774 model_tomcat_munpackh (SIM_CPU *current_cpu, void *sem_arg)
57776 #define FLD(f) abuf->fields.sfmt_munpackh.f
57777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57778 const IDESC * UNUSED idesc = abuf->idesc;
57779 int cycles = 0;
57781 int referenced = 0;
57782 int UNUSED insn_referenced = abuf->written;
57783 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57785 return cycles;
57786 #undef FLD
57789 static int
57790 model_tomcat_mdunpackh (SIM_CPU *current_cpu, void *sem_arg)
57792 #define FLD(f) abuf->fields.sfmt_mdunpackh.f
57793 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57794 const IDESC * UNUSED idesc = abuf->idesc;
57795 int cycles = 0;
57797 int referenced = 0;
57798 int UNUSED insn_referenced = abuf->written;
57799 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57801 return cycles;
57802 #undef FLD
57805 static int
57806 model_tomcat_mbtoh (SIM_CPU *current_cpu, void *sem_arg)
57808 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
57809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57810 const IDESC * UNUSED idesc = abuf->idesc;
57811 int cycles = 0;
57813 int referenced = 0;
57814 int UNUSED insn_referenced = abuf->written;
57815 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57817 return cycles;
57818 #undef FLD
57821 static int
57822 model_tomcat_cmbtoh (SIM_CPU *current_cpu, void *sem_arg)
57824 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
57825 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57826 const IDESC * UNUSED idesc = abuf->idesc;
57827 int cycles = 0;
57829 int referenced = 0;
57830 int UNUSED insn_referenced = abuf->written;
57831 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57833 return cycles;
57834 #undef FLD
57837 static int
57838 model_tomcat_mhtob (SIM_CPU *current_cpu, void *sem_arg)
57840 #define FLD(f) abuf->fields.sfmt_cmhtob.f
57841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57842 const IDESC * UNUSED idesc = abuf->idesc;
57843 int cycles = 0;
57845 int referenced = 0;
57846 int UNUSED insn_referenced = abuf->written;
57847 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57849 return cycles;
57850 #undef FLD
57853 static int
57854 model_tomcat_cmhtob (SIM_CPU *current_cpu, void *sem_arg)
57856 #define FLD(f) abuf->fields.sfmt_cmhtob.f
57857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57858 const IDESC * UNUSED idesc = abuf->idesc;
57859 int cycles = 0;
57861 int referenced = 0;
57862 int UNUSED insn_referenced = abuf->written;
57863 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57865 return cycles;
57866 #undef FLD
57869 static int
57870 model_tomcat_mbtohe (SIM_CPU *current_cpu, void *sem_arg)
57872 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
57873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57874 const IDESC * UNUSED idesc = abuf->idesc;
57875 int cycles = 0;
57877 int referenced = 0;
57878 int UNUSED insn_referenced = abuf->written;
57879 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57881 return cycles;
57882 #undef FLD
57885 static int
57886 model_tomcat_cmbtohe (SIM_CPU *current_cpu, void *sem_arg)
57888 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
57889 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57890 const IDESC * UNUSED idesc = abuf->idesc;
57891 int cycles = 0;
57893 int referenced = 0;
57894 int UNUSED insn_referenced = abuf->written;
57895 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57897 return cycles;
57898 #undef FLD
57901 static int
57902 model_tomcat_mnop (SIM_CPU *current_cpu, void *sem_arg)
57904 #define FLD(f) abuf->fields.sfmt_empty.f
57905 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57906 const IDESC * UNUSED idesc = abuf->idesc;
57907 int cycles = 0;
57909 int referenced = 0;
57910 int UNUSED insn_referenced = abuf->written;
57911 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57913 return cycles;
57914 #undef FLD
57917 static int
57918 model_tomcat_mclracc_0 (SIM_CPU *current_cpu, void *sem_arg)
57920 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
57921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57922 const IDESC * UNUSED idesc = abuf->idesc;
57923 int cycles = 0;
57925 int referenced = 0;
57926 int UNUSED insn_referenced = abuf->written;
57927 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57929 return cycles;
57930 #undef FLD
57933 static int
57934 model_tomcat_mclracc_1 (SIM_CPU *current_cpu, void *sem_arg)
57936 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
57937 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57938 const IDESC * UNUSED idesc = abuf->idesc;
57939 int cycles = 0;
57941 int referenced = 0;
57942 int UNUSED insn_referenced = abuf->written;
57943 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57945 return cycles;
57946 #undef FLD
57949 static int
57950 model_tomcat_mrdacc (SIM_CPU *current_cpu, void *sem_arg)
57952 #define FLD(f) abuf->fields.sfmt_mcuti.f
57953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57954 const IDESC * UNUSED idesc = abuf->idesc;
57955 int cycles = 0;
57957 int referenced = 0;
57958 int UNUSED insn_referenced = abuf->written;
57959 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57961 return cycles;
57962 #undef FLD
57965 static int
57966 model_tomcat_mrdaccg (SIM_CPU *current_cpu, void *sem_arg)
57968 #define FLD(f) abuf->fields.sfmt_mrdaccg.f
57969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57970 const IDESC * UNUSED idesc = abuf->idesc;
57971 int cycles = 0;
57973 int referenced = 0;
57974 int UNUSED insn_referenced = abuf->written;
57975 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57977 return cycles;
57978 #undef FLD
57981 static int
57982 model_tomcat_mwtacc (SIM_CPU *current_cpu, void *sem_arg)
57984 #define FLD(f) abuf->fields.sfmt_cmmachs.f
57985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
57986 const IDESC * UNUSED idesc = abuf->idesc;
57987 int cycles = 0;
57989 int referenced = 0;
57990 int UNUSED insn_referenced = abuf->written;
57991 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
57993 return cycles;
57994 #undef FLD
57997 static int
57998 model_tomcat_mwtaccg (SIM_CPU *current_cpu, void *sem_arg)
58000 #define FLD(f) abuf->fields.sfmt_mwtaccg.f
58001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58002 const IDESC * UNUSED idesc = abuf->idesc;
58003 int cycles = 0;
58005 int referenced = 0;
58006 int UNUSED insn_referenced = abuf->written;
58007 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
58009 return cycles;
58010 #undef FLD
58013 static int
58014 model_tomcat_mcop1 (SIM_CPU *current_cpu, void *sem_arg)
58016 #define FLD(f) abuf->fields.sfmt_empty.f
58017 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58018 const IDESC * UNUSED idesc = abuf->idesc;
58019 int cycles = 0;
58021 int referenced = 0;
58022 int UNUSED insn_referenced = abuf->written;
58023 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
58025 return cycles;
58026 #undef FLD
58029 static int
58030 model_tomcat_mcop2 (SIM_CPU *current_cpu, void *sem_arg)
58032 #define FLD(f) abuf->fields.sfmt_empty.f
58033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58034 const IDESC * UNUSED idesc = abuf->idesc;
58035 int cycles = 0;
58037 int referenced = 0;
58038 int UNUSED insn_referenced = abuf->written;
58039 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
58041 return cycles;
58042 #undef FLD
58045 static int
58046 model_tomcat_fnop (SIM_CPU *current_cpu, void *sem_arg)
58048 #define FLD(f) abuf->fields.sfmt_empty.f
58049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58050 const IDESC * UNUSED idesc = abuf->idesc;
58051 int cycles = 0;
58053 int referenced = 0;
58054 int UNUSED insn_referenced = abuf->written;
58055 cycles += frvbf_model_tomcat_u_exec (current_cpu, idesc, 0, referenced);
58057 return cycles;
58058 #undef FLD
58061 static int
58062 model_fr400_add (SIM_CPU *current_cpu, void *sem_arg)
58064 #define FLD(f) abuf->fields.sfmt_addcc.f
58065 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58066 const IDESC * UNUSED idesc = abuf->idesc;
58067 int cycles = 0;
58069 int referenced = 0;
58070 int UNUSED insn_referenced = abuf->written;
58071 INT in_GRi = -1;
58072 INT in_GRj = -1;
58073 INT out_GRk = -1;
58074 INT out_ICCi_1 = -1;
58075 in_GRi = FLD (in_GRi);
58076 in_GRj = FLD (in_GRj);
58077 out_GRk = FLD (out_GRk);
58078 referenced |= 1 << 0;
58079 referenced |= 1 << 1;
58080 referenced |= 1 << 2;
58081 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58083 return cycles;
58084 #undef FLD
58087 static int
58088 model_fr400_sub (SIM_CPU *current_cpu, void *sem_arg)
58090 #define FLD(f) abuf->fields.sfmt_addcc.f
58091 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58092 const IDESC * UNUSED idesc = abuf->idesc;
58093 int cycles = 0;
58095 int referenced = 0;
58096 int UNUSED insn_referenced = abuf->written;
58097 INT in_GRi = -1;
58098 INT in_GRj = -1;
58099 INT out_GRk = -1;
58100 INT out_ICCi_1 = -1;
58101 in_GRi = FLD (in_GRi);
58102 in_GRj = FLD (in_GRj);
58103 out_GRk = FLD (out_GRk);
58104 referenced |= 1 << 0;
58105 referenced |= 1 << 1;
58106 referenced |= 1 << 2;
58107 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58109 return cycles;
58110 #undef FLD
58113 static int
58114 model_fr400_and (SIM_CPU *current_cpu, void *sem_arg)
58116 #define FLD(f) abuf->fields.sfmt_addcc.f
58117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58118 const IDESC * UNUSED idesc = abuf->idesc;
58119 int cycles = 0;
58121 int referenced = 0;
58122 int UNUSED insn_referenced = abuf->written;
58123 INT in_GRi = -1;
58124 INT in_GRj = -1;
58125 INT out_GRk = -1;
58126 INT out_ICCi_1 = -1;
58127 in_GRi = FLD (in_GRi);
58128 in_GRj = FLD (in_GRj);
58129 out_GRk = FLD (out_GRk);
58130 referenced |= 1 << 0;
58131 referenced |= 1 << 1;
58132 referenced |= 1 << 2;
58133 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58135 return cycles;
58136 #undef FLD
58139 static int
58140 model_fr400_or (SIM_CPU *current_cpu, void *sem_arg)
58142 #define FLD(f) abuf->fields.sfmt_addcc.f
58143 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58144 const IDESC * UNUSED idesc = abuf->idesc;
58145 int cycles = 0;
58147 int referenced = 0;
58148 int UNUSED insn_referenced = abuf->written;
58149 INT in_GRi = -1;
58150 INT in_GRj = -1;
58151 INT out_GRk = -1;
58152 INT out_ICCi_1 = -1;
58153 in_GRi = FLD (in_GRi);
58154 in_GRj = FLD (in_GRj);
58155 out_GRk = FLD (out_GRk);
58156 referenced |= 1 << 0;
58157 referenced |= 1 << 1;
58158 referenced |= 1 << 2;
58159 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58161 return cycles;
58162 #undef FLD
58165 static int
58166 model_fr400_xor (SIM_CPU *current_cpu, void *sem_arg)
58168 #define FLD(f) abuf->fields.sfmt_addcc.f
58169 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58170 const IDESC * UNUSED idesc = abuf->idesc;
58171 int cycles = 0;
58173 int referenced = 0;
58174 int UNUSED insn_referenced = abuf->written;
58175 INT in_GRi = -1;
58176 INT in_GRj = -1;
58177 INT out_GRk = -1;
58178 INT out_ICCi_1 = -1;
58179 in_GRi = FLD (in_GRi);
58180 in_GRj = FLD (in_GRj);
58181 out_GRk = FLD (out_GRk);
58182 referenced |= 1 << 0;
58183 referenced |= 1 << 1;
58184 referenced |= 1 << 2;
58185 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58187 return cycles;
58188 #undef FLD
58191 static int
58192 model_fr400_not (SIM_CPU *current_cpu, void *sem_arg)
58194 #define FLD(f) abuf->fields.sfmt_scutss.f
58195 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58196 const IDESC * UNUSED idesc = abuf->idesc;
58197 int cycles = 0;
58199 int referenced = 0;
58200 int UNUSED insn_referenced = abuf->written;
58201 INT in_GRi = -1;
58202 INT in_GRj = -1;
58203 INT out_GRk = -1;
58204 INT out_ICCi_1 = -1;
58205 in_GRj = FLD (in_GRj);
58206 out_GRk = FLD (out_GRk);
58207 referenced |= 1 << 1;
58208 referenced |= 1 << 2;
58209 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58211 return cycles;
58212 #undef FLD
58215 static int
58216 model_fr400_sdiv (SIM_CPU *current_cpu, void *sem_arg)
58218 #define FLD(f) abuf->fields.sfmt_addcc.f
58219 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58220 const IDESC * UNUSED idesc = abuf->idesc;
58221 int cycles = 0;
58223 int referenced = 0;
58224 int UNUSED insn_referenced = abuf->written;
58225 INT in_GRi = -1;
58226 INT in_GRj = -1;
58227 INT out_GRk = -1;
58228 INT out_ICCi_1 = -1;
58229 in_GRi = FLD (in_GRi);
58230 in_GRj = FLD (in_GRj);
58231 out_GRk = FLD (out_GRk);
58232 referenced |= 1 << 0;
58233 referenced |= 1 << 1;
58234 referenced |= 1 << 2;
58235 cycles += frvbf_model_fr400_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58237 return cycles;
58238 #undef FLD
58241 static int
58242 model_fr400_nsdiv (SIM_CPU *current_cpu, void *sem_arg)
58244 #define FLD(f) abuf->fields.sfmt_addcc.f
58245 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58246 const IDESC * UNUSED idesc = abuf->idesc;
58247 int cycles = 0;
58249 int referenced = 0;
58250 int UNUSED insn_referenced = abuf->written;
58251 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
58253 return cycles;
58254 #undef FLD
58257 static int
58258 model_fr400_udiv (SIM_CPU *current_cpu, void *sem_arg)
58260 #define FLD(f) abuf->fields.sfmt_addcc.f
58261 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58262 const IDESC * UNUSED idesc = abuf->idesc;
58263 int cycles = 0;
58265 int referenced = 0;
58266 int UNUSED insn_referenced = abuf->written;
58267 INT in_GRi = -1;
58268 INT in_GRj = -1;
58269 INT out_GRk = -1;
58270 INT out_ICCi_1 = -1;
58271 in_GRi = FLD (in_GRi);
58272 in_GRj = FLD (in_GRj);
58273 out_GRk = FLD (out_GRk);
58274 referenced |= 1 << 0;
58275 referenced |= 1 << 1;
58276 referenced |= 1 << 2;
58277 cycles += frvbf_model_fr400_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58279 return cycles;
58280 #undef FLD
58283 static int
58284 model_fr400_nudiv (SIM_CPU *current_cpu, void *sem_arg)
58286 #define FLD(f) abuf->fields.sfmt_addcc.f
58287 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58288 const IDESC * UNUSED idesc = abuf->idesc;
58289 int cycles = 0;
58291 int referenced = 0;
58292 int UNUSED insn_referenced = abuf->written;
58293 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
58295 return cycles;
58296 #undef FLD
58299 static int
58300 model_fr400_smul (SIM_CPU *current_cpu, void *sem_arg)
58302 #define FLD(f) abuf->fields.sfmt_smulcc.f
58303 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58304 const IDESC * UNUSED idesc = abuf->idesc;
58305 int cycles = 0;
58307 int referenced = 0;
58308 int UNUSED insn_referenced = abuf->written;
58309 INT in_GRi = -1;
58310 INT in_GRj = -1;
58311 INT out_GRdoublek = -1;
58312 INT out_ICCi_1 = -1;
58313 in_GRi = FLD (in_GRi);
58314 in_GRj = FLD (in_GRj);
58315 out_GRdoublek = FLD (out_GRdoublek);
58316 referenced |= 1 << 0;
58317 referenced |= 1 << 1;
58318 referenced |= 1 << 2;
58319 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
58321 return cycles;
58322 #undef FLD
58325 static int
58326 model_fr400_umul (SIM_CPU *current_cpu, void *sem_arg)
58328 #define FLD(f) abuf->fields.sfmt_smulcc.f
58329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58330 const IDESC * UNUSED idesc = abuf->idesc;
58331 int cycles = 0;
58333 int referenced = 0;
58334 int UNUSED insn_referenced = abuf->written;
58335 INT in_GRi = -1;
58336 INT in_GRj = -1;
58337 INT out_GRdoublek = -1;
58338 INT out_ICCi_1 = -1;
58339 in_GRi = FLD (in_GRi);
58340 in_GRj = FLD (in_GRj);
58341 out_GRdoublek = FLD (out_GRdoublek);
58342 referenced |= 1 << 0;
58343 referenced |= 1 << 1;
58344 referenced |= 1 << 2;
58345 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
58347 return cycles;
58348 #undef FLD
58351 static int
58352 model_fr400_smu (SIM_CPU *current_cpu, void *sem_arg)
58354 #define FLD(f) abuf->fields.sfmt_smass.f
58355 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58356 const IDESC * UNUSED idesc = abuf->idesc;
58357 int cycles = 0;
58359 int referenced = 0;
58360 int UNUSED insn_referenced = abuf->written;
58361 INT in_GRi = -1;
58362 INT in_GRj = -1;
58363 INT out_GRk = -1;
58364 INT out_ICCi_1 = -1;
58365 in_GRi = FLD (in_GRi);
58366 in_GRj = FLD (in_GRj);
58367 referenced |= 1 << 0;
58368 referenced |= 1 << 1;
58369 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58371 return cycles;
58372 #undef FLD
58375 static int
58376 model_fr400_smass (SIM_CPU *current_cpu, void *sem_arg)
58378 #define FLD(f) abuf->fields.sfmt_smass.f
58379 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58380 const IDESC * UNUSED idesc = abuf->idesc;
58381 int cycles = 0;
58383 int referenced = 0;
58384 int UNUSED insn_referenced = abuf->written;
58385 INT in_GRi = -1;
58386 INT in_GRj = -1;
58387 INT out_GRk = -1;
58388 INT out_ICCi_1 = -1;
58389 in_GRi = FLD (in_GRi);
58390 in_GRj = FLD (in_GRj);
58391 referenced |= 1 << 0;
58392 referenced |= 1 << 1;
58393 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58395 return cycles;
58396 #undef FLD
58399 static int
58400 model_fr400_smsss (SIM_CPU *current_cpu, void *sem_arg)
58402 #define FLD(f) abuf->fields.sfmt_smass.f
58403 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58404 const IDESC * UNUSED idesc = abuf->idesc;
58405 int cycles = 0;
58407 int referenced = 0;
58408 int UNUSED insn_referenced = abuf->written;
58409 INT in_GRi = -1;
58410 INT in_GRj = -1;
58411 INT out_GRk = -1;
58412 INT out_ICCi_1 = -1;
58413 in_GRi = FLD (in_GRi);
58414 in_GRj = FLD (in_GRj);
58415 referenced |= 1 << 0;
58416 referenced |= 1 << 1;
58417 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58419 return cycles;
58420 #undef FLD
58423 static int
58424 model_fr400_sll (SIM_CPU *current_cpu, void *sem_arg)
58426 #define FLD(f) abuf->fields.sfmt_addcc.f
58427 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58428 const IDESC * UNUSED idesc = abuf->idesc;
58429 int cycles = 0;
58431 int referenced = 0;
58432 int UNUSED insn_referenced = abuf->written;
58433 INT in_GRi = -1;
58434 INT in_GRj = -1;
58435 INT out_GRk = -1;
58436 INT out_ICCi_1 = -1;
58437 in_GRi = FLD (in_GRi);
58438 in_GRj = FLD (in_GRj);
58439 out_GRk = FLD (out_GRk);
58440 referenced |= 1 << 0;
58441 referenced |= 1 << 1;
58442 referenced |= 1 << 2;
58443 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58445 return cycles;
58446 #undef FLD
58449 static int
58450 model_fr400_srl (SIM_CPU *current_cpu, void *sem_arg)
58452 #define FLD(f) abuf->fields.sfmt_addcc.f
58453 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58454 const IDESC * UNUSED idesc = abuf->idesc;
58455 int cycles = 0;
58457 int referenced = 0;
58458 int UNUSED insn_referenced = abuf->written;
58459 INT in_GRi = -1;
58460 INT in_GRj = -1;
58461 INT out_GRk = -1;
58462 INT out_ICCi_1 = -1;
58463 in_GRi = FLD (in_GRi);
58464 in_GRj = FLD (in_GRj);
58465 out_GRk = FLD (out_GRk);
58466 referenced |= 1 << 0;
58467 referenced |= 1 << 1;
58468 referenced |= 1 << 2;
58469 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58471 return cycles;
58472 #undef FLD
58475 static int
58476 model_fr400_sra (SIM_CPU *current_cpu, void *sem_arg)
58478 #define FLD(f) abuf->fields.sfmt_addcc.f
58479 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58480 const IDESC * UNUSED idesc = abuf->idesc;
58481 int cycles = 0;
58483 int referenced = 0;
58484 int UNUSED insn_referenced = abuf->written;
58485 INT in_GRi = -1;
58486 INT in_GRj = -1;
58487 INT out_GRk = -1;
58488 INT out_ICCi_1 = -1;
58489 in_GRi = FLD (in_GRi);
58490 in_GRj = FLD (in_GRj);
58491 out_GRk = FLD (out_GRk);
58492 referenced |= 1 << 0;
58493 referenced |= 1 << 1;
58494 referenced |= 1 << 2;
58495 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58497 return cycles;
58498 #undef FLD
58501 static int
58502 model_fr400_slass (SIM_CPU *current_cpu, void *sem_arg)
58504 #define FLD(f) abuf->fields.sfmt_addcc.f
58505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58506 const IDESC * UNUSED idesc = abuf->idesc;
58507 int cycles = 0;
58509 int referenced = 0;
58510 int UNUSED insn_referenced = abuf->written;
58511 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
58513 return cycles;
58514 #undef FLD
58517 static int
58518 model_fr400_scutss (SIM_CPU *current_cpu, void *sem_arg)
58520 #define FLD(f) abuf->fields.sfmt_scutss.f
58521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58522 const IDESC * UNUSED idesc = abuf->idesc;
58523 int cycles = 0;
58525 int referenced = 0;
58526 int UNUSED insn_referenced = abuf->written;
58527 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
58529 return cycles;
58530 #undef FLD
58533 static int
58534 model_fr400_scan (SIM_CPU *current_cpu, void *sem_arg)
58536 #define FLD(f) abuf->fields.sfmt_addcc.f
58537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58538 const IDESC * UNUSED idesc = abuf->idesc;
58539 int cycles = 0;
58541 int referenced = 0;
58542 int UNUSED insn_referenced = abuf->written;
58543 INT in_GRi = -1;
58544 INT in_GRj = -1;
58545 INT out_GRk = -1;
58546 INT out_ICCi_1 = -1;
58547 in_GRi = FLD (in_GRi);
58548 in_GRj = FLD (in_GRj);
58549 out_GRk = FLD (out_GRk);
58550 referenced |= 1 << 0;
58551 referenced |= 1 << 1;
58552 referenced |= 1 << 2;
58553 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58555 return cycles;
58556 #undef FLD
58559 static int
58560 model_fr400_cadd (SIM_CPU *current_cpu, void *sem_arg)
58562 #define FLD(f) abuf->fields.sfmt_cswap.f
58563 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58564 const IDESC * UNUSED idesc = abuf->idesc;
58565 int cycles = 0;
58567 int referenced = 0;
58568 int UNUSED insn_referenced = abuf->written;
58569 INT in_GRi = -1;
58570 INT in_GRj = -1;
58571 INT out_GRk = -1;
58572 INT out_ICCi_1 = -1;
58573 in_GRi = FLD (in_GRi);
58574 in_GRj = FLD (in_GRj);
58575 out_GRk = FLD (out_GRk);
58576 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58577 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58578 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58579 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58581 return cycles;
58582 #undef FLD
58585 static int
58586 model_fr400_csub (SIM_CPU *current_cpu, void *sem_arg)
58588 #define FLD(f) abuf->fields.sfmt_cswap.f
58589 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58590 const IDESC * UNUSED idesc = abuf->idesc;
58591 int cycles = 0;
58593 int referenced = 0;
58594 int UNUSED insn_referenced = abuf->written;
58595 INT in_GRi = -1;
58596 INT in_GRj = -1;
58597 INT out_GRk = -1;
58598 INT out_ICCi_1 = -1;
58599 in_GRi = FLD (in_GRi);
58600 in_GRj = FLD (in_GRj);
58601 out_GRk = FLD (out_GRk);
58602 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58603 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58604 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58605 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58607 return cycles;
58608 #undef FLD
58611 static int
58612 model_fr400_cand (SIM_CPU *current_cpu, void *sem_arg)
58614 #define FLD(f) abuf->fields.sfmt_cswap.f
58615 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58616 const IDESC * UNUSED idesc = abuf->idesc;
58617 int cycles = 0;
58619 int referenced = 0;
58620 int UNUSED insn_referenced = abuf->written;
58621 INT in_GRi = -1;
58622 INT in_GRj = -1;
58623 INT out_GRk = -1;
58624 INT out_ICCi_1 = -1;
58625 in_GRi = FLD (in_GRi);
58626 in_GRj = FLD (in_GRj);
58627 out_GRk = FLD (out_GRk);
58628 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58629 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58630 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58631 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58633 return cycles;
58634 #undef FLD
58637 static int
58638 model_fr400_cor (SIM_CPU *current_cpu, void *sem_arg)
58640 #define FLD(f) abuf->fields.sfmt_cswap.f
58641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58642 const IDESC * UNUSED idesc = abuf->idesc;
58643 int cycles = 0;
58645 int referenced = 0;
58646 int UNUSED insn_referenced = abuf->written;
58647 INT in_GRi = -1;
58648 INT in_GRj = -1;
58649 INT out_GRk = -1;
58650 INT out_ICCi_1 = -1;
58651 in_GRi = FLD (in_GRi);
58652 in_GRj = FLD (in_GRj);
58653 out_GRk = FLD (out_GRk);
58654 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58655 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58656 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58657 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58659 return cycles;
58660 #undef FLD
58663 static int
58664 model_fr400_cxor (SIM_CPU *current_cpu, void *sem_arg)
58666 #define FLD(f) abuf->fields.sfmt_cswap.f
58667 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58668 const IDESC * UNUSED idesc = abuf->idesc;
58669 int cycles = 0;
58671 int referenced = 0;
58672 int UNUSED insn_referenced = abuf->written;
58673 INT in_GRi = -1;
58674 INT in_GRj = -1;
58675 INT out_GRk = -1;
58676 INT out_ICCi_1 = -1;
58677 in_GRi = FLD (in_GRi);
58678 in_GRj = FLD (in_GRj);
58679 out_GRk = FLD (out_GRk);
58680 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58681 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58682 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58683 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58685 return cycles;
58686 #undef FLD
58689 static int
58690 model_fr400_cnot (SIM_CPU *current_cpu, void *sem_arg)
58692 #define FLD(f) abuf->fields.sfmt_cswap.f
58693 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58694 const IDESC * UNUSED idesc = abuf->idesc;
58695 int cycles = 0;
58697 int referenced = 0;
58698 int UNUSED insn_referenced = abuf->written;
58699 INT in_GRi = -1;
58700 INT in_GRj = -1;
58701 INT out_GRk = -1;
58702 INT out_ICCi_1 = -1;
58703 in_GRj = FLD (in_GRj);
58704 out_GRk = FLD (out_GRk);
58705 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
58706 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
58707 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58709 return cycles;
58710 #undef FLD
58713 static int
58714 model_fr400_csmul (SIM_CPU *current_cpu, void *sem_arg)
58716 #define FLD(f) abuf->fields.sfmt_clddu.f
58717 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58718 const IDESC * UNUSED idesc = abuf->idesc;
58719 int cycles = 0;
58721 int referenced = 0;
58722 int UNUSED insn_referenced = abuf->written;
58723 INT in_GRi = -1;
58724 INT in_GRj = -1;
58725 INT out_GRdoublek = -1;
58726 INT out_ICCi_1 = -1;
58727 in_GRi = FLD (in_GRi);
58728 in_GRj = FLD (in_GRj);
58729 out_GRdoublek = FLD (out_GRdoublek);
58730 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58731 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58732 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58733 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
58735 return cycles;
58736 #undef FLD
58739 static int
58740 model_fr400_csdiv (SIM_CPU *current_cpu, void *sem_arg)
58742 #define FLD(f) abuf->fields.sfmt_cswap.f
58743 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58744 const IDESC * UNUSED idesc = abuf->idesc;
58745 int cycles = 0;
58747 int referenced = 0;
58748 int UNUSED insn_referenced = abuf->written;
58749 INT in_GRi = -1;
58750 INT in_GRj = -1;
58751 INT out_GRk = -1;
58752 INT out_ICCi_1 = -1;
58753 in_GRi = FLD (in_GRi);
58754 in_GRj = FLD (in_GRj);
58755 out_GRk = FLD (out_GRk);
58756 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58757 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58758 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
58759 cycles += frvbf_model_fr400_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58761 return cycles;
58762 #undef FLD
58765 static int
58766 model_fr400_cudiv (SIM_CPU *current_cpu, void *sem_arg)
58768 #define FLD(f) abuf->fields.sfmt_cswap.f
58769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58770 const IDESC * UNUSED idesc = abuf->idesc;
58771 int cycles = 0;
58773 int referenced = 0;
58774 int UNUSED insn_referenced = abuf->written;
58775 INT in_GRi = -1;
58776 INT in_GRj = -1;
58777 INT out_GRk = -1;
58778 INT out_ICCi_1 = -1;
58779 in_GRi = FLD (in_GRi);
58780 in_GRj = FLD (in_GRj);
58781 out_GRk = FLD (out_GRk);
58782 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58783 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58784 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
58785 cycles += frvbf_model_fr400_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58787 return cycles;
58788 #undef FLD
58791 static int
58792 model_fr400_csll (SIM_CPU *current_cpu, void *sem_arg)
58794 #define FLD(f) abuf->fields.sfmt_cswap.f
58795 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58796 const IDESC * UNUSED idesc = abuf->idesc;
58797 int cycles = 0;
58799 int referenced = 0;
58800 int UNUSED insn_referenced = abuf->written;
58801 INT in_GRi = -1;
58802 INT in_GRj = -1;
58803 INT out_GRk = -1;
58804 INT out_ICCi_1 = -1;
58805 in_GRi = FLD (in_GRi);
58806 in_GRj = FLD (in_GRj);
58807 out_GRk = FLD (out_GRk);
58808 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58809 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58810 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58811 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58813 return cycles;
58814 #undef FLD
58817 static int
58818 model_fr400_csrl (SIM_CPU *current_cpu, void *sem_arg)
58820 #define FLD(f) abuf->fields.sfmt_cswap.f
58821 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58822 const IDESC * UNUSED idesc = abuf->idesc;
58823 int cycles = 0;
58825 int referenced = 0;
58826 int UNUSED insn_referenced = abuf->written;
58827 INT in_GRi = -1;
58828 INT in_GRj = -1;
58829 INT out_GRk = -1;
58830 INT out_ICCi_1 = -1;
58831 in_GRi = FLD (in_GRi);
58832 in_GRj = FLD (in_GRj);
58833 out_GRk = FLD (out_GRk);
58834 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58835 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58836 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58837 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58839 return cycles;
58840 #undef FLD
58843 static int
58844 model_fr400_csra (SIM_CPU *current_cpu, void *sem_arg)
58846 #define FLD(f) abuf->fields.sfmt_cswap.f
58847 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58848 const IDESC * UNUSED idesc = abuf->idesc;
58849 int cycles = 0;
58851 int referenced = 0;
58852 int UNUSED insn_referenced = abuf->written;
58853 INT in_GRi = -1;
58854 INT in_GRj = -1;
58855 INT out_GRk = -1;
58856 INT out_ICCi_1 = -1;
58857 in_GRi = FLD (in_GRi);
58858 in_GRj = FLD (in_GRj);
58859 out_GRk = FLD (out_GRk);
58860 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58861 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58862 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58863 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58865 return cycles;
58866 #undef FLD
58869 static int
58870 model_fr400_cscan (SIM_CPU *current_cpu, void *sem_arg)
58872 #define FLD(f) abuf->fields.sfmt_cswap.f
58873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58874 const IDESC * UNUSED idesc = abuf->idesc;
58875 int cycles = 0;
58877 int referenced = 0;
58878 int UNUSED insn_referenced = abuf->written;
58879 INT in_GRi = -1;
58880 INT in_GRj = -1;
58881 INT out_GRk = -1;
58882 INT out_ICCi_1 = -1;
58883 in_GRi = FLD (in_GRi);
58884 in_GRj = FLD (in_GRj);
58885 out_GRk = FLD (out_GRk);
58886 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
58887 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
58888 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
58889 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58891 return cycles;
58892 #undef FLD
58895 static int
58896 model_fr400_addcc (SIM_CPU *current_cpu, void *sem_arg)
58898 #define FLD(f) abuf->fields.sfmt_addcc.f
58899 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58900 const IDESC * UNUSED idesc = abuf->idesc;
58901 int cycles = 0;
58903 int referenced = 0;
58904 int UNUSED insn_referenced = abuf->written;
58905 INT in_GRi = -1;
58906 INT in_GRj = -1;
58907 INT out_GRk = -1;
58908 INT out_ICCi_1 = -1;
58909 in_GRi = FLD (in_GRi);
58910 in_GRj = FLD (in_GRj);
58911 out_GRk = FLD (out_GRk);
58912 out_ICCi_1 = FLD (out_ICCi_1);
58913 referenced |= 1 << 0;
58914 referenced |= 1 << 1;
58915 referenced |= 1 << 2;
58916 referenced |= 1 << 3;
58917 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58919 return cycles;
58920 #undef FLD
58923 static int
58924 model_fr400_subcc (SIM_CPU *current_cpu, void *sem_arg)
58926 #define FLD(f) abuf->fields.sfmt_addcc.f
58927 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58928 const IDESC * UNUSED idesc = abuf->idesc;
58929 int cycles = 0;
58931 int referenced = 0;
58932 int UNUSED insn_referenced = abuf->written;
58933 INT in_GRi = -1;
58934 INT in_GRj = -1;
58935 INT out_GRk = -1;
58936 INT out_ICCi_1 = -1;
58937 in_GRi = FLD (in_GRi);
58938 in_GRj = FLD (in_GRj);
58939 out_GRk = FLD (out_GRk);
58940 out_ICCi_1 = FLD (out_ICCi_1);
58941 referenced |= 1 << 0;
58942 referenced |= 1 << 1;
58943 referenced |= 1 << 2;
58944 referenced |= 1 << 3;
58945 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58947 return cycles;
58948 #undef FLD
58951 static int
58952 model_fr400_andcc (SIM_CPU *current_cpu, void *sem_arg)
58954 #define FLD(f) abuf->fields.sfmt_addcc.f
58955 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58956 const IDESC * UNUSED idesc = abuf->idesc;
58957 int cycles = 0;
58959 int referenced = 0;
58960 int UNUSED insn_referenced = abuf->written;
58961 INT in_GRi = -1;
58962 INT in_GRj = -1;
58963 INT out_GRk = -1;
58964 INT out_ICCi_1 = -1;
58965 in_GRi = FLD (in_GRi);
58966 in_GRj = FLD (in_GRj);
58967 out_GRk = FLD (out_GRk);
58968 out_ICCi_1 = FLD (out_ICCi_1);
58969 referenced |= 1 << 0;
58970 referenced |= 1 << 1;
58971 referenced |= 1 << 2;
58972 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
58973 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
58975 return cycles;
58976 #undef FLD
58979 static int
58980 model_fr400_orcc (SIM_CPU *current_cpu, void *sem_arg)
58982 #define FLD(f) abuf->fields.sfmt_addcc.f
58983 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
58984 const IDESC * UNUSED idesc = abuf->idesc;
58985 int cycles = 0;
58987 int referenced = 0;
58988 int UNUSED insn_referenced = abuf->written;
58989 INT in_GRi = -1;
58990 INT in_GRj = -1;
58991 INT out_GRk = -1;
58992 INT out_ICCi_1 = -1;
58993 in_GRi = FLD (in_GRi);
58994 in_GRj = FLD (in_GRj);
58995 out_GRk = FLD (out_GRk);
58996 out_ICCi_1 = FLD (out_ICCi_1);
58997 referenced |= 1 << 0;
58998 referenced |= 1 << 1;
58999 referenced |= 1 << 2;
59000 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
59001 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59003 return cycles;
59004 #undef FLD
59007 static int
59008 model_fr400_xorcc (SIM_CPU *current_cpu, void *sem_arg)
59010 #define FLD(f) abuf->fields.sfmt_addcc.f
59011 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59012 const IDESC * UNUSED idesc = abuf->idesc;
59013 int cycles = 0;
59015 int referenced = 0;
59016 int UNUSED insn_referenced = abuf->written;
59017 INT in_GRi = -1;
59018 INT in_GRj = -1;
59019 INT out_GRk = -1;
59020 INT out_ICCi_1 = -1;
59021 in_GRi = FLD (in_GRi);
59022 in_GRj = FLD (in_GRj);
59023 out_GRk = FLD (out_GRk);
59024 out_ICCi_1 = FLD (out_ICCi_1);
59025 referenced |= 1 << 0;
59026 referenced |= 1 << 1;
59027 referenced |= 1 << 2;
59028 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
59029 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59031 return cycles;
59032 #undef FLD
59035 static int
59036 model_fr400_sllcc (SIM_CPU *current_cpu, void *sem_arg)
59038 #define FLD(f) abuf->fields.sfmt_addcc.f
59039 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59040 const IDESC * UNUSED idesc = abuf->idesc;
59041 int cycles = 0;
59043 int referenced = 0;
59044 int UNUSED insn_referenced = abuf->written;
59045 INT in_GRi = -1;
59046 INT in_GRj = -1;
59047 INT out_GRk = -1;
59048 INT out_ICCi_1 = -1;
59049 in_GRi = FLD (in_GRi);
59050 in_GRj = FLD (in_GRj);
59051 out_GRk = FLD (out_GRk);
59052 out_ICCi_1 = FLD (out_ICCi_1);
59053 referenced |= 1 << 0;
59054 referenced |= 1 << 1;
59055 referenced |= 1 << 2;
59056 referenced |= 1 << 3;
59057 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59059 return cycles;
59060 #undef FLD
59063 static int
59064 model_fr400_srlcc (SIM_CPU *current_cpu, void *sem_arg)
59066 #define FLD(f) abuf->fields.sfmt_addcc.f
59067 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59068 const IDESC * UNUSED idesc = abuf->idesc;
59069 int cycles = 0;
59071 int referenced = 0;
59072 int UNUSED insn_referenced = abuf->written;
59073 INT in_GRi = -1;
59074 INT in_GRj = -1;
59075 INT out_GRk = -1;
59076 INT out_ICCi_1 = -1;
59077 in_GRi = FLD (in_GRi);
59078 in_GRj = FLD (in_GRj);
59079 out_GRk = FLD (out_GRk);
59080 out_ICCi_1 = FLD (out_ICCi_1);
59081 referenced |= 1 << 0;
59082 referenced |= 1 << 1;
59083 referenced |= 1 << 2;
59084 referenced |= 1 << 3;
59085 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59087 return cycles;
59088 #undef FLD
59091 static int
59092 model_fr400_sracc (SIM_CPU *current_cpu, void *sem_arg)
59094 #define FLD(f) abuf->fields.sfmt_addcc.f
59095 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59096 const IDESC * UNUSED idesc = abuf->idesc;
59097 int cycles = 0;
59099 int referenced = 0;
59100 int UNUSED insn_referenced = abuf->written;
59101 INT in_GRi = -1;
59102 INT in_GRj = -1;
59103 INT out_GRk = -1;
59104 INT out_ICCi_1 = -1;
59105 in_GRi = FLD (in_GRi);
59106 in_GRj = FLD (in_GRj);
59107 out_GRk = FLD (out_GRk);
59108 out_ICCi_1 = FLD (out_ICCi_1);
59109 referenced |= 1 << 0;
59110 referenced |= 1 << 1;
59111 referenced |= 1 << 2;
59112 referenced |= 1 << 3;
59113 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59115 return cycles;
59116 #undef FLD
59119 static int
59120 model_fr400_smulcc (SIM_CPU *current_cpu, void *sem_arg)
59122 #define FLD(f) abuf->fields.sfmt_smulcc.f
59123 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59124 const IDESC * UNUSED idesc = abuf->idesc;
59125 int cycles = 0;
59127 int referenced = 0;
59128 int UNUSED insn_referenced = abuf->written;
59129 INT in_GRi = -1;
59130 INT in_GRj = -1;
59131 INT out_GRdoublek = -1;
59132 INT out_ICCi_1 = -1;
59133 in_GRi = FLD (in_GRi);
59134 in_GRj = FLD (in_GRj);
59135 out_GRdoublek = FLD (out_GRdoublek);
59136 out_ICCi_1 = FLD (out_ICCi_1);
59137 referenced |= 1 << 0;
59138 referenced |= 1 << 1;
59139 referenced |= 1 << 2;
59140 referenced |= 1 << 3;
59141 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
59143 return cycles;
59144 #undef FLD
59147 static int
59148 model_fr400_umulcc (SIM_CPU *current_cpu, void *sem_arg)
59150 #define FLD(f) abuf->fields.sfmt_smulcc.f
59151 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59152 const IDESC * UNUSED idesc = abuf->idesc;
59153 int cycles = 0;
59155 int referenced = 0;
59156 int UNUSED insn_referenced = abuf->written;
59157 INT in_GRi = -1;
59158 INT in_GRj = -1;
59159 INT out_GRdoublek = -1;
59160 INT out_ICCi_1 = -1;
59161 in_GRi = FLD (in_GRi);
59162 in_GRj = FLD (in_GRj);
59163 out_GRdoublek = FLD (out_GRdoublek);
59164 out_ICCi_1 = FLD (out_ICCi_1);
59165 referenced |= 1 << 0;
59166 referenced |= 1 << 1;
59167 referenced |= 1 << 2;
59168 referenced |= 1 << 3;
59169 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
59171 return cycles;
59172 #undef FLD
59175 static int
59176 model_fr400_caddcc (SIM_CPU *current_cpu, void *sem_arg)
59178 #define FLD(f) abuf->fields.sfmt_caddcc.f
59179 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59180 const IDESC * UNUSED idesc = abuf->idesc;
59181 int cycles = 0;
59183 int referenced = 0;
59184 int UNUSED insn_referenced = abuf->written;
59185 INT in_GRi = -1;
59186 INT in_GRj = -1;
59187 INT out_GRk = -1;
59188 INT out_ICCi_1 = -1;
59189 in_GRi = FLD (in_GRi);
59190 in_GRj = FLD (in_GRj);
59191 out_GRk = FLD (out_GRk);
59192 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59193 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59194 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59195 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59197 return cycles;
59198 #undef FLD
59201 static int
59202 model_fr400_csubcc (SIM_CPU *current_cpu, void *sem_arg)
59204 #define FLD(f) abuf->fields.sfmt_caddcc.f
59205 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59206 const IDESC * UNUSED idesc = abuf->idesc;
59207 int cycles = 0;
59209 int referenced = 0;
59210 int UNUSED insn_referenced = abuf->written;
59211 INT in_GRi = -1;
59212 INT in_GRj = -1;
59213 INT out_GRk = -1;
59214 INT out_ICCi_1 = -1;
59215 in_GRi = FLD (in_GRi);
59216 in_GRj = FLD (in_GRj);
59217 out_GRk = FLD (out_GRk);
59218 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59219 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59220 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59221 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59223 return cycles;
59224 #undef FLD
59227 static int
59228 model_fr400_csmulcc (SIM_CPU *current_cpu, void *sem_arg)
59230 #define FLD(f) abuf->fields.sfmt_csmulcc.f
59231 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59232 const IDESC * UNUSED idesc = abuf->idesc;
59233 int cycles = 0;
59235 int referenced = 0;
59236 int UNUSED insn_referenced = abuf->written;
59237 INT in_GRi = -1;
59238 INT in_GRj = -1;
59239 INT out_GRdoublek = -1;
59240 INT out_ICCi_1 = -1;
59241 in_GRi = FLD (in_GRi);
59242 in_GRj = FLD (in_GRj);
59243 out_GRdoublek = FLD (out_GRdoublek);
59244 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59245 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59246 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59247 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
59249 return cycles;
59250 #undef FLD
59253 static int
59254 model_fr400_candcc (SIM_CPU *current_cpu, void *sem_arg)
59256 #define FLD(f) abuf->fields.sfmt_caddcc.f
59257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59258 const IDESC * UNUSED idesc = abuf->idesc;
59259 int cycles = 0;
59261 int referenced = 0;
59262 int UNUSED insn_referenced = abuf->written;
59263 INT in_GRi = -1;
59264 INT in_GRj = -1;
59265 INT out_GRk = -1;
59266 INT out_ICCi_1 = -1;
59267 in_GRi = FLD (in_GRi);
59268 in_GRj = FLD (in_GRj);
59269 out_GRk = FLD (out_GRk);
59270 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59271 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59272 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59273 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59275 return cycles;
59276 #undef FLD
59279 static int
59280 model_fr400_corcc (SIM_CPU *current_cpu, void *sem_arg)
59282 #define FLD(f) abuf->fields.sfmt_caddcc.f
59283 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59284 const IDESC * UNUSED idesc = abuf->idesc;
59285 int cycles = 0;
59287 int referenced = 0;
59288 int UNUSED insn_referenced = abuf->written;
59289 INT in_GRi = -1;
59290 INT in_GRj = -1;
59291 INT out_GRk = -1;
59292 INT out_ICCi_1 = -1;
59293 in_GRi = FLD (in_GRi);
59294 in_GRj = FLD (in_GRj);
59295 out_GRk = FLD (out_GRk);
59296 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59297 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59298 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59299 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59301 return cycles;
59302 #undef FLD
59305 static int
59306 model_fr400_cxorcc (SIM_CPU *current_cpu, void *sem_arg)
59308 #define FLD(f) abuf->fields.sfmt_caddcc.f
59309 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59310 const IDESC * UNUSED idesc = abuf->idesc;
59311 int cycles = 0;
59313 int referenced = 0;
59314 int UNUSED insn_referenced = abuf->written;
59315 INT in_GRi = -1;
59316 INT in_GRj = -1;
59317 INT out_GRk = -1;
59318 INT out_ICCi_1 = -1;
59319 in_GRi = FLD (in_GRi);
59320 in_GRj = FLD (in_GRj);
59321 out_GRk = FLD (out_GRk);
59322 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59323 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59324 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59325 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59327 return cycles;
59328 #undef FLD
59331 static int
59332 model_fr400_csllcc (SIM_CPU *current_cpu, void *sem_arg)
59334 #define FLD(f) abuf->fields.sfmt_caddcc.f
59335 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59336 const IDESC * UNUSED idesc = abuf->idesc;
59337 int cycles = 0;
59339 int referenced = 0;
59340 int UNUSED insn_referenced = abuf->written;
59341 INT in_GRi = -1;
59342 INT in_GRj = -1;
59343 INT out_GRk = -1;
59344 INT out_ICCi_1 = -1;
59345 in_GRi = FLD (in_GRi);
59346 in_GRj = FLD (in_GRj);
59347 out_GRk = FLD (out_GRk);
59348 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59349 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59350 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59351 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59353 return cycles;
59354 #undef FLD
59357 static int
59358 model_fr400_csrlcc (SIM_CPU *current_cpu, void *sem_arg)
59360 #define FLD(f) abuf->fields.sfmt_caddcc.f
59361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59362 const IDESC * UNUSED idesc = abuf->idesc;
59363 int cycles = 0;
59365 int referenced = 0;
59366 int UNUSED insn_referenced = abuf->written;
59367 INT in_GRi = -1;
59368 INT in_GRj = -1;
59369 INT out_GRk = -1;
59370 INT out_ICCi_1 = -1;
59371 in_GRi = FLD (in_GRi);
59372 in_GRj = FLD (in_GRj);
59373 out_GRk = FLD (out_GRk);
59374 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59375 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59376 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59377 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59379 return cycles;
59380 #undef FLD
59383 static int
59384 model_fr400_csracc (SIM_CPU *current_cpu, void *sem_arg)
59386 #define FLD(f) abuf->fields.sfmt_caddcc.f
59387 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59388 const IDESC * UNUSED idesc = abuf->idesc;
59389 int cycles = 0;
59391 int referenced = 0;
59392 int UNUSED insn_referenced = abuf->written;
59393 INT in_GRi = -1;
59394 INT in_GRj = -1;
59395 INT out_GRk = -1;
59396 INT out_ICCi_1 = -1;
59397 in_GRi = FLD (in_GRi);
59398 in_GRj = FLD (in_GRj);
59399 out_GRk = FLD (out_GRk);
59400 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
59401 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
59402 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
59403 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59405 return cycles;
59406 #undef FLD
59409 static int
59410 model_fr400_addx (SIM_CPU *current_cpu, void *sem_arg)
59412 #define FLD(f) abuf->fields.sfmt_addcc.f
59413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59414 const IDESC * UNUSED idesc = abuf->idesc;
59415 int cycles = 0;
59417 int referenced = 0;
59418 int UNUSED insn_referenced = abuf->written;
59419 INT in_GRi = -1;
59420 INT in_GRj = -1;
59421 INT out_GRk = -1;
59422 INT out_ICCi_1 = -1;
59423 in_GRi = FLD (in_GRi);
59424 in_GRj = FLD (in_GRj);
59425 out_GRk = FLD (out_GRk);
59426 referenced |= 1 << 0;
59427 referenced |= 1 << 1;
59428 referenced |= 1 << 2;
59429 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59431 return cycles;
59432 #undef FLD
59435 static int
59436 model_fr400_subx (SIM_CPU *current_cpu, void *sem_arg)
59438 #define FLD(f) abuf->fields.sfmt_addcc.f
59439 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59440 const IDESC * UNUSED idesc = abuf->idesc;
59441 int cycles = 0;
59443 int referenced = 0;
59444 int UNUSED insn_referenced = abuf->written;
59445 INT in_GRi = -1;
59446 INT in_GRj = -1;
59447 INT out_GRk = -1;
59448 INT out_ICCi_1 = -1;
59449 in_GRi = FLD (in_GRi);
59450 in_GRj = FLD (in_GRj);
59451 out_GRk = FLD (out_GRk);
59452 referenced |= 1 << 0;
59453 referenced |= 1 << 1;
59454 referenced |= 1 << 2;
59455 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59457 return cycles;
59458 #undef FLD
59461 static int
59462 model_fr400_addxcc (SIM_CPU *current_cpu, void *sem_arg)
59464 #define FLD(f) abuf->fields.sfmt_addcc.f
59465 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59466 const IDESC * UNUSED idesc = abuf->idesc;
59467 int cycles = 0;
59469 int referenced = 0;
59470 int UNUSED insn_referenced = abuf->written;
59471 INT in_GRi = -1;
59472 INT in_GRj = -1;
59473 INT out_GRk = -1;
59474 INT out_ICCi_1 = -1;
59475 in_GRi = FLD (in_GRi);
59476 in_GRj = FLD (in_GRj);
59477 out_GRk = FLD (out_GRk);
59478 out_ICCi_1 = FLD (out_ICCi_1);
59479 referenced |= 1 << 0;
59480 referenced |= 1 << 1;
59481 referenced |= 1 << 2;
59482 referenced |= 1 << 3;
59483 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59485 return cycles;
59486 #undef FLD
59489 static int
59490 model_fr400_subxcc (SIM_CPU *current_cpu, void *sem_arg)
59492 #define FLD(f) abuf->fields.sfmt_addcc.f
59493 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59494 const IDESC * UNUSED idesc = abuf->idesc;
59495 int cycles = 0;
59497 int referenced = 0;
59498 int UNUSED insn_referenced = abuf->written;
59499 INT in_GRi = -1;
59500 INT in_GRj = -1;
59501 INT out_GRk = -1;
59502 INT out_ICCi_1 = -1;
59503 in_GRi = FLD (in_GRi);
59504 in_GRj = FLD (in_GRj);
59505 out_GRk = FLD (out_GRk);
59506 out_ICCi_1 = FLD (out_ICCi_1);
59507 referenced |= 1 << 0;
59508 referenced |= 1 << 1;
59509 referenced |= 1 << 2;
59510 referenced |= 1 << 3;
59511 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59513 return cycles;
59514 #undef FLD
59517 static int
59518 model_fr400_addss (SIM_CPU *current_cpu, void *sem_arg)
59520 #define FLD(f) abuf->fields.sfmt_addcc.f
59521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59522 const IDESC * UNUSED idesc = abuf->idesc;
59523 int cycles = 0;
59525 int referenced = 0;
59526 int UNUSED insn_referenced = abuf->written;
59527 INT in_GRi = -1;
59528 INT in_GRj = -1;
59529 INT out_GRk = -1;
59530 INT out_ICCi_1 = -1;
59531 in_GRi = FLD (in_GRi);
59532 in_GRj = FLD (in_GRj);
59533 out_GRk = FLD (out_GRk);
59534 referenced |= 1 << 0;
59535 referenced |= 1 << 1;
59536 referenced |= 1 << 2;
59537 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59539 return cycles;
59540 #undef FLD
59543 static int
59544 model_fr400_subss (SIM_CPU *current_cpu, void *sem_arg)
59546 #define FLD(f) abuf->fields.sfmt_addcc.f
59547 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59548 const IDESC * UNUSED idesc = abuf->idesc;
59549 int cycles = 0;
59551 int referenced = 0;
59552 int UNUSED insn_referenced = abuf->written;
59553 INT in_GRi = -1;
59554 INT in_GRj = -1;
59555 INT out_GRk = -1;
59556 INT out_ICCi_1 = -1;
59557 in_GRi = FLD (in_GRi);
59558 in_GRj = FLD (in_GRj);
59559 out_GRk = FLD (out_GRk);
59560 referenced |= 1 << 0;
59561 referenced |= 1 << 1;
59562 referenced |= 1 << 2;
59563 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59565 return cycles;
59566 #undef FLD
59569 static int
59570 model_fr400_addi (SIM_CPU *current_cpu, void *sem_arg)
59572 #define FLD(f) abuf->fields.sfmt_swapi.f
59573 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59574 const IDESC * UNUSED idesc = abuf->idesc;
59575 int cycles = 0;
59577 int referenced = 0;
59578 int UNUSED insn_referenced = abuf->written;
59579 INT in_GRi = -1;
59580 INT in_GRj = -1;
59581 INT out_GRk = -1;
59582 INT out_ICCi_1 = -1;
59583 in_GRi = FLD (in_GRi);
59584 out_GRk = FLD (out_GRk);
59585 referenced |= 1 << 0;
59586 referenced |= 1 << 2;
59587 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59589 return cycles;
59590 #undef FLD
59593 static int
59594 model_fr400_subi (SIM_CPU *current_cpu, void *sem_arg)
59596 #define FLD(f) abuf->fields.sfmt_swapi.f
59597 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59598 const IDESC * UNUSED idesc = abuf->idesc;
59599 int cycles = 0;
59601 int referenced = 0;
59602 int UNUSED insn_referenced = abuf->written;
59603 INT in_GRi = -1;
59604 INT in_GRj = -1;
59605 INT out_GRk = -1;
59606 INT out_ICCi_1 = -1;
59607 in_GRi = FLD (in_GRi);
59608 out_GRk = FLD (out_GRk);
59609 referenced |= 1 << 0;
59610 referenced |= 1 << 2;
59611 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59613 return cycles;
59614 #undef FLD
59617 static int
59618 model_fr400_andi (SIM_CPU *current_cpu, void *sem_arg)
59620 #define FLD(f) abuf->fields.sfmt_swapi.f
59621 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59622 const IDESC * UNUSED idesc = abuf->idesc;
59623 int cycles = 0;
59625 int referenced = 0;
59626 int UNUSED insn_referenced = abuf->written;
59627 INT in_GRi = -1;
59628 INT in_GRj = -1;
59629 INT out_GRk = -1;
59630 INT out_ICCi_1 = -1;
59631 in_GRi = FLD (in_GRi);
59632 out_GRk = FLD (out_GRk);
59633 referenced |= 1 << 0;
59634 referenced |= 1 << 2;
59635 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59637 return cycles;
59638 #undef FLD
59641 static int
59642 model_fr400_ori (SIM_CPU *current_cpu, void *sem_arg)
59644 #define FLD(f) abuf->fields.sfmt_swapi.f
59645 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59646 const IDESC * UNUSED idesc = abuf->idesc;
59647 int cycles = 0;
59649 int referenced = 0;
59650 int UNUSED insn_referenced = abuf->written;
59651 INT in_GRi = -1;
59652 INT in_GRj = -1;
59653 INT out_GRk = -1;
59654 INT out_ICCi_1 = -1;
59655 in_GRi = FLD (in_GRi);
59656 out_GRk = FLD (out_GRk);
59657 referenced |= 1 << 0;
59658 referenced |= 1 << 2;
59659 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59661 return cycles;
59662 #undef FLD
59665 static int
59666 model_fr400_xori (SIM_CPU *current_cpu, void *sem_arg)
59668 #define FLD(f) abuf->fields.sfmt_swapi.f
59669 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59670 const IDESC * UNUSED idesc = abuf->idesc;
59671 int cycles = 0;
59673 int referenced = 0;
59674 int UNUSED insn_referenced = abuf->written;
59675 INT in_GRi = -1;
59676 INT in_GRj = -1;
59677 INT out_GRk = -1;
59678 INT out_ICCi_1 = -1;
59679 in_GRi = FLD (in_GRi);
59680 out_GRk = FLD (out_GRk);
59681 referenced |= 1 << 0;
59682 referenced |= 1 << 2;
59683 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59685 return cycles;
59686 #undef FLD
59689 static int
59690 model_fr400_sdivi (SIM_CPU *current_cpu, void *sem_arg)
59692 #define FLD(f) abuf->fields.sfmt_swapi.f
59693 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59694 const IDESC * UNUSED idesc = abuf->idesc;
59695 int cycles = 0;
59697 int referenced = 0;
59698 int UNUSED insn_referenced = abuf->written;
59699 INT in_GRi = -1;
59700 INT in_GRj = -1;
59701 INT out_GRk = -1;
59702 INT out_ICCi_1 = -1;
59703 in_GRi = FLD (in_GRi);
59704 out_GRk = FLD (out_GRk);
59705 referenced |= 1 << 0;
59706 referenced |= 1 << 2;
59707 cycles += frvbf_model_fr400_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59709 return cycles;
59710 #undef FLD
59713 static int
59714 model_fr400_nsdivi (SIM_CPU *current_cpu, void *sem_arg)
59716 #define FLD(f) abuf->fields.sfmt_swapi.f
59717 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59718 const IDESC * UNUSED idesc = abuf->idesc;
59719 int cycles = 0;
59721 int referenced = 0;
59722 int UNUSED insn_referenced = abuf->written;
59723 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
59725 return cycles;
59726 #undef FLD
59729 static int
59730 model_fr400_udivi (SIM_CPU *current_cpu, void *sem_arg)
59732 #define FLD(f) abuf->fields.sfmt_swapi.f
59733 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59734 const IDESC * UNUSED idesc = abuf->idesc;
59735 int cycles = 0;
59737 int referenced = 0;
59738 int UNUSED insn_referenced = abuf->written;
59739 INT in_GRi = -1;
59740 INT in_GRj = -1;
59741 INT out_GRk = -1;
59742 INT out_ICCi_1 = -1;
59743 in_GRi = FLD (in_GRi);
59744 out_GRk = FLD (out_GRk);
59745 referenced |= 1 << 0;
59746 referenced |= 1 << 2;
59747 cycles += frvbf_model_fr400_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59749 return cycles;
59750 #undef FLD
59753 static int
59754 model_fr400_nudivi (SIM_CPU *current_cpu, void *sem_arg)
59756 #define FLD(f) abuf->fields.sfmt_swapi.f
59757 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59758 const IDESC * UNUSED idesc = abuf->idesc;
59759 int cycles = 0;
59761 int referenced = 0;
59762 int UNUSED insn_referenced = abuf->written;
59763 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
59765 return cycles;
59766 #undef FLD
59769 static int
59770 model_fr400_smuli (SIM_CPU *current_cpu, void *sem_arg)
59772 #define FLD(f) abuf->fields.sfmt_smuli.f
59773 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59774 const IDESC * UNUSED idesc = abuf->idesc;
59775 int cycles = 0;
59777 int referenced = 0;
59778 int UNUSED insn_referenced = abuf->written;
59779 INT in_GRi = -1;
59780 INT in_GRj = -1;
59781 INT out_GRdoublek = -1;
59782 INT out_ICCi_1 = -1;
59783 in_GRi = FLD (in_GRi);
59784 out_GRdoublek = FLD (out_GRdoublek);
59785 referenced |= 1 << 0;
59786 referenced |= 1 << 2;
59787 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
59789 return cycles;
59790 #undef FLD
59793 static int
59794 model_fr400_umuli (SIM_CPU *current_cpu, void *sem_arg)
59796 #define FLD(f) abuf->fields.sfmt_smuli.f
59797 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59798 const IDESC * UNUSED idesc = abuf->idesc;
59799 int cycles = 0;
59801 int referenced = 0;
59802 int UNUSED insn_referenced = abuf->written;
59803 INT in_GRi = -1;
59804 INT in_GRj = -1;
59805 INT out_GRdoublek = -1;
59806 INT out_ICCi_1 = -1;
59807 in_GRi = FLD (in_GRi);
59808 out_GRdoublek = FLD (out_GRdoublek);
59809 referenced |= 1 << 0;
59810 referenced |= 1 << 2;
59811 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
59813 return cycles;
59814 #undef FLD
59817 static int
59818 model_fr400_slli (SIM_CPU *current_cpu, void *sem_arg)
59820 #define FLD(f) abuf->fields.sfmt_swapi.f
59821 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59822 const IDESC * UNUSED idesc = abuf->idesc;
59823 int cycles = 0;
59825 int referenced = 0;
59826 int UNUSED insn_referenced = abuf->written;
59827 INT in_GRi = -1;
59828 INT in_GRj = -1;
59829 INT out_GRk = -1;
59830 INT out_ICCi_1 = -1;
59831 in_GRi = FLD (in_GRi);
59832 out_GRk = FLD (out_GRk);
59833 referenced |= 1 << 0;
59834 referenced |= 1 << 2;
59835 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59837 return cycles;
59838 #undef FLD
59841 static int
59842 model_fr400_srli (SIM_CPU *current_cpu, void *sem_arg)
59844 #define FLD(f) abuf->fields.sfmt_swapi.f
59845 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59846 const IDESC * UNUSED idesc = abuf->idesc;
59847 int cycles = 0;
59849 int referenced = 0;
59850 int UNUSED insn_referenced = abuf->written;
59851 INT in_GRi = -1;
59852 INT in_GRj = -1;
59853 INT out_GRk = -1;
59854 INT out_ICCi_1 = -1;
59855 in_GRi = FLD (in_GRi);
59856 out_GRk = FLD (out_GRk);
59857 referenced |= 1 << 0;
59858 referenced |= 1 << 2;
59859 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59861 return cycles;
59862 #undef FLD
59865 static int
59866 model_fr400_srai (SIM_CPU *current_cpu, void *sem_arg)
59868 #define FLD(f) abuf->fields.sfmt_swapi.f
59869 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59870 const IDESC * UNUSED idesc = abuf->idesc;
59871 int cycles = 0;
59873 int referenced = 0;
59874 int UNUSED insn_referenced = abuf->written;
59875 INT in_GRi = -1;
59876 INT in_GRj = -1;
59877 INT out_GRk = -1;
59878 INT out_ICCi_1 = -1;
59879 in_GRi = FLD (in_GRi);
59880 out_GRk = FLD (out_GRk);
59881 referenced |= 1 << 0;
59882 referenced |= 1 << 2;
59883 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59885 return cycles;
59886 #undef FLD
59889 static int
59890 model_fr400_scani (SIM_CPU *current_cpu, void *sem_arg)
59892 #define FLD(f) abuf->fields.sfmt_swapi.f
59893 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59894 const IDESC * UNUSED idesc = abuf->idesc;
59895 int cycles = 0;
59897 int referenced = 0;
59898 int UNUSED insn_referenced = abuf->written;
59899 INT in_GRi = -1;
59900 INT in_GRj = -1;
59901 INT out_GRk = -1;
59902 INT out_ICCi_1 = -1;
59903 in_GRi = FLD (in_GRi);
59904 out_GRk = FLD (out_GRk);
59905 referenced |= 1 << 0;
59906 referenced |= 1 << 2;
59907 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59909 return cycles;
59910 #undef FLD
59913 static int
59914 model_fr400_addicc (SIM_CPU *current_cpu, void *sem_arg)
59916 #define FLD(f) abuf->fields.sfmt_addicc.f
59917 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59918 const IDESC * UNUSED idesc = abuf->idesc;
59919 int cycles = 0;
59921 int referenced = 0;
59922 int UNUSED insn_referenced = abuf->written;
59923 INT in_GRi = -1;
59924 INT in_GRj = -1;
59925 INT out_GRk = -1;
59926 INT out_ICCi_1 = -1;
59927 in_GRi = FLD (in_GRi);
59928 out_GRk = FLD (out_GRk);
59929 out_ICCi_1 = FLD (out_ICCi_1);
59930 referenced |= 1 << 0;
59931 referenced |= 1 << 2;
59932 referenced |= 1 << 3;
59933 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59935 return cycles;
59936 #undef FLD
59939 static int
59940 model_fr400_subicc (SIM_CPU *current_cpu, void *sem_arg)
59942 #define FLD(f) abuf->fields.sfmt_addicc.f
59943 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59944 const IDESC * UNUSED idesc = abuf->idesc;
59945 int cycles = 0;
59947 int referenced = 0;
59948 int UNUSED insn_referenced = abuf->written;
59949 INT in_GRi = -1;
59950 INT in_GRj = -1;
59951 INT out_GRk = -1;
59952 INT out_ICCi_1 = -1;
59953 in_GRi = FLD (in_GRi);
59954 out_GRk = FLD (out_GRk);
59955 out_ICCi_1 = FLD (out_ICCi_1);
59956 referenced |= 1 << 0;
59957 referenced |= 1 << 2;
59958 referenced |= 1 << 3;
59959 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59961 return cycles;
59962 #undef FLD
59965 static int
59966 model_fr400_andicc (SIM_CPU *current_cpu, void *sem_arg)
59968 #define FLD(f) abuf->fields.sfmt_addicc.f
59969 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59970 const IDESC * UNUSED idesc = abuf->idesc;
59971 int cycles = 0;
59973 int referenced = 0;
59974 int UNUSED insn_referenced = abuf->written;
59975 INT in_GRi = -1;
59976 INT in_GRj = -1;
59977 INT out_GRk = -1;
59978 INT out_ICCi_1 = -1;
59979 in_GRi = FLD (in_GRi);
59980 out_GRk = FLD (out_GRk);
59981 out_ICCi_1 = FLD (out_ICCi_1);
59982 referenced |= 1 << 0;
59983 referenced |= 1 << 2;
59984 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
59985 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
59987 return cycles;
59988 #undef FLD
59991 static int
59992 model_fr400_oricc (SIM_CPU *current_cpu, void *sem_arg)
59994 #define FLD(f) abuf->fields.sfmt_addicc.f
59995 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
59996 const IDESC * UNUSED idesc = abuf->idesc;
59997 int cycles = 0;
59999 int referenced = 0;
60000 int UNUSED insn_referenced = abuf->written;
60001 INT in_GRi = -1;
60002 INT in_GRj = -1;
60003 INT out_GRk = -1;
60004 INT out_ICCi_1 = -1;
60005 in_GRi = FLD (in_GRi);
60006 out_GRk = FLD (out_GRk);
60007 out_ICCi_1 = FLD (out_ICCi_1);
60008 referenced |= 1 << 0;
60009 referenced |= 1 << 2;
60010 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
60011 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60013 return cycles;
60014 #undef FLD
60017 static int
60018 model_fr400_xoricc (SIM_CPU *current_cpu, void *sem_arg)
60020 #define FLD(f) abuf->fields.sfmt_addicc.f
60021 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60022 const IDESC * UNUSED idesc = abuf->idesc;
60023 int cycles = 0;
60025 int referenced = 0;
60026 int UNUSED insn_referenced = abuf->written;
60027 INT in_GRi = -1;
60028 INT in_GRj = -1;
60029 INT out_GRk = -1;
60030 INT out_ICCi_1 = -1;
60031 in_GRi = FLD (in_GRi);
60032 out_GRk = FLD (out_GRk);
60033 out_ICCi_1 = FLD (out_ICCi_1);
60034 referenced |= 1 << 0;
60035 referenced |= 1 << 2;
60036 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
60037 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60039 return cycles;
60040 #undef FLD
60043 static int
60044 model_fr400_smulicc (SIM_CPU *current_cpu, void *sem_arg)
60046 #define FLD(f) abuf->fields.sfmt_smulicc.f
60047 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60048 const IDESC * UNUSED idesc = abuf->idesc;
60049 int cycles = 0;
60051 int referenced = 0;
60052 int UNUSED insn_referenced = abuf->written;
60053 INT in_GRi = -1;
60054 INT in_GRj = -1;
60055 INT out_GRdoublek = -1;
60056 INT out_ICCi_1 = -1;
60057 in_GRi = FLD (in_GRi);
60058 out_GRdoublek = FLD (out_GRdoublek);
60059 out_ICCi_1 = FLD (out_ICCi_1);
60060 referenced |= 1 << 0;
60061 referenced |= 1 << 2;
60062 referenced |= 1 << 3;
60063 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
60065 return cycles;
60066 #undef FLD
60069 static int
60070 model_fr400_umulicc (SIM_CPU *current_cpu, void *sem_arg)
60072 #define FLD(f) abuf->fields.sfmt_smulicc.f
60073 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60074 const IDESC * UNUSED idesc = abuf->idesc;
60075 int cycles = 0;
60077 int referenced = 0;
60078 int UNUSED insn_referenced = abuf->written;
60079 INT in_GRi = -1;
60080 INT in_GRj = -1;
60081 INT out_GRdoublek = -1;
60082 INT out_ICCi_1 = -1;
60083 in_GRi = FLD (in_GRi);
60084 out_GRdoublek = FLD (out_GRdoublek);
60085 out_ICCi_1 = FLD (out_ICCi_1);
60086 referenced |= 1 << 0;
60087 referenced |= 1 << 2;
60088 referenced |= 1 << 3;
60089 cycles += frvbf_model_fr400_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
60091 return cycles;
60092 #undef FLD
60095 static int
60096 model_fr400_sllicc (SIM_CPU *current_cpu, void *sem_arg)
60098 #define FLD(f) abuf->fields.sfmt_addicc.f
60099 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60100 const IDESC * UNUSED idesc = abuf->idesc;
60101 int cycles = 0;
60103 int referenced = 0;
60104 int UNUSED insn_referenced = abuf->written;
60105 INT in_GRi = -1;
60106 INT in_GRj = -1;
60107 INT out_GRk = -1;
60108 INT out_ICCi_1 = -1;
60109 in_GRi = FLD (in_GRi);
60110 out_GRk = FLD (out_GRk);
60111 out_ICCi_1 = FLD (out_ICCi_1);
60112 referenced |= 1 << 0;
60113 referenced |= 1 << 2;
60114 referenced |= 1 << 3;
60115 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60117 return cycles;
60118 #undef FLD
60121 static int
60122 model_fr400_srlicc (SIM_CPU *current_cpu, void *sem_arg)
60124 #define FLD(f) abuf->fields.sfmt_addicc.f
60125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60126 const IDESC * UNUSED idesc = abuf->idesc;
60127 int cycles = 0;
60129 int referenced = 0;
60130 int UNUSED insn_referenced = abuf->written;
60131 INT in_GRi = -1;
60132 INT in_GRj = -1;
60133 INT out_GRk = -1;
60134 INT out_ICCi_1 = -1;
60135 in_GRi = FLD (in_GRi);
60136 out_GRk = FLD (out_GRk);
60137 out_ICCi_1 = FLD (out_ICCi_1);
60138 referenced |= 1 << 0;
60139 referenced |= 1 << 2;
60140 referenced |= 1 << 3;
60141 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60143 return cycles;
60144 #undef FLD
60147 static int
60148 model_fr400_sraicc (SIM_CPU *current_cpu, void *sem_arg)
60150 #define FLD(f) abuf->fields.sfmt_addicc.f
60151 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60152 const IDESC * UNUSED idesc = abuf->idesc;
60153 int cycles = 0;
60155 int referenced = 0;
60156 int UNUSED insn_referenced = abuf->written;
60157 INT in_GRi = -1;
60158 INT in_GRj = -1;
60159 INT out_GRk = -1;
60160 INT out_ICCi_1 = -1;
60161 in_GRi = FLD (in_GRi);
60162 out_GRk = FLD (out_GRk);
60163 out_ICCi_1 = FLD (out_ICCi_1);
60164 referenced |= 1 << 0;
60165 referenced |= 1 << 2;
60166 referenced |= 1 << 3;
60167 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60169 return cycles;
60170 #undef FLD
60173 static int
60174 model_fr400_addxi (SIM_CPU *current_cpu, void *sem_arg)
60176 #define FLD(f) abuf->fields.sfmt_addicc.f
60177 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60178 const IDESC * UNUSED idesc = abuf->idesc;
60179 int cycles = 0;
60181 int referenced = 0;
60182 int UNUSED insn_referenced = abuf->written;
60183 INT in_GRi = -1;
60184 INT in_GRj = -1;
60185 INT out_GRk = -1;
60186 INT out_ICCi_1 = -1;
60187 in_GRi = FLD (in_GRi);
60188 out_GRk = FLD (out_GRk);
60189 referenced |= 1 << 0;
60190 referenced |= 1 << 2;
60191 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60193 return cycles;
60194 #undef FLD
60197 static int
60198 model_fr400_subxi (SIM_CPU *current_cpu, void *sem_arg)
60200 #define FLD(f) abuf->fields.sfmt_addicc.f
60201 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60202 const IDESC * UNUSED idesc = abuf->idesc;
60203 int cycles = 0;
60205 int referenced = 0;
60206 int UNUSED insn_referenced = abuf->written;
60207 INT in_GRi = -1;
60208 INT in_GRj = -1;
60209 INT out_GRk = -1;
60210 INT out_ICCi_1 = -1;
60211 in_GRi = FLD (in_GRi);
60212 out_GRk = FLD (out_GRk);
60213 referenced |= 1 << 0;
60214 referenced |= 1 << 2;
60215 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60217 return cycles;
60218 #undef FLD
60221 static int
60222 model_fr400_addxicc (SIM_CPU *current_cpu, void *sem_arg)
60224 #define FLD(f) abuf->fields.sfmt_addicc.f
60225 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60226 const IDESC * UNUSED idesc = abuf->idesc;
60227 int cycles = 0;
60229 int referenced = 0;
60230 int UNUSED insn_referenced = abuf->written;
60231 INT in_GRi = -1;
60232 INT in_GRj = -1;
60233 INT out_GRk = -1;
60234 INT out_ICCi_1 = -1;
60235 in_GRi = FLD (in_GRi);
60236 out_GRk = FLD (out_GRk);
60237 out_ICCi_1 = FLD (out_ICCi_1);
60238 referenced |= 1 << 0;
60239 referenced |= 1 << 2;
60240 referenced |= 1 << 3;
60241 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60243 return cycles;
60244 #undef FLD
60247 static int
60248 model_fr400_subxicc (SIM_CPU *current_cpu, void *sem_arg)
60250 #define FLD(f) abuf->fields.sfmt_addicc.f
60251 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60252 const IDESC * UNUSED idesc = abuf->idesc;
60253 int cycles = 0;
60255 int referenced = 0;
60256 int UNUSED insn_referenced = abuf->written;
60257 INT in_GRi = -1;
60258 INT in_GRj = -1;
60259 INT out_GRk = -1;
60260 INT out_ICCi_1 = -1;
60261 in_GRi = FLD (in_GRi);
60262 out_GRk = FLD (out_GRk);
60263 out_ICCi_1 = FLD (out_ICCi_1);
60264 referenced |= 1 << 0;
60265 referenced |= 1 << 2;
60266 referenced |= 1 << 3;
60267 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60269 return cycles;
60270 #undef FLD
60273 static int
60274 model_fr400_cmpb (SIM_CPU *current_cpu, void *sem_arg)
60276 #define FLD(f) abuf->fields.sfmt_smulcc.f
60277 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60278 const IDESC * UNUSED idesc = abuf->idesc;
60279 int cycles = 0;
60281 int referenced = 0;
60282 int UNUSED insn_referenced = abuf->written;
60283 INT in_GRi = -1;
60284 INT in_GRj = -1;
60285 INT out_GRk = -1;
60286 INT out_ICCi_1 = -1;
60287 in_GRi = FLD (in_GRi);
60288 in_GRj = FLD (in_GRj);
60289 out_ICCi_1 = FLD (out_ICCi_1);
60290 referenced |= 1 << 0;
60291 referenced |= 1 << 1;
60292 referenced |= 1 << 3;
60293 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60295 return cycles;
60296 #undef FLD
60299 static int
60300 model_fr400_cmpba (SIM_CPU *current_cpu, void *sem_arg)
60302 #define FLD(f) abuf->fields.sfmt_smulcc.f
60303 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60304 const IDESC * UNUSED idesc = abuf->idesc;
60305 int cycles = 0;
60307 int referenced = 0;
60308 int UNUSED insn_referenced = abuf->written;
60309 INT in_GRi = -1;
60310 INT in_GRj = -1;
60311 INT out_GRk = -1;
60312 INT out_ICCi_1 = -1;
60313 in_GRi = FLD (in_GRi);
60314 in_GRj = FLD (in_GRj);
60315 out_ICCi_1 = FLD (out_ICCi_1);
60316 referenced |= 1 << 0;
60317 referenced |= 1 << 1;
60318 referenced |= 1 << 3;
60319 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60321 return cycles;
60322 #undef FLD
60325 static int
60326 model_fr400_setlo (SIM_CPU *current_cpu, void *sem_arg)
60328 #define FLD(f) abuf->fields.sfmt_setlo.f
60329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60330 const IDESC * UNUSED idesc = abuf->idesc;
60331 int cycles = 0;
60333 int referenced = 0;
60334 int UNUSED insn_referenced = abuf->written;
60335 INT out_GRkhi = -1;
60336 INT out_GRklo = -1;
60337 out_GRklo = FLD (out_GRklo);
60338 referenced |= 1 << 1;
60339 cycles += frvbf_model_fr400_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
60341 return cycles;
60342 #undef FLD
60345 static int
60346 model_fr400_sethi (SIM_CPU *current_cpu, void *sem_arg)
60348 #define FLD(f) abuf->fields.sfmt_sethi.f
60349 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60350 const IDESC * UNUSED idesc = abuf->idesc;
60351 int cycles = 0;
60353 int referenced = 0;
60354 int UNUSED insn_referenced = abuf->written;
60355 INT out_GRkhi = -1;
60356 INT out_GRklo = -1;
60357 out_GRkhi = FLD (out_GRkhi);
60358 referenced |= 1 << 0;
60359 cycles += frvbf_model_fr400_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
60361 return cycles;
60362 #undef FLD
60365 static int
60366 model_fr400_setlos (SIM_CPU *current_cpu, void *sem_arg)
60368 #define FLD(f) abuf->fields.sfmt_setlos.f
60369 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60370 const IDESC * UNUSED idesc = abuf->idesc;
60371 int cycles = 0;
60373 int referenced = 0;
60374 int UNUSED insn_referenced = abuf->written;
60375 INT in_GRi = -1;
60376 INT in_GRj = -1;
60377 INT out_GRk = -1;
60378 INT out_ICCi_1 = -1;
60379 out_GRk = FLD (out_GRk);
60380 referenced |= 1 << 2;
60381 cycles += frvbf_model_fr400_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
60383 return cycles;
60384 #undef FLD
60387 static int
60388 model_fr400_ldsb (SIM_CPU *current_cpu, void *sem_arg)
60390 #define FLD(f) abuf->fields.sfmt_addcc.f
60391 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60392 const IDESC * UNUSED idesc = abuf->idesc;
60393 int cycles = 0;
60395 int referenced = 0;
60396 int UNUSED insn_referenced = abuf->written;
60397 INT in_GRi = -1;
60398 INT in_GRj = -1;
60399 INT out_GRk = -1;
60400 INT out_GRdoublek = -1;
60401 in_GRi = FLD (in_GRi);
60402 in_GRj = FLD (in_GRj);
60403 out_GRk = FLD (out_GRk);
60404 referenced |= 1 << 0;
60405 referenced |= 1 << 1;
60406 referenced |= 1 << 2;
60407 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60409 return cycles;
60410 #undef FLD
60413 static int
60414 model_fr400_ldub (SIM_CPU *current_cpu, void *sem_arg)
60416 #define FLD(f) abuf->fields.sfmt_addcc.f
60417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60418 const IDESC * UNUSED idesc = abuf->idesc;
60419 int cycles = 0;
60421 int referenced = 0;
60422 int UNUSED insn_referenced = abuf->written;
60423 INT in_GRi = -1;
60424 INT in_GRj = -1;
60425 INT out_GRk = -1;
60426 INT out_GRdoublek = -1;
60427 in_GRi = FLD (in_GRi);
60428 in_GRj = FLD (in_GRj);
60429 out_GRk = FLD (out_GRk);
60430 referenced |= 1 << 0;
60431 referenced |= 1 << 1;
60432 referenced |= 1 << 2;
60433 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60435 return cycles;
60436 #undef FLD
60439 static int
60440 model_fr400_ldsh (SIM_CPU *current_cpu, void *sem_arg)
60442 #define FLD(f) abuf->fields.sfmt_addcc.f
60443 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60444 const IDESC * UNUSED idesc = abuf->idesc;
60445 int cycles = 0;
60447 int referenced = 0;
60448 int UNUSED insn_referenced = abuf->written;
60449 INT in_GRi = -1;
60450 INT in_GRj = -1;
60451 INT out_GRk = -1;
60452 INT out_GRdoublek = -1;
60453 in_GRi = FLD (in_GRi);
60454 in_GRj = FLD (in_GRj);
60455 out_GRk = FLD (out_GRk);
60456 referenced |= 1 << 0;
60457 referenced |= 1 << 1;
60458 referenced |= 1 << 2;
60459 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60461 return cycles;
60462 #undef FLD
60465 static int
60466 model_fr400_lduh (SIM_CPU *current_cpu, void *sem_arg)
60468 #define FLD(f) abuf->fields.sfmt_addcc.f
60469 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60470 const IDESC * UNUSED idesc = abuf->idesc;
60471 int cycles = 0;
60473 int referenced = 0;
60474 int UNUSED insn_referenced = abuf->written;
60475 INT in_GRi = -1;
60476 INT in_GRj = -1;
60477 INT out_GRk = -1;
60478 INT out_GRdoublek = -1;
60479 in_GRi = FLD (in_GRi);
60480 in_GRj = FLD (in_GRj);
60481 out_GRk = FLD (out_GRk);
60482 referenced |= 1 << 0;
60483 referenced |= 1 << 1;
60484 referenced |= 1 << 2;
60485 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60487 return cycles;
60488 #undef FLD
60491 static int
60492 model_fr400_ld (SIM_CPU *current_cpu, void *sem_arg)
60494 #define FLD(f) abuf->fields.sfmt_addcc.f
60495 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60496 const IDESC * UNUSED idesc = abuf->idesc;
60497 int cycles = 0;
60499 int referenced = 0;
60500 int UNUSED insn_referenced = abuf->written;
60501 INT in_GRi = -1;
60502 INT in_GRj = -1;
60503 INT out_GRk = -1;
60504 INT out_GRdoublek = -1;
60505 in_GRi = FLD (in_GRi);
60506 in_GRj = FLD (in_GRj);
60507 out_GRk = FLD (out_GRk);
60508 referenced |= 1 << 0;
60509 referenced |= 1 << 1;
60510 referenced |= 1 << 2;
60511 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60513 return cycles;
60514 #undef FLD
60517 static int
60518 model_fr400_ldbf (SIM_CPU *current_cpu, void *sem_arg)
60520 #define FLD(f) abuf->fields.sfmt_cldbfu.f
60521 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60522 const IDESC * UNUSED idesc = abuf->idesc;
60523 int cycles = 0;
60525 int referenced = 0;
60526 int UNUSED insn_referenced = abuf->written;
60527 INT in_GRi = -1;
60528 INT in_GRj = -1;
60529 INT out_FRintk = -1;
60530 INT out_FRdoublek = -1;
60531 in_GRi = FLD (in_GRi);
60532 in_GRj = FLD (in_GRj);
60533 out_FRintk = FLD (out_FRintk);
60534 referenced |= 1 << 0;
60535 referenced |= 1 << 1;
60536 referenced |= 1 << 2;
60537 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
60539 return cycles;
60540 #undef FLD
60543 static int
60544 model_fr400_ldhf (SIM_CPU *current_cpu, void *sem_arg)
60546 #define FLD(f) abuf->fields.sfmt_cldbfu.f
60547 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60548 const IDESC * UNUSED idesc = abuf->idesc;
60549 int cycles = 0;
60551 int referenced = 0;
60552 int UNUSED insn_referenced = abuf->written;
60553 INT in_GRi = -1;
60554 INT in_GRj = -1;
60555 INT out_FRintk = -1;
60556 INT out_FRdoublek = -1;
60557 in_GRi = FLD (in_GRi);
60558 in_GRj = FLD (in_GRj);
60559 out_FRintk = FLD (out_FRintk);
60560 referenced |= 1 << 0;
60561 referenced |= 1 << 1;
60562 referenced |= 1 << 2;
60563 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
60565 return cycles;
60566 #undef FLD
60569 static int
60570 model_fr400_ldf (SIM_CPU *current_cpu, void *sem_arg)
60572 #define FLD(f) abuf->fields.sfmt_cldbfu.f
60573 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60574 const IDESC * UNUSED idesc = abuf->idesc;
60575 int cycles = 0;
60577 int referenced = 0;
60578 int UNUSED insn_referenced = abuf->written;
60579 INT in_GRi = -1;
60580 INT in_GRj = -1;
60581 INT out_FRintk = -1;
60582 INT out_FRdoublek = -1;
60583 in_GRi = FLD (in_GRi);
60584 in_GRj = FLD (in_GRj);
60585 out_FRintk = FLD (out_FRintk);
60586 referenced |= 1 << 0;
60587 referenced |= 1 << 1;
60588 referenced |= 1 << 2;
60589 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
60591 return cycles;
60592 #undef FLD
60595 static int
60596 model_fr400_ldc (SIM_CPU *current_cpu, void *sem_arg)
60598 #define FLD(f) abuf->fields.sfmt_ldcu.f
60599 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60600 const IDESC * UNUSED idesc = abuf->idesc;
60601 int cycles = 0;
60603 int referenced = 0;
60604 int UNUSED insn_referenced = abuf->written;
60605 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60607 return cycles;
60608 #undef FLD
60611 static int
60612 model_fr400_nldsb (SIM_CPU *current_cpu, void *sem_arg)
60614 #define FLD(f) abuf->fields.sfmt_addcc.f
60615 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60616 const IDESC * UNUSED idesc = abuf->idesc;
60617 int cycles = 0;
60619 int referenced = 0;
60620 int UNUSED insn_referenced = abuf->written;
60621 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60623 return cycles;
60624 #undef FLD
60627 static int
60628 model_fr400_nldub (SIM_CPU *current_cpu, void *sem_arg)
60630 #define FLD(f) abuf->fields.sfmt_addcc.f
60631 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60632 const IDESC * UNUSED idesc = abuf->idesc;
60633 int cycles = 0;
60635 int referenced = 0;
60636 int UNUSED insn_referenced = abuf->written;
60637 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60639 return cycles;
60640 #undef FLD
60643 static int
60644 model_fr400_nldsh (SIM_CPU *current_cpu, void *sem_arg)
60646 #define FLD(f) abuf->fields.sfmt_addcc.f
60647 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60648 const IDESC * UNUSED idesc = abuf->idesc;
60649 int cycles = 0;
60651 int referenced = 0;
60652 int UNUSED insn_referenced = abuf->written;
60653 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60655 return cycles;
60656 #undef FLD
60659 static int
60660 model_fr400_nlduh (SIM_CPU *current_cpu, void *sem_arg)
60662 #define FLD(f) abuf->fields.sfmt_addcc.f
60663 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60664 const IDESC * UNUSED idesc = abuf->idesc;
60665 int cycles = 0;
60667 int referenced = 0;
60668 int UNUSED insn_referenced = abuf->written;
60669 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60671 return cycles;
60672 #undef FLD
60675 static int
60676 model_fr400_nld (SIM_CPU *current_cpu, void *sem_arg)
60678 #define FLD(f) abuf->fields.sfmt_addcc.f
60679 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60680 const IDESC * UNUSED idesc = abuf->idesc;
60681 int cycles = 0;
60683 int referenced = 0;
60684 int UNUSED insn_referenced = abuf->written;
60685 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60687 return cycles;
60688 #undef FLD
60691 static int
60692 model_fr400_nldbf (SIM_CPU *current_cpu, void *sem_arg)
60694 #define FLD(f) abuf->fields.sfmt_cldbfu.f
60695 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60696 const IDESC * UNUSED idesc = abuf->idesc;
60697 int cycles = 0;
60699 int referenced = 0;
60700 int UNUSED insn_referenced = abuf->written;
60701 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60703 return cycles;
60704 #undef FLD
60707 static int
60708 model_fr400_nldhf (SIM_CPU *current_cpu, void *sem_arg)
60710 #define FLD(f) abuf->fields.sfmt_cldbfu.f
60711 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60712 const IDESC * UNUSED idesc = abuf->idesc;
60713 int cycles = 0;
60715 int referenced = 0;
60716 int UNUSED insn_referenced = abuf->written;
60717 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60719 return cycles;
60720 #undef FLD
60723 static int
60724 model_fr400_nldf (SIM_CPU *current_cpu, void *sem_arg)
60726 #define FLD(f) abuf->fields.sfmt_cldbfu.f
60727 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60728 const IDESC * UNUSED idesc = abuf->idesc;
60729 int cycles = 0;
60731 int referenced = 0;
60732 int UNUSED insn_referenced = abuf->written;
60733 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60735 return cycles;
60736 #undef FLD
60739 static int
60740 model_fr400_ldd (SIM_CPU *current_cpu, void *sem_arg)
60742 #define FLD(f) abuf->fields.sfmt_smulcc.f
60743 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60744 const IDESC * UNUSED idesc = abuf->idesc;
60745 int cycles = 0;
60747 int referenced = 0;
60748 int UNUSED insn_referenced = abuf->written;
60749 INT in_GRi = -1;
60750 INT in_GRj = -1;
60751 INT out_GRk = -1;
60752 INT out_GRdoublek = -1;
60753 in_GRi = FLD (in_GRi);
60754 in_GRj = FLD (in_GRj);
60755 out_GRdoublek = FLD (out_GRdoublek);
60756 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
60757 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
60758 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
60759 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60761 return cycles;
60762 #undef FLD
60765 static int
60766 model_fr400_lddf (SIM_CPU *current_cpu, void *sem_arg)
60768 #define FLD(f) abuf->fields.sfmt_clddfu.f
60769 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60770 const IDESC * UNUSED idesc = abuf->idesc;
60771 int cycles = 0;
60773 int referenced = 0;
60774 int UNUSED insn_referenced = abuf->written;
60775 INT in_GRi = -1;
60776 INT in_GRj = -1;
60777 INT out_FRintk = -1;
60778 INT out_FRdoublek = -1;
60779 in_GRi = FLD (in_GRi);
60780 in_GRj = FLD (in_GRj);
60781 out_FRdoublek = FLD (out_FRdoublek);
60782 referenced |= 1 << 0;
60783 referenced |= 1 << 1;
60784 referenced |= 1 << 3;
60785 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
60787 return cycles;
60788 #undef FLD
60791 static int
60792 model_fr400_lddc (SIM_CPU *current_cpu, void *sem_arg)
60794 #define FLD(f) abuf->fields.sfmt_lddcu.f
60795 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60796 const IDESC * UNUSED idesc = abuf->idesc;
60797 int cycles = 0;
60799 int referenced = 0;
60800 int UNUSED insn_referenced = abuf->written;
60801 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60803 return cycles;
60804 #undef FLD
60807 static int
60808 model_fr400_nldd (SIM_CPU *current_cpu, void *sem_arg)
60810 #define FLD(f) abuf->fields.sfmt_smulcc.f
60811 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60812 const IDESC * UNUSED idesc = abuf->idesc;
60813 int cycles = 0;
60815 int referenced = 0;
60816 int UNUSED insn_referenced = abuf->written;
60817 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60819 return cycles;
60820 #undef FLD
60823 static int
60824 model_fr400_nlddf (SIM_CPU *current_cpu, void *sem_arg)
60826 #define FLD(f) abuf->fields.sfmt_clddfu.f
60827 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60828 const IDESC * UNUSED idesc = abuf->idesc;
60829 int cycles = 0;
60831 int referenced = 0;
60832 int UNUSED insn_referenced = abuf->written;
60833 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60835 return cycles;
60836 #undef FLD
60839 static int
60840 model_fr400_ldq (SIM_CPU *current_cpu, void *sem_arg)
60842 #define FLD(f) abuf->fields.sfmt_smulcc.f
60843 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60844 const IDESC * UNUSED idesc = abuf->idesc;
60845 int cycles = 0;
60847 int referenced = 0;
60848 int UNUSED insn_referenced = abuf->written;
60849 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60851 return cycles;
60852 #undef FLD
60855 static int
60856 model_fr400_ldqf (SIM_CPU *current_cpu, void *sem_arg)
60858 #define FLD(f) abuf->fields.sfmt_cstdfu.f
60859 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60860 const IDESC * UNUSED idesc = abuf->idesc;
60861 int cycles = 0;
60863 int referenced = 0;
60864 int UNUSED insn_referenced = abuf->written;
60865 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60867 return cycles;
60868 #undef FLD
60871 static int
60872 model_fr400_ldqc (SIM_CPU *current_cpu, void *sem_arg)
60874 #define FLD(f) abuf->fields.sfmt_stdcu.f
60875 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60876 const IDESC * UNUSED idesc = abuf->idesc;
60877 int cycles = 0;
60879 int referenced = 0;
60880 int UNUSED insn_referenced = abuf->written;
60881 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60883 return cycles;
60884 #undef FLD
60887 static int
60888 model_fr400_nldq (SIM_CPU *current_cpu, void *sem_arg)
60890 #define FLD(f) abuf->fields.sfmt_smulcc.f
60891 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60892 const IDESC * UNUSED idesc = abuf->idesc;
60893 int cycles = 0;
60895 int referenced = 0;
60896 int UNUSED insn_referenced = abuf->written;
60897 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60899 return cycles;
60900 #undef FLD
60903 static int
60904 model_fr400_nldqf (SIM_CPU *current_cpu, void *sem_arg)
60906 #define FLD(f) abuf->fields.sfmt_cstdfu.f
60907 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60908 const IDESC * UNUSED idesc = abuf->idesc;
60909 int cycles = 0;
60911 int referenced = 0;
60912 int UNUSED insn_referenced = abuf->written;
60913 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
60915 return cycles;
60916 #undef FLD
60919 static int
60920 model_fr400_ldsbu (SIM_CPU *current_cpu, void *sem_arg)
60922 #define FLD(f) abuf->fields.sfmt_cldsbu.f
60923 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60924 const IDESC * UNUSED idesc = abuf->idesc;
60925 int cycles = 0;
60927 int referenced = 0;
60928 int UNUSED insn_referenced = abuf->written;
60929 INT in_GRi = -1;
60930 INT in_GRj = -1;
60931 INT out_GRk = -1;
60932 INT out_GRdoublek = -1;
60933 in_GRi = FLD (in_GRi);
60934 in_GRj = FLD (in_GRj);
60935 out_GRk = FLD (out_GRk);
60936 referenced |= 1 << 0;
60937 referenced |= 1 << 1;
60938 referenced |= 1 << 2;
60939 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60941 return cycles;
60942 #undef FLD
60945 static int
60946 model_fr400_ldubu (SIM_CPU *current_cpu, void *sem_arg)
60948 #define FLD(f) abuf->fields.sfmt_cldsbu.f
60949 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60950 const IDESC * UNUSED idesc = abuf->idesc;
60951 int cycles = 0;
60953 int referenced = 0;
60954 int UNUSED insn_referenced = abuf->written;
60955 INT in_GRi = -1;
60956 INT in_GRj = -1;
60957 INT out_GRk = -1;
60958 INT out_GRdoublek = -1;
60959 in_GRi = FLD (in_GRi);
60960 in_GRj = FLD (in_GRj);
60961 out_GRk = FLD (out_GRk);
60962 referenced |= 1 << 0;
60963 referenced |= 1 << 1;
60964 referenced |= 1 << 2;
60965 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60967 return cycles;
60968 #undef FLD
60971 static int
60972 model_fr400_ldshu (SIM_CPU *current_cpu, void *sem_arg)
60974 #define FLD(f) abuf->fields.sfmt_cldsbu.f
60975 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
60976 const IDESC * UNUSED idesc = abuf->idesc;
60977 int cycles = 0;
60979 int referenced = 0;
60980 int UNUSED insn_referenced = abuf->written;
60981 INT in_GRi = -1;
60982 INT in_GRj = -1;
60983 INT out_GRk = -1;
60984 INT out_GRdoublek = -1;
60985 in_GRi = FLD (in_GRi);
60986 in_GRj = FLD (in_GRj);
60987 out_GRk = FLD (out_GRk);
60988 referenced |= 1 << 0;
60989 referenced |= 1 << 1;
60990 referenced |= 1 << 2;
60991 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
60993 return cycles;
60994 #undef FLD
60997 static int
60998 model_fr400_lduhu (SIM_CPU *current_cpu, void *sem_arg)
61000 #define FLD(f) abuf->fields.sfmt_cldsbu.f
61001 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61002 const IDESC * UNUSED idesc = abuf->idesc;
61003 int cycles = 0;
61005 int referenced = 0;
61006 int UNUSED insn_referenced = abuf->written;
61007 INT in_GRi = -1;
61008 INT in_GRj = -1;
61009 INT out_GRk = -1;
61010 INT out_GRdoublek = -1;
61011 in_GRi = FLD (in_GRi);
61012 in_GRj = FLD (in_GRj);
61013 out_GRk = FLD (out_GRk);
61014 referenced |= 1 << 0;
61015 referenced |= 1 << 1;
61016 referenced |= 1 << 2;
61017 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61019 return cycles;
61020 #undef FLD
61023 static int
61024 model_fr400_ldu (SIM_CPU *current_cpu, void *sem_arg)
61026 #define FLD(f) abuf->fields.sfmt_cldsbu.f
61027 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61028 const IDESC * UNUSED idesc = abuf->idesc;
61029 int cycles = 0;
61031 int referenced = 0;
61032 int UNUSED insn_referenced = abuf->written;
61033 INT in_GRi = -1;
61034 INT in_GRj = -1;
61035 INT out_GRk = -1;
61036 INT out_GRdoublek = -1;
61037 in_GRi = FLD (in_GRi);
61038 in_GRj = FLD (in_GRj);
61039 out_GRk = FLD (out_GRk);
61040 referenced |= 1 << 0;
61041 referenced |= 1 << 1;
61042 referenced |= 1 << 2;
61043 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61045 return cycles;
61046 #undef FLD
61049 static int
61050 model_fr400_nldsbu (SIM_CPU *current_cpu, void *sem_arg)
61052 #define FLD(f) abuf->fields.sfmt_cldsbu.f
61053 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61054 const IDESC * UNUSED idesc = abuf->idesc;
61055 int cycles = 0;
61057 int referenced = 0;
61058 int UNUSED insn_referenced = abuf->written;
61059 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61061 return cycles;
61062 #undef FLD
61065 static int
61066 model_fr400_nldubu (SIM_CPU *current_cpu, void *sem_arg)
61068 #define FLD(f) abuf->fields.sfmt_cldsbu.f
61069 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61070 const IDESC * UNUSED idesc = abuf->idesc;
61071 int cycles = 0;
61073 int referenced = 0;
61074 int UNUSED insn_referenced = abuf->written;
61075 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61077 return cycles;
61078 #undef FLD
61081 static int
61082 model_fr400_nldshu (SIM_CPU *current_cpu, void *sem_arg)
61084 #define FLD(f) abuf->fields.sfmt_cldsbu.f
61085 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61086 const IDESC * UNUSED idesc = abuf->idesc;
61087 int cycles = 0;
61089 int referenced = 0;
61090 int UNUSED insn_referenced = abuf->written;
61091 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61093 return cycles;
61094 #undef FLD
61097 static int
61098 model_fr400_nlduhu (SIM_CPU *current_cpu, void *sem_arg)
61100 #define FLD(f) abuf->fields.sfmt_cldsbu.f
61101 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61102 const IDESC * UNUSED idesc = abuf->idesc;
61103 int cycles = 0;
61105 int referenced = 0;
61106 int UNUSED insn_referenced = abuf->written;
61107 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61109 return cycles;
61110 #undef FLD
61113 static int
61114 model_fr400_nldu (SIM_CPU *current_cpu, void *sem_arg)
61116 #define FLD(f) abuf->fields.sfmt_cldsbu.f
61117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61118 const IDESC * UNUSED idesc = abuf->idesc;
61119 int cycles = 0;
61121 int referenced = 0;
61122 int UNUSED insn_referenced = abuf->written;
61123 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61125 return cycles;
61126 #undef FLD
61129 static int
61130 model_fr400_ldbfu (SIM_CPU *current_cpu, void *sem_arg)
61132 #define FLD(f) abuf->fields.sfmt_cldbfu.f
61133 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61134 const IDESC * UNUSED idesc = abuf->idesc;
61135 int cycles = 0;
61137 int referenced = 0;
61138 int UNUSED insn_referenced = abuf->written;
61139 INT in_GRi = -1;
61140 INT in_GRj = -1;
61141 INT out_FRintk = -1;
61142 INT out_FRdoublek = -1;
61143 in_GRi = FLD (in_GRi);
61144 in_GRj = FLD (in_GRj);
61145 out_FRintk = FLD (out_FRintk);
61146 referenced |= 1 << 0;
61147 referenced |= 1 << 1;
61148 referenced |= 1 << 2;
61149 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61151 return cycles;
61152 #undef FLD
61155 static int
61156 model_fr400_ldhfu (SIM_CPU *current_cpu, void *sem_arg)
61158 #define FLD(f) abuf->fields.sfmt_cldbfu.f
61159 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61160 const IDESC * UNUSED idesc = abuf->idesc;
61161 int cycles = 0;
61163 int referenced = 0;
61164 int UNUSED insn_referenced = abuf->written;
61165 INT in_GRi = -1;
61166 INT in_GRj = -1;
61167 INT out_FRintk = -1;
61168 INT out_FRdoublek = -1;
61169 in_GRi = FLD (in_GRi);
61170 in_GRj = FLD (in_GRj);
61171 out_FRintk = FLD (out_FRintk);
61172 referenced |= 1 << 0;
61173 referenced |= 1 << 1;
61174 referenced |= 1 << 2;
61175 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61177 return cycles;
61178 #undef FLD
61181 static int
61182 model_fr400_ldfu (SIM_CPU *current_cpu, void *sem_arg)
61184 #define FLD(f) abuf->fields.sfmt_cldbfu.f
61185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61186 const IDESC * UNUSED idesc = abuf->idesc;
61187 int cycles = 0;
61189 int referenced = 0;
61190 int UNUSED insn_referenced = abuf->written;
61191 INT in_GRi = -1;
61192 INT in_GRj = -1;
61193 INT out_FRintk = -1;
61194 INT out_FRdoublek = -1;
61195 in_GRi = FLD (in_GRi);
61196 in_GRj = FLD (in_GRj);
61197 out_FRintk = FLD (out_FRintk);
61198 referenced |= 1 << 0;
61199 referenced |= 1 << 1;
61200 referenced |= 1 << 2;
61201 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61203 return cycles;
61204 #undef FLD
61207 static int
61208 model_fr400_ldcu (SIM_CPU *current_cpu, void *sem_arg)
61210 #define FLD(f) abuf->fields.sfmt_ldcu.f
61211 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61212 const IDESC * UNUSED idesc = abuf->idesc;
61213 int cycles = 0;
61215 int referenced = 0;
61216 int UNUSED insn_referenced = abuf->written;
61217 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61219 return cycles;
61220 #undef FLD
61223 static int
61224 model_fr400_nldbfu (SIM_CPU *current_cpu, void *sem_arg)
61226 #define FLD(f) abuf->fields.sfmt_cldbfu.f
61227 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61228 const IDESC * UNUSED idesc = abuf->idesc;
61229 int cycles = 0;
61231 int referenced = 0;
61232 int UNUSED insn_referenced = abuf->written;
61233 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61235 return cycles;
61236 #undef FLD
61239 static int
61240 model_fr400_nldhfu (SIM_CPU *current_cpu, void *sem_arg)
61242 #define FLD(f) abuf->fields.sfmt_cldbfu.f
61243 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61244 const IDESC * UNUSED idesc = abuf->idesc;
61245 int cycles = 0;
61247 int referenced = 0;
61248 int UNUSED insn_referenced = abuf->written;
61249 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61251 return cycles;
61252 #undef FLD
61255 static int
61256 model_fr400_nldfu (SIM_CPU *current_cpu, void *sem_arg)
61258 #define FLD(f) abuf->fields.sfmt_cldbfu.f
61259 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61260 const IDESC * UNUSED idesc = abuf->idesc;
61261 int cycles = 0;
61263 int referenced = 0;
61264 int UNUSED insn_referenced = abuf->written;
61265 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61267 return cycles;
61268 #undef FLD
61271 static int
61272 model_fr400_lddu (SIM_CPU *current_cpu, void *sem_arg)
61274 #define FLD(f) abuf->fields.sfmt_clddu.f
61275 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61276 const IDESC * UNUSED idesc = abuf->idesc;
61277 int cycles = 0;
61279 int referenced = 0;
61280 int UNUSED insn_referenced = abuf->written;
61281 INT in_GRi = -1;
61282 INT in_GRj = -1;
61283 INT out_GRk = -1;
61284 INT out_GRdoublek = -1;
61285 in_GRi = FLD (in_GRi);
61286 in_GRj = FLD (in_GRj);
61287 out_GRdoublek = FLD (out_GRdoublek);
61288 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
61289 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
61290 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
61291 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61293 return cycles;
61294 #undef FLD
61297 static int
61298 model_fr400_nlddu (SIM_CPU *current_cpu, void *sem_arg)
61300 #define FLD(f) abuf->fields.sfmt_clddu.f
61301 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61302 const IDESC * UNUSED idesc = abuf->idesc;
61303 int cycles = 0;
61305 int referenced = 0;
61306 int UNUSED insn_referenced = abuf->written;
61307 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61309 return cycles;
61310 #undef FLD
61313 static int
61314 model_fr400_lddfu (SIM_CPU *current_cpu, void *sem_arg)
61316 #define FLD(f) abuf->fields.sfmt_clddfu.f
61317 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61318 const IDESC * UNUSED idesc = abuf->idesc;
61319 int cycles = 0;
61321 int referenced = 0;
61322 int UNUSED insn_referenced = abuf->written;
61323 INT in_GRi = -1;
61324 INT in_GRj = -1;
61325 INT out_FRintk = -1;
61326 INT out_FRdoublek = -1;
61327 in_GRi = FLD (in_GRi);
61328 in_GRj = FLD (in_GRj);
61329 out_FRdoublek = FLD (out_FRdoublek);
61330 referenced |= 1 << 0;
61331 referenced |= 1 << 1;
61332 referenced |= 1 << 3;
61333 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61335 return cycles;
61336 #undef FLD
61339 static int
61340 model_fr400_lddcu (SIM_CPU *current_cpu, void *sem_arg)
61342 #define FLD(f) abuf->fields.sfmt_lddcu.f
61343 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61344 const IDESC * UNUSED idesc = abuf->idesc;
61345 int cycles = 0;
61347 int referenced = 0;
61348 int UNUSED insn_referenced = abuf->written;
61349 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61351 return cycles;
61352 #undef FLD
61355 static int
61356 model_fr400_nlddfu (SIM_CPU *current_cpu, void *sem_arg)
61358 #define FLD(f) abuf->fields.sfmt_clddfu.f
61359 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61360 const IDESC * UNUSED idesc = abuf->idesc;
61361 int cycles = 0;
61363 int referenced = 0;
61364 int UNUSED insn_referenced = abuf->written;
61365 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61367 return cycles;
61368 #undef FLD
61371 static int
61372 model_fr400_ldqu (SIM_CPU *current_cpu, void *sem_arg)
61374 #define FLD(f) abuf->fields.sfmt_cstdu.f
61375 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61376 const IDESC * UNUSED idesc = abuf->idesc;
61377 int cycles = 0;
61379 int referenced = 0;
61380 int UNUSED insn_referenced = abuf->written;
61381 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61383 return cycles;
61384 #undef FLD
61387 static int
61388 model_fr400_nldqu (SIM_CPU *current_cpu, void *sem_arg)
61390 #define FLD(f) abuf->fields.sfmt_cstdu.f
61391 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61392 const IDESC * UNUSED idesc = abuf->idesc;
61393 int cycles = 0;
61395 int referenced = 0;
61396 int UNUSED insn_referenced = abuf->written;
61397 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61399 return cycles;
61400 #undef FLD
61403 static int
61404 model_fr400_ldqfu (SIM_CPU *current_cpu, void *sem_arg)
61406 #define FLD(f) abuf->fields.sfmt_cstdfu.f
61407 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61408 const IDESC * UNUSED idesc = abuf->idesc;
61409 int cycles = 0;
61411 int referenced = 0;
61412 int UNUSED insn_referenced = abuf->written;
61413 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61415 return cycles;
61416 #undef FLD
61419 static int
61420 model_fr400_ldqcu (SIM_CPU *current_cpu, void *sem_arg)
61422 #define FLD(f) abuf->fields.sfmt_stdcu.f
61423 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61424 const IDESC * UNUSED idesc = abuf->idesc;
61425 int cycles = 0;
61427 int referenced = 0;
61428 int UNUSED insn_referenced = abuf->written;
61429 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61431 return cycles;
61432 #undef FLD
61435 static int
61436 model_fr400_nldqfu (SIM_CPU *current_cpu, void *sem_arg)
61438 #define FLD(f) abuf->fields.sfmt_cstdfu.f
61439 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61440 const IDESC * UNUSED idesc = abuf->idesc;
61441 int cycles = 0;
61443 int referenced = 0;
61444 int UNUSED insn_referenced = abuf->written;
61445 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61447 return cycles;
61448 #undef FLD
61451 static int
61452 model_fr400_ldsbi (SIM_CPU *current_cpu, void *sem_arg)
61454 #define FLD(f) abuf->fields.sfmt_swapi.f
61455 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61456 const IDESC * UNUSED idesc = abuf->idesc;
61457 int cycles = 0;
61459 int referenced = 0;
61460 int UNUSED insn_referenced = abuf->written;
61461 INT in_GRi = -1;
61462 INT in_GRj = -1;
61463 INT out_GRk = -1;
61464 INT out_GRdoublek = -1;
61465 in_GRi = FLD (in_GRi);
61466 out_GRk = FLD (out_GRk);
61467 referenced |= 1 << 0;
61468 referenced |= 1 << 2;
61469 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61471 return cycles;
61472 #undef FLD
61475 static int
61476 model_fr400_ldshi (SIM_CPU *current_cpu, void *sem_arg)
61478 #define FLD(f) abuf->fields.sfmt_swapi.f
61479 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61480 const IDESC * UNUSED idesc = abuf->idesc;
61481 int cycles = 0;
61483 int referenced = 0;
61484 int UNUSED insn_referenced = abuf->written;
61485 INT in_GRi = -1;
61486 INT in_GRj = -1;
61487 INT out_GRk = -1;
61488 INT out_GRdoublek = -1;
61489 in_GRi = FLD (in_GRi);
61490 out_GRk = FLD (out_GRk);
61491 referenced |= 1 << 0;
61492 referenced |= 1 << 2;
61493 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61495 return cycles;
61496 #undef FLD
61499 static int
61500 model_fr400_ldi (SIM_CPU *current_cpu, void *sem_arg)
61502 #define FLD(f) abuf->fields.sfmt_swapi.f
61503 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61504 const IDESC * UNUSED idesc = abuf->idesc;
61505 int cycles = 0;
61507 int referenced = 0;
61508 int UNUSED insn_referenced = abuf->written;
61509 INT in_GRi = -1;
61510 INT in_GRj = -1;
61511 INT out_GRk = -1;
61512 INT out_GRdoublek = -1;
61513 in_GRi = FLD (in_GRi);
61514 out_GRk = FLD (out_GRk);
61515 referenced |= 1 << 0;
61516 referenced |= 1 << 2;
61517 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61519 return cycles;
61520 #undef FLD
61523 static int
61524 model_fr400_ldubi (SIM_CPU *current_cpu, void *sem_arg)
61526 #define FLD(f) abuf->fields.sfmt_swapi.f
61527 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61528 const IDESC * UNUSED idesc = abuf->idesc;
61529 int cycles = 0;
61531 int referenced = 0;
61532 int UNUSED insn_referenced = abuf->written;
61533 INT in_GRi = -1;
61534 INT in_GRj = -1;
61535 INT out_GRk = -1;
61536 INT out_GRdoublek = -1;
61537 in_GRi = FLD (in_GRi);
61538 out_GRk = FLD (out_GRk);
61539 referenced |= 1 << 0;
61540 referenced |= 1 << 2;
61541 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61543 return cycles;
61544 #undef FLD
61547 static int
61548 model_fr400_lduhi (SIM_CPU *current_cpu, void *sem_arg)
61550 #define FLD(f) abuf->fields.sfmt_swapi.f
61551 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61552 const IDESC * UNUSED idesc = abuf->idesc;
61553 int cycles = 0;
61555 int referenced = 0;
61556 int UNUSED insn_referenced = abuf->written;
61557 INT in_GRi = -1;
61558 INT in_GRj = -1;
61559 INT out_GRk = -1;
61560 INT out_GRdoublek = -1;
61561 in_GRi = FLD (in_GRi);
61562 out_GRk = FLD (out_GRk);
61563 referenced |= 1 << 0;
61564 referenced |= 1 << 2;
61565 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61567 return cycles;
61568 #undef FLD
61571 static int
61572 model_fr400_ldbfi (SIM_CPU *current_cpu, void *sem_arg)
61574 #define FLD(f) abuf->fields.sfmt_ldbfi.f
61575 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61576 const IDESC * UNUSED idesc = abuf->idesc;
61577 int cycles = 0;
61579 int referenced = 0;
61580 int UNUSED insn_referenced = abuf->written;
61581 INT in_GRi = -1;
61582 INT in_GRj = -1;
61583 INT out_FRintk = -1;
61584 INT out_FRdoublek = -1;
61585 in_GRi = FLD (in_GRi);
61586 out_FRintk = FLD (out_FRintk);
61587 referenced |= 1 << 0;
61588 referenced |= 1 << 2;
61589 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61591 return cycles;
61592 #undef FLD
61595 static int
61596 model_fr400_ldhfi (SIM_CPU *current_cpu, void *sem_arg)
61598 #define FLD(f) abuf->fields.sfmt_ldbfi.f
61599 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61600 const IDESC * UNUSED idesc = abuf->idesc;
61601 int cycles = 0;
61603 int referenced = 0;
61604 int UNUSED insn_referenced = abuf->written;
61605 INT in_GRi = -1;
61606 INT in_GRj = -1;
61607 INT out_FRintk = -1;
61608 INT out_FRdoublek = -1;
61609 in_GRi = FLD (in_GRi);
61610 out_FRintk = FLD (out_FRintk);
61611 referenced |= 1 << 0;
61612 referenced |= 1 << 2;
61613 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61615 return cycles;
61616 #undef FLD
61619 static int
61620 model_fr400_ldfi (SIM_CPU *current_cpu, void *sem_arg)
61622 #define FLD(f) abuf->fields.sfmt_ldbfi.f
61623 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61624 const IDESC * UNUSED idesc = abuf->idesc;
61625 int cycles = 0;
61627 int referenced = 0;
61628 int UNUSED insn_referenced = abuf->written;
61629 INT in_GRi = -1;
61630 INT in_GRj = -1;
61631 INT out_FRintk = -1;
61632 INT out_FRdoublek = -1;
61633 in_GRi = FLD (in_GRi);
61634 out_FRintk = FLD (out_FRintk);
61635 referenced |= 1 << 0;
61636 referenced |= 1 << 2;
61637 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61639 return cycles;
61640 #undef FLD
61643 static int
61644 model_fr400_nldsbi (SIM_CPU *current_cpu, void *sem_arg)
61646 #define FLD(f) abuf->fields.sfmt_swapi.f
61647 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61648 const IDESC * UNUSED idesc = abuf->idesc;
61649 int cycles = 0;
61651 int referenced = 0;
61652 int UNUSED insn_referenced = abuf->written;
61653 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61655 return cycles;
61656 #undef FLD
61659 static int
61660 model_fr400_nldubi (SIM_CPU *current_cpu, void *sem_arg)
61662 #define FLD(f) abuf->fields.sfmt_swapi.f
61663 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61664 const IDESC * UNUSED idesc = abuf->idesc;
61665 int cycles = 0;
61667 int referenced = 0;
61668 int UNUSED insn_referenced = abuf->written;
61669 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61671 return cycles;
61672 #undef FLD
61675 static int
61676 model_fr400_nldshi (SIM_CPU *current_cpu, void *sem_arg)
61678 #define FLD(f) abuf->fields.sfmt_swapi.f
61679 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61680 const IDESC * UNUSED idesc = abuf->idesc;
61681 int cycles = 0;
61683 int referenced = 0;
61684 int UNUSED insn_referenced = abuf->written;
61685 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61687 return cycles;
61688 #undef FLD
61691 static int
61692 model_fr400_nlduhi (SIM_CPU *current_cpu, void *sem_arg)
61694 #define FLD(f) abuf->fields.sfmt_swapi.f
61695 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61696 const IDESC * UNUSED idesc = abuf->idesc;
61697 int cycles = 0;
61699 int referenced = 0;
61700 int UNUSED insn_referenced = abuf->written;
61701 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61703 return cycles;
61704 #undef FLD
61707 static int
61708 model_fr400_nldi (SIM_CPU *current_cpu, void *sem_arg)
61710 #define FLD(f) abuf->fields.sfmt_swapi.f
61711 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61712 const IDESC * UNUSED idesc = abuf->idesc;
61713 int cycles = 0;
61715 int referenced = 0;
61716 int UNUSED insn_referenced = abuf->written;
61717 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61719 return cycles;
61720 #undef FLD
61723 static int
61724 model_fr400_nldbfi (SIM_CPU *current_cpu, void *sem_arg)
61726 #define FLD(f) abuf->fields.sfmt_ldbfi.f
61727 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61728 const IDESC * UNUSED idesc = abuf->idesc;
61729 int cycles = 0;
61731 int referenced = 0;
61732 int UNUSED insn_referenced = abuf->written;
61733 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61735 return cycles;
61736 #undef FLD
61739 static int
61740 model_fr400_nldhfi (SIM_CPU *current_cpu, void *sem_arg)
61742 #define FLD(f) abuf->fields.sfmt_ldbfi.f
61743 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61744 const IDESC * UNUSED idesc = abuf->idesc;
61745 int cycles = 0;
61747 int referenced = 0;
61748 int UNUSED insn_referenced = abuf->written;
61749 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61751 return cycles;
61752 #undef FLD
61755 static int
61756 model_fr400_nldfi (SIM_CPU *current_cpu, void *sem_arg)
61758 #define FLD(f) abuf->fields.sfmt_ldbfi.f
61759 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61760 const IDESC * UNUSED idesc = abuf->idesc;
61761 int cycles = 0;
61763 int referenced = 0;
61764 int UNUSED insn_referenced = abuf->written;
61765 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61767 return cycles;
61768 #undef FLD
61771 static int
61772 model_fr400_lddi (SIM_CPU *current_cpu, void *sem_arg)
61774 #define FLD(f) abuf->fields.sfmt_smuli.f
61775 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61776 const IDESC * UNUSED idesc = abuf->idesc;
61777 int cycles = 0;
61779 int referenced = 0;
61780 int UNUSED insn_referenced = abuf->written;
61781 INT in_GRi = -1;
61782 INT in_GRj = -1;
61783 INT out_GRk = -1;
61784 INT out_GRdoublek = -1;
61785 in_GRi = FLD (in_GRi);
61786 out_GRdoublek = FLD (out_GRdoublek);
61787 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
61788 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
61789 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
61791 return cycles;
61792 #undef FLD
61795 static int
61796 model_fr400_lddfi (SIM_CPU *current_cpu, void *sem_arg)
61798 #define FLD(f) abuf->fields.sfmt_lddfi.f
61799 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61800 const IDESC * UNUSED idesc = abuf->idesc;
61801 int cycles = 0;
61803 int referenced = 0;
61804 int UNUSED insn_referenced = abuf->written;
61805 INT in_GRi = -1;
61806 INT in_GRj = -1;
61807 INT out_FRintk = -1;
61808 INT out_FRdoublek = -1;
61809 in_GRi = FLD (in_GRi);
61810 out_FRdoublek = FLD (out_FRdoublek);
61811 referenced |= 1 << 0;
61812 referenced |= 1 << 3;
61813 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
61815 return cycles;
61816 #undef FLD
61819 static int
61820 model_fr400_nlddi (SIM_CPU *current_cpu, void *sem_arg)
61822 #define FLD(f) abuf->fields.sfmt_smuli.f
61823 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61824 const IDESC * UNUSED idesc = abuf->idesc;
61825 int cycles = 0;
61827 int referenced = 0;
61828 int UNUSED insn_referenced = abuf->written;
61829 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61831 return cycles;
61832 #undef FLD
61835 static int
61836 model_fr400_nlddfi (SIM_CPU *current_cpu, void *sem_arg)
61838 #define FLD(f) abuf->fields.sfmt_lddfi.f
61839 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61840 const IDESC * UNUSED idesc = abuf->idesc;
61841 int cycles = 0;
61843 int referenced = 0;
61844 int UNUSED insn_referenced = abuf->written;
61845 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61847 return cycles;
61848 #undef FLD
61851 static int
61852 model_fr400_ldqi (SIM_CPU *current_cpu, void *sem_arg)
61854 #define FLD(f) abuf->fields.sfmt_stdi.f
61855 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61856 const IDESC * UNUSED idesc = abuf->idesc;
61857 int cycles = 0;
61859 int referenced = 0;
61860 int UNUSED insn_referenced = abuf->written;
61861 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61863 return cycles;
61864 #undef FLD
61867 static int
61868 model_fr400_ldqfi (SIM_CPU *current_cpu, void *sem_arg)
61870 #define FLD(f) abuf->fields.sfmt_stdfi.f
61871 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61872 const IDESC * UNUSED idesc = abuf->idesc;
61873 int cycles = 0;
61875 int referenced = 0;
61876 int UNUSED insn_referenced = abuf->written;
61877 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61879 return cycles;
61880 #undef FLD
61883 static int
61884 model_fr400_nldqfi (SIM_CPU *current_cpu, void *sem_arg)
61886 #define FLD(f) abuf->fields.sfmt_stdfi.f
61887 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61888 const IDESC * UNUSED idesc = abuf->idesc;
61889 int cycles = 0;
61891 int referenced = 0;
61892 int UNUSED insn_referenced = abuf->written;
61893 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
61895 return cycles;
61896 #undef FLD
61899 static int
61900 model_fr400_stb (SIM_CPU *current_cpu, void *sem_arg)
61902 #define FLD(f) abuf->fields.sfmt_cswap.f
61903 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61904 const IDESC * UNUSED idesc = abuf->idesc;
61905 int cycles = 0;
61907 int referenced = 0;
61908 int UNUSED insn_referenced = abuf->written;
61909 INT in_GRi = -1;
61910 INT in_GRj = -1;
61911 INT in_GRk = -1;
61912 INT in_GRdoublek = -1;
61913 in_GRi = FLD (in_GRi);
61914 in_GRj = FLD (in_GRj);
61915 in_GRk = FLD (in_GRk);
61916 referenced |= 1 << 0;
61917 referenced |= 1 << 1;
61918 referenced |= 1 << 2;
61919 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
61921 return cycles;
61922 #undef FLD
61925 static int
61926 model_fr400_sth (SIM_CPU *current_cpu, void *sem_arg)
61928 #define FLD(f) abuf->fields.sfmt_cswap.f
61929 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61930 const IDESC * UNUSED idesc = abuf->idesc;
61931 int cycles = 0;
61933 int referenced = 0;
61934 int UNUSED insn_referenced = abuf->written;
61935 INT in_GRi = -1;
61936 INT in_GRj = -1;
61937 INT in_GRk = -1;
61938 INT in_GRdoublek = -1;
61939 in_GRi = FLD (in_GRi);
61940 in_GRj = FLD (in_GRj);
61941 in_GRk = FLD (in_GRk);
61942 referenced |= 1 << 0;
61943 referenced |= 1 << 1;
61944 referenced |= 1 << 2;
61945 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
61947 return cycles;
61948 #undef FLD
61951 static int
61952 model_fr400_st (SIM_CPU *current_cpu, void *sem_arg)
61954 #define FLD(f) abuf->fields.sfmt_cswap.f
61955 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61956 const IDESC * UNUSED idesc = abuf->idesc;
61957 int cycles = 0;
61959 int referenced = 0;
61960 int UNUSED insn_referenced = abuf->written;
61961 INT in_GRi = -1;
61962 INT in_GRj = -1;
61963 INT in_GRk = -1;
61964 INT in_GRdoublek = -1;
61965 in_GRi = FLD (in_GRi);
61966 in_GRj = FLD (in_GRj);
61967 in_GRk = FLD (in_GRk);
61968 referenced |= 1 << 0;
61969 referenced |= 1 << 1;
61970 referenced |= 1 << 2;
61971 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
61973 return cycles;
61974 #undef FLD
61977 static int
61978 model_fr400_stbf (SIM_CPU *current_cpu, void *sem_arg)
61980 #define FLD(f) abuf->fields.sfmt_cstbfu.f
61981 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
61982 const IDESC * UNUSED idesc = abuf->idesc;
61983 int cycles = 0;
61985 int referenced = 0;
61986 int UNUSED insn_referenced = abuf->written;
61987 INT in_GRi = -1;
61988 INT in_GRj = -1;
61989 INT in_FRintk = -1;
61990 INT in_FRdoublek = -1;
61991 in_GRi = FLD (in_GRi);
61992 in_GRj = FLD (in_GRj);
61993 in_FRintk = FLD (in_FRintk);
61994 referenced |= 1 << 0;
61995 referenced |= 1 << 1;
61996 referenced |= 1 << 2;
61997 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
61999 return cycles;
62000 #undef FLD
62003 static int
62004 model_fr400_sthf (SIM_CPU *current_cpu, void *sem_arg)
62006 #define FLD(f) abuf->fields.sfmt_cstbfu.f
62007 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62008 const IDESC * UNUSED idesc = abuf->idesc;
62009 int cycles = 0;
62011 int referenced = 0;
62012 int UNUSED insn_referenced = abuf->written;
62013 INT in_GRi = -1;
62014 INT in_GRj = -1;
62015 INT in_FRintk = -1;
62016 INT in_FRdoublek = -1;
62017 in_GRi = FLD (in_GRi);
62018 in_GRj = FLD (in_GRj);
62019 in_FRintk = FLD (in_FRintk);
62020 referenced |= 1 << 0;
62021 referenced |= 1 << 1;
62022 referenced |= 1 << 2;
62023 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
62025 return cycles;
62026 #undef FLD
62029 static int
62030 model_fr400_stf (SIM_CPU *current_cpu, void *sem_arg)
62032 #define FLD(f) abuf->fields.sfmt_cstbfu.f
62033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62034 const IDESC * UNUSED idesc = abuf->idesc;
62035 int cycles = 0;
62037 int referenced = 0;
62038 int UNUSED insn_referenced = abuf->written;
62039 INT in_GRi = -1;
62040 INT in_GRj = -1;
62041 INT in_FRintk = -1;
62042 INT in_FRdoublek = -1;
62043 in_GRi = FLD (in_GRi);
62044 in_GRj = FLD (in_GRj);
62045 in_FRintk = FLD (in_FRintk);
62046 referenced |= 1 << 0;
62047 referenced |= 1 << 1;
62048 referenced |= 1 << 2;
62049 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
62051 return cycles;
62052 #undef FLD
62055 static int
62056 model_fr400_stc (SIM_CPU *current_cpu, void *sem_arg)
62058 #define FLD(f) abuf->fields.sfmt_stcu.f
62059 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62060 const IDESC * UNUSED idesc = abuf->idesc;
62061 int cycles = 0;
62063 int referenced = 0;
62064 int UNUSED insn_referenced = abuf->written;
62065 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62067 return cycles;
62068 #undef FLD
62071 static int
62072 model_fr400_std (SIM_CPU *current_cpu, void *sem_arg)
62074 #define FLD(f) abuf->fields.sfmt_cstdu.f
62075 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62076 const IDESC * UNUSED idesc = abuf->idesc;
62077 int cycles = 0;
62079 int referenced = 0;
62080 int UNUSED insn_referenced = abuf->written;
62081 INT in_GRi = -1;
62082 INT in_GRj = -1;
62083 INT in_GRk = -1;
62084 INT in_GRdoublek = -1;
62085 in_GRi = FLD (in_GRi);
62086 in_GRj = FLD (in_GRj);
62087 in_GRdoublek = FLD (in_GRdoublek);
62088 referenced |= 1 << 0;
62089 referenced |= 1 << 1;
62090 referenced |= 1 << 3;
62091 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
62093 return cycles;
62094 #undef FLD
62097 static int
62098 model_fr400_stdf (SIM_CPU *current_cpu, void *sem_arg)
62100 #define FLD(f) abuf->fields.sfmt_cstdfu.f
62101 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62102 const IDESC * UNUSED idesc = abuf->idesc;
62103 int cycles = 0;
62105 int referenced = 0;
62106 int UNUSED insn_referenced = abuf->written;
62107 INT in_GRi = -1;
62108 INT in_GRj = -1;
62109 INT in_FRintk = -1;
62110 INT in_FRdoublek = -1;
62111 in_GRi = FLD (in_GRi);
62112 in_GRj = FLD (in_GRj);
62113 in_FRdoublek = FLD (in_FRdoublek);
62114 referenced |= 1 << 0;
62115 referenced |= 1 << 1;
62116 referenced |= 1 << 3;
62117 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
62119 return cycles;
62120 #undef FLD
62123 static int
62124 model_fr400_stdc (SIM_CPU *current_cpu, void *sem_arg)
62126 #define FLD(f) abuf->fields.sfmt_stdcu.f
62127 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62128 const IDESC * UNUSED idesc = abuf->idesc;
62129 int cycles = 0;
62131 int referenced = 0;
62132 int UNUSED insn_referenced = abuf->written;
62133 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62135 return cycles;
62136 #undef FLD
62139 static int
62140 model_fr400_stq (SIM_CPU *current_cpu, void *sem_arg)
62142 #define FLD(f) abuf->fields.sfmt_smulcc.f
62143 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62144 const IDESC * UNUSED idesc = abuf->idesc;
62145 int cycles = 0;
62147 int referenced = 0;
62148 int UNUSED insn_referenced = abuf->written;
62149 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62151 return cycles;
62152 #undef FLD
62155 static int
62156 model_fr400_stqf (SIM_CPU *current_cpu, void *sem_arg)
62158 #define FLD(f) abuf->fields.sfmt_cstdfu.f
62159 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62160 const IDESC * UNUSED idesc = abuf->idesc;
62161 int cycles = 0;
62163 int referenced = 0;
62164 int UNUSED insn_referenced = abuf->written;
62165 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62167 return cycles;
62168 #undef FLD
62171 static int
62172 model_fr400_stqc (SIM_CPU *current_cpu, void *sem_arg)
62174 #define FLD(f) abuf->fields.sfmt_stdcu.f
62175 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62176 const IDESC * UNUSED idesc = abuf->idesc;
62177 int cycles = 0;
62179 int referenced = 0;
62180 int UNUSED insn_referenced = abuf->written;
62181 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62183 return cycles;
62184 #undef FLD
62187 static int
62188 model_fr400_stbu (SIM_CPU *current_cpu, void *sem_arg)
62190 #define FLD(f) abuf->fields.sfmt_cstbu.f
62191 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62192 const IDESC * UNUSED idesc = abuf->idesc;
62193 int cycles = 0;
62195 int referenced = 0;
62196 int UNUSED insn_referenced = abuf->written;
62197 INT in_GRi = -1;
62198 INT in_GRj = -1;
62199 INT in_GRk = -1;
62200 INT in_GRdoublek = -1;
62201 in_GRi = FLD (in_GRi);
62202 in_GRj = FLD (in_GRj);
62203 in_GRk = FLD (in_GRk);
62204 referenced |= 1 << 0;
62205 referenced |= 1 << 1;
62206 referenced |= 1 << 2;
62207 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
62209 return cycles;
62210 #undef FLD
62213 static int
62214 model_fr400_sthu (SIM_CPU *current_cpu, void *sem_arg)
62216 #define FLD(f) abuf->fields.sfmt_cstbu.f
62217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62218 const IDESC * UNUSED idesc = abuf->idesc;
62219 int cycles = 0;
62221 int referenced = 0;
62222 int UNUSED insn_referenced = abuf->written;
62223 INT in_GRi = -1;
62224 INT in_GRj = -1;
62225 INT in_GRk = -1;
62226 INT in_GRdoublek = -1;
62227 in_GRi = FLD (in_GRi);
62228 in_GRj = FLD (in_GRj);
62229 in_GRk = FLD (in_GRk);
62230 referenced |= 1 << 0;
62231 referenced |= 1 << 1;
62232 referenced |= 1 << 2;
62233 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
62235 return cycles;
62236 #undef FLD
62239 static int
62240 model_fr400_stu (SIM_CPU *current_cpu, void *sem_arg)
62242 #define FLD(f) abuf->fields.sfmt_cstbu.f
62243 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62244 const IDESC * UNUSED idesc = abuf->idesc;
62245 int cycles = 0;
62247 int referenced = 0;
62248 int UNUSED insn_referenced = abuf->written;
62249 INT in_GRi = -1;
62250 INT in_GRj = -1;
62251 INT in_GRk = -1;
62252 INT in_GRdoublek = -1;
62253 in_GRi = FLD (in_GRi);
62254 in_GRj = FLD (in_GRj);
62255 in_GRk = FLD (in_GRk);
62256 referenced |= 1 << 0;
62257 referenced |= 1 << 1;
62258 referenced |= 1 << 2;
62259 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
62261 return cycles;
62262 #undef FLD
62265 static int
62266 model_fr400_stbfu (SIM_CPU *current_cpu, void *sem_arg)
62268 #define FLD(f) abuf->fields.sfmt_cstbfu.f
62269 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62270 const IDESC * UNUSED idesc = abuf->idesc;
62271 int cycles = 0;
62273 int referenced = 0;
62274 int UNUSED insn_referenced = abuf->written;
62275 INT in_GRi = -1;
62276 INT in_GRj = -1;
62277 INT in_FRintk = -1;
62278 INT in_FRdoublek = -1;
62279 in_GRi = FLD (in_GRi);
62280 in_GRj = FLD (in_GRj);
62281 in_FRintk = FLD (in_FRintk);
62282 referenced |= 1 << 0;
62283 referenced |= 1 << 1;
62284 referenced |= 1 << 2;
62285 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
62287 return cycles;
62288 #undef FLD
62291 static int
62292 model_fr400_sthfu (SIM_CPU *current_cpu, void *sem_arg)
62294 #define FLD(f) abuf->fields.sfmt_cstbfu.f
62295 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62296 const IDESC * UNUSED idesc = abuf->idesc;
62297 int cycles = 0;
62299 int referenced = 0;
62300 int UNUSED insn_referenced = abuf->written;
62301 INT in_GRi = -1;
62302 INT in_GRj = -1;
62303 INT in_FRintk = -1;
62304 INT in_FRdoublek = -1;
62305 in_GRi = FLD (in_GRi);
62306 in_GRj = FLD (in_GRj);
62307 in_FRintk = FLD (in_FRintk);
62308 referenced |= 1 << 0;
62309 referenced |= 1 << 1;
62310 referenced |= 1 << 2;
62311 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
62313 return cycles;
62314 #undef FLD
62317 static int
62318 model_fr400_stfu (SIM_CPU *current_cpu, void *sem_arg)
62320 #define FLD(f) abuf->fields.sfmt_cstbfu.f
62321 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62322 const IDESC * UNUSED idesc = abuf->idesc;
62323 int cycles = 0;
62325 int referenced = 0;
62326 int UNUSED insn_referenced = abuf->written;
62327 INT in_GRi = -1;
62328 INT in_GRj = -1;
62329 INT in_FRintk = -1;
62330 INT in_FRdoublek = -1;
62331 in_GRi = FLD (in_GRi);
62332 in_GRj = FLD (in_GRj);
62333 in_FRintk = FLD (in_FRintk);
62334 referenced |= 1 << 0;
62335 referenced |= 1 << 1;
62336 referenced |= 1 << 2;
62337 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
62339 return cycles;
62340 #undef FLD
62343 static int
62344 model_fr400_stcu (SIM_CPU *current_cpu, void *sem_arg)
62346 #define FLD(f) abuf->fields.sfmt_stcu.f
62347 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62348 const IDESC * UNUSED idesc = abuf->idesc;
62349 int cycles = 0;
62351 int referenced = 0;
62352 int UNUSED insn_referenced = abuf->written;
62353 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62355 return cycles;
62356 #undef FLD
62359 static int
62360 model_fr400_stdu (SIM_CPU *current_cpu, void *sem_arg)
62362 #define FLD(f) abuf->fields.sfmt_cstdu.f
62363 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62364 const IDESC * UNUSED idesc = abuf->idesc;
62365 int cycles = 0;
62367 int referenced = 0;
62368 int UNUSED insn_referenced = abuf->written;
62369 INT in_GRi = -1;
62370 INT in_GRj = -1;
62371 INT in_GRk = -1;
62372 INT in_GRdoublek = -1;
62373 in_GRi = FLD (in_GRi);
62374 in_GRj = FLD (in_GRj);
62375 in_GRdoublek = FLD (in_GRdoublek);
62376 referenced |= 1 << 0;
62377 referenced |= 1 << 1;
62378 referenced |= 1 << 3;
62379 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
62381 return cycles;
62382 #undef FLD
62385 static int
62386 model_fr400_stdfu (SIM_CPU *current_cpu, void *sem_arg)
62388 #define FLD(f) abuf->fields.sfmt_cstdfu.f
62389 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62390 const IDESC * UNUSED idesc = abuf->idesc;
62391 int cycles = 0;
62393 int referenced = 0;
62394 int UNUSED insn_referenced = abuf->written;
62395 INT in_GRi = -1;
62396 INT in_GRj = -1;
62397 INT in_FRintk = -1;
62398 INT in_FRdoublek = -1;
62399 in_GRi = FLD (in_GRi);
62400 in_GRj = FLD (in_GRj);
62401 in_FRdoublek = FLD (in_FRdoublek);
62402 referenced |= 1 << 0;
62403 referenced |= 1 << 1;
62404 referenced |= 1 << 3;
62405 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
62407 return cycles;
62408 #undef FLD
62411 static int
62412 model_fr400_stdcu (SIM_CPU *current_cpu, void *sem_arg)
62414 #define FLD(f) abuf->fields.sfmt_stdcu.f
62415 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62416 const IDESC * UNUSED idesc = abuf->idesc;
62417 int cycles = 0;
62419 int referenced = 0;
62420 int UNUSED insn_referenced = abuf->written;
62421 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62423 return cycles;
62424 #undef FLD
62427 static int
62428 model_fr400_stqu (SIM_CPU *current_cpu, void *sem_arg)
62430 #define FLD(f) abuf->fields.sfmt_cstdu.f
62431 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62432 const IDESC * UNUSED idesc = abuf->idesc;
62433 int cycles = 0;
62435 int referenced = 0;
62436 int UNUSED insn_referenced = abuf->written;
62437 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62439 return cycles;
62440 #undef FLD
62443 static int
62444 model_fr400_stqfu (SIM_CPU *current_cpu, void *sem_arg)
62446 #define FLD(f) abuf->fields.sfmt_cstdfu.f
62447 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62448 const IDESC * UNUSED idesc = abuf->idesc;
62449 int cycles = 0;
62451 int referenced = 0;
62452 int UNUSED insn_referenced = abuf->written;
62453 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62455 return cycles;
62456 #undef FLD
62459 static int
62460 model_fr400_stqcu (SIM_CPU *current_cpu, void *sem_arg)
62462 #define FLD(f) abuf->fields.sfmt_stdcu.f
62463 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62464 const IDESC * UNUSED idesc = abuf->idesc;
62465 int cycles = 0;
62467 int referenced = 0;
62468 int UNUSED insn_referenced = abuf->written;
62469 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62471 return cycles;
62472 #undef FLD
62475 static int
62476 model_fr400_cldsb (SIM_CPU *current_cpu, void *sem_arg)
62478 #define FLD(f) abuf->fields.sfmt_cswap.f
62479 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62480 const IDESC * UNUSED idesc = abuf->idesc;
62481 int cycles = 0;
62483 int referenced = 0;
62484 int UNUSED insn_referenced = abuf->written;
62485 INT in_GRi = -1;
62486 INT in_GRj = -1;
62487 INT out_GRk = -1;
62488 INT out_GRdoublek = -1;
62489 in_GRi = FLD (in_GRi);
62490 in_GRj = FLD (in_GRj);
62491 out_GRk = FLD (out_GRk);
62492 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62493 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62494 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62495 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62497 return cycles;
62498 #undef FLD
62501 static int
62502 model_fr400_cldub (SIM_CPU *current_cpu, void *sem_arg)
62504 #define FLD(f) abuf->fields.sfmt_cswap.f
62505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62506 const IDESC * UNUSED idesc = abuf->idesc;
62507 int cycles = 0;
62509 int referenced = 0;
62510 int UNUSED insn_referenced = abuf->written;
62511 INT in_GRi = -1;
62512 INT in_GRj = -1;
62513 INT out_GRk = -1;
62514 INT out_GRdoublek = -1;
62515 in_GRi = FLD (in_GRi);
62516 in_GRj = FLD (in_GRj);
62517 out_GRk = FLD (out_GRk);
62518 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62519 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62520 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62521 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62523 return cycles;
62524 #undef FLD
62527 static int
62528 model_fr400_cldsh (SIM_CPU *current_cpu, void *sem_arg)
62530 #define FLD(f) abuf->fields.sfmt_cswap.f
62531 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62532 const IDESC * UNUSED idesc = abuf->idesc;
62533 int cycles = 0;
62535 int referenced = 0;
62536 int UNUSED insn_referenced = abuf->written;
62537 INT in_GRi = -1;
62538 INT in_GRj = -1;
62539 INT out_GRk = -1;
62540 INT out_GRdoublek = -1;
62541 in_GRi = FLD (in_GRi);
62542 in_GRj = FLD (in_GRj);
62543 out_GRk = FLD (out_GRk);
62544 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62545 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62546 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62547 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62549 return cycles;
62550 #undef FLD
62553 static int
62554 model_fr400_clduh (SIM_CPU *current_cpu, void *sem_arg)
62556 #define FLD(f) abuf->fields.sfmt_cswap.f
62557 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62558 const IDESC * UNUSED idesc = abuf->idesc;
62559 int cycles = 0;
62561 int referenced = 0;
62562 int UNUSED insn_referenced = abuf->written;
62563 INT in_GRi = -1;
62564 INT in_GRj = -1;
62565 INT out_GRk = -1;
62566 INT out_GRdoublek = -1;
62567 in_GRi = FLD (in_GRi);
62568 in_GRj = FLD (in_GRj);
62569 out_GRk = FLD (out_GRk);
62570 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62571 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62572 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62573 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62575 return cycles;
62576 #undef FLD
62579 static int
62580 model_fr400_cld (SIM_CPU *current_cpu, void *sem_arg)
62582 #define FLD(f) abuf->fields.sfmt_cswap.f
62583 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62584 const IDESC * UNUSED idesc = abuf->idesc;
62585 int cycles = 0;
62587 int referenced = 0;
62588 int UNUSED insn_referenced = abuf->written;
62589 INT in_GRi = -1;
62590 INT in_GRj = -1;
62591 INT out_GRk = -1;
62592 INT out_GRdoublek = -1;
62593 in_GRi = FLD (in_GRi);
62594 in_GRj = FLD (in_GRj);
62595 out_GRk = FLD (out_GRk);
62596 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62597 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62598 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62599 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62601 return cycles;
62602 #undef FLD
62605 static int
62606 model_fr400_cldbf (SIM_CPU *current_cpu, void *sem_arg)
62608 #define FLD(f) abuf->fields.sfmt_cldbfu.f
62609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62610 const IDESC * UNUSED idesc = abuf->idesc;
62611 int cycles = 0;
62613 int referenced = 0;
62614 int UNUSED insn_referenced = abuf->written;
62615 INT in_GRi = -1;
62616 INT in_GRj = -1;
62617 INT out_FRintk = -1;
62618 INT out_FRdoublek = -1;
62619 in_GRi = FLD (in_GRi);
62620 in_GRj = FLD (in_GRj);
62621 out_FRintk = FLD (out_FRintk);
62622 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62623 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62624 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62625 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
62627 return cycles;
62628 #undef FLD
62631 static int
62632 model_fr400_cldhf (SIM_CPU *current_cpu, void *sem_arg)
62634 #define FLD(f) abuf->fields.sfmt_cldbfu.f
62635 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62636 const IDESC * UNUSED idesc = abuf->idesc;
62637 int cycles = 0;
62639 int referenced = 0;
62640 int UNUSED insn_referenced = abuf->written;
62641 INT in_GRi = -1;
62642 INT in_GRj = -1;
62643 INT out_FRintk = -1;
62644 INT out_FRdoublek = -1;
62645 in_GRi = FLD (in_GRi);
62646 in_GRj = FLD (in_GRj);
62647 out_FRintk = FLD (out_FRintk);
62648 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62649 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62650 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62651 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
62653 return cycles;
62654 #undef FLD
62657 static int
62658 model_fr400_cldf (SIM_CPU *current_cpu, void *sem_arg)
62660 #define FLD(f) abuf->fields.sfmt_cldbfu.f
62661 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62662 const IDESC * UNUSED idesc = abuf->idesc;
62663 int cycles = 0;
62665 int referenced = 0;
62666 int UNUSED insn_referenced = abuf->written;
62667 INT in_GRi = -1;
62668 INT in_GRj = -1;
62669 INT out_FRintk = -1;
62670 INT out_FRdoublek = -1;
62671 in_GRi = FLD (in_GRi);
62672 in_GRj = FLD (in_GRj);
62673 out_FRintk = FLD (out_FRintk);
62674 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62675 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62676 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62677 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
62679 return cycles;
62680 #undef FLD
62683 static int
62684 model_fr400_cldd (SIM_CPU *current_cpu, void *sem_arg)
62686 #define FLD(f) abuf->fields.sfmt_clddu.f
62687 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62688 const IDESC * UNUSED idesc = abuf->idesc;
62689 int cycles = 0;
62691 int referenced = 0;
62692 int UNUSED insn_referenced = abuf->written;
62693 INT in_GRi = -1;
62694 INT in_GRj = -1;
62695 INT out_GRk = -1;
62696 INT out_GRdoublek = -1;
62697 in_GRi = FLD (in_GRi);
62698 in_GRj = FLD (in_GRj);
62699 out_GRdoublek = FLD (out_GRdoublek);
62700 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62701 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62702 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
62703 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62705 return cycles;
62706 #undef FLD
62709 static int
62710 model_fr400_clddf (SIM_CPU *current_cpu, void *sem_arg)
62712 #define FLD(f) abuf->fields.sfmt_clddfu.f
62713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62714 const IDESC * UNUSED idesc = abuf->idesc;
62715 int cycles = 0;
62717 int referenced = 0;
62718 int UNUSED insn_referenced = abuf->written;
62719 INT in_GRi = -1;
62720 INT in_GRj = -1;
62721 INT out_GRk = -1;
62722 INT out_GRdoublek = -1;
62723 in_GRi = FLD (in_GRi);
62724 in_GRj = FLD (in_GRj);
62725 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62726 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62727 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62729 return cycles;
62730 #undef FLD
62733 static int
62734 model_fr400_cldq (SIM_CPU *current_cpu, void *sem_arg)
62736 #define FLD(f) abuf->fields.sfmt_cswap.f
62737 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62738 const IDESC * UNUSED idesc = abuf->idesc;
62739 int cycles = 0;
62741 int referenced = 0;
62742 int UNUSED insn_referenced = abuf->written;
62743 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
62745 return cycles;
62746 #undef FLD
62749 static int
62750 model_fr400_cldsbu (SIM_CPU *current_cpu, void *sem_arg)
62752 #define FLD(f) abuf->fields.sfmt_cldsbu.f
62753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62754 const IDESC * UNUSED idesc = abuf->idesc;
62755 int cycles = 0;
62757 int referenced = 0;
62758 int UNUSED insn_referenced = abuf->written;
62759 INT in_GRi = -1;
62760 INT in_GRj = -1;
62761 INT out_GRk = -1;
62762 INT out_GRdoublek = -1;
62763 in_GRi = FLD (in_GRi);
62764 in_GRj = FLD (in_GRj);
62765 out_GRk = FLD (out_GRk);
62766 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62767 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62768 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
62769 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62771 return cycles;
62772 #undef FLD
62775 static int
62776 model_fr400_cldubu (SIM_CPU *current_cpu, void *sem_arg)
62778 #define FLD(f) abuf->fields.sfmt_cldsbu.f
62779 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62780 const IDESC * UNUSED idesc = abuf->idesc;
62781 int cycles = 0;
62783 int referenced = 0;
62784 int UNUSED insn_referenced = abuf->written;
62785 INT in_GRi = -1;
62786 INT in_GRj = -1;
62787 INT out_GRk = -1;
62788 INT out_GRdoublek = -1;
62789 in_GRi = FLD (in_GRi);
62790 in_GRj = FLD (in_GRj);
62791 out_GRk = FLD (out_GRk);
62792 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62793 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62794 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
62795 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62797 return cycles;
62798 #undef FLD
62801 static int
62802 model_fr400_cldshu (SIM_CPU *current_cpu, void *sem_arg)
62804 #define FLD(f) abuf->fields.sfmt_cldsbu.f
62805 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62806 const IDESC * UNUSED idesc = abuf->idesc;
62807 int cycles = 0;
62809 int referenced = 0;
62810 int UNUSED insn_referenced = abuf->written;
62811 INT in_GRi = -1;
62812 INT in_GRj = -1;
62813 INT out_GRk = -1;
62814 INT out_GRdoublek = -1;
62815 in_GRi = FLD (in_GRi);
62816 in_GRj = FLD (in_GRj);
62817 out_GRk = FLD (out_GRk);
62818 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62819 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62820 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
62821 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62823 return cycles;
62824 #undef FLD
62827 static int
62828 model_fr400_clduhu (SIM_CPU *current_cpu, void *sem_arg)
62830 #define FLD(f) abuf->fields.sfmt_cldsbu.f
62831 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62832 const IDESC * UNUSED idesc = abuf->idesc;
62833 int cycles = 0;
62835 int referenced = 0;
62836 int UNUSED insn_referenced = abuf->written;
62837 INT in_GRi = -1;
62838 INT in_GRj = -1;
62839 INT out_GRk = -1;
62840 INT out_GRdoublek = -1;
62841 in_GRi = FLD (in_GRi);
62842 in_GRj = FLD (in_GRj);
62843 out_GRk = FLD (out_GRk);
62844 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62845 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62846 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
62847 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62849 return cycles;
62850 #undef FLD
62853 static int
62854 model_fr400_cldu (SIM_CPU *current_cpu, void *sem_arg)
62856 #define FLD(f) abuf->fields.sfmt_cldsbu.f
62857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62858 const IDESC * UNUSED idesc = abuf->idesc;
62859 int cycles = 0;
62861 int referenced = 0;
62862 int UNUSED insn_referenced = abuf->written;
62863 INT in_GRi = -1;
62864 INT in_GRj = -1;
62865 INT out_GRk = -1;
62866 INT out_GRdoublek = -1;
62867 in_GRi = FLD (in_GRi);
62868 in_GRj = FLD (in_GRj);
62869 out_GRk = FLD (out_GRk);
62870 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62871 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62872 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
62873 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62875 return cycles;
62876 #undef FLD
62879 static int
62880 model_fr400_cldbfu (SIM_CPU *current_cpu, void *sem_arg)
62882 #define FLD(f) abuf->fields.sfmt_cldbfu.f
62883 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62884 const IDESC * UNUSED idesc = abuf->idesc;
62885 int cycles = 0;
62887 int referenced = 0;
62888 int UNUSED insn_referenced = abuf->written;
62889 INT in_GRi = -1;
62890 INT in_GRj = -1;
62891 INT out_FRintk = -1;
62892 INT out_FRdoublek = -1;
62893 in_GRi = FLD (in_GRi);
62894 in_GRj = FLD (in_GRj);
62895 out_FRintk = FLD (out_FRintk);
62896 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62897 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62898 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62899 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
62901 return cycles;
62902 #undef FLD
62905 static int
62906 model_fr400_cldhfu (SIM_CPU *current_cpu, void *sem_arg)
62908 #define FLD(f) abuf->fields.sfmt_cldbfu.f
62909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62910 const IDESC * UNUSED idesc = abuf->idesc;
62911 int cycles = 0;
62913 int referenced = 0;
62914 int UNUSED insn_referenced = abuf->written;
62915 INT in_GRi = -1;
62916 INT in_GRj = -1;
62917 INT out_FRintk = -1;
62918 INT out_FRdoublek = -1;
62919 in_GRi = FLD (in_GRi);
62920 in_GRj = FLD (in_GRj);
62921 out_FRintk = FLD (out_FRintk);
62922 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62923 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62924 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62925 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
62927 return cycles;
62928 #undef FLD
62931 static int
62932 model_fr400_cldfu (SIM_CPU *current_cpu, void *sem_arg)
62934 #define FLD(f) abuf->fields.sfmt_cldbfu.f
62935 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62936 const IDESC * UNUSED idesc = abuf->idesc;
62937 int cycles = 0;
62939 int referenced = 0;
62940 int UNUSED insn_referenced = abuf->written;
62941 INT in_GRi = -1;
62942 INT in_GRj = -1;
62943 INT out_FRintk = -1;
62944 INT out_FRdoublek = -1;
62945 in_GRi = FLD (in_GRi);
62946 in_GRj = FLD (in_GRj);
62947 out_FRintk = FLD (out_FRintk);
62948 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62949 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62950 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
62951 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
62953 return cycles;
62954 #undef FLD
62957 static int
62958 model_fr400_clddu (SIM_CPU *current_cpu, void *sem_arg)
62960 #define FLD(f) abuf->fields.sfmt_clddu.f
62961 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62962 const IDESC * UNUSED idesc = abuf->idesc;
62963 int cycles = 0;
62965 int referenced = 0;
62966 int UNUSED insn_referenced = abuf->written;
62967 INT in_GRi = -1;
62968 INT in_GRj = -1;
62969 INT out_GRk = -1;
62970 INT out_GRdoublek = -1;
62971 in_GRi = FLD (in_GRi);
62972 in_GRj = FLD (in_GRj);
62973 out_GRdoublek = FLD (out_GRdoublek);
62974 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
62975 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
62976 if (insn_referenced & (1 << 7)) referenced |= 1 << 3;
62977 cycles += frvbf_model_fr400_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
62979 return cycles;
62980 #undef FLD
62983 static int
62984 model_fr400_clddfu (SIM_CPU *current_cpu, void *sem_arg)
62986 #define FLD(f) abuf->fields.sfmt_clddfu.f
62987 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
62988 const IDESC * UNUSED idesc = abuf->idesc;
62989 int cycles = 0;
62991 int referenced = 0;
62992 int UNUSED insn_referenced = abuf->written;
62993 INT in_GRi = -1;
62994 INT in_GRj = -1;
62995 INT out_FRintk = -1;
62996 INT out_FRdoublek = -1;
62997 in_GRi = FLD (in_GRi);
62998 in_GRj = FLD (in_GRj);
62999 out_FRdoublek = FLD (out_FRdoublek);
63000 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63001 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63002 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
63003 cycles += frvbf_model_fr400_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
63005 return cycles;
63006 #undef FLD
63009 static int
63010 model_fr400_cldqu (SIM_CPU *current_cpu, void *sem_arg)
63012 #define FLD(f) abuf->fields.sfmt_cstdu.f
63013 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63014 const IDESC * UNUSED idesc = abuf->idesc;
63015 int cycles = 0;
63017 int referenced = 0;
63018 int UNUSED insn_referenced = abuf->written;
63019 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
63021 return cycles;
63022 #undef FLD
63025 static int
63026 model_fr400_cstb (SIM_CPU *current_cpu, void *sem_arg)
63028 #define FLD(f) abuf->fields.sfmt_cswap.f
63029 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63030 const IDESC * UNUSED idesc = abuf->idesc;
63031 int cycles = 0;
63033 int referenced = 0;
63034 int UNUSED insn_referenced = abuf->written;
63035 INT in_GRi = -1;
63036 INT in_GRj = -1;
63037 INT in_GRk = -1;
63038 INT in_GRdoublek = -1;
63039 in_GRi = FLD (in_GRi);
63040 in_GRj = FLD (in_GRj);
63041 in_GRk = FLD (in_GRk);
63042 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63043 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63044 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
63045 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63047 return cycles;
63048 #undef FLD
63051 static int
63052 model_fr400_csth (SIM_CPU *current_cpu, void *sem_arg)
63054 #define FLD(f) abuf->fields.sfmt_cswap.f
63055 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63056 const IDESC * UNUSED idesc = abuf->idesc;
63057 int cycles = 0;
63059 int referenced = 0;
63060 int UNUSED insn_referenced = abuf->written;
63061 INT in_GRi = -1;
63062 INT in_GRj = -1;
63063 INT in_GRk = -1;
63064 INT in_GRdoublek = -1;
63065 in_GRi = FLD (in_GRi);
63066 in_GRj = FLD (in_GRj);
63067 in_GRk = FLD (in_GRk);
63068 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63069 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63070 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
63071 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63073 return cycles;
63074 #undef FLD
63077 static int
63078 model_fr400_cst (SIM_CPU *current_cpu, void *sem_arg)
63080 #define FLD(f) abuf->fields.sfmt_cswap.f
63081 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63082 const IDESC * UNUSED idesc = abuf->idesc;
63083 int cycles = 0;
63085 int referenced = 0;
63086 int UNUSED insn_referenced = abuf->written;
63087 INT in_GRi = -1;
63088 INT in_GRj = -1;
63089 INT in_GRk = -1;
63090 INT in_GRdoublek = -1;
63091 in_GRi = FLD (in_GRi);
63092 in_GRj = FLD (in_GRj);
63093 in_GRk = FLD (in_GRk);
63094 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63095 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63096 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
63097 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63099 return cycles;
63100 #undef FLD
63103 static int
63104 model_fr400_cstbf (SIM_CPU *current_cpu, void *sem_arg)
63106 #define FLD(f) abuf->fields.sfmt_cstbfu.f
63107 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63108 const IDESC * UNUSED idesc = abuf->idesc;
63109 int cycles = 0;
63111 int referenced = 0;
63112 int UNUSED insn_referenced = abuf->written;
63113 INT in_GRi = -1;
63114 INT in_GRj = -1;
63115 INT in_FRintk = -1;
63116 INT in_FRdoublek = -1;
63117 in_GRi = FLD (in_GRi);
63118 in_GRj = FLD (in_GRj);
63119 in_FRintk = FLD (in_FRintk);
63120 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63121 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63122 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
63123 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63125 return cycles;
63126 #undef FLD
63129 static int
63130 model_fr400_csthf (SIM_CPU *current_cpu, void *sem_arg)
63132 #define FLD(f) abuf->fields.sfmt_cstbfu.f
63133 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63134 const IDESC * UNUSED idesc = abuf->idesc;
63135 int cycles = 0;
63137 int referenced = 0;
63138 int UNUSED insn_referenced = abuf->written;
63139 INT in_GRi = -1;
63140 INT in_GRj = -1;
63141 INT in_FRintk = -1;
63142 INT in_FRdoublek = -1;
63143 in_GRi = FLD (in_GRi);
63144 in_GRj = FLD (in_GRj);
63145 in_FRintk = FLD (in_FRintk);
63146 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63147 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63148 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
63149 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63151 return cycles;
63152 #undef FLD
63155 static int
63156 model_fr400_cstf (SIM_CPU *current_cpu, void *sem_arg)
63158 #define FLD(f) abuf->fields.sfmt_cstbfu.f
63159 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63160 const IDESC * UNUSED idesc = abuf->idesc;
63161 int cycles = 0;
63163 int referenced = 0;
63164 int UNUSED insn_referenced = abuf->written;
63165 INT in_GRi = -1;
63166 INT in_GRj = -1;
63167 INT in_FRintk = -1;
63168 INT in_FRdoublek = -1;
63169 in_GRi = FLD (in_GRi);
63170 in_GRj = FLD (in_GRj);
63171 in_FRintk = FLD (in_FRintk);
63172 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63173 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63174 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
63175 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63177 return cycles;
63178 #undef FLD
63181 static int
63182 model_fr400_cstd (SIM_CPU *current_cpu, void *sem_arg)
63184 #define FLD(f) abuf->fields.sfmt_cstdu.f
63185 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63186 const IDESC * UNUSED idesc = abuf->idesc;
63187 int cycles = 0;
63189 int referenced = 0;
63190 int UNUSED insn_referenced = abuf->written;
63191 INT in_GRi = -1;
63192 INT in_GRj = -1;
63193 INT in_GRk = -1;
63194 INT in_GRdoublek = -1;
63195 in_GRi = FLD (in_GRi);
63196 in_GRj = FLD (in_GRj);
63197 in_GRdoublek = FLD (in_GRdoublek);
63198 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63199 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63200 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
63201 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63203 return cycles;
63204 #undef FLD
63207 static int
63208 model_fr400_cstdf (SIM_CPU *current_cpu, void *sem_arg)
63210 #define FLD(f) abuf->fields.sfmt_cstdfu.f
63211 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63212 const IDESC * UNUSED idesc = abuf->idesc;
63213 int cycles = 0;
63215 int referenced = 0;
63216 int UNUSED insn_referenced = abuf->written;
63217 INT in_GRi = -1;
63218 INT in_GRj = -1;
63219 INT in_FRintk = -1;
63220 INT in_FRdoublek = -1;
63221 in_GRi = FLD (in_GRi);
63222 in_GRj = FLD (in_GRj);
63223 in_FRdoublek = FLD (in_FRdoublek);
63224 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63225 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63226 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
63227 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63229 return cycles;
63230 #undef FLD
63233 static int
63234 model_fr400_cstq (SIM_CPU *current_cpu, void *sem_arg)
63236 #define FLD(f) abuf->fields.sfmt_cswap.f
63237 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63238 const IDESC * UNUSED idesc = abuf->idesc;
63239 int cycles = 0;
63241 int referenced = 0;
63242 int UNUSED insn_referenced = abuf->written;
63243 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
63245 return cycles;
63246 #undef FLD
63249 static int
63250 model_fr400_cstbu (SIM_CPU *current_cpu, void *sem_arg)
63252 #define FLD(f) abuf->fields.sfmt_cstbu.f
63253 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63254 const IDESC * UNUSED idesc = abuf->idesc;
63255 int cycles = 0;
63257 int referenced = 0;
63258 int UNUSED insn_referenced = abuf->written;
63259 INT in_GRi = -1;
63260 INT in_GRj = -1;
63261 INT in_GRk = -1;
63262 INT in_GRdoublek = -1;
63263 in_GRi = FLD (in_GRi);
63264 in_GRj = FLD (in_GRj);
63265 in_GRk = FLD (in_GRk);
63266 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63267 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63268 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
63269 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63271 return cycles;
63272 #undef FLD
63275 static int
63276 model_fr400_csthu (SIM_CPU *current_cpu, void *sem_arg)
63278 #define FLD(f) abuf->fields.sfmt_cstbu.f
63279 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63280 const IDESC * UNUSED idesc = abuf->idesc;
63281 int cycles = 0;
63283 int referenced = 0;
63284 int UNUSED insn_referenced = abuf->written;
63285 INT in_GRi = -1;
63286 INT in_GRj = -1;
63287 INT in_GRk = -1;
63288 INT in_GRdoublek = -1;
63289 in_GRi = FLD (in_GRi);
63290 in_GRj = FLD (in_GRj);
63291 in_GRk = FLD (in_GRk);
63292 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63293 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63294 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
63295 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63297 return cycles;
63298 #undef FLD
63301 static int
63302 model_fr400_cstu (SIM_CPU *current_cpu, void *sem_arg)
63304 #define FLD(f) abuf->fields.sfmt_cstbu.f
63305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63306 const IDESC * UNUSED idesc = abuf->idesc;
63307 int cycles = 0;
63309 int referenced = 0;
63310 int UNUSED insn_referenced = abuf->written;
63311 INT in_GRi = -1;
63312 INT in_GRj = -1;
63313 INT in_GRk = -1;
63314 INT in_GRdoublek = -1;
63315 in_GRi = FLD (in_GRi);
63316 in_GRj = FLD (in_GRj);
63317 in_GRk = FLD (in_GRk);
63318 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63319 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63320 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
63321 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63323 return cycles;
63324 #undef FLD
63327 static int
63328 model_fr400_cstbfu (SIM_CPU *current_cpu, void *sem_arg)
63330 #define FLD(f) abuf->fields.sfmt_cstbfu.f
63331 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63332 const IDESC * UNUSED idesc = abuf->idesc;
63333 int cycles = 0;
63335 int referenced = 0;
63336 int UNUSED insn_referenced = abuf->written;
63337 INT in_GRi = -1;
63338 INT in_GRj = -1;
63339 INT in_FRintk = -1;
63340 INT in_FRdoublek = -1;
63341 in_GRi = FLD (in_GRi);
63342 in_GRj = FLD (in_GRj);
63343 in_FRintk = FLD (in_FRintk);
63344 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63345 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63346 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
63347 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63349 return cycles;
63350 #undef FLD
63353 static int
63354 model_fr400_csthfu (SIM_CPU *current_cpu, void *sem_arg)
63356 #define FLD(f) abuf->fields.sfmt_cstbfu.f
63357 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63358 const IDESC * UNUSED idesc = abuf->idesc;
63359 int cycles = 0;
63361 int referenced = 0;
63362 int UNUSED insn_referenced = abuf->written;
63363 INT in_GRi = -1;
63364 INT in_GRj = -1;
63365 INT in_FRintk = -1;
63366 INT in_FRdoublek = -1;
63367 in_GRi = FLD (in_GRi);
63368 in_GRj = FLD (in_GRj);
63369 in_FRintk = FLD (in_FRintk);
63370 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63371 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63372 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
63373 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63375 return cycles;
63376 #undef FLD
63379 static int
63380 model_fr400_cstfu (SIM_CPU *current_cpu, void *sem_arg)
63382 #define FLD(f) abuf->fields.sfmt_cstbfu.f
63383 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63384 const IDESC * UNUSED idesc = abuf->idesc;
63385 int cycles = 0;
63387 int referenced = 0;
63388 int UNUSED insn_referenced = abuf->written;
63389 INT in_GRi = -1;
63390 INT in_GRj = -1;
63391 INT in_FRintk = -1;
63392 INT in_FRdoublek = -1;
63393 in_GRi = FLD (in_GRi);
63394 in_GRj = FLD (in_GRj);
63395 in_FRintk = FLD (in_FRintk);
63396 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63397 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63398 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
63399 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63401 return cycles;
63402 #undef FLD
63405 static int
63406 model_fr400_cstdu (SIM_CPU *current_cpu, void *sem_arg)
63408 #define FLD(f) abuf->fields.sfmt_cstdu.f
63409 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63410 const IDESC * UNUSED idesc = abuf->idesc;
63411 int cycles = 0;
63413 int referenced = 0;
63414 int UNUSED insn_referenced = abuf->written;
63415 INT in_GRi = -1;
63416 INT in_GRj = -1;
63417 INT in_GRk = -1;
63418 INT in_GRdoublek = -1;
63419 in_GRi = FLD (in_GRi);
63420 in_GRj = FLD (in_GRj);
63421 in_GRdoublek = FLD (in_GRdoublek);
63422 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63423 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63424 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
63425 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63427 return cycles;
63428 #undef FLD
63431 static int
63432 model_fr400_cstdfu (SIM_CPU *current_cpu, void *sem_arg)
63434 #define FLD(f) abuf->fields.sfmt_cstdfu.f
63435 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63436 const IDESC * UNUSED idesc = abuf->idesc;
63437 int cycles = 0;
63439 int referenced = 0;
63440 int UNUSED insn_referenced = abuf->written;
63441 INT in_GRi = -1;
63442 INT in_GRj = -1;
63443 INT in_FRintk = -1;
63444 INT in_FRdoublek = -1;
63445 in_GRi = FLD (in_GRi);
63446 in_GRj = FLD (in_GRj);
63447 in_FRdoublek = FLD (in_FRdoublek);
63448 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
63449 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63450 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
63451 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63453 return cycles;
63454 #undef FLD
63457 static int
63458 model_fr400_stbi (SIM_CPU *current_cpu, void *sem_arg)
63460 #define FLD(f) abuf->fields.sfmt_swapi.f
63461 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63462 const IDESC * UNUSED idesc = abuf->idesc;
63463 int cycles = 0;
63465 int referenced = 0;
63466 int UNUSED insn_referenced = abuf->written;
63467 INT in_GRi = -1;
63468 INT in_GRj = -1;
63469 INT in_GRk = -1;
63470 INT in_GRdoublek = -1;
63471 in_GRi = FLD (in_GRi);
63472 in_GRk = FLD (in_GRk);
63473 referenced |= 1 << 0;
63474 referenced |= 1 << 2;
63475 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63477 return cycles;
63478 #undef FLD
63481 static int
63482 model_fr400_sthi (SIM_CPU *current_cpu, void *sem_arg)
63484 #define FLD(f) abuf->fields.sfmt_swapi.f
63485 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63486 const IDESC * UNUSED idesc = abuf->idesc;
63487 int cycles = 0;
63489 int referenced = 0;
63490 int UNUSED insn_referenced = abuf->written;
63491 INT in_GRi = -1;
63492 INT in_GRj = -1;
63493 INT in_GRk = -1;
63494 INT in_GRdoublek = -1;
63495 in_GRi = FLD (in_GRi);
63496 in_GRk = FLD (in_GRk);
63497 referenced |= 1 << 0;
63498 referenced |= 1 << 2;
63499 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63501 return cycles;
63502 #undef FLD
63505 static int
63506 model_fr400_sti (SIM_CPU *current_cpu, void *sem_arg)
63508 #define FLD(f) abuf->fields.sfmt_swapi.f
63509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63510 const IDESC * UNUSED idesc = abuf->idesc;
63511 int cycles = 0;
63513 int referenced = 0;
63514 int UNUSED insn_referenced = abuf->written;
63515 INT in_GRi = -1;
63516 INT in_GRj = -1;
63517 INT in_GRk = -1;
63518 INT in_GRdoublek = -1;
63519 in_GRi = FLD (in_GRi);
63520 in_GRk = FLD (in_GRk);
63521 referenced |= 1 << 0;
63522 referenced |= 1 << 2;
63523 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63525 return cycles;
63526 #undef FLD
63529 static int
63530 model_fr400_stbfi (SIM_CPU *current_cpu, void *sem_arg)
63532 #define FLD(f) abuf->fields.sfmt_stbfi.f
63533 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63534 const IDESC * UNUSED idesc = abuf->idesc;
63535 int cycles = 0;
63537 int referenced = 0;
63538 int UNUSED insn_referenced = abuf->written;
63539 INT in_GRi = -1;
63540 INT in_GRj = -1;
63541 INT in_FRintk = -1;
63542 INT in_FRdoublek = -1;
63543 in_GRi = FLD (in_GRi);
63544 in_FRintk = FLD (in_FRintk);
63545 referenced |= 1 << 0;
63546 referenced |= 1 << 2;
63547 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63549 return cycles;
63550 #undef FLD
63553 static int
63554 model_fr400_sthfi (SIM_CPU *current_cpu, void *sem_arg)
63556 #define FLD(f) abuf->fields.sfmt_stbfi.f
63557 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63558 const IDESC * UNUSED idesc = abuf->idesc;
63559 int cycles = 0;
63561 int referenced = 0;
63562 int UNUSED insn_referenced = abuf->written;
63563 INT in_GRi = -1;
63564 INT in_GRj = -1;
63565 INT in_FRintk = -1;
63566 INT in_FRdoublek = -1;
63567 in_GRi = FLD (in_GRi);
63568 in_FRintk = FLD (in_FRintk);
63569 referenced |= 1 << 0;
63570 referenced |= 1 << 2;
63571 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63573 return cycles;
63574 #undef FLD
63577 static int
63578 model_fr400_stfi (SIM_CPU *current_cpu, void *sem_arg)
63580 #define FLD(f) abuf->fields.sfmt_stbfi.f
63581 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63582 const IDESC * UNUSED idesc = abuf->idesc;
63583 int cycles = 0;
63585 int referenced = 0;
63586 int UNUSED insn_referenced = abuf->written;
63587 INT in_GRi = -1;
63588 INT in_GRj = -1;
63589 INT in_FRintk = -1;
63590 INT in_FRdoublek = -1;
63591 in_GRi = FLD (in_GRi);
63592 in_FRintk = FLD (in_FRintk);
63593 referenced |= 1 << 0;
63594 referenced |= 1 << 2;
63595 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63597 return cycles;
63598 #undef FLD
63601 static int
63602 model_fr400_stdi (SIM_CPU *current_cpu, void *sem_arg)
63604 #define FLD(f) abuf->fields.sfmt_stdi.f
63605 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63606 const IDESC * UNUSED idesc = abuf->idesc;
63607 int cycles = 0;
63609 int referenced = 0;
63610 int UNUSED insn_referenced = abuf->written;
63611 INT in_GRi = -1;
63612 INT in_GRj = -1;
63613 INT in_GRk = -1;
63614 INT in_GRdoublek = -1;
63615 in_GRi = FLD (in_GRi);
63616 in_GRdoublek = FLD (in_GRdoublek);
63617 referenced |= 1 << 0;
63618 referenced |= 1 << 3;
63619 cycles += frvbf_model_fr400_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
63621 return cycles;
63622 #undef FLD
63625 static int
63626 model_fr400_stdfi (SIM_CPU *current_cpu, void *sem_arg)
63628 #define FLD(f) abuf->fields.sfmt_stdfi.f
63629 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63630 const IDESC * UNUSED idesc = abuf->idesc;
63631 int cycles = 0;
63633 int referenced = 0;
63634 int UNUSED insn_referenced = abuf->written;
63635 INT in_GRi = -1;
63636 INT in_GRj = -1;
63637 INT in_FRintk = -1;
63638 INT in_FRdoublek = -1;
63639 in_GRi = FLD (in_GRi);
63640 in_FRdoublek = FLD (in_FRdoublek);
63641 referenced |= 1 << 0;
63642 referenced |= 1 << 3;
63643 cycles += frvbf_model_fr400_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
63645 return cycles;
63646 #undef FLD
63649 static int
63650 model_fr400_stqi (SIM_CPU *current_cpu, void *sem_arg)
63652 #define FLD(f) abuf->fields.sfmt_stdi.f
63653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63654 const IDESC * UNUSED idesc = abuf->idesc;
63655 int cycles = 0;
63657 int referenced = 0;
63658 int UNUSED insn_referenced = abuf->written;
63659 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
63661 return cycles;
63662 #undef FLD
63665 static int
63666 model_fr400_stqfi (SIM_CPU *current_cpu, void *sem_arg)
63668 #define FLD(f) abuf->fields.sfmt_stdfi.f
63669 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63670 const IDESC * UNUSED idesc = abuf->idesc;
63671 int cycles = 0;
63673 int referenced = 0;
63674 int UNUSED insn_referenced = abuf->written;
63675 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
63677 return cycles;
63678 #undef FLD
63681 static int
63682 model_fr400_swap (SIM_CPU *current_cpu, void *sem_arg)
63684 #define FLD(f) abuf->fields.sfmt_cswap.f
63685 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63686 const IDESC * UNUSED idesc = abuf->idesc;
63687 int cycles = 0;
63689 int referenced = 0;
63690 int UNUSED insn_referenced = abuf->written;
63691 INT in_GRi = -1;
63692 INT in_GRj = -1;
63693 INT out_GRk = -1;
63694 in_GRi = FLD (in_GRi);
63695 in_GRj = FLD (in_GRj);
63696 out_GRk = FLD (out_GRk);
63697 referenced |= 1 << 0;
63698 referenced |= 1 << 1;
63699 referenced |= 1 << 2;
63700 cycles += frvbf_model_fr400_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
63702 return cycles;
63703 #undef FLD
63706 static int
63707 model_fr400_swapi (SIM_CPU *current_cpu, void *sem_arg)
63709 #define FLD(f) abuf->fields.sfmt_swapi.f
63710 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63711 const IDESC * UNUSED idesc = abuf->idesc;
63712 int cycles = 0;
63714 int referenced = 0;
63715 int UNUSED insn_referenced = abuf->written;
63716 INT in_GRi = -1;
63717 INT in_GRj = -1;
63718 INT out_GRk = -1;
63719 in_GRi = FLD (in_GRi);
63720 out_GRk = FLD (out_GRk);
63721 referenced |= 1 << 0;
63722 referenced |= 1 << 2;
63723 cycles += frvbf_model_fr400_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
63725 return cycles;
63726 #undef FLD
63729 static int
63730 model_fr400_cswap (SIM_CPU *current_cpu, void *sem_arg)
63732 #define FLD(f) abuf->fields.sfmt_cswap.f
63733 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63734 const IDESC * UNUSED idesc = abuf->idesc;
63735 int cycles = 0;
63737 int referenced = 0;
63738 int UNUSED insn_referenced = abuf->written;
63739 INT in_GRi = -1;
63740 INT in_GRj = -1;
63741 INT out_GRk = -1;
63742 in_GRi = FLD (in_GRi);
63743 in_GRj = FLD (in_GRj);
63744 out_GRk = FLD (out_GRk);
63745 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63746 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
63747 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
63748 cycles += frvbf_model_fr400_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
63750 return cycles;
63751 #undef FLD
63754 static int
63755 model_fr400_movgf (SIM_CPU *current_cpu, void *sem_arg)
63757 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
63758 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63759 const IDESC * UNUSED idesc = abuf->idesc;
63760 int cycles = 0;
63762 int referenced = 0;
63763 int UNUSED insn_referenced = abuf->written;
63764 INT in_GRj = -1;
63765 INT out_FRintk = -1;
63766 in_GRj = FLD (in_GRj);
63767 out_FRintk = FLD (out_FRintk);
63768 referenced |= 1 << 0;
63769 referenced |= 1 << 1;
63770 cycles += frvbf_model_fr400_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
63772 return cycles;
63773 #undef FLD
63776 static int
63777 model_fr400_movfg (SIM_CPU *current_cpu, void *sem_arg)
63779 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
63780 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63781 const IDESC * UNUSED idesc = abuf->idesc;
63782 int cycles = 0;
63784 int referenced = 0;
63785 int UNUSED insn_referenced = abuf->written;
63786 INT in_FRintk = -1;
63787 INT out_GRj = -1;
63788 in_FRintk = FLD (in_FRintk);
63789 out_GRj = FLD (out_GRj);
63790 referenced |= 1 << 0;
63791 referenced |= 1 << 1;
63792 cycles += frvbf_model_fr400_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
63794 return cycles;
63795 #undef FLD
63798 static int
63799 model_fr400_movgfd (SIM_CPU *current_cpu, void *sem_arg)
63801 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
63802 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63803 const IDESC * UNUSED idesc = abuf->idesc;
63804 int cycles = 0;
63806 int referenced = 0;
63807 int UNUSED insn_referenced = abuf->written;
63808 INT in_GRj = -1;
63809 INT out_FRintk = -1;
63810 in_GRj = FLD (in_GRj);
63811 out_FRintk = FLD (out_FRintk);
63812 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
63813 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
63814 cycles += frvbf_model_fr400_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
63816 return cycles;
63817 #undef FLD
63820 static int
63821 model_fr400_movfgd (SIM_CPU *current_cpu, void *sem_arg)
63823 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
63824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63825 const IDESC * UNUSED idesc = abuf->idesc;
63826 int cycles = 0;
63828 int referenced = 0;
63829 int UNUSED insn_referenced = abuf->written;
63830 INT in_FRintk = -1;
63831 INT out_GRj = -1;
63832 in_FRintk = FLD (in_FRintk);
63833 out_GRj = FLD (out_GRj);
63834 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
63835 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
63836 cycles += frvbf_model_fr400_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
63838 return cycles;
63839 #undef FLD
63842 static int
63843 model_fr400_movgfq (SIM_CPU *current_cpu, void *sem_arg)
63845 #define FLD(f) abuf->fields.sfmt_movgfq.f
63846 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63847 const IDESC * UNUSED idesc = abuf->idesc;
63848 int cycles = 0;
63850 int referenced = 0;
63851 int UNUSED insn_referenced = abuf->written;
63852 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
63854 return cycles;
63855 #undef FLD
63858 static int
63859 model_fr400_movfgq (SIM_CPU *current_cpu, void *sem_arg)
63861 #define FLD(f) abuf->fields.sfmt_movfgq.f
63862 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63863 const IDESC * UNUSED idesc = abuf->idesc;
63864 int cycles = 0;
63866 int referenced = 0;
63867 int UNUSED insn_referenced = abuf->written;
63868 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
63870 return cycles;
63871 #undef FLD
63874 static int
63875 model_fr400_cmovgf (SIM_CPU *current_cpu, void *sem_arg)
63877 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
63878 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63879 const IDESC * UNUSED idesc = abuf->idesc;
63880 int cycles = 0;
63882 int referenced = 0;
63883 int UNUSED insn_referenced = abuf->written;
63884 INT in_GRj = -1;
63885 INT out_FRintk = -1;
63886 in_GRj = FLD (in_GRj);
63887 out_FRintk = FLD (out_FRintk);
63888 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63889 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63890 cycles += frvbf_model_fr400_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
63892 return cycles;
63893 #undef FLD
63896 static int
63897 model_fr400_cmovfg (SIM_CPU *current_cpu, void *sem_arg)
63899 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
63900 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63901 const IDESC * UNUSED idesc = abuf->idesc;
63902 int cycles = 0;
63904 int referenced = 0;
63905 int UNUSED insn_referenced = abuf->written;
63906 INT in_FRintk = -1;
63907 INT out_GRj = -1;
63908 in_FRintk = FLD (in_FRintk);
63909 out_GRj = FLD (out_GRj);
63910 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63911 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
63912 cycles += frvbf_model_fr400_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
63914 return cycles;
63915 #undef FLD
63918 static int
63919 model_fr400_cmovgfd (SIM_CPU *current_cpu, void *sem_arg)
63921 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
63922 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63923 const IDESC * UNUSED idesc = abuf->idesc;
63924 int cycles = 0;
63926 int referenced = 0;
63927 int UNUSED insn_referenced = abuf->written;
63928 INT in_GRj = -1;
63929 INT out_FRintk = -1;
63930 in_GRj = FLD (in_GRj);
63931 out_FRintk = FLD (out_FRintk);
63932 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63933 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
63934 cycles += frvbf_model_fr400_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
63936 return cycles;
63937 #undef FLD
63940 static int
63941 model_fr400_cmovfgd (SIM_CPU *current_cpu, void *sem_arg)
63943 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
63944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63945 const IDESC * UNUSED idesc = abuf->idesc;
63946 int cycles = 0;
63948 int referenced = 0;
63949 int UNUSED insn_referenced = abuf->written;
63950 INT in_FRintk = -1;
63951 INT out_GRj = -1;
63952 in_FRintk = FLD (in_FRintk);
63953 out_GRj = FLD (out_GRj);
63954 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
63955 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
63956 cycles += frvbf_model_fr400_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
63958 return cycles;
63959 #undef FLD
63962 static int
63963 model_fr400_movgs (SIM_CPU *current_cpu, void *sem_arg)
63965 #define FLD(f) abuf->fields.sfmt_movgs.f
63966 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63967 const IDESC * UNUSED idesc = abuf->idesc;
63968 int cycles = 0;
63970 int referenced = 0;
63971 int UNUSED insn_referenced = abuf->written;
63972 INT in_GRj = -1;
63973 INT out_spr = -1;
63974 in_GRj = FLD (in_GRj);
63975 out_spr = FLD (out_spr);
63976 referenced |= 1 << 0;
63977 referenced |= 1 << 1;
63978 cycles += frvbf_model_fr400_u_gr2spr (current_cpu, idesc, 0, referenced, in_GRj, out_spr);
63980 return cycles;
63981 #undef FLD
63984 static int
63985 model_fr400_movsg (SIM_CPU *current_cpu, void *sem_arg)
63987 #define FLD(f) abuf->fields.sfmt_movsg.f
63988 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
63989 const IDESC * UNUSED idesc = abuf->idesc;
63990 int cycles = 0;
63992 int referenced = 0;
63993 int UNUSED insn_referenced = abuf->written;
63994 INT in_spr = -1;
63995 INT out_GRj = -1;
63996 in_spr = FLD (in_spr);
63997 out_GRj = FLD (out_GRj);
63998 referenced |= 1 << 0;
63999 referenced |= 1 << 1;
64000 cycles += frvbf_model_fr400_u_spr2gr (current_cpu, idesc, 0, referenced, in_spr, out_GRj);
64002 return cycles;
64003 #undef FLD
64006 static int
64007 model_fr400_bra (SIM_CPU *current_cpu, void *sem_arg)
64009 #define FLD(f) abuf->fields.sfmt_fbne.f
64010 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64011 const IDESC * UNUSED idesc = abuf->idesc;
64012 int cycles = 0;
64014 int referenced = 0;
64015 int UNUSED insn_referenced = abuf->written;
64016 INT in_GRi = -1;
64017 INT in_GRj = -1;
64018 INT in_ICCi_2 = -1;
64019 INT in_FCCi_2 = -1;
64020 referenced |= 1 << 4;
64021 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64023 return cycles;
64024 #undef FLD
64027 static int
64028 model_fr400_bno (SIM_CPU *current_cpu, void *sem_arg)
64030 #define FLD(f) abuf->fields.sfmt_fbne.f
64031 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64032 const IDESC * UNUSED idesc = abuf->idesc;
64033 int cycles = 0;
64035 int referenced = 0;
64036 int UNUSED insn_referenced = abuf->written;
64037 INT in_GRi = -1;
64038 INT in_GRj = -1;
64039 INT in_ICCi_2 = -1;
64040 INT in_FCCi_2 = -1;
64041 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64043 return cycles;
64044 #undef FLD
64047 static int
64048 model_fr400_beq (SIM_CPU *current_cpu, void *sem_arg)
64050 #define FLD(f) abuf->fields.sfmt_beq.f
64051 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64052 const IDESC * UNUSED idesc = abuf->idesc;
64053 int cycles = 0;
64055 int referenced = 0;
64056 int UNUSED insn_referenced = abuf->written;
64057 INT in_GRi = -1;
64058 INT in_GRj = -1;
64059 INT in_ICCi_2 = -1;
64060 INT in_FCCi_2 = -1;
64061 in_ICCi_2 = FLD (in_ICCi_2);
64062 referenced |= 1 << 2;
64063 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64064 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64066 return cycles;
64067 #undef FLD
64070 static int
64071 model_fr400_bne (SIM_CPU *current_cpu, void *sem_arg)
64073 #define FLD(f) abuf->fields.sfmt_beq.f
64074 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64075 const IDESC * UNUSED idesc = abuf->idesc;
64076 int cycles = 0;
64078 int referenced = 0;
64079 int UNUSED insn_referenced = abuf->written;
64080 INT in_GRi = -1;
64081 INT in_GRj = -1;
64082 INT in_ICCi_2 = -1;
64083 INT in_FCCi_2 = -1;
64084 in_ICCi_2 = FLD (in_ICCi_2);
64085 referenced |= 1 << 2;
64086 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64087 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64089 return cycles;
64090 #undef FLD
64093 static int
64094 model_fr400_ble (SIM_CPU *current_cpu, void *sem_arg)
64096 #define FLD(f) abuf->fields.sfmt_beq.f
64097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64098 const IDESC * UNUSED idesc = abuf->idesc;
64099 int cycles = 0;
64101 int referenced = 0;
64102 int UNUSED insn_referenced = abuf->written;
64103 INT in_GRi = -1;
64104 INT in_GRj = -1;
64105 INT in_ICCi_2 = -1;
64106 INT in_FCCi_2 = -1;
64107 in_ICCi_2 = FLD (in_ICCi_2);
64108 referenced |= 1 << 2;
64109 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64110 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64112 return cycles;
64113 #undef FLD
64116 static int
64117 model_fr400_bgt (SIM_CPU *current_cpu, void *sem_arg)
64119 #define FLD(f) abuf->fields.sfmt_beq.f
64120 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64121 const IDESC * UNUSED idesc = abuf->idesc;
64122 int cycles = 0;
64124 int referenced = 0;
64125 int UNUSED insn_referenced = abuf->written;
64126 INT in_GRi = -1;
64127 INT in_GRj = -1;
64128 INT in_ICCi_2 = -1;
64129 INT in_FCCi_2 = -1;
64130 in_ICCi_2 = FLD (in_ICCi_2);
64131 referenced |= 1 << 2;
64132 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64133 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64135 return cycles;
64136 #undef FLD
64139 static int
64140 model_fr400_blt (SIM_CPU *current_cpu, void *sem_arg)
64142 #define FLD(f) abuf->fields.sfmt_beq.f
64143 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64144 const IDESC * UNUSED idesc = abuf->idesc;
64145 int cycles = 0;
64147 int referenced = 0;
64148 int UNUSED insn_referenced = abuf->written;
64149 INT in_GRi = -1;
64150 INT in_GRj = -1;
64151 INT in_ICCi_2 = -1;
64152 INT in_FCCi_2 = -1;
64153 in_ICCi_2 = FLD (in_ICCi_2);
64154 referenced |= 1 << 2;
64155 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64156 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64158 return cycles;
64159 #undef FLD
64162 static int
64163 model_fr400_bge (SIM_CPU *current_cpu, void *sem_arg)
64165 #define FLD(f) abuf->fields.sfmt_beq.f
64166 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64167 const IDESC * UNUSED idesc = abuf->idesc;
64168 int cycles = 0;
64170 int referenced = 0;
64171 int UNUSED insn_referenced = abuf->written;
64172 INT in_GRi = -1;
64173 INT in_GRj = -1;
64174 INT in_ICCi_2 = -1;
64175 INT in_FCCi_2 = -1;
64176 in_ICCi_2 = FLD (in_ICCi_2);
64177 referenced |= 1 << 2;
64178 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64179 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64181 return cycles;
64182 #undef FLD
64185 static int
64186 model_fr400_bls (SIM_CPU *current_cpu, void *sem_arg)
64188 #define FLD(f) abuf->fields.sfmt_beq.f
64189 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64190 const IDESC * UNUSED idesc = abuf->idesc;
64191 int cycles = 0;
64193 int referenced = 0;
64194 int UNUSED insn_referenced = abuf->written;
64195 INT in_GRi = -1;
64196 INT in_GRj = -1;
64197 INT in_ICCi_2 = -1;
64198 INT in_FCCi_2 = -1;
64199 in_ICCi_2 = FLD (in_ICCi_2);
64200 referenced |= 1 << 2;
64201 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64202 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64204 return cycles;
64205 #undef FLD
64208 static int
64209 model_fr400_bhi (SIM_CPU *current_cpu, void *sem_arg)
64211 #define FLD(f) abuf->fields.sfmt_beq.f
64212 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64213 const IDESC * UNUSED idesc = abuf->idesc;
64214 int cycles = 0;
64216 int referenced = 0;
64217 int UNUSED insn_referenced = abuf->written;
64218 INT in_GRi = -1;
64219 INT in_GRj = -1;
64220 INT in_ICCi_2 = -1;
64221 INT in_FCCi_2 = -1;
64222 in_ICCi_2 = FLD (in_ICCi_2);
64223 referenced |= 1 << 2;
64224 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64225 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64227 return cycles;
64228 #undef FLD
64231 static int
64232 model_fr400_bc (SIM_CPU *current_cpu, void *sem_arg)
64234 #define FLD(f) abuf->fields.sfmt_beq.f
64235 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64236 const IDESC * UNUSED idesc = abuf->idesc;
64237 int cycles = 0;
64239 int referenced = 0;
64240 int UNUSED insn_referenced = abuf->written;
64241 INT in_GRi = -1;
64242 INT in_GRj = -1;
64243 INT in_ICCi_2 = -1;
64244 INT in_FCCi_2 = -1;
64245 in_ICCi_2 = FLD (in_ICCi_2);
64246 referenced |= 1 << 2;
64247 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64248 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64250 return cycles;
64251 #undef FLD
64254 static int
64255 model_fr400_bnc (SIM_CPU *current_cpu, void *sem_arg)
64257 #define FLD(f) abuf->fields.sfmt_beq.f
64258 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64259 const IDESC * UNUSED idesc = abuf->idesc;
64260 int cycles = 0;
64262 int referenced = 0;
64263 int UNUSED insn_referenced = abuf->written;
64264 INT in_GRi = -1;
64265 INT in_GRj = -1;
64266 INT in_ICCi_2 = -1;
64267 INT in_FCCi_2 = -1;
64268 in_ICCi_2 = FLD (in_ICCi_2);
64269 referenced |= 1 << 2;
64270 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64271 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64273 return cycles;
64274 #undef FLD
64277 static int
64278 model_fr400_bn (SIM_CPU *current_cpu, void *sem_arg)
64280 #define FLD(f) abuf->fields.sfmt_beq.f
64281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64282 const IDESC * UNUSED idesc = abuf->idesc;
64283 int cycles = 0;
64285 int referenced = 0;
64286 int UNUSED insn_referenced = abuf->written;
64287 INT in_GRi = -1;
64288 INT in_GRj = -1;
64289 INT in_ICCi_2 = -1;
64290 INT in_FCCi_2 = -1;
64291 in_ICCi_2 = FLD (in_ICCi_2);
64292 referenced |= 1 << 2;
64293 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64294 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64296 return cycles;
64297 #undef FLD
64300 static int
64301 model_fr400_bp (SIM_CPU *current_cpu, void *sem_arg)
64303 #define FLD(f) abuf->fields.sfmt_beq.f
64304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64305 const IDESC * UNUSED idesc = abuf->idesc;
64306 int cycles = 0;
64308 int referenced = 0;
64309 int UNUSED insn_referenced = abuf->written;
64310 INT in_GRi = -1;
64311 INT in_GRj = -1;
64312 INT in_ICCi_2 = -1;
64313 INT in_FCCi_2 = -1;
64314 in_ICCi_2 = FLD (in_ICCi_2);
64315 referenced |= 1 << 2;
64316 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64317 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64319 return cycles;
64320 #undef FLD
64323 static int
64324 model_fr400_bv (SIM_CPU *current_cpu, void *sem_arg)
64326 #define FLD(f) abuf->fields.sfmt_beq.f
64327 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64328 const IDESC * UNUSED idesc = abuf->idesc;
64329 int cycles = 0;
64331 int referenced = 0;
64332 int UNUSED insn_referenced = abuf->written;
64333 INT in_GRi = -1;
64334 INT in_GRj = -1;
64335 INT in_ICCi_2 = -1;
64336 INT in_FCCi_2 = -1;
64337 in_ICCi_2 = FLD (in_ICCi_2);
64338 referenced |= 1 << 2;
64339 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64340 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64342 return cycles;
64343 #undef FLD
64346 static int
64347 model_fr400_bnv (SIM_CPU *current_cpu, void *sem_arg)
64349 #define FLD(f) abuf->fields.sfmt_beq.f
64350 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64351 const IDESC * UNUSED idesc = abuf->idesc;
64352 int cycles = 0;
64354 int referenced = 0;
64355 int UNUSED insn_referenced = abuf->written;
64356 INT in_GRi = -1;
64357 INT in_GRj = -1;
64358 INT in_ICCi_2 = -1;
64359 INT in_FCCi_2 = -1;
64360 in_ICCi_2 = FLD (in_ICCi_2);
64361 referenced |= 1 << 2;
64362 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64363 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64365 return cycles;
64366 #undef FLD
64369 static int
64370 model_fr400_fbra (SIM_CPU *current_cpu, void *sem_arg)
64372 #define FLD(f) abuf->fields.sfmt_fbne.f
64373 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64374 const IDESC * UNUSED idesc = abuf->idesc;
64375 int cycles = 0;
64377 int referenced = 0;
64378 int UNUSED insn_referenced = abuf->written;
64379 INT in_GRi = -1;
64380 INT in_GRj = -1;
64381 INT in_ICCi_2 = -1;
64382 INT in_FCCi_2 = -1;
64383 referenced |= 1 << 4;
64384 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64386 return cycles;
64387 #undef FLD
64390 static int
64391 model_fr400_fbno (SIM_CPU *current_cpu, void *sem_arg)
64393 #define FLD(f) abuf->fields.sfmt_fbne.f
64394 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64395 const IDESC * UNUSED idesc = abuf->idesc;
64396 int cycles = 0;
64398 int referenced = 0;
64399 int UNUSED insn_referenced = abuf->written;
64400 INT in_GRi = -1;
64401 INT in_GRj = -1;
64402 INT in_ICCi_2 = -1;
64403 INT in_FCCi_2 = -1;
64404 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64406 return cycles;
64407 #undef FLD
64410 static int
64411 model_fr400_fbne (SIM_CPU *current_cpu, void *sem_arg)
64413 #define FLD(f) abuf->fields.sfmt_fbne.f
64414 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64415 const IDESC * UNUSED idesc = abuf->idesc;
64416 int cycles = 0;
64418 int referenced = 0;
64419 int UNUSED insn_referenced = abuf->written;
64420 INT in_GRi = -1;
64421 INT in_GRj = -1;
64422 INT in_ICCi_2 = -1;
64423 INT in_FCCi_2 = -1;
64424 in_FCCi_2 = FLD (in_FCCi_2);
64425 referenced |= 1 << 3;
64426 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64427 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64429 return cycles;
64430 #undef FLD
64433 static int
64434 model_fr400_fbeq (SIM_CPU *current_cpu, void *sem_arg)
64436 #define FLD(f) abuf->fields.sfmt_fbne.f
64437 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64438 const IDESC * UNUSED idesc = abuf->idesc;
64439 int cycles = 0;
64441 int referenced = 0;
64442 int UNUSED insn_referenced = abuf->written;
64443 INT in_GRi = -1;
64444 INT in_GRj = -1;
64445 INT in_ICCi_2 = -1;
64446 INT in_FCCi_2 = -1;
64447 in_FCCi_2 = FLD (in_FCCi_2);
64448 referenced |= 1 << 3;
64449 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64450 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64452 return cycles;
64453 #undef FLD
64456 static int
64457 model_fr400_fblg (SIM_CPU *current_cpu, void *sem_arg)
64459 #define FLD(f) abuf->fields.sfmt_fbne.f
64460 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64461 const IDESC * UNUSED idesc = abuf->idesc;
64462 int cycles = 0;
64464 int referenced = 0;
64465 int UNUSED insn_referenced = abuf->written;
64466 INT in_GRi = -1;
64467 INT in_GRj = -1;
64468 INT in_ICCi_2 = -1;
64469 INT in_FCCi_2 = -1;
64470 in_FCCi_2 = FLD (in_FCCi_2);
64471 referenced |= 1 << 3;
64472 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64473 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64475 return cycles;
64476 #undef FLD
64479 static int
64480 model_fr400_fbue (SIM_CPU *current_cpu, void *sem_arg)
64482 #define FLD(f) abuf->fields.sfmt_fbne.f
64483 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64484 const IDESC * UNUSED idesc = abuf->idesc;
64485 int cycles = 0;
64487 int referenced = 0;
64488 int UNUSED insn_referenced = abuf->written;
64489 INT in_GRi = -1;
64490 INT in_GRj = -1;
64491 INT in_ICCi_2 = -1;
64492 INT in_FCCi_2 = -1;
64493 in_FCCi_2 = FLD (in_FCCi_2);
64494 referenced |= 1 << 3;
64495 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64496 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64498 return cycles;
64499 #undef FLD
64502 static int
64503 model_fr400_fbul (SIM_CPU *current_cpu, void *sem_arg)
64505 #define FLD(f) abuf->fields.sfmt_fbne.f
64506 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64507 const IDESC * UNUSED idesc = abuf->idesc;
64508 int cycles = 0;
64510 int referenced = 0;
64511 int UNUSED insn_referenced = abuf->written;
64512 INT in_GRi = -1;
64513 INT in_GRj = -1;
64514 INT in_ICCi_2 = -1;
64515 INT in_FCCi_2 = -1;
64516 in_FCCi_2 = FLD (in_FCCi_2);
64517 referenced |= 1 << 3;
64518 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64519 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64521 return cycles;
64522 #undef FLD
64525 static int
64526 model_fr400_fbge (SIM_CPU *current_cpu, void *sem_arg)
64528 #define FLD(f) abuf->fields.sfmt_fbne.f
64529 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64530 const IDESC * UNUSED idesc = abuf->idesc;
64531 int cycles = 0;
64533 int referenced = 0;
64534 int UNUSED insn_referenced = abuf->written;
64535 INT in_GRi = -1;
64536 INT in_GRj = -1;
64537 INT in_ICCi_2 = -1;
64538 INT in_FCCi_2 = -1;
64539 in_FCCi_2 = FLD (in_FCCi_2);
64540 referenced |= 1 << 3;
64541 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64542 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64544 return cycles;
64545 #undef FLD
64548 static int
64549 model_fr400_fblt (SIM_CPU *current_cpu, void *sem_arg)
64551 #define FLD(f) abuf->fields.sfmt_fbne.f
64552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64553 const IDESC * UNUSED idesc = abuf->idesc;
64554 int cycles = 0;
64556 int referenced = 0;
64557 int UNUSED insn_referenced = abuf->written;
64558 INT in_GRi = -1;
64559 INT in_GRj = -1;
64560 INT in_ICCi_2 = -1;
64561 INT in_FCCi_2 = -1;
64562 in_FCCi_2 = FLD (in_FCCi_2);
64563 referenced |= 1 << 3;
64564 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64565 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64567 return cycles;
64568 #undef FLD
64571 static int
64572 model_fr400_fbuge (SIM_CPU *current_cpu, void *sem_arg)
64574 #define FLD(f) abuf->fields.sfmt_fbne.f
64575 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64576 const IDESC * UNUSED idesc = abuf->idesc;
64577 int cycles = 0;
64579 int referenced = 0;
64580 int UNUSED insn_referenced = abuf->written;
64581 INT in_GRi = -1;
64582 INT in_GRj = -1;
64583 INT in_ICCi_2 = -1;
64584 INT in_FCCi_2 = -1;
64585 in_FCCi_2 = FLD (in_FCCi_2);
64586 referenced |= 1 << 3;
64587 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64588 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64590 return cycles;
64591 #undef FLD
64594 static int
64595 model_fr400_fbug (SIM_CPU *current_cpu, void *sem_arg)
64597 #define FLD(f) abuf->fields.sfmt_fbne.f
64598 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64599 const IDESC * UNUSED idesc = abuf->idesc;
64600 int cycles = 0;
64602 int referenced = 0;
64603 int UNUSED insn_referenced = abuf->written;
64604 INT in_GRi = -1;
64605 INT in_GRj = -1;
64606 INT in_ICCi_2 = -1;
64607 INT in_FCCi_2 = -1;
64608 in_FCCi_2 = FLD (in_FCCi_2);
64609 referenced |= 1 << 3;
64610 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64611 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64613 return cycles;
64614 #undef FLD
64617 static int
64618 model_fr400_fble (SIM_CPU *current_cpu, void *sem_arg)
64620 #define FLD(f) abuf->fields.sfmt_fbne.f
64621 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64622 const IDESC * UNUSED idesc = abuf->idesc;
64623 int cycles = 0;
64625 int referenced = 0;
64626 int UNUSED insn_referenced = abuf->written;
64627 INT in_GRi = -1;
64628 INT in_GRj = -1;
64629 INT in_ICCi_2 = -1;
64630 INT in_FCCi_2 = -1;
64631 in_FCCi_2 = FLD (in_FCCi_2);
64632 referenced |= 1 << 3;
64633 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64634 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64636 return cycles;
64637 #undef FLD
64640 static int
64641 model_fr400_fbgt (SIM_CPU *current_cpu, void *sem_arg)
64643 #define FLD(f) abuf->fields.sfmt_fbne.f
64644 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64645 const IDESC * UNUSED idesc = abuf->idesc;
64646 int cycles = 0;
64648 int referenced = 0;
64649 int UNUSED insn_referenced = abuf->written;
64650 INT in_GRi = -1;
64651 INT in_GRj = -1;
64652 INT in_ICCi_2 = -1;
64653 INT in_FCCi_2 = -1;
64654 in_FCCi_2 = FLD (in_FCCi_2);
64655 referenced |= 1 << 3;
64656 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64657 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64659 return cycles;
64660 #undef FLD
64663 static int
64664 model_fr400_fbule (SIM_CPU *current_cpu, void *sem_arg)
64666 #define FLD(f) abuf->fields.sfmt_fbne.f
64667 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64668 const IDESC * UNUSED idesc = abuf->idesc;
64669 int cycles = 0;
64671 int referenced = 0;
64672 int UNUSED insn_referenced = abuf->written;
64673 INT in_GRi = -1;
64674 INT in_GRj = -1;
64675 INT in_ICCi_2 = -1;
64676 INT in_FCCi_2 = -1;
64677 in_FCCi_2 = FLD (in_FCCi_2);
64678 referenced |= 1 << 3;
64679 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64680 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64682 return cycles;
64683 #undef FLD
64686 static int
64687 model_fr400_fbu (SIM_CPU *current_cpu, void *sem_arg)
64689 #define FLD(f) abuf->fields.sfmt_fbne.f
64690 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64691 const IDESC * UNUSED idesc = abuf->idesc;
64692 int cycles = 0;
64694 int referenced = 0;
64695 int UNUSED insn_referenced = abuf->written;
64696 INT in_GRi = -1;
64697 INT in_GRj = -1;
64698 INT in_ICCi_2 = -1;
64699 INT in_FCCi_2 = -1;
64700 in_FCCi_2 = FLD (in_FCCi_2);
64701 referenced |= 1 << 3;
64702 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64703 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64705 return cycles;
64706 #undef FLD
64709 static int
64710 model_fr400_fbo (SIM_CPU *current_cpu, void *sem_arg)
64712 #define FLD(f) abuf->fields.sfmt_fbne.f
64713 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64714 const IDESC * UNUSED idesc = abuf->idesc;
64715 int cycles = 0;
64717 int referenced = 0;
64718 int UNUSED insn_referenced = abuf->written;
64719 INT in_GRi = -1;
64720 INT in_GRj = -1;
64721 INT in_ICCi_2 = -1;
64722 INT in_FCCi_2 = -1;
64723 in_FCCi_2 = FLD (in_FCCi_2);
64724 referenced |= 1 << 3;
64725 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64726 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64728 return cycles;
64729 #undef FLD
64732 static int
64733 model_fr400_bctrlr (SIM_CPU *current_cpu, void *sem_arg)
64735 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
64736 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64737 const IDESC * UNUSED idesc = abuf->idesc;
64738 int cycles = 0;
64740 int referenced = 0;
64741 int UNUSED insn_referenced = abuf->written;
64742 INT in_GRi = -1;
64743 INT in_GRj = -1;
64744 INT in_ICCi_2 = -1;
64745 INT in_FCCi_2 = -1;
64746 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
64747 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64749 return cycles;
64750 #undef FLD
64753 static int
64754 model_fr400_bralr (SIM_CPU *current_cpu, void *sem_arg)
64756 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
64757 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64758 const IDESC * UNUSED idesc = abuf->idesc;
64759 int cycles = 0;
64761 int referenced = 0;
64762 int UNUSED insn_referenced = abuf->written;
64763 INT in_GRi = -1;
64764 INT in_GRj = -1;
64765 INT in_ICCi_2 = -1;
64766 INT in_FCCi_2 = -1;
64767 referenced |= 1 << 4;
64768 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64770 return cycles;
64771 #undef FLD
64774 static int
64775 model_fr400_bnolr (SIM_CPU *current_cpu, void *sem_arg)
64777 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
64778 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64779 const IDESC * UNUSED idesc = abuf->idesc;
64780 int cycles = 0;
64782 int referenced = 0;
64783 int UNUSED insn_referenced = abuf->written;
64784 INT in_GRi = -1;
64785 INT in_GRj = -1;
64786 INT in_ICCi_2 = -1;
64787 INT in_FCCi_2 = -1;
64788 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64790 return cycles;
64791 #undef FLD
64794 static int
64795 model_fr400_beqlr (SIM_CPU *current_cpu, void *sem_arg)
64797 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64798 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64799 const IDESC * UNUSED idesc = abuf->idesc;
64800 int cycles = 0;
64802 int referenced = 0;
64803 int UNUSED insn_referenced = abuf->written;
64804 INT in_GRi = -1;
64805 INT in_GRj = -1;
64806 INT in_ICCi_2 = -1;
64807 INT in_FCCi_2 = -1;
64808 in_ICCi_2 = FLD (in_ICCi_2);
64809 referenced |= 1 << 2;
64810 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64811 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64813 return cycles;
64814 #undef FLD
64817 static int
64818 model_fr400_bnelr (SIM_CPU *current_cpu, void *sem_arg)
64820 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64821 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64822 const IDESC * UNUSED idesc = abuf->idesc;
64823 int cycles = 0;
64825 int referenced = 0;
64826 int UNUSED insn_referenced = abuf->written;
64827 INT in_GRi = -1;
64828 INT in_GRj = -1;
64829 INT in_ICCi_2 = -1;
64830 INT in_FCCi_2 = -1;
64831 in_ICCi_2 = FLD (in_ICCi_2);
64832 referenced |= 1 << 2;
64833 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64834 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64836 return cycles;
64837 #undef FLD
64840 static int
64841 model_fr400_blelr (SIM_CPU *current_cpu, void *sem_arg)
64843 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64844 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64845 const IDESC * UNUSED idesc = abuf->idesc;
64846 int cycles = 0;
64848 int referenced = 0;
64849 int UNUSED insn_referenced = abuf->written;
64850 INT in_GRi = -1;
64851 INT in_GRj = -1;
64852 INT in_ICCi_2 = -1;
64853 INT in_FCCi_2 = -1;
64854 in_ICCi_2 = FLD (in_ICCi_2);
64855 referenced |= 1 << 2;
64856 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64857 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64859 return cycles;
64860 #undef FLD
64863 static int
64864 model_fr400_bgtlr (SIM_CPU *current_cpu, void *sem_arg)
64866 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64867 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64868 const IDESC * UNUSED idesc = abuf->idesc;
64869 int cycles = 0;
64871 int referenced = 0;
64872 int UNUSED insn_referenced = abuf->written;
64873 INT in_GRi = -1;
64874 INT in_GRj = -1;
64875 INT in_ICCi_2 = -1;
64876 INT in_FCCi_2 = -1;
64877 in_ICCi_2 = FLD (in_ICCi_2);
64878 referenced |= 1 << 2;
64879 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64880 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64882 return cycles;
64883 #undef FLD
64886 static int
64887 model_fr400_bltlr (SIM_CPU *current_cpu, void *sem_arg)
64889 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64890 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64891 const IDESC * UNUSED idesc = abuf->idesc;
64892 int cycles = 0;
64894 int referenced = 0;
64895 int UNUSED insn_referenced = abuf->written;
64896 INT in_GRi = -1;
64897 INT in_GRj = -1;
64898 INT in_ICCi_2 = -1;
64899 INT in_FCCi_2 = -1;
64900 in_ICCi_2 = FLD (in_ICCi_2);
64901 referenced |= 1 << 2;
64902 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64903 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64905 return cycles;
64906 #undef FLD
64909 static int
64910 model_fr400_bgelr (SIM_CPU *current_cpu, void *sem_arg)
64912 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64913 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64914 const IDESC * UNUSED idesc = abuf->idesc;
64915 int cycles = 0;
64917 int referenced = 0;
64918 int UNUSED insn_referenced = abuf->written;
64919 INT in_GRi = -1;
64920 INT in_GRj = -1;
64921 INT in_ICCi_2 = -1;
64922 INT in_FCCi_2 = -1;
64923 in_ICCi_2 = FLD (in_ICCi_2);
64924 referenced |= 1 << 2;
64925 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64926 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64928 return cycles;
64929 #undef FLD
64932 static int
64933 model_fr400_blslr (SIM_CPU *current_cpu, void *sem_arg)
64935 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64936 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64937 const IDESC * UNUSED idesc = abuf->idesc;
64938 int cycles = 0;
64940 int referenced = 0;
64941 int UNUSED insn_referenced = abuf->written;
64942 INT in_GRi = -1;
64943 INT in_GRj = -1;
64944 INT in_ICCi_2 = -1;
64945 INT in_FCCi_2 = -1;
64946 in_ICCi_2 = FLD (in_ICCi_2);
64947 referenced |= 1 << 2;
64948 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64949 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64951 return cycles;
64952 #undef FLD
64955 static int
64956 model_fr400_bhilr (SIM_CPU *current_cpu, void *sem_arg)
64958 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64959 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64960 const IDESC * UNUSED idesc = abuf->idesc;
64961 int cycles = 0;
64963 int referenced = 0;
64964 int UNUSED insn_referenced = abuf->written;
64965 INT in_GRi = -1;
64966 INT in_GRj = -1;
64967 INT in_ICCi_2 = -1;
64968 INT in_FCCi_2 = -1;
64969 in_ICCi_2 = FLD (in_ICCi_2);
64970 referenced |= 1 << 2;
64971 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64972 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64974 return cycles;
64975 #undef FLD
64978 static int
64979 model_fr400_bclr (SIM_CPU *current_cpu, void *sem_arg)
64981 #define FLD(f) abuf->fields.sfmt_bceqlr.f
64982 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
64983 const IDESC * UNUSED idesc = abuf->idesc;
64984 int cycles = 0;
64986 int referenced = 0;
64987 int UNUSED insn_referenced = abuf->written;
64988 INT in_GRi = -1;
64989 INT in_GRj = -1;
64990 INT in_ICCi_2 = -1;
64991 INT in_FCCi_2 = -1;
64992 in_ICCi_2 = FLD (in_ICCi_2);
64993 referenced |= 1 << 2;
64994 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
64995 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
64997 return cycles;
64998 #undef FLD
65001 static int
65002 model_fr400_bnclr (SIM_CPU *current_cpu, void *sem_arg)
65004 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65005 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65006 const IDESC * UNUSED idesc = abuf->idesc;
65007 int cycles = 0;
65009 int referenced = 0;
65010 int UNUSED insn_referenced = abuf->written;
65011 INT in_GRi = -1;
65012 INT in_GRj = -1;
65013 INT in_ICCi_2 = -1;
65014 INT in_FCCi_2 = -1;
65015 in_ICCi_2 = FLD (in_ICCi_2);
65016 referenced |= 1 << 2;
65017 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65018 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65020 return cycles;
65021 #undef FLD
65024 static int
65025 model_fr400_bnlr (SIM_CPU *current_cpu, void *sem_arg)
65027 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65028 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65029 const IDESC * UNUSED idesc = abuf->idesc;
65030 int cycles = 0;
65032 int referenced = 0;
65033 int UNUSED insn_referenced = abuf->written;
65034 INT in_GRi = -1;
65035 INT in_GRj = -1;
65036 INT in_ICCi_2 = -1;
65037 INT in_FCCi_2 = -1;
65038 in_ICCi_2 = FLD (in_ICCi_2);
65039 referenced |= 1 << 2;
65040 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65041 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65043 return cycles;
65044 #undef FLD
65047 static int
65048 model_fr400_bplr (SIM_CPU *current_cpu, void *sem_arg)
65050 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65051 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65052 const IDESC * UNUSED idesc = abuf->idesc;
65053 int cycles = 0;
65055 int referenced = 0;
65056 int UNUSED insn_referenced = abuf->written;
65057 INT in_GRi = -1;
65058 INT in_GRj = -1;
65059 INT in_ICCi_2 = -1;
65060 INT in_FCCi_2 = -1;
65061 in_ICCi_2 = FLD (in_ICCi_2);
65062 referenced |= 1 << 2;
65063 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65064 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65066 return cycles;
65067 #undef FLD
65070 static int
65071 model_fr400_bvlr (SIM_CPU *current_cpu, void *sem_arg)
65073 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65074 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65075 const IDESC * UNUSED idesc = abuf->idesc;
65076 int cycles = 0;
65078 int referenced = 0;
65079 int UNUSED insn_referenced = abuf->written;
65080 INT in_GRi = -1;
65081 INT in_GRj = -1;
65082 INT in_ICCi_2 = -1;
65083 INT in_FCCi_2 = -1;
65084 in_ICCi_2 = FLD (in_ICCi_2);
65085 referenced |= 1 << 2;
65086 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65087 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65089 return cycles;
65090 #undef FLD
65093 static int
65094 model_fr400_bnvlr (SIM_CPU *current_cpu, void *sem_arg)
65096 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65097 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65098 const IDESC * UNUSED idesc = abuf->idesc;
65099 int cycles = 0;
65101 int referenced = 0;
65102 int UNUSED insn_referenced = abuf->written;
65103 INT in_GRi = -1;
65104 INT in_GRj = -1;
65105 INT in_ICCi_2 = -1;
65106 INT in_FCCi_2 = -1;
65107 in_ICCi_2 = FLD (in_ICCi_2);
65108 referenced |= 1 << 2;
65109 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65110 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65112 return cycles;
65113 #undef FLD
65116 static int
65117 model_fr400_fbralr (SIM_CPU *current_cpu, void *sem_arg)
65119 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65120 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65121 const IDESC * UNUSED idesc = abuf->idesc;
65122 int cycles = 0;
65124 int referenced = 0;
65125 int UNUSED insn_referenced = abuf->written;
65126 INT in_GRi = -1;
65127 INT in_GRj = -1;
65128 INT in_ICCi_2 = -1;
65129 INT in_FCCi_2 = -1;
65130 referenced |= 1 << 4;
65131 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65133 return cycles;
65134 #undef FLD
65137 static int
65138 model_fr400_fbnolr (SIM_CPU *current_cpu, void *sem_arg)
65140 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65141 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65142 const IDESC * UNUSED idesc = abuf->idesc;
65143 int cycles = 0;
65145 int referenced = 0;
65146 int UNUSED insn_referenced = abuf->written;
65147 INT in_GRi = -1;
65148 INT in_GRj = -1;
65149 INT in_ICCi_2 = -1;
65150 INT in_FCCi_2 = -1;
65151 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65153 return cycles;
65154 #undef FLD
65157 static int
65158 model_fr400_fbeqlr (SIM_CPU *current_cpu, void *sem_arg)
65160 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65161 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65162 const IDESC * UNUSED idesc = abuf->idesc;
65163 int cycles = 0;
65165 int referenced = 0;
65166 int UNUSED insn_referenced = abuf->written;
65167 INT in_GRi = -1;
65168 INT in_GRj = -1;
65169 INT in_ICCi_2 = -1;
65170 INT in_FCCi_2 = -1;
65171 in_FCCi_2 = FLD (in_FCCi_2);
65172 referenced |= 1 << 3;
65173 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65174 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65176 return cycles;
65177 #undef FLD
65180 static int
65181 model_fr400_fbnelr (SIM_CPU *current_cpu, void *sem_arg)
65183 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65185 const IDESC * UNUSED idesc = abuf->idesc;
65186 int cycles = 0;
65188 int referenced = 0;
65189 int UNUSED insn_referenced = abuf->written;
65190 INT in_GRi = -1;
65191 INT in_GRj = -1;
65192 INT in_ICCi_2 = -1;
65193 INT in_FCCi_2 = -1;
65194 in_FCCi_2 = FLD (in_FCCi_2);
65195 referenced |= 1 << 3;
65196 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65197 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65199 return cycles;
65200 #undef FLD
65203 static int
65204 model_fr400_fblglr (SIM_CPU *current_cpu, void *sem_arg)
65206 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65207 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65208 const IDESC * UNUSED idesc = abuf->idesc;
65209 int cycles = 0;
65211 int referenced = 0;
65212 int UNUSED insn_referenced = abuf->written;
65213 INT in_GRi = -1;
65214 INT in_GRj = -1;
65215 INT in_ICCi_2 = -1;
65216 INT in_FCCi_2 = -1;
65217 in_FCCi_2 = FLD (in_FCCi_2);
65218 referenced |= 1 << 3;
65219 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65220 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65222 return cycles;
65223 #undef FLD
65226 static int
65227 model_fr400_fbuelr (SIM_CPU *current_cpu, void *sem_arg)
65229 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65230 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65231 const IDESC * UNUSED idesc = abuf->idesc;
65232 int cycles = 0;
65234 int referenced = 0;
65235 int UNUSED insn_referenced = abuf->written;
65236 INT in_GRi = -1;
65237 INT in_GRj = -1;
65238 INT in_ICCi_2 = -1;
65239 INT in_FCCi_2 = -1;
65240 in_FCCi_2 = FLD (in_FCCi_2);
65241 referenced |= 1 << 3;
65242 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65243 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65245 return cycles;
65246 #undef FLD
65249 static int
65250 model_fr400_fbullr (SIM_CPU *current_cpu, void *sem_arg)
65252 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65253 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65254 const IDESC * UNUSED idesc = abuf->idesc;
65255 int cycles = 0;
65257 int referenced = 0;
65258 int UNUSED insn_referenced = abuf->written;
65259 INT in_GRi = -1;
65260 INT in_GRj = -1;
65261 INT in_ICCi_2 = -1;
65262 INT in_FCCi_2 = -1;
65263 in_FCCi_2 = FLD (in_FCCi_2);
65264 referenced |= 1 << 3;
65265 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65266 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65268 return cycles;
65269 #undef FLD
65272 static int
65273 model_fr400_fbgelr (SIM_CPU *current_cpu, void *sem_arg)
65275 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65276 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65277 const IDESC * UNUSED idesc = abuf->idesc;
65278 int cycles = 0;
65280 int referenced = 0;
65281 int UNUSED insn_referenced = abuf->written;
65282 INT in_GRi = -1;
65283 INT in_GRj = -1;
65284 INT in_ICCi_2 = -1;
65285 INT in_FCCi_2 = -1;
65286 in_FCCi_2 = FLD (in_FCCi_2);
65287 referenced |= 1 << 3;
65288 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65289 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65291 return cycles;
65292 #undef FLD
65295 static int
65296 model_fr400_fbltlr (SIM_CPU *current_cpu, void *sem_arg)
65298 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65299 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65300 const IDESC * UNUSED idesc = abuf->idesc;
65301 int cycles = 0;
65303 int referenced = 0;
65304 int UNUSED insn_referenced = abuf->written;
65305 INT in_GRi = -1;
65306 INT in_GRj = -1;
65307 INT in_ICCi_2 = -1;
65308 INT in_FCCi_2 = -1;
65309 in_FCCi_2 = FLD (in_FCCi_2);
65310 referenced |= 1 << 3;
65311 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65312 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65314 return cycles;
65315 #undef FLD
65318 static int
65319 model_fr400_fbugelr (SIM_CPU *current_cpu, void *sem_arg)
65321 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65322 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65323 const IDESC * UNUSED idesc = abuf->idesc;
65324 int cycles = 0;
65326 int referenced = 0;
65327 int UNUSED insn_referenced = abuf->written;
65328 INT in_GRi = -1;
65329 INT in_GRj = -1;
65330 INT in_ICCi_2 = -1;
65331 INT in_FCCi_2 = -1;
65332 in_FCCi_2 = FLD (in_FCCi_2);
65333 referenced |= 1 << 3;
65334 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65335 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65337 return cycles;
65338 #undef FLD
65341 static int
65342 model_fr400_fbuglr (SIM_CPU *current_cpu, void *sem_arg)
65344 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65345 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65346 const IDESC * UNUSED idesc = abuf->idesc;
65347 int cycles = 0;
65349 int referenced = 0;
65350 int UNUSED insn_referenced = abuf->written;
65351 INT in_GRi = -1;
65352 INT in_GRj = -1;
65353 INT in_ICCi_2 = -1;
65354 INT in_FCCi_2 = -1;
65355 in_FCCi_2 = FLD (in_FCCi_2);
65356 referenced |= 1 << 3;
65357 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65358 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65360 return cycles;
65361 #undef FLD
65364 static int
65365 model_fr400_fblelr (SIM_CPU *current_cpu, void *sem_arg)
65367 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65368 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65369 const IDESC * UNUSED idesc = abuf->idesc;
65370 int cycles = 0;
65372 int referenced = 0;
65373 int UNUSED insn_referenced = abuf->written;
65374 INT in_GRi = -1;
65375 INT in_GRj = -1;
65376 INT in_ICCi_2 = -1;
65377 INT in_FCCi_2 = -1;
65378 in_FCCi_2 = FLD (in_FCCi_2);
65379 referenced |= 1 << 3;
65380 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65381 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65383 return cycles;
65384 #undef FLD
65387 static int
65388 model_fr400_fbgtlr (SIM_CPU *current_cpu, void *sem_arg)
65390 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65391 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65392 const IDESC * UNUSED idesc = abuf->idesc;
65393 int cycles = 0;
65395 int referenced = 0;
65396 int UNUSED insn_referenced = abuf->written;
65397 INT in_GRi = -1;
65398 INT in_GRj = -1;
65399 INT in_ICCi_2 = -1;
65400 INT in_FCCi_2 = -1;
65401 in_FCCi_2 = FLD (in_FCCi_2);
65402 referenced |= 1 << 3;
65403 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65404 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65406 return cycles;
65407 #undef FLD
65410 static int
65411 model_fr400_fbulelr (SIM_CPU *current_cpu, void *sem_arg)
65413 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65414 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65415 const IDESC * UNUSED idesc = abuf->idesc;
65416 int cycles = 0;
65418 int referenced = 0;
65419 int UNUSED insn_referenced = abuf->written;
65420 INT in_GRi = -1;
65421 INT in_GRj = -1;
65422 INT in_ICCi_2 = -1;
65423 INT in_FCCi_2 = -1;
65424 in_FCCi_2 = FLD (in_FCCi_2);
65425 referenced |= 1 << 3;
65426 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65427 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65429 return cycles;
65430 #undef FLD
65433 static int
65434 model_fr400_fbulr (SIM_CPU *current_cpu, void *sem_arg)
65436 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65437 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65438 const IDESC * UNUSED idesc = abuf->idesc;
65439 int cycles = 0;
65441 int referenced = 0;
65442 int UNUSED insn_referenced = abuf->written;
65443 INT in_GRi = -1;
65444 INT in_GRj = -1;
65445 INT in_ICCi_2 = -1;
65446 INT in_FCCi_2 = -1;
65447 in_FCCi_2 = FLD (in_FCCi_2);
65448 referenced |= 1 << 3;
65449 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65450 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65452 return cycles;
65453 #undef FLD
65456 static int
65457 model_fr400_fbolr (SIM_CPU *current_cpu, void *sem_arg)
65459 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65460 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65461 const IDESC * UNUSED idesc = abuf->idesc;
65462 int cycles = 0;
65464 int referenced = 0;
65465 int UNUSED insn_referenced = abuf->written;
65466 INT in_GRi = -1;
65467 INT in_GRj = -1;
65468 INT in_ICCi_2 = -1;
65469 INT in_FCCi_2 = -1;
65470 in_FCCi_2 = FLD (in_FCCi_2);
65471 referenced |= 1 << 3;
65472 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
65473 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65475 return cycles;
65476 #undef FLD
65479 static int
65480 model_fr400_bcralr (SIM_CPU *current_cpu, void *sem_arg)
65482 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65483 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65484 const IDESC * UNUSED idesc = abuf->idesc;
65485 int cycles = 0;
65487 int referenced = 0;
65488 int UNUSED insn_referenced = abuf->written;
65489 INT in_GRi = -1;
65490 INT in_GRj = -1;
65491 INT in_ICCi_2 = -1;
65492 INT in_FCCi_2 = -1;
65493 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
65494 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65496 return cycles;
65497 #undef FLD
65500 static int
65501 model_fr400_bcnolr (SIM_CPU *current_cpu, void *sem_arg)
65503 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65505 const IDESC * UNUSED idesc = abuf->idesc;
65506 int cycles = 0;
65508 int referenced = 0;
65509 int UNUSED insn_referenced = abuf->written;
65510 INT in_GRi = -1;
65511 INT in_GRj = -1;
65512 INT in_ICCi_2 = -1;
65513 INT in_FCCi_2 = -1;
65514 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65516 return cycles;
65517 #undef FLD
65520 static int
65521 model_fr400_bceqlr (SIM_CPU *current_cpu, void *sem_arg)
65523 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65525 const IDESC * UNUSED idesc = abuf->idesc;
65526 int cycles = 0;
65528 int referenced = 0;
65529 int UNUSED insn_referenced = abuf->written;
65530 INT in_GRi = -1;
65531 INT in_GRj = -1;
65532 INT in_ICCi_2 = -1;
65533 INT in_FCCi_2 = -1;
65534 in_ICCi_2 = FLD (in_ICCi_2);
65535 referenced |= 1 << 2;
65536 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65537 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65539 return cycles;
65540 #undef FLD
65543 static int
65544 model_fr400_bcnelr (SIM_CPU *current_cpu, void *sem_arg)
65546 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65547 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65548 const IDESC * UNUSED idesc = abuf->idesc;
65549 int cycles = 0;
65551 int referenced = 0;
65552 int UNUSED insn_referenced = abuf->written;
65553 INT in_GRi = -1;
65554 INT in_GRj = -1;
65555 INT in_ICCi_2 = -1;
65556 INT in_FCCi_2 = -1;
65557 in_ICCi_2 = FLD (in_ICCi_2);
65558 referenced |= 1 << 2;
65559 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65560 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65562 return cycles;
65563 #undef FLD
65566 static int
65567 model_fr400_bclelr (SIM_CPU *current_cpu, void *sem_arg)
65569 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65570 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65571 const IDESC * UNUSED idesc = abuf->idesc;
65572 int cycles = 0;
65574 int referenced = 0;
65575 int UNUSED insn_referenced = abuf->written;
65576 INT in_GRi = -1;
65577 INT in_GRj = -1;
65578 INT in_ICCi_2 = -1;
65579 INT in_FCCi_2 = -1;
65580 in_ICCi_2 = FLD (in_ICCi_2);
65581 referenced |= 1 << 2;
65582 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65583 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65585 return cycles;
65586 #undef FLD
65589 static int
65590 model_fr400_bcgtlr (SIM_CPU *current_cpu, void *sem_arg)
65592 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65594 const IDESC * UNUSED idesc = abuf->idesc;
65595 int cycles = 0;
65597 int referenced = 0;
65598 int UNUSED insn_referenced = abuf->written;
65599 INT in_GRi = -1;
65600 INT in_GRj = -1;
65601 INT in_ICCi_2 = -1;
65602 INT in_FCCi_2 = -1;
65603 in_ICCi_2 = FLD (in_ICCi_2);
65604 referenced |= 1 << 2;
65605 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65606 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65608 return cycles;
65609 #undef FLD
65612 static int
65613 model_fr400_bcltlr (SIM_CPU *current_cpu, void *sem_arg)
65615 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65616 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65617 const IDESC * UNUSED idesc = abuf->idesc;
65618 int cycles = 0;
65620 int referenced = 0;
65621 int UNUSED insn_referenced = abuf->written;
65622 INT in_GRi = -1;
65623 INT in_GRj = -1;
65624 INT in_ICCi_2 = -1;
65625 INT in_FCCi_2 = -1;
65626 in_ICCi_2 = FLD (in_ICCi_2);
65627 referenced |= 1 << 2;
65628 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65629 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65631 return cycles;
65632 #undef FLD
65635 static int
65636 model_fr400_bcgelr (SIM_CPU *current_cpu, void *sem_arg)
65638 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65639 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65640 const IDESC * UNUSED idesc = abuf->idesc;
65641 int cycles = 0;
65643 int referenced = 0;
65644 int UNUSED insn_referenced = abuf->written;
65645 INT in_GRi = -1;
65646 INT in_GRj = -1;
65647 INT in_ICCi_2 = -1;
65648 INT in_FCCi_2 = -1;
65649 in_ICCi_2 = FLD (in_ICCi_2);
65650 referenced |= 1 << 2;
65651 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65652 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65654 return cycles;
65655 #undef FLD
65658 static int
65659 model_fr400_bclslr (SIM_CPU *current_cpu, void *sem_arg)
65661 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65662 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65663 const IDESC * UNUSED idesc = abuf->idesc;
65664 int cycles = 0;
65666 int referenced = 0;
65667 int UNUSED insn_referenced = abuf->written;
65668 INT in_GRi = -1;
65669 INT in_GRj = -1;
65670 INT in_ICCi_2 = -1;
65671 INT in_FCCi_2 = -1;
65672 in_ICCi_2 = FLD (in_ICCi_2);
65673 referenced |= 1 << 2;
65674 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65675 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65677 return cycles;
65678 #undef FLD
65681 static int
65682 model_fr400_bchilr (SIM_CPU *current_cpu, void *sem_arg)
65684 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65685 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65686 const IDESC * UNUSED idesc = abuf->idesc;
65687 int cycles = 0;
65689 int referenced = 0;
65690 int UNUSED insn_referenced = abuf->written;
65691 INT in_GRi = -1;
65692 INT in_GRj = -1;
65693 INT in_ICCi_2 = -1;
65694 INT in_FCCi_2 = -1;
65695 in_ICCi_2 = FLD (in_ICCi_2);
65696 referenced |= 1 << 2;
65697 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65698 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65700 return cycles;
65701 #undef FLD
65704 static int
65705 model_fr400_bcclr (SIM_CPU *current_cpu, void *sem_arg)
65707 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65708 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65709 const IDESC * UNUSED idesc = abuf->idesc;
65710 int cycles = 0;
65712 int referenced = 0;
65713 int UNUSED insn_referenced = abuf->written;
65714 INT in_GRi = -1;
65715 INT in_GRj = -1;
65716 INT in_ICCi_2 = -1;
65717 INT in_FCCi_2 = -1;
65718 in_ICCi_2 = FLD (in_ICCi_2);
65719 referenced |= 1 << 2;
65720 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65721 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65723 return cycles;
65724 #undef FLD
65727 static int
65728 model_fr400_bcnclr (SIM_CPU *current_cpu, void *sem_arg)
65730 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65731 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65732 const IDESC * UNUSED idesc = abuf->idesc;
65733 int cycles = 0;
65735 int referenced = 0;
65736 int UNUSED insn_referenced = abuf->written;
65737 INT in_GRi = -1;
65738 INT in_GRj = -1;
65739 INT in_ICCi_2 = -1;
65740 INT in_FCCi_2 = -1;
65741 in_ICCi_2 = FLD (in_ICCi_2);
65742 referenced |= 1 << 2;
65743 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65744 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65746 return cycles;
65747 #undef FLD
65750 static int
65751 model_fr400_bcnlr (SIM_CPU *current_cpu, void *sem_arg)
65753 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65754 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65755 const IDESC * UNUSED idesc = abuf->idesc;
65756 int cycles = 0;
65758 int referenced = 0;
65759 int UNUSED insn_referenced = abuf->written;
65760 INT in_GRi = -1;
65761 INT in_GRj = -1;
65762 INT in_ICCi_2 = -1;
65763 INT in_FCCi_2 = -1;
65764 in_ICCi_2 = FLD (in_ICCi_2);
65765 referenced |= 1 << 2;
65766 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65767 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65769 return cycles;
65770 #undef FLD
65773 static int
65774 model_fr400_bcplr (SIM_CPU *current_cpu, void *sem_arg)
65776 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65777 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65778 const IDESC * UNUSED idesc = abuf->idesc;
65779 int cycles = 0;
65781 int referenced = 0;
65782 int UNUSED insn_referenced = abuf->written;
65783 INT in_GRi = -1;
65784 INT in_GRj = -1;
65785 INT in_ICCi_2 = -1;
65786 INT in_FCCi_2 = -1;
65787 in_ICCi_2 = FLD (in_ICCi_2);
65788 referenced |= 1 << 2;
65789 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65790 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65792 return cycles;
65793 #undef FLD
65796 static int
65797 model_fr400_bcvlr (SIM_CPU *current_cpu, void *sem_arg)
65799 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65801 const IDESC * UNUSED idesc = abuf->idesc;
65802 int cycles = 0;
65804 int referenced = 0;
65805 int UNUSED insn_referenced = abuf->written;
65806 INT in_GRi = -1;
65807 INT in_GRj = -1;
65808 INT in_ICCi_2 = -1;
65809 INT in_FCCi_2 = -1;
65810 in_ICCi_2 = FLD (in_ICCi_2);
65811 referenced |= 1 << 2;
65812 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65813 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65815 return cycles;
65816 #undef FLD
65819 static int
65820 model_fr400_bcnvlr (SIM_CPU *current_cpu, void *sem_arg)
65822 #define FLD(f) abuf->fields.sfmt_bceqlr.f
65823 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65824 const IDESC * UNUSED idesc = abuf->idesc;
65825 int cycles = 0;
65827 int referenced = 0;
65828 int UNUSED insn_referenced = abuf->written;
65829 INT in_GRi = -1;
65830 INT in_GRj = -1;
65831 INT in_ICCi_2 = -1;
65832 INT in_FCCi_2 = -1;
65833 in_ICCi_2 = FLD (in_ICCi_2);
65834 referenced |= 1 << 2;
65835 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65836 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65838 return cycles;
65839 #undef FLD
65842 static int
65843 model_fr400_fcbralr (SIM_CPU *current_cpu, void *sem_arg)
65845 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65846 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65847 const IDESC * UNUSED idesc = abuf->idesc;
65848 int cycles = 0;
65850 int referenced = 0;
65851 int UNUSED insn_referenced = abuf->written;
65852 INT in_GRi = -1;
65853 INT in_GRj = -1;
65854 INT in_ICCi_2 = -1;
65855 INT in_FCCi_2 = -1;
65856 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
65857 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65859 return cycles;
65860 #undef FLD
65863 static int
65864 model_fr400_fcbnolr (SIM_CPU *current_cpu, void *sem_arg)
65866 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65867 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65868 const IDESC * UNUSED idesc = abuf->idesc;
65869 int cycles = 0;
65871 int referenced = 0;
65872 int UNUSED insn_referenced = abuf->written;
65873 INT in_GRi = -1;
65874 INT in_GRj = -1;
65875 INT in_ICCi_2 = -1;
65876 INT in_FCCi_2 = -1;
65877 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65879 return cycles;
65880 #undef FLD
65883 static int
65884 model_fr400_fcbeqlr (SIM_CPU *current_cpu, void *sem_arg)
65886 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65887 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65888 const IDESC * UNUSED idesc = abuf->idesc;
65889 int cycles = 0;
65891 int referenced = 0;
65892 int UNUSED insn_referenced = abuf->written;
65893 INT in_GRi = -1;
65894 INT in_GRj = -1;
65895 INT in_ICCi_2 = -1;
65896 INT in_FCCi_2 = -1;
65897 in_FCCi_2 = FLD (in_FCCi_2);
65898 referenced |= 1 << 3;
65899 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65900 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65902 return cycles;
65903 #undef FLD
65906 static int
65907 model_fr400_fcbnelr (SIM_CPU *current_cpu, void *sem_arg)
65909 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65910 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65911 const IDESC * UNUSED idesc = abuf->idesc;
65912 int cycles = 0;
65914 int referenced = 0;
65915 int UNUSED insn_referenced = abuf->written;
65916 INT in_GRi = -1;
65917 INT in_GRj = -1;
65918 INT in_ICCi_2 = -1;
65919 INT in_FCCi_2 = -1;
65920 in_FCCi_2 = FLD (in_FCCi_2);
65921 referenced |= 1 << 3;
65922 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65923 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65925 return cycles;
65926 #undef FLD
65929 static int
65930 model_fr400_fcblglr (SIM_CPU *current_cpu, void *sem_arg)
65932 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65933 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65934 const IDESC * UNUSED idesc = abuf->idesc;
65935 int cycles = 0;
65937 int referenced = 0;
65938 int UNUSED insn_referenced = abuf->written;
65939 INT in_GRi = -1;
65940 INT in_GRj = -1;
65941 INT in_ICCi_2 = -1;
65942 INT in_FCCi_2 = -1;
65943 in_FCCi_2 = FLD (in_FCCi_2);
65944 referenced |= 1 << 3;
65945 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65946 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65948 return cycles;
65949 #undef FLD
65952 static int
65953 model_fr400_fcbuelr (SIM_CPU *current_cpu, void *sem_arg)
65955 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65956 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65957 const IDESC * UNUSED idesc = abuf->idesc;
65958 int cycles = 0;
65960 int referenced = 0;
65961 int UNUSED insn_referenced = abuf->written;
65962 INT in_GRi = -1;
65963 INT in_GRj = -1;
65964 INT in_ICCi_2 = -1;
65965 INT in_FCCi_2 = -1;
65966 in_FCCi_2 = FLD (in_FCCi_2);
65967 referenced |= 1 << 3;
65968 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65969 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65971 return cycles;
65972 #undef FLD
65975 static int
65976 model_fr400_fcbullr (SIM_CPU *current_cpu, void *sem_arg)
65978 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
65979 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
65980 const IDESC * UNUSED idesc = abuf->idesc;
65981 int cycles = 0;
65983 int referenced = 0;
65984 int UNUSED insn_referenced = abuf->written;
65985 INT in_GRi = -1;
65986 INT in_GRj = -1;
65987 INT in_ICCi_2 = -1;
65988 INT in_FCCi_2 = -1;
65989 in_FCCi_2 = FLD (in_FCCi_2);
65990 referenced |= 1 << 3;
65991 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
65992 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
65994 return cycles;
65995 #undef FLD
65998 static int
65999 model_fr400_fcbgelr (SIM_CPU *current_cpu, void *sem_arg)
66001 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66002 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66003 const IDESC * UNUSED idesc = abuf->idesc;
66004 int cycles = 0;
66006 int referenced = 0;
66007 int UNUSED insn_referenced = abuf->written;
66008 INT in_GRi = -1;
66009 INT in_GRj = -1;
66010 INT in_ICCi_2 = -1;
66011 INT in_FCCi_2 = -1;
66012 in_FCCi_2 = FLD (in_FCCi_2);
66013 referenced |= 1 << 3;
66014 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66015 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66017 return cycles;
66018 #undef FLD
66021 static int
66022 model_fr400_fcbltlr (SIM_CPU *current_cpu, void *sem_arg)
66024 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66025 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66026 const IDESC * UNUSED idesc = abuf->idesc;
66027 int cycles = 0;
66029 int referenced = 0;
66030 int UNUSED insn_referenced = abuf->written;
66031 INT in_GRi = -1;
66032 INT in_GRj = -1;
66033 INT in_ICCi_2 = -1;
66034 INT in_FCCi_2 = -1;
66035 in_FCCi_2 = FLD (in_FCCi_2);
66036 referenced |= 1 << 3;
66037 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66038 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66040 return cycles;
66041 #undef FLD
66044 static int
66045 model_fr400_fcbugelr (SIM_CPU *current_cpu, void *sem_arg)
66047 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66049 const IDESC * UNUSED idesc = abuf->idesc;
66050 int cycles = 0;
66052 int referenced = 0;
66053 int UNUSED insn_referenced = abuf->written;
66054 INT in_GRi = -1;
66055 INT in_GRj = -1;
66056 INT in_ICCi_2 = -1;
66057 INT in_FCCi_2 = -1;
66058 in_FCCi_2 = FLD (in_FCCi_2);
66059 referenced |= 1 << 3;
66060 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66061 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66063 return cycles;
66064 #undef FLD
66067 static int
66068 model_fr400_fcbuglr (SIM_CPU *current_cpu, void *sem_arg)
66070 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66071 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66072 const IDESC * UNUSED idesc = abuf->idesc;
66073 int cycles = 0;
66075 int referenced = 0;
66076 int UNUSED insn_referenced = abuf->written;
66077 INT in_GRi = -1;
66078 INT in_GRj = -1;
66079 INT in_ICCi_2 = -1;
66080 INT in_FCCi_2 = -1;
66081 in_FCCi_2 = FLD (in_FCCi_2);
66082 referenced |= 1 << 3;
66083 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66084 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66086 return cycles;
66087 #undef FLD
66090 static int
66091 model_fr400_fcblelr (SIM_CPU *current_cpu, void *sem_arg)
66093 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66094 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66095 const IDESC * UNUSED idesc = abuf->idesc;
66096 int cycles = 0;
66098 int referenced = 0;
66099 int UNUSED insn_referenced = abuf->written;
66100 INT in_GRi = -1;
66101 INT in_GRj = -1;
66102 INT in_ICCi_2 = -1;
66103 INT in_FCCi_2 = -1;
66104 in_FCCi_2 = FLD (in_FCCi_2);
66105 referenced |= 1 << 3;
66106 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66107 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66109 return cycles;
66110 #undef FLD
66113 static int
66114 model_fr400_fcbgtlr (SIM_CPU *current_cpu, void *sem_arg)
66116 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66118 const IDESC * UNUSED idesc = abuf->idesc;
66119 int cycles = 0;
66121 int referenced = 0;
66122 int UNUSED insn_referenced = abuf->written;
66123 INT in_GRi = -1;
66124 INT in_GRj = -1;
66125 INT in_ICCi_2 = -1;
66126 INT in_FCCi_2 = -1;
66127 in_FCCi_2 = FLD (in_FCCi_2);
66128 referenced |= 1 << 3;
66129 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66130 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66132 return cycles;
66133 #undef FLD
66136 static int
66137 model_fr400_fcbulelr (SIM_CPU *current_cpu, void *sem_arg)
66139 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66140 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66141 const IDESC * UNUSED idesc = abuf->idesc;
66142 int cycles = 0;
66144 int referenced = 0;
66145 int UNUSED insn_referenced = abuf->written;
66146 INT in_GRi = -1;
66147 INT in_GRj = -1;
66148 INT in_ICCi_2 = -1;
66149 INT in_FCCi_2 = -1;
66150 in_FCCi_2 = FLD (in_FCCi_2);
66151 referenced |= 1 << 3;
66152 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66153 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66155 return cycles;
66156 #undef FLD
66159 static int
66160 model_fr400_fcbulr (SIM_CPU *current_cpu, void *sem_arg)
66162 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66163 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66164 const IDESC * UNUSED idesc = abuf->idesc;
66165 int cycles = 0;
66167 int referenced = 0;
66168 int UNUSED insn_referenced = abuf->written;
66169 INT in_GRi = -1;
66170 INT in_GRj = -1;
66171 INT in_ICCi_2 = -1;
66172 INT in_FCCi_2 = -1;
66173 in_FCCi_2 = FLD (in_FCCi_2);
66174 referenced |= 1 << 3;
66175 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66176 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66178 return cycles;
66179 #undef FLD
66182 static int
66183 model_fr400_fcbolr (SIM_CPU *current_cpu, void *sem_arg)
66185 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
66186 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66187 const IDESC * UNUSED idesc = abuf->idesc;
66188 int cycles = 0;
66190 int referenced = 0;
66191 int UNUSED insn_referenced = abuf->written;
66192 INT in_GRi = -1;
66193 INT in_GRj = -1;
66194 INT in_ICCi_2 = -1;
66195 INT in_FCCi_2 = -1;
66196 in_FCCi_2 = FLD (in_FCCi_2);
66197 referenced |= 1 << 3;
66198 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
66199 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66201 return cycles;
66202 #undef FLD
66205 static int
66206 model_fr400_jmpl (SIM_CPU *current_cpu, void *sem_arg)
66208 #define FLD(f) abuf->fields.sfmt_cjmpl.f
66209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66210 const IDESC * UNUSED idesc = abuf->idesc;
66211 int cycles = 0;
66213 int referenced = 0;
66214 int UNUSED insn_referenced = abuf->written;
66215 INT in_GRi = -1;
66216 INT in_GRj = -1;
66217 INT in_ICCi_2 = -1;
66218 INT in_FCCi_2 = -1;
66219 in_GRi = FLD (in_GRi);
66220 in_GRj = FLD (in_GRj);
66221 referenced |= 1 << 0;
66222 referenced |= 1 << 1;
66223 referenced |= 1 << 4;
66224 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66226 return cycles;
66227 #undef FLD
66230 static int
66231 model_fr400_calll (SIM_CPU *current_cpu, void *sem_arg)
66233 #define FLD(f) abuf->fields.sfmt_cjmpl.f
66234 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66235 const IDESC * UNUSED idesc = abuf->idesc;
66236 int cycles = 0;
66238 int referenced = 0;
66239 int UNUSED insn_referenced = abuf->written;
66240 INT in_GRi = -1;
66241 INT in_GRj = -1;
66242 INT in_ICCi_2 = -1;
66243 INT in_FCCi_2 = -1;
66244 in_GRi = FLD (in_GRi);
66245 in_GRj = FLD (in_GRj);
66246 referenced |= 1 << 0;
66247 referenced |= 1 << 1;
66248 referenced |= 1 << 4;
66249 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66251 return cycles;
66252 #undef FLD
66255 static int
66256 model_fr400_jmpil (SIM_CPU *current_cpu, void *sem_arg)
66258 #define FLD(f) abuf->fields.sfmt_jmpil.f
66259 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66260 const IDESC * UNUSED idesc = abuf->idesc;
66261 int cycles = 0;
66263 int referenced = 0;
66264 int UNUSED insn_referenced = abuf->written;
66265 INT in_GRi = -1;
66266 INT in_GRj = -1;
66267 INT in_ICCi_2 = -1;
66268 INT in_FCCi_2 = -1;
66269 in_GRi = FLD (in_GRi);
66270 referenced |= 1 << 0;
66271 referenced |= 1 << 4;
66272 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66274 return cycles;
66275 #undef FLD
66278 static int
66279 model_fr400_callil (SIM_CPU *current_cpu, void *sem_arg)
66281 #define FLD(f) abuf->fields.sfmt_jmpil.f
66282 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66283 const IDESC * UNUSED idesc = abuf->idesc;
66284 int cycles = 0;
66286 int referenced = 0;
66287 int UNUSED insn_referenced = abuf->written;
66288 INT in_GRi = -1;
66289 INT in_GRj = -1;
66290 INT in_ICCi_2 = -1;
66291 INT in_FCCi_2 = -1;
66292 in_GRi = FLD (in_GRi);
66293 referenced |= 1 << 0;
66294 referenced |= 1 << 4;
66295 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66297 return cycles;
66298 #undef FLD
66301 static int
66302 model_fr400_call (SIM_CPU *current_cpu, void *sem_arg)
66304 #define FLD(f) abuf->fields.sfmt_call.f
66305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66306 const IDESC * UNUSED idesc = abuf->idesc;
66307 int cycles = 0;
66309 int referenced = 0;
66310 int UNUSED insn_referenced = abuf->written;
66311 INT in_GRi = -1;
66312 INT in_GRj = -1;
66313 INT in_ICCi_2 = -1;
66314 INT in_FCCi_2 = -1;
66315 referenced |= 1 << 4;
66316 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66318 return cycles;
66319 #undef FLD
66322 static int
66323 model_fr400_rett (SIM_CPU *current_cpu, void *sem_arg)
66325 #define FLD(f) abuf->fields.sfmt_rett.f
66326 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66327 const IDESC * UNUSED idesc = abuf->idesc;
66328 int cycles = 0;
66330 int referenced = 0;
66331 int UNUSED insn_referenced = abuf->written;
66332 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
66334 return cycles;
66335 #undef FLD
66338 static int
66339 model_fr400_rei (SIM_CPU *current_cpu, void *sem_arg)
66341 #define FLD(f) abuf->fields.sfmt_empty.f
66342 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66343 const IDESC * UNUSED idesc = abuf->idesc;
66344 int cycles = 0;
66346 int referenced = 0;
66347 int UNUSED insn_referenced = abuf->written;
66348 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
66350 return cycles;
66351 #undef FLD
66354 static int
66355 model_fr400_tra (SIM_CPU *current_cpu, void *sem_arg)
66357 #define FLD(f) abuf->fields.sfmt_ftne.f
66358 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66359 const IDESC * UNUSED idesc = abuf->idesc;
66360 int cycles = 0;
66362 int referenced = 0;
66363 int UNUSED insn_referenced = abuf->written;
66364 INT in_GRi = -1;
66365 INT in_GRj = -1;
66366 INT in_ICCi_2 = -1;
66367 INT in_FCCi_2 = -1;
66368 in_GRi = FLD (in_GRi);
66369 in_GRj = FLD (in_GRj);
66370 referenced |= 1 << 0;
66371 referenced |= 1 << 1;
66372 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66374 return cycles;
66375 #undef FLD
66378 static int
66379 model_fr400_tno (SIM_CPU *current_cpu, void *sem_arg)
66381 #define FLD(f) abuf->fields.sfmt_empty.f
66382 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66383 const IDESC * UNUSED idesc = abuf->idesc;
66384 int cycles = 0;
66386 int referenced = 0;
66387 int UNUSED insn_referenced = abuf->written;
66388 INT in_GRi = -1;
66389 INT in_GRj = -1;
66390 INT in_ICCi_2 = -1;
66391 INT in_FCCi_2 = -1;
66392 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66394 return cycles;
66395 #undef FLD
66398 static int
66399 model_fr400_teq (SIM_CPU *current_cpu, void *sem_arg)
66401 #define FLD(f) abuf->fields.sfmt_teq.f
66402 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66403 const IDESC * UNUSED idesc = abuf->idesc;
66404 int cycles = 0;
66406 int referenced = 0;
66407 int UNUSED insn_referenced = abuf->written;
66408 INT in_GRi = -1;
66409 INT in_GRj = -1;
66410 INT in_ICCi_2 = -1;
66411 INT in_FCCi_2 = -1;
66412 in_GRi = FLD (in_GRi);
66413 in_GRj = FLD (in_GRj);
66414 in_ICCi_2 = FLD (in_ICCi_2);
66415 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66416 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66417 referenced |= 1 << 2;
66418 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66420 return cycles;
66421 #undef FLD
66424 static int
66425 model_fr400_tne (SIM_CPU *current_cpu, void *sem_arg)
66427 #define FLD(f) abuf->fields.sfmt_teq.f
66428 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66429 const IDESC * UNUSED idesc = abuf->idesc;
66430 int cycles = 0;
66432 int referenced = 0;
66433 int UNUSED insn_referenced = abuf->written;
66434 INT in_GRi = -1;
66435 INT in_GRj = -1;
66436 INT in_ICCi_2 = -1;
66437 INT in_FCCi_2 = -1;
66438 in_GRi = FLD (in_GRi);
66439 in_GRj = FLD (in_GRj);
66440 in_ICCi_2 = FLD (in_ICCi_2);
66441 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66442 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66443 referenced |= 1 << 2;
66444 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66446 return cycles;
66447 #undef FLD
66450 static int
66451 model_fr400_tle (SIM_CPU *current_cpu, void *sem_arg)
66453 #define FLD(f) abuf->fields.sfmt_teq.f
66454 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66455 const IDESC * UNUSED idesc = abuf->idesc;
66456 int cycles = 0;
66458 int referenced = 0;
66459 int UNUSED insn_referenced = abuf->written;
66460 INT in_GRi = -1;
66461 INT in_GRj = -1;
66462 INT in_ICCi_2 = -1;
66463 INT in_FCCi_2 = -1;
66464 in_GRi = FLD (in_GRi);
66465 in_GRj = FLD (in_GRj);
66466 in_ICCi_2 = FLD (in_ICCi_2);
66467 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66468 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66469 referenced |= 1 << 2;
66470 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66472 return cycles;
66473 #undef FLD
66476 static int
66477 model_fr400_tgt (SIM_CPU *current_cpu, void *sem_arg)
66479 #define FLD(f) abuf->fields.sfmt_teq.f
66480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66481 const IDESC * UNUSED idesc = abuf->idesc;
66482 int cycles = 0;
66484 int referenced = 0;
66485 int UNUSED insn_referenced = abuf->written;
66486 INT in_GRi = -1;
66487 INT in_GRj = -1;
66488 INT in_ICCi_2 = -1;
66489 INT in_FCCi_2 = -1;
66490 in_GRi = FLD (in_GRi);
66491 in_GRj = FLD (in_GRj);
66492 in_ICCi_2 = FLD (in_ICCi_2);
66493 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66494 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66495 referenced |= 1 << 2;
66496 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66498 return cycles;
66499 #undef FLD
66502 static int
66503 model_fr400_tlt (SIM_CPU *current_cpu, void *sem_arg)
66505 #define FLD(f) abuf->fields.sfmt_teq.f
66506 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66507 const IDESC * UNUSED idesc = abuf->idesc;
66508 int cycles = 0;
66510 int referenced = 0;
66511 int UNUSED insn_referenced = abuf->written;
66512 INT in_GRi = -1;
66513 INT in_GRj = -1;
66514 INT in_ICCi_2 = -1;
66515 INT in_FCCi_2 = -1;
66516 in_GRi = FLD (in_GRi);
66517 in_GRj = FLD (in_GRj);
66518 in_ICCi_2 = FLD (in_ICCi_2);
66519 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66520 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66521 referenced |= 1 << 2;
66522 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66524 return cycles;
66525 #undef FLD
66528 static int
66529 model_fr400_tge (SIM_CPU *current_cpu, void *sem_arg)
66531 #define FLD(f) abuf->fields.sfmt_teq.f
66532 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66533 const IDESC * UNUSED idesc = abuf->idesc;
66534 int cycles = 0;
66536 int referenced = 0;
66537 int UNUSED insn_referenced = abuf->written;
66538 INT in_GRi = -1;
66539 INT in_GRj = -1;
66540 INT in_ICCi_2 = -1;
66541 INT in_FCCi_2 = -1;
66542 in_GRi = FLD (in_GRi);
66543 in_GRj = FLD (in_GRj);
66544 in_ICCi_2 = FLD (in_ICCi_2);
66545 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66546 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66547 referenced |= 1 << 2;
66548 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66550 return cycles;
66551 #undef FLD
66554 static int
66555 model_fr400_tls (SIM_CPU *current_cpu, void *sem_arg)
66557 #define FLD(f) abuf->fields.sfmt_teq.f
66558 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66559 const IDESC * UNUSED idesc = abuf->idesc;
66560 int cycles = 0;
66562 int referenced = 0;
66563 int UNUSED insn_referenced = abuf->written;
66564 INT in_GRi = -1;
66565 INT in_GRj = -1;
66566 INT in_ICCi_2 = -1;
66567 INT in_FCCi_2 = -1;
66568 in_GRi = FLD (in_GRi);
66569 in_GRj = FLD (in_GRj);
66570 in_ICCi_2 = FLD (in_ICCi_2);
66571 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66572 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66573 referenced |= 1 << 2;
66574 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66576 return cycles;
66577 #undef FLD
66580 static int
66581 model_fr400_thi (SIM_CPU *current_cpu, void *sem_arg)
66583 #define FLD(f) abuf->fields.sfmt_teq.f
66584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66585 const IDESC * UNUSED idesc = abuf->idesc;
66586 int cycles = 0;
66588 int referenced = 0;
66589 int UNUSED insn_referenced = abuf->written;
66590 INT in_GRi = -1;
66591 INT in_GRj = -1;
66592 INT in_ICCi_2 = -1;
66593 INT in_FCCi_2 = -1;
66594 in_GRi = FLD (in_GRi);
66595 in_GRj = FLD (in_GRj);
66596 in_ICCi_2 = FLD (in_ICCi_2);
66597 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66598 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66599 referenced |= 1 << 2;
66600 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66602 return cycles;
66603 #undef FLD
66606 static int
66607 model_fr400_tc (SIM_CPU *current_cpu, void *sem_arg)
66609 #define FLD(f) abuf->fields.sfmt_teq.f
66610 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66611 const IDESC * UNUSED idesc = abuf->idesc;
66612 int cycles = 0;
66614 int referenced = 0;
66615 int UNUSED insn_referenced = abuf->written;
66616 INT in_GRi = -1;
66617 INT in_GRj = -1;
66618 INT in_ICCi_2 = -1;
66619 INT in_FCCi_2 = -1;
66620 in_GRi = FLD (in_GRi);
66621 in_GRj = FLD (in_GRj);
66622 in_ICCi_2 = FLD (in_ICCi_2);
66623 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66624 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66625 referenced |= 1 << 2;
66626 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66628 return cycles;
66629 #undef FLD
66632 static int
66633 model_fr400_tnc (SIM_CPU *current_cpu, void *sem_arg)
66635 #define FLD(f) abuf->fields.sfmt_teq.f
66636 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66637 const IDESC * UNUSED idesc = abuf->idesc;
66638 int cycles = 0;
66640 int referenced = 0;
66641 int UNUSED insn_referenced = abuf->written;
66642 INT in_GRi = -1;
66643 INT in_GRj = -1;
66644 INT in_ICCi_2 = -1;
66645 INT in_FCCi_2 = -1;
66646 in_GRi = FLD (in_GRi);
66647 in_GRj = FLD (in_GRj);
66648 in_ICCi_2 = FLD (in_ICCi_2);
66649 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66650 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66651 referenced |= 1 << 2;
66652 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66654 return cycles;
66655 #undef FLD
66658 static int
66659 model_fr400_tn (SIM_CPU *current_cpu, void *sem_arg)
66661 #define FLD(f) abuf->fields.sfmt_teq.f
66662 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66663 const IDESC * UNUSED idesc = abuf->idesc;
66664 int cycles = 0;
66666 int referenced = 0;
66667 int UNUSED insn_referenced = abuf->written;
66668 INT in_GRi = -1;
66669 INT in_GRj = -1;
66670 INT in_ICCi_2 = -1;
66671 INT in_FCCi_2 = -1;
66672 in_GRi = FLD (in_GRi);
66673 in_GRj = FLD (in_GRj);
66674 in_ICCi_2 = FLD (in_ICCi_2);
66675 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66676 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66677 referenced |= 1 << 2;
66678 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66680 return cycles;
66681 #undef FLD
66684 static int
66685 model_fr400_tp (SIM_CPU *current_cpu, void *sem_arg)
66687 #define FLD(f) abuf->fields.sfmt_teq.f
66688 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66689 const IDESC * UNUSED idesc = abuf->idesc;
66690 int cycles = 0;
66692 int referenced = 0;
66693 int UNUSED insn_referenced = abuf->written;
66694 INT in_GRi = -1;
66695 INT in_GRj = -1;
66696 INT in_ICCi_2 = -1;
66697 INT in_FCCi_2 = -1;
66698 in_GRi = FLD (in_GRi);
66699 in_GRj = FLD (in_GRj);
66700 in_ICCi_2 = FLD (in_ICCi_2);
66701 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66702 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66703 referenced |= 1 << 2;
66704 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66706 return cycles;
66707 #undef FLD
66710 static int
66711 model_fr400_tv (SIM_CPU *current_cpu, void *sem_arg)
66713 #define FLD(f) abuf->fields.sfmt_teq.f
66714 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66715 const IDESC * UNUSED idesc = abuf->idesc;
66716 int cycles = 0;
66718 int referenced = 0;
66719 int UNUSED insn_referenced = abuf->written;
66720 INT in_GRi = -1;
66721 INT in_GRj = -1;
66722 INT in_ICCi_2 = -1;
66723 INT in_FCCi_2 = -1;
66724 in_GRi = FLD (in_GRi);
66725 in_GRj = FLD (in_GRj);
66726 in_ICCi_2 = FLD (in_ICCi_2);
66727 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66728 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66729 referenced |= 1 << 2;
66730 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66732 return cycles;
66733 #undef FLD
66736 static int
66737 model_fr400_tnv (SIM_CPU *current_cpu, void *sem_arg)
66739 #define FLD(f) abuf->fields.sfmt_teq.f
66740 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66741 const IDESC * UNUSED idesc = abuf->idesc;
66742 int cycles = 0;
66744 int referenced = 0;
66745 int UNUSED insn_referenced = abuf->written;
66746 INT in_GRi = -1;
66747 INT in_GRj = -1;
66748 INT in_ICCi_2 = -1;
66749 INT in_FCCi_2 = -1;
66750 in_GRi = FLD (in_GRi);
66751 in_GRj = FLD (in_GRj);
66752 in_ICCi_2 = FLD (in_ICCi_2);
66753 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
66754 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
66755 referenced |= 1 << 2;
66756 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66758 return cycles;
66759 #undef FLD
66762 static int
66763 model_fr400_ftra (SIM_CPU *current_cpu, void *sem_arg)
66765 #define FLD(f) abuf->fields.sfmt_ftne.f
66766 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66767 const IDESC * UNUSED idesc = abuf->idesc;
66768 int cycles = 0;
66770 int referenced = 0;
66771 int UNUSED insn_referenced = abuf->written;
66772 INT in_GRi = -1;
66773 INT in_GRj = -1;
66774 INT in_ICCi_2 = -1;
66775 INT in_FCCi_2 = -1;
66776 in_GRi = FLD (in_GRi);
66777 in_GRj = FLD (in_GRj);
66778 referenced |= 1 << 0;
66779 referenced |= 1 << 1;
66780 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66782 return cycles;
66783 #undef FLD
66786 static int
66787 model_fr400_ftno (SIM_CPU *current_cpu, void *sem_arg)
66789 #define FLD(f) abuf->fields.sfmt_empty.f
66790 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66791 const IDESC * UNUSED idesc = abuf->idesc;
66792 int cycles = 0;
66794 int referenced = 0;
66795 int UNUSED insn_referenced = abuf->written;
66796 INT in_GRi = -1;
66797 INT in_GRj = -1;
66798 INT in_ICCi_2 = -1;
66799 INT in_FCCi_2 = -1;
66800 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66802 return cycles;
66803 #undef FLD
66806 static int
66807 model_fr400_ftne (SIM_CPU *current_cpu, void *sem_arg)
66809 #define FLD(f) abuf->fields.sfmt_ftne.f
66810 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66811 const IDESC * UNUSED idesc = abuf->idesc;
66812 int cycles = 0;
66814 int referenced = 0;
66815 int UNUSED insn_referenced = abuf->written;
66816 INT in_GRi = -1;
66817 INT in_GRj = -1;
66818 INT in_ICCi_2 = -1;
66819 INT in_FCCi_2 = -1;
66820 in_GRi = FLD (in_GRi);
66821 in_GRj = FLD (in_GRj);
66822 in_FCCi_2 = FLD (in_FCCi_2);
66823 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
66824 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
66825 referenced |= 1 << 3;
66826 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66828 return cycles;
66829 #undef FLD
66832 static int
66833 model_fr400_fteq (SIM_CPU *current_cpu, void *sem_arg)
66835 #define FLD(f) abuf->fields.sfmt_ftne.f
66836 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66837 const IDESC * UNUSED idesc = abuf->idesc;
66838 int cycles = 0;
66840 int referenced = 0;
66841 int UNUSED insn_referenced = abuf->written;
66842 INT in_GRi = -1;
66843 INT in_GRj = -1;
66844 INT in_ICCi_2 = -1;
66845 INT in_FCCi_2 = -1;
66846 in_GRi = FLD (in_GRi);
66847 in_GRj = FLD (in_GRj);
66848 in_FCCi_2 = FLD (in_FCCi_2);
66849 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
66850 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
66851 referenced |= 1 << 3;
66852 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66854 return cycles;
66855 #undef FLD
66858 static int
66859 model_fr400_ftlg (SIM_CPU *current_cpu, void *sem_arg)
66861 #define FLD(f) abuf->fields.sfmt_ftne.f
66862 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66863 const IDESC * UNUSED idesc = abuf->idesc;
66864 int cycles = 0;
66866 int referenced = 0;
66867 int UNUSED insn_referenced = abuf->written;
66868 INT in_GRi = -1;
66869 INT in_GRj = -1;
66870 INT in_ICCi_2 = -1;
66871 INT in_FCCi_2 = -1;
66872 in_GRi = FLD (in_GRi);
66873 in_GRj = FLD (in_GRj);
66874 in_FCCi_2 = FLD (in_FCCi_2);
66875 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
66876 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
66877 referenced |= 1 << 3;
66878 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66880 return cycles;
66881 #undef FLD
66884 static int
66885 model_fr400_ftue (SIM_CPU *current_cpu, void *sem_arg)
66887 #define FLD(f) abuf->fields.sfmt_ftne.f
66888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66889 const IDESC * UNUSED idesc = abuf->idesc;
66890 int cycles = 0;
66892 int referenced = 0;
66893 int UNUSED insn_referenced = abuf->written;
66894 INT in_GRi = -1;
66895 INT in_GRj = -1;
66896 INT in_ICCi_2 = -1;
66897 INT in_FCCi_2 = -1;
66898 in_GRi = FLD (in_GRi);
66899 in_GRj = FLD (in_GRj);
66900 in_FCCi_2 = FLD (in_FCCi_2);
66901 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
66902 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
66903 referenced |= 1 << 3;
66904 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66906 return cycles;
66907 #undef FLD
66910 static int
66911 model_fr400_ftul (SIM_CPU *current_cpu, void *sem_arg)
66913 #define FLD(f) abuf->fields.sfmt_ftne.f
66914 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66915 const IDESC * UNUSED idesc = abuf->idesc;
66916 int cycles = 0;
66918 int referenced = 0;
66919 int UNUSED insn_referenced = abuf->written;
66920 INT in_GRi = -1;
66921 INT in_GRj = -1;
66922 INT in_ICCi_2 = -1;
66923 INT in_FCCi_2 = -1;
66924 in_GRi = FLD (in_GRi);
66925 in_GRj = FLD (in_GRj);
66926 in_FCCi_2 = FLD (in_FCCi_2);
66927 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
66928 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
66929 referenced |= 1 << 3;
66930 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66932 return cycles;
66933 #undef FLD
66936 static int
66937 model_fr400_ftge (SIM_CPU *current_cpu, void *sem_arg)
66939 #define FLD(f) abuf->fields.sfmt_ftne.f
66940 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66941 const IDESC * UNUSED idesc = abuf->idesc;
66942 int cycles = 0;
66944 int referenced = 0;
66945 int UNUSED insn_referenced = abuf->written;
66946 INT in_GRi = -1;
66947 INT in_GRj = -1;
66948 INT in_ICCi_2 = -1;
66949 INT in_FCCi_2 = -1;
66950 in_GRi = FLD (in_GRi);
66951 in_GRj = FLD (in_GRj);
66952 in_FCCi_2 = FLD (in_FCCi_2);
66953 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
66954 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
66955 referenced |= 1 << 3;
66956 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66958 return cycles;
66959 #undef FLD
66962 static int
66963 model_fr400_ftlt (SIM_CPU *current_cpu, void *sem_arg)
66965 #define FLD(f) abuf->fields.sfmt_ftne.f
66966 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66967 const IDESC * UNUSED idesc = abuf->idesc;
66968 int cycles = 0;
66970 int referenced = 0;
66971 int UNUSED insn_referenced = abuf->written;
66972 INT in_GRi = -1;
66973 INT in_GRj = -1;
66974 INT in_ICCi_2 = -1;
66975 INT in_FCCi_2 = -1;
66976 in_GRi = FLD (in_GRi);
66977 in_GRj = FLD (in_GRj);
66978 in_FCCi_2 = FLD (in_FCCi_2);
66979 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
66980 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
66981 referenced |= 1 << 3;
66982 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
66984 return cycles;
66985 #undef FLD
66988 static int
66989 model_fr400_ftuge (SIM_CPU *current_cpu, void *sem_arg)
66991 #define FLD(f) abuf->fields.sfmt_ftne.f
66992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
66993 const IDESC * UNUSED idesc = abuf->idesc;
66994 int cycles = 0;
66996 int referenced = 0;
66997 int UNUSED insn_referenced = abuf->written;
66998 INT in_GRi = -1;
66999 INT in_GRj = -1;
67000 INT in_ICCi_2 = -1;
67001 INT in_FCCi_2 = -1;
67002 in_GRi = FLD (in_GRi);
67003 in_GRj = FLD (in_GRj);
67004 in_FCCi_2 = FLD (in_FCCi_2);
67005 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67006 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
67007 referenced |= 1 << 3;
67008 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67010 return cycles;
67011 #undef FLD
67014 static int
67015 model_fr400_ftug (SIM_CPU *current_cpu, void *sem_arg)
67017 #define FLD(f) abuf->fields.sfmt_ftne.f
67018 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67019 const IDESC * UNUSED idesc = abuf->idesc;
67020 int cycles = 0;
67022 int referenced = 0;
67023 int UNUSED insn_referenced = abuf->written;
67024 INT in_GRi = -1;
67025 INT in_GRj = -1;
67026 INT in_ICCi_2 = -1;
67027 INT in_FCCi_2 = -1;
67028 in_GRi = FLD (in_GRi);
67029 in_GRj = FLD (in_GRj);
67030 in_FCCi_2 = FLD (in_FCCi_2);
67031 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67032 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
67033 referenced |= 1 << 3;
67034 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67036 return cycles;
67037 #undef FLD
67040 static int
67041 model_fr400_ftle (SIM_CPU *current_cpu, void *sem_arg)
67043 #define FLD(f) abuf->fields.sfmt_ftne.f
67044 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67045 const IDESC * UNUSED idesc = abuf->idesc;
67046 int cycles = 0;
67048 int referenced = 0;
67049 int UNUSED insn_referenced = abuf->written;
67050 INT in_GRi = -1;
67051 INT in_GRj = -1;
67052 INT in_ICCi_2 = -1;
67053 INT in_FCCi_2 = -1;
67054 in_GRi = FLD (in_GRi);
67055 in_GRj = FLD (in_GRj);
67056 in_FCCi_2 = FLD (in_FCCi_2);
67057 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67058 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
67059 referenced |= 1 << 3;
67060 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67062 return cycles;
67063 #undef FLD
67066 static int
67067 model_fr400_ftgt (SIM_CPU *current_cpu, void *sem_arg)
67069 #define FLD(f) abuf->fields.sfmt_ftne.f
67070 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67071 const IDESC * UNUSED idesc = abuf->idesc;
67072 int cycles = 0;
67074 int referenced = 0;
67075 int UNUSED insn_referenced = abuf->written;
67076 INT in_GRi = -1;
67077 INT in_GRj = -1;
67078 INT in_ICCi_2 = -1;
67079 INT in_FCCi_2 = -1;
67080 in_GRi = FLD (in_GRi);
67081 in_GRj = FLD (in_GRj);
67082 in_FCCi_2 = FLD (in_FCCi_2);
67083 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67084 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
67085 referenced |= 1 << 3;
67086 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67088 return cycles;
67089 #undef FLD
67092 static int
67093 model_fr400_ftule (SIM_CPU *current_cpu, void *sem_arg)
67095 #define FLD(f) abuf->fields.sfmt_ftne.f
67096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67097 const IDESC * UNUSED idesc = abuf->idesc;
67098 int cycles = 0;
67100 int referenced = 0;
67101 int UNUSED insn_referenced = abuf->written;
67102 INT in_GRi = -1;
67103 INT in_GRj = -1;
67104 INT in_ICCi_2 = -1;
67105 INT in_FCCi_2 = -1;
67106 in_GRi = FLD (in_GRi);
67107 in_GRj = FLD (in_GRj);
67108 in_FCCi_2 = FLD (in_FCCi_2);
67109 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67110 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
67111 referenced |= 1 << 3;
67112 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67114 return cycles;
67115 #undef FLD
67118 static int
67119 model_fr400_ftu (SIM_CPU *current_cpu, void *sem_arg)
67121 #define FLD(f) abuf->fields.sfmt_ftne.f
67122 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67123 const IDESC * UNUSED idesc = abuf->idesc;
67124 int cycles = 0;
67126 int referenced = 0;
67127 int UNUSED insn_referenced = abuf->written;
67128 INT in_GRi = -1;
67129 INT in_GRj = -1;
67130 INT in_ICCi_2 = -1;
67131 INT in_FCCi_2 = -1;
67132 in_GRi = FLD (in_GRi);
67133 in_GRj = FLD (in_GRj);
67134 in_FCCi_2 = FLD (in_FCCi_2);
67135 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67136 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
67137 referenced |= 1 << 3;
67138 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67140 return cycles;
67141 #undef FLD
67144 static int
67145 model_fr400_fto (SIM_CPU *current_cpu, void *sem_arg)
67147 #define FLD(f) abuf->fields.sfmt_ftne.f
67148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67149 const IDESC * UNUSED idesc = abuf->idesc;
67150 int cycles = 0;
67152 int referenced = 0;
67153 int UNUSED insn_referenced = abuf->written;
67154 INT in_GRi = -1;
67155 INT in_GRj = -1;
67156 INT in_ICCi_2 = -1;
67157 INT in_FCCi_2 = -1;
67158 in_GRi = FLD (in_GRi);
67159 in_GRj = FLD (in_GRj);
67160 in_FCCi_2 = FLD (in_FCCi_2);
67161 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67162 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
67163 referenced |= 1 << 3;
67164 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67166 return cycles;
67167 #undef FLD
67170 static int
67171 model_fr400_tira (SIM_CPU *current_cpu, void *sem_arg)
67173 #define FLD(f) abuf->fields.sfmt_ftine.f
67174 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67175 const IDESC * UNUSED idesc = abuf->idesc;
67176 int cycles = 0;
67178 int referenced = 0;
67179 int UNUSED insn_referenced = abuf->written;
67180 INT in_GRi = -1;
67181 INT in_GRj = -1;
67182 INT in_ICCi_2 = -1;
67183 INT in_FCCi_2 = -1;
67184 in_GRi = FLD (in_GRi);
67185 referenced |= 1 << 0;
67186 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67188 return cycles;
67189 #undef FLD
67192 static int
67193 model_fr400_tino (SIM_CPU *current_cpu, void *sem_arg)
67195 #define FLD(f) abuf->fields.sfmt_empty.f
67196 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67197 const IDESC * UNUSED idesc = abuf->idesc;
67198 int cycles = 0;
67200 int referenced = 0;
67201 int UNUSED insn_referenced = abuf->written;
67202 INT in_GRi = -1;
67203 INT in_GRj = -1;
67204 INT in_ICCi_2 = -1;
67205 INT in_FCCi_2 = -1;
67206 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67208 return cycles;
67209 #undef FLD
67212 static int
67213 model_fr400_tieq (SIM_CPU *current_cpu, void *sem_arg)
67215 #define FLD(f) abuf->fields.sfmt_tieq.f
67216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67217 const IDESC * UNUSED idesc = abuf->idesc;
67218 int cycles = 0;
67220 int referenced = 0;
67221 int UNUSED insn_referenced = abuf->written;
67222 INT in_GRi = -1;
67223 INT in_GRj = -1;
67224 INT in_ICCi_2 = -1;
67225 INT in_FCCi_2 = -1;
67226 in_GRi = FLD (in_GRi);
67227 in_ICCi_2 = FLD (in_ICCi_2);
67228 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67229 referenced |= 1 << 2;
67230 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67232 return cycles;
67233 #undef FLD
67236 static int
67237 model_fr400_tine (SIM_CPU *current_cpu, void *sem_arg)
67239 #define FLD(f) abuf->fields.sfmt_tieq.f
67240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67241 const IDESC * UNUSED idesc = abuf->idesc;
67242 int cycles = 0;
67244 int referenced = 0;
67245 int UNUSED insn_referenced = abuf->written;
67246 INT in_GRi = -1;
67247 INT in_GRj = -1;
67248 INT in_ICCi_2 = -1;
67249 INT in_FCCi_2 = -1;
67250 in_GRi = FLD (in_GRi);
67251 in_ICCi_2 = FLD (in_ICCi_2);
67252 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67253 referenced |= 1 << 2;
67254 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67256 return cycles;
67257 #undef FLD
67260 static int
67261 model_fr400_tile (SIM_CPU *current_cpu, void *sem_arg)
67263 #define FLD(f) abuf->fields.sfmt_tieq.f
67264 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67265 const IDESC * UNUSED idesc = abuf->idesc;
67266 int cycles = 0;
67268 int referenced = 0;
67269 int UNUSED insn_referenced = abuf->written;
67270 INT in_GRi = -1;
67271 INT in_GRj = -1;
67272 INT in_ICCi_2 = -1;
67273 INT in_FCCi_2 = -1;
67274 in_GRi = FLD (in_GRi);
67275 in_ICCi_2 = FLD (in_ICCi_2);
67276 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67277 referenced |= 1 << 2;
67278 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67280 return cycles;
67281 #undef FLD
67284 static int
67285 model_fr400_tigt (SIM_CPU *current_cpu, void *sem_arg)
67287 #define FLD(f) abuf->fields.sfmt_tieq.f
67288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67289 const IDESC * UNUSED idesc = abuf->idesc;
67290 int cycles = 0;
67292 int referenced = 0;
67293 int UNUSED insn_referenced = abuf->written;
67294 INT in_GRi = -1;
67295 INT in_GRj = -1;
67296 INT in_ICCi_2 = -1;
67297 INT in_FCCi_2 = -1;
67298 in_GRi = FLD (in_GRi);
67299 in_ICCi_2 = FLD (in_ICCi_2);
67300 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67301 referenced |= 1 << 2;
67302 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67304 return cycles;
67305 #undef FLD
67308 static int
67309 model_fr400_tilt (SIM_CPU *current_cpu, void *sem_arg)
67311 #define FLD(f) abuf->fields.sfmt_tieq.f
67312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67313 const IDESC * UNUSED idesc = abuf->idesc;
67314 int cycles = 0;
67316 int referenced = 0;
67317 int UNUSED insn_referenced = abuf->written;
67318 INT in_GRi = -1;
67319 INT in_GRj = -1;
67320 INT in_ICCi_2 = -1;
67321 INT in_FCCi_2 = -1;
67322 in_GRi = FLD (in_GRi);
67323 in_ICCi_2 = FLD (in_ICCi_2);
67324 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67325 referenced |= 1 << 2;
67326 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67328 return cycles;
67329 #undef FLD
67332 static int
67333 model_fr400_tige (SIM_CPU *current_cpu, void *sem_arg)
67335 #define FLD(f) abuf->fields.sfmt_tieq.f
67336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67337 const IDESC * UNUSED idesc = abuf->idesc;
67338 int cycles = 0;
67340 int referenced = 0;
67341 int UNUSED insn_referenced = abuf->written;
67342 INT in_GRi = -1;
67343 INT in_GRj = -1;
67344 INT in_ICCi_2 = -1;
67345 INT in_FCCi_2 = -1;
67346 in_GRi = FLD (in_GRi);
67347 in_ICCi_2 = FLD (in_ICCi_2);
67348 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67349 referenced |= 1 << 2;
67350 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67352 return cycles;
67353 #undef FLD
67356 static int
67357 model_fr400_tils (SIM_CPU *current_cpu, void *sem_arg)
67359 #define FLD(f) abuf->fields.sfmt_tieq.f
67360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67361 const IDESC * UNUSED idesc = abuf->idesc;
67362 int cycles = 0;
67364 int referenced = 0;
67365 int UNUSED insn_referenced = abuf->written;
67366 INT in_GRi = -1;
67367 INT in_GRj = -1;
67368 INT in_ICCi_2 = -1;
67369 INT in_FCCi_2 = -1;
67370 in_GRi = FLD (in_GRi);
67371 in_ICCi_2 = FLD (in_ICCi_2);
67372 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67373 referenced |= 1 << 2;
67374 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67376 return cycles;
67377 #undef FLD
67380 static int
67381 model_fr400_tihi (SIM_CPU *current_cpu, void *sem_arg)
67383 #define FLD(f) abuf->fields.sfmt_tieq.f
67384 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67385 const IDESC * UNUSED idesc = abuf->idesc;
67386 int cycles = 0;
67388 int referenced = 0;
67389 int UNUSED insn_referenced = abuf->written;
67390 INT in_GRi = -1;
67391 INT in_GRj = -1;
67392 INT in_ICCi_2 = -1;
67393 INT in_FCCi_2 = -1;
67394 in_GRi = FLD (in_GRi);
67395 in_ICCi_2 = FLD (in_ICCi_2);
67396 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67397 referenced |= 1 << 2;
67398 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67400 return cycles;
67401 #undef FLD
67404 static int
67405 model_fr400_tic (SIM_CPU *current_cpu, void *sem_arg)
67407 #define FLD(f) abuf->fields.sfmt_tieq.f
67408 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67409 const IDESC * UNUSED idesc = abuf->idesc;
67410 int cycles = 0;
67412 int referenced = 0;
67413 int UNUSED insn_referenced = abuf->written;
67414 INT in_GRi = -1;
67415 INT in_GRj = -1;
67416 INT in_ICCi_2 = -1;
67417 INT in_FCCi_2 = -1;
67418 in_GRi = FLD (in_GRi);
67419 in_ICCi_2 = FLD (in_ICCi_2);
67420 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67421 referenced |= 1 << 2;
67422 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67424 return cycles;
67425 #undef FLD
67428 static int
67429 model_fr400_tinc (SIM_CPU *current_cpu, void *sem_arg)
67431 #define FLD(f) abuf->fields.sfmt_tieq.f
67432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67433 const IDESC * UNUSED idesc = abuf->idesc;
67434 int cycles = 0;
67436 int referenced = 0;
67437 int UNUSED insn_referenced = abuf->written;
67438 INT in_GRi = -1;
67439 INT in_GRj = -1;
67440 INT in_ICCi_2 = -1;
67441 INT in_FCCi_2 = -1;
67442 in_GRi = FLD (in_GRi);
67443 in_ICCi_2 = FLD (in_ICCi_2);
67444 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67445 referenced |= 1 << 2;
67446 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67448 return cycles;
67449 #undef FLD
67452 static int
67453 model_fr400_tin (SIM_CPU *current_cpu, void *sem_arg)
67455 #define FLD(f) abuf->fields.sfmt_tieq.f
67456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67457 const IDESC * UNUSED idesc = abuf->idesc;
67458 int cycles = 0;
67460 int referenced = 0;
67461 int UNUSED insn_referenced = abuf->written;
67462 INT in_GRi = -1;
67463 INT in_GRj = -1;
67464 INT in_ICCi_2 = -1;
67465 INT in_FCCi_2 = -1;
67466 in_GRi = FLD (in_GRi);
67467 in_ICCi_2 = FLD (in_ICCi_2);
67468 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67469 referenced |= 1 << 2;
67470 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67472 return cycles;
67473 #undef FLD
67476 static int
67477 model_fr400_tip (SIM_CPU *current_cpu, void *sem_arg)
67479 #define FLD(f) abuf->fields.sfmt_tieq.f
67480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67481 const IDESC * UNUSED idesc = abuf->idesc;
67482 int cycles = 0;
67484 int referenced = 0;
67485 int UNUSED insn_referenced = abuf->written;
67486 INT in_GRi = -1;
67487 INT in_GRj = -1;
67488 INT in_ICCi_2 = -1;
67489 INT in_FCCi_2 = -1;
67490 in_GRi = FLD (in_GRi);
67491 in_ICCi_2 = FLD (in_ICCi_2);
67492 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67493 referenced |= 1 << 2;
67494 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67496 return cycles;
67497 #undef FLD
67500 static int
67501 model_fr400_tiv (SIM_CPU *current_cpu, void *sem_arg)
67503 #define FLD(f) abuf->fields.sfmt_tieq.f
67504 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67505 const IDESC * UNUSED idesc = abuf->idesc;
67506 int cycles = 0;
67508 int referenced = 0;
67509 int UNUSED insn_referenced = abuf->written;
67510 INT in_GRi = -1;
67511 INT in_GRj = -1;
67512 INT in_ICCi_2 = -1;
67513 INT in_FCCi_2 = -1;
67514 in_GRi = FLD (in_GRi);
67515 in_ICCi_2 = FLD (in_ICCi_2);
67516 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67517 referenced |= 1 << 2;
67518 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67520 return cycles;
67521 #undef FLD
67524 static int
67525 model_fr400_tinv (SIM_CPU *current_cpu, void *sem_arg)
67527 #define FLD(f) abuf->fields.sfmt_tieq.f
67528 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67529 const IDESC * UNUSED idesc = abuf->idesc;
67530 int cycles = 0;
67532 int referenced = 0;
67533 int UNUSED insn_referenced = abuf->written;
67534 INT in_GRi = -1;
67535 INT in_GRj = -1;
67536 INT in_ICCi_2 = -1;
67537 INT in_FCCi_2 = -1;
67538 in_GRi = FLD (in_GRi);
67539 in_ICCi_2 = FLD (in_ICCi_2);
67540 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
67541 referenced |= 1 << 2;
67542 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67544 return cycles;
67545 #undef FLD
67548 static int
67549 model_fr400_ftira (SIM_CPU *current_cpu, void *sem_arg)
67551 #define FLD(f) abuf->fields.sfmt_ftine.f
67552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67553 const IDESC * UNUSED idesc = abuf->idesc;
67554 int cycles = 0;
67556 int referenced = 0;
67557 int UNUSED insn_referenced = abuf->written;
67558 INT in_GRi = -1;
67559 INT in_GRj = -1;
67560 INT in_ICCi_2 = -1;
67561 INT in_FCCi_2 = -1;
67562 in_GRi = FLD (in_GRi);
67563 referenced |= 1 << 0;
67564 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67566 return cycles;
67567 #undef FLD
67570 static int
67571 model_fr400_ftino (SIM_CPU *current_cpu, void *sem_arg)
67573 #define FLD(f) abuf->fields.sfmt_empty.f
67574 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67575 const IDESC * UNUSED idesc = abuf->idesc;
67576 int cycles = 0;
67578 int referenced = 0;
67579 int UNUSED insn_referenced = abuf->written;
67580 INT in_GRi = -1;
67581 INT in_GRj = -1;
67582 INT in_ICCi_2 = -1;
67583 INT in_FCCi_2 = -1;
67584 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67586 return cycles;
67587 #undef FLD
67590 static int
67591 model_fr400_ftine (SIM_CPU *current_cpu, void *sem_arg)
67593 #define FLD(f) abuf->fields.sfmt_ftine.f
67594 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67595 const IDESC * UNUSED idesc = abuf->idesc;
67596 int cycles = 0;
67598 int referenced = 0;
67599 int UNUSED insn_referenced = abuf->written;
67600 INT in_GRi = -1;
67601 INT in_GRj = -1;
67602 INT in_ICCi_2 = -1;
67603 INT in_FCCi_2 = -1;
67604 in_GRi = FLD (in_GRi);
67605 in_FCCi_2 = FLD (in_FCCi_2);
67606 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67607 referenced |= 1 << 3;
67608 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67610 return cycles;
67611 #undef FLD
67614 static int
67615 model_fr400_ftieq (SIM_CPU *current_cpu, void *sem_arg)
67617 #define FLD(f) abuf->fields.sfmt_ftine.f
67618 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67619 const IDESC * UNUSED idesc = abuf->idesc;
67620 int cycles = 0;
67622 int referenced = 0;
67623 int UNUSED insn_referenced = abuf->written;
67624 INT in_GRi = -1;
67625 INT in_GRj = -1;
67626 INT in_ICCi_2 = -1;
67627 INT in_FCCi_2 = -1;
67628 in_GRi = FLD (in_GRi);
67629 in_FCCi_2 = FLD (in_FCCi_2);
67630 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67631 referenced |= 1 << 3;
67632 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67634 return cycles;
67635 #undef FLD
67638 static int
67639 model_fr400_ftilg (SIM_CPU *current_cpu, void *sem_arg)
67641 #define FLD(f) abuf->fields.sfmt_ftine.f
67642 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67643 const IDESC * UNUSED idesc = abuf->idesc;
67644 int cycles = 0;
67646 int referenced = 0;
67647 int UNUSED insn_referenced = abuf->written;
67648 INT in_GRi = -1;
67649 INT in_GRj = -1;
67650 INT in_ICCi_2 = -1;
67651 INT in_FCCi_2 = -1;
67652 in_GRi = FLD (in_GRi);
67653 in_FCCi_2 = FLD (in_FCCi_2);
67654 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67655 referenced |= 1 << 3;
67656 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67658 return cycles;
67659 #undef FLD
67662 static int
67663 model_fr400_ftiue (SIM_CPU *current_cpu, void *sem_arg)
67665 #define FLD(f) abuf->fields.sfmt_ftine.f
67666 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67667 const IDESC * UNUSED idesc = abuf->idesc;
67668 int cycles = 0;
67670 int referenced = 0;
67671 int UNUSED insn_referenced = abuf->written;
67672 INT in_GRi = -1;
67673 INT in_GRj = -1;
67674 INT in_ICCi_2 = -1;
67675 INT in_FCCi_2 = -1;
67676 in_GRi = FLD (in_GRi);
67677 in_FCCi_2 = FLD (in_FCCi_2);
67678 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67679 referenced |= 1 << 3;
67680 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67682 return cycles;
67683 #undef FLD
67686 static int
67687 model_fr400_ftiul (SIM_CPU *current_cpu, void *sem_arg)
67689 #define FLD(f) abuf->fields.sfmt_ftine.f
67690 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67691 const IDESC * UNUSED idesc = abuf->idesc;
67692 int cycles = 0;
67694 int referenced = 0;
67695 int UNUSED insn_referenced = abuf->written;
67696 INT in_GRi = -1;
67697 INT in_GRj = -1;
67698 INT in_ICCi_2 = -1;
67699 INT in_FCCi_2 = -1;
67700 in_GRi = FLD (in_GRi);
67701 in_FCCi_2 = FLD (in_FCCi_2);
67702 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67703 referenced |= 1 << 3;
67704 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67706 return cycles;
67707 #undef FLD
67710 static int
67711 model_fr400_ftige (SIM_CPU *current_cpu, void *sem_arg)
67713 #define FLD(f) abuf->fields.sfmt_ftine.f
67714 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67715 const IDESC * UNUSED idesc = abuf->idesc;
67716 int cycles = 0;
67718 int referenced = 0;
67719 int UNUSED insn_referenced = abuf->written;
67720 INT in_GRi = -1;
67721 INT in_GRj = -1;
67722 INT in_ICCi_2 = -1;
67723 INT in_FCCi_2 = -1;
67724 in_GRi = FLD (in_GRi);
67725 in_FCCi_2 = FLD (in_FCCi_2);
67726 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67727 referenced |= 1 << 3;
67728 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67730 return cycles;
67731 #undef FLD
67734 static int
67735 model_fr400_ftilt (SIM_CPU *current_cpu, void *sem_arg)
67737 #define FLD(f) abuf->fields.sfmt_ftine.f
67738 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67739 const IDESC * UNUSED idesc = abuf->idesc;
67740 int cycles = 0;
67742 int referenced = 0;
67743 int UNUSED insn_referenced = abuf->written;
67744 INT in_GRi = -1;
67745 INT in_GRj = -1;
67746 INT in_ICCi_2 = -1;
67747 INT in_FCCi_2 = -1;
67748 in_GRi = FLD (in_GRi);
67749 in_FCCi_2 = FLD (in_FCCi_2);
67750 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67751 referenced |= 1 << 3;
67752 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67754 return cycles;
67755 #undef FLD
67758 static int
67759 model_fr400_ftiuge (SIM_CPU *current_cpu, void *sem_arg)
67761 #define FLD(f) abuf->fields.sfmt_ftine.f
67762 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67763 const IDESC * UNUSED idesc = abuf->idesc;
67764 int cycles = 0;
67766 int referenced = 0;
67767 int UNUSED insn_referenced = abuf->written;
67768 INT in_GRi = -1;
67769 INT in_GRj = -1;
67770 INT in_ICCi_2 = -1;
67771 INT in_FCCi_2 = -1;
67772 in_GRi = FLD (in_GRi);
67773 in_FCCi_2 = FLD (in_FCCi_2);
67774 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67775 referenced |= 1 << 3;
67776 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67778 return cycles;
67779 #undef FLD
67782 static int
67783 model_fr400_ftiug (SIM_CPU *current_cpu, void *sem_arg)
67785 #define FLD(f) abuf->fields.sfmt_ftine.f
67786 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67787 const IDESC * UNUSED idesc = abuf->idesc;
67788 int cycles = 0;
67790 int referenced = 0;
67791 int UNUSED insn_referenced = abuf->written;
67792 INT in_GRi = -1;
67793 INT in_GRj = -1;
67794 INT in_ICCi_2 = -1;
67795 INT in_FCCi_2 = -1;
67796 in_GRi = FLD (in_GRi);
67797 in_FCCi_2 = FLD (in_FCCi_2);
67798 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67799 referenced |= 1 << 3;
67800 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67802 return cycles;
67803 #undef FLD
67806 static int
67807 model_fr400_ftile (SIM_CPU *current_cpu, void *sem_arg)
67809 #define FLD(f) abuf->fields.sfmt_ftine.f
67810 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67811 const IDESC * UNUSED idesc = abuf->idesc;
67812 int cycles = 0;
67814 int referenced = 0;
67815 int UNUSED insn_referenced = abuf->written;
67816 INT in_GRi = -1;
67817 INT in_GRj = -1;
67818 INT in_ICCi_2 = -1;
67819 INT in_FCCi_2 = -1;
67820 in_GRi = FLD (in_GRi);
67821 in_FCCi_2 = FLD (in_FCCi_2);
67822 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67823 referenced |= 1 << 3;
67824 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67826 return cycles;
67827 #undef FLD
67830 static int
67831 model_fr400_ftigt (SIM_CPU *current_cpu, void *sem_arg)
67833 #define FLD(f) abuf->fields.sfmt_ftine.f
67834 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67835 const IDESC * UNUSED idesc = abuf->idesc;
67836 int cycles = 0;
67838 int referenced = 0;
67839 int UNUSED insn_referenced = abuf->written;
67840 INT in_GRi = -1;
67841 INT in_GRj = -1;
67842 INT in_ICCi_2 = -1;
67843 INT in_FCCi_2 = -1;
67844 in_GRi = FLD (in_GRi);
67845 in_FCCi_2 = FLD (in_FCCi_2);
67846 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67847 referenced |= 1 << 3;
67848 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67850 return cycles;
67851 #undef FLD
67854 static int
67855 model_fr400_ftiule (SIM_CPU *current_cpu, void *sem_arg)
67857 #define FLD(f) abuf->fields.sfmt_ftine.f
67858 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67859 const IDESC * UNUSED idesc = abuf->idesc;
67860 int cycles = 0;
67862 int referenced = 0;
67863 int UNUSED insn_referenced = abuf->written;
67864 INT in_GRi = -1;
67865 INT in_GRj = -1;
67866 INT in_ICCi_2 = -1;
67867 INT in_FCCi_2 = -1;
67868 in_GRi = FLD (in_GRi);
67869 in_FCCi_2 = FLD (in_FCCi_2);
67870 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67871 referenced |= 1 << 3;
67872 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67874 return cycles;
67875 #undef FLD
67878 static int
67879 model_fr400_ftiu (SIM_CPU *current_cpu, void *sem_arg)
67881 #define FLD(f) abuf->fields.sfmt_ftine.f
67882 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67883 const IDESC * UNUSED idesc = abuf->idesc;
67884 int cycles = 0;
67886 int referenced = 0;
67887 int UNUSED insn_referenced = abuf->written;
67888 INT in_GRi = -1;
67889 INT in_GRj = -1;
67890 INT in_ICCi_2 = -1;
67891 INT in_FCCi_2 = -1;
67892 in_GRi = FLD (in_GRi);
67893 in_FCCi_2 = FLD (in_FCCi_2);
67894 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67895 referenced |= 1 << 3;
67896 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67898 return cycles;
67899 #undef FLD
67902 static int
67903 model_fr400_ftio (SIM_CPU *current_cpu, void *sem_arg)
67905 #define FLD(f) abuf->fields.sfmt_ftine.f
67906 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67907 const IDESC * UNUSED idesc = abuf->idesc;
67908 int cycles = 0;
67910 int referenced = 0;
67911 int UNUSED insn_referenced = abuf->written;
67912 INT in_GRi = -1;
67913 INT in_GRj = -1;
67914 INT in_ICCi_2 = -1;
67915 INT in_FCCi_2 = -1;
67916 in_GRi = FLD (in_GRi);
67917 in_FCCi_2 = FLD (in_FCCi_2);
67918 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
67919 referenced |= 1 << 3;
67920 cycles += frvbf_model_fr400_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
67922 return cycles;
67923 #undef FLD
67926 static int
67927 model_fr400_break (SIM_CPU *current_cpu, void *sem_arg)
67929 #define FLD(f) abuf->fields.sfmt_break.f
67930 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67931 const IDESC * UNUSED idesc = abuf->idesc;
67932 int cycles = 0;
67934 int referenced = 0;
67935 int UNUSED insn_referenced = abuf->written;
67936 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
67938 return cycles;
67939 #undef FLD
67942 static int
67943 model_fr400_mtrap (SIM_CPU *current_cpu, void *sem_arg)
67945 #define FLD(f) abuf->fields.sfmt_empty.f
67946 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67947 const IDESC * UNUSED idesc = abuf->idesc;
67948 int cycles = 0;
67950 int referenced = 0;
67951 int UNUSED insn_referenced = abuf->written;
67952 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
67954 return cycles;
67955 #undef FLD
67958 static int
67959 model_fr400_andcr (SIM_CPU *current_cpu, void *sem_arg)
67961 #define FLD(f) abuf->fields.sfmt_andcr.f
67962 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67963 const IDESC * UNUSED idesc = abuf->idesc;
67964 int cycles = 0;
67966 int referenced = 0;
67967 int UNUSED insn_referenced = abuf->written;
67968 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
67970 return cycles;
67971 #undef FLD
67974 static int
67975 model_fr400_orcr (SIM_CPU *current_cpu, void *sem_arg)
67977 #define FLD(f) abuf->fields.sfmt_andcr.f
67978 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67979 const IDESC * UNUSED idesc = abuf->idesc;
67980 int cycles = 0;
67982 int referenced = 0;
67983 int UNUSED insn_referenced = abuf->written;
67984 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
67986 return cycles;
67987 #undef FLD
67990 static int
67991 model_fr400_xorcr (SIM_CPU *current_cpu, void *sem_arg)
67993 #define FLD(f) abuf->fields.sfmt_andcr.f
67994 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
67995 const IDESC * UNUSED idesc = abuf->idesc;
67996 int cycles = 0;
67998 int referenced = 0;
67999 int UNUSED insn_referenced = abuf->written;
68000 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68002 return cycles;
68003 #undef FLD
68006 static int
68007 model_fr400_nandcr (SIM_CPU *current_cpu, void *sem_arg)
68009 #define FLD(f) abuf->fields.sfmt_andcr.f
68010 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68011 const IDESC * UNUSED idesc = abuf->idesc;
68012 int cycles = 0;
68014 int referenced = 0;
68015 int UNUSED insn_referenced = abuf->written;
68016 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68018 return cycles;
68019 #undef FLD
68022 static int
68023 model_fr400_norcr (SIM_CPU *current_cpu, void *sem_arg)
68025 #define FLD(f) abuf->fields.sfmt_andcr.f
68026 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68027 const IDESC * UNUSED idesc = abuf->idesc;
68028 int cycles = 0;
68030 int referenced = 0;
68031 int UNUSED insn_referenced = abuf->written;
68032 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68034 return cycles;
68035 #undef FLD
68038 static int
68039 model_fr400_andncr (SIM_CPU *current_cpu, void *sem_arg)
68041 #define FLD(f) abuf->fields.sfmt_andcr.f
68042 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68043 const IDESC * UNUSED idesc = abuf->idesc;
68044 int cycles = 0;
68046 int referenced = 0;
68047 int UNUSED insn_referenced = abuf->written;
68048 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68050 return cycles;
68051 #undef FLD
68054 static int
68055 model_fr400_orncr (SIM_CPU *current_cpu, void *sem_arg)
68057 #define FLD(f) abuf->fields.sfmt_andcr.f
68058 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68059 const IDESC * UNUSED idesc = abuf->idesc;
68060 int cycles = 0;
68062 int referenced = 0;
68063 int UNUSED insn_referenced = abuf->written;
68064 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68066 return cycles;
68067 #undef FLD
68070 static int
68071 model_fr400_nandncr (SIM_CPU *current_cpu, void *sem_arg)
68073 #define FLD(f) abuf->fields.sfmt_andcr.f
68074 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68075 const IDESC * UNUSED idesc = abuf->idesc;
68076 int cycles = 0;
68078 int referenced = 0;
68079 int UNUSED insn_referenced = abuf->written;
68080 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68082 return cycles;
68083 #undef FLD
68086 static int
68087 model_fr400_norncr (SIM_CPU *current_cpu, void *sem_arg)
68089 #define FLD(f) abuf->fields.sfmt_andcr.f
68090 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68091 const IDESC * UNUSED idesc = abuf->idesc;
68092 int cycles = 0;
68094 int referenced = 0;
68095 int UNUSED insn_referenced = abuf->written;
68096 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68098 return cycles;
68099 #undef FLD
68102 static int
68103 model_fr400_notcr (SIM_CPU *current_cpu, void *sem_arg)
68105 #define FLD(f) abuf->fields.sfmt_andcr.f
68106 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68107 const IDESC * UNUSED idesc = abuf->idesc;
68108 int cycles = 0;
68110 int referenced = 0;
68111 int UNUSED insn_referenced = abuf->written;
68112 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
68114 return cycles;
68115 #undef FLD
68118 static int
68119 model_fr400_ckra (SIM_CPU *current_cpu, void *sem_arg)
68121 #define FLD(f) abuf->fields.sfmt_cckeq.f
68122 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68123 const IDESC * UNUSED idesc = abuf->idesc;
68124 int cycles = 0;
68126 int referenced = 0;
68127 int UNUSED insn_referenced = abuf->written;
68128 INT in_ICCi_3 = -1;
68129 INT in_FCCi_3 = -1;
68130 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68132 return cycles;
68133 #undef FLD
68136 static int
68137 model_fr400_ckno (SIM_CPU *current_cpu, void *sem_arg)
68139 #define FLD(f) abuf->fields.sfmt_cckeq.f
68140 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68141 const IDESC * UNUSED idesc = abuf->idesc;
68142 int cycles = 0;
68144 int referenced = 0;
68145 int UNUSED insn_referenced = abuf->written;
68146 INT in_ICCi_3 = -1;
68147 INT in_FCCi_3 = -1;
68148 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68150 return cycles;
68151 #undef FLD
68154 static int
68155 model_fr400_ckeq (SIM_CPU *current_cpu, void *sem_arg)
68157 #define FLD(f) abuf->fields.sfmt_cckeq.f
68158 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68159 const IDESC * UNUSED idesc = abuf->idesc;
68160 int cycles = 0;
68162 int referenced = 0;
68163 int UNUSED insn_referenced = abuf->written;
68164 INT in_ICCi_3 = -1;
68165 INT in_FCCi_3 = -1;
68166 in_ICCi_3 = FLD (in_ICCi_3);
68167 referenced |= 1 << 0;
68168 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68170 return cycles;
68171 #undef FLD
68174 static int
68175 model_fr400_ckne (SIM_CPU *current_cpu, void *sem_arg)
68177 #define FLD(f) abuf->fields.sfmt_cckeq.f
68178 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68179 const IDESC * UNUSED idesc = abuf->idesc;
68180 int cycles = 0;
68182 int referenced = 0;
68183 int UNUSED insn_referenced = abuf->written;
68184 INT in_ICCi_3 = -1;
68185 INT in_FCCi_3 = -1;
68186 in_ICCi_3 = FLD (in_ICCi_3);
68187 referenced |= 1 << 0;
68188 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68190 return cycles;
68191 #undef FLD
68194 static int
68195 model_fr400_ckle (SIM_CPU *current_cpu, void *sem_arg)
68197 #define FLD(f) abuf->fields.sfmt_cckeq.f
68198 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68199 const IDESC * UNUSED idesc = abuf->idesc;
68200 int cycles = 0;
68202 int referenced = 0;
68203 int UNUSED insn_referenced = abuf->written;
68204 INT in_ICCi_3 = -1;
68205 INT in_FCCi_3 = -1;
68206 in_ICCi_3 = FLD (in_ICCi_3);
68207 referenced |= 1 << 0;
68208 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68210 return cycles;
68211 #undef FLD
68214 static int
68215 model_fr400_ckgt (SIM_CPU *current_cpu, void *sem_arg)
68217 #define FLD(f) abuf->fields.sfmt_cckeq.f
68218 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68219 const IDESC * UNUSED idesc = abuf->idesc;
68220 int cycles = 0;
68222 int referenced = 0;
68223 int UNUSED insn_referenced = abuf->written;
68224 INT in_ICCi_3 = -1;
68225 INT in_FCCi_3 = -1;
68226 in_ICCi_3 = FLD (in_ICCi_3);
68227 referenced |= 1 << 0;
68228 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68230 return cycles;
68231 #undef FLD
68234 static int
68235 model_fr400_cklt (SIM_CPU *current_cpu, void *sem_arg)
68237 #define FLD(f) abuf->fields.sfmt_cckeq.f
68238 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68239 const IDESC * UNUSED idesc = abuf->idesc;
68240 int cycles = 0;
68242 int referenced = 0;
68243 int UNUSED insn_referenced = abuf->written;
68244 INT in_ICCi_3 = -1;
68245 INT in_FCCi_3 = -1;
68246 in_ICCi_3 = FLD (in_ICCi_3);
68247 referenced |= 1 << 0;
68248 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68250 return cycles;
68251 #undef FLD
68254 static int
68255 model_fr400_ckge (SIM_CPU *current_cpu, void *sem_arg)
68257 #define FLD(f) abuf->fields.sfmt_cckeq.f
68258 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68259 const IDESC * UNUSED idesc = abuf->idesc;
68260 int cycles = 0;
68262 int referenced = 0;
68263 int UNUSED insn_referenced = abuf->written;
68264 INT in_ICCi_3 = -1;
68265 INT in_FCCi_3 = -1;
68266 in_ICCi_3 = FLD (in_ICCi_3);
68267 referenced |= 1 << 0;
68268 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68270 return cycles;
68271 #undef FLD
68274 static int
68275 model_fr400_ckls (SIM_CPU *current_cpu, void *sem_arg)
68277 #define FLD(f) abuf->fields.sfmt_cckeq.f
68278 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68279 const IDESC * UNUSED idesc = abuf->idesc;
68280 int cycles = 0;
68282 int referenced = 0;
68283 int UNUSED insn_referenced = abuf->written;
68284 INT in_ICCi_3 = -1;
68285 INT in_FCCi_3 = -1;
68286 in_ICCi_3 = FLD (in_ICCi_3);
68287 referenced |= 1 << 0;
68288 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68290 return cycles;
68291 #undef FLD
68294 static int
68295 model_fr400_ckhi (SIM_CPU *current_cpu, void *sem_arg)
68297 #define FLD(f) abuf->fields.sfmt_cckeq.f
68298 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68299 const IDESC * UNUSED idesc = abuf->idesc;
68300 int cycles = 0;
68302 int referenced = 0;
68303 int UNUSED insn_referenced = abuf->written;
68304 INT in_ICCi_3 = -1;
68305 INT in_FCCi_3 = -1;
68306 in_ICCi_3 = FLD (in_ICCi_3);
68307 referenced |= 1 << 0;
68308 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68310 return cycles;
68311 #undef FLD
68314 static int
68315 model_fr400_ckc (SIM_CPU *current_cpu, void *sem_arg)
68317 #define FLD(f) abuf->fields.sfmt_cckeq.f
68318 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68319 const IDESC * UNUSED idesc = abuf->idesc;
68320 int cycles = 0;
68322 int referenced = 0;
68323 int UNUSED insn_referenced = abuf->written;
68324 INT in_ICCi_3 = -1;
68325 INT in_FCCi_3 = -1;
68326 in_ICCi_3 = FLD (in_ICCi_3);
68327 referenced |= 1 << 0;
68328 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68330 return cycles;
68331 #undef FLD
68334 static int
68335 model_fr400_cknc (SIM_CPU *current_cpu, void *sem_arg)
68337 #define FLD(f) abuf->fields.sfmt_cckeq.f
68338 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68339 const IDESC * UNUSED idesc = abuf->idesc;
68340 int cycles = 0;
68342 int referenced = 0;
68343 int UNUSED insn_referenced = abuf->written;
68344 INT in_ICCi_3 = -1;
68345 INT in_FCCi_3 = -1;
68346 in_ICCi_3 = FLD (in_ICCi_3);
68347 referenced |= 1 << 0;
68348 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68350 return cycles;
68351 #undef FLD
68354 static int
68355 model_fr400_ckn (SIM_CPU *current_cpu, void *sem_arg)
68357 #define FLD(f) abuf->fields.sfmt_cckeq.f
68358 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68359 const IDESC * UNUSED idesc = abuf->idesc;
68360 int cycles = 0;
68362 int referenced = 0;
68363 int UNUSED insn_referenced = abuf->written;
68364 INT in_ICCi_3 = -1;
68365 INT in_FCCi_3 = -1;
68366 in_ICCi_3 = FLD (in_ICCi_3);
68367 referenced |= 1 << 0;
68368 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68370 return cycles;
68371 #undef FLD
68374 static int
68375 model_fr400_ckp (SIM_CPU *current_cpu, void *sem_arg)
68377 #define FLD(f) abuf->fields.sfmt_cckeq.f
68378 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68379 const IDESC * UNUSED idesc = abuf->idesc;
68380 int cycles = 0;
68382 int referenced = 0;
68383 int UNUSED insn_referenced = abuf->written;
68384 INT in_ICCi_3 = -1;
68385 INT in_FCCi_3 = -1;
68386 in_ICCi_3 = FLD (in_ICCi_3);
68387 referenced |= 1 << 0;
68388 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68390 return cycles;
68391 #undef FLD
68394 static int
68395 model_fr400_ckv (SIM_CPU *current_cpu, void *sem_arg)
68397 #define FLD(f) abuf->fields.sfmt_cckeq.f
68398 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68399 const IDESC * UNUSED idesc = abuf->idesc;
68400 int cycles = 0;
68402 int referenced = 0;
68403 int UNUSED insn_referenced = abuf->written;
68404 INT in_ICCi_3 = -1;
68405 INT in_FCCi_3 = -1;
68406 in_ICCi_3 = FLD (in_ICCi_3);
68407 referenced |= 1 << 0;
68408 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68410 return cycles;
68411 #undef FLD
68414 static int
68415 model_fr400_cknv (SIM_CPU *current_cpu, void *sem_arg)
68417 #define FLD(f) abuf->fields.sfmt_cckeq.f
68418 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68419 const IDESC * UNUSED idesc = abuf->idesc;
68420 int cycles = 0;
68422 int referenced = 0;
68423 int UNUSED insn_referenced = abuf->written;
68424 INT in_ICCi_3 = -1;
68425 INT in_FCCi_3 = -1;
68426 in_ICCi_3 = FLD (in_ICCi_3);
68427 referenced |= 1 << 0;
68428 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68430 return cycles;
68431 #undef FLD
68434 static int
68435 model_fr400_fckra (SIM_CPU *current_cpu, void *sem_arg)
68437 #define FLD(f) abuf->fields.sfmt_cfckne.f
68438 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68439 const IDESC * UNUSED idesc = abuf->idesc;
68440 int cycles = 0;
68442 int referenced = 0;
68443 int UNUSED insn_referenced = abuf->written;
68444 INT in_ICCi_3 = -1;
68445 INT in_FCCi_3 = -1;
68446 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68448 return cycles;
68449 #undef FLD
68452 static int
68453 model_fr400_fckno (SIM_CPU *current_cpu, void *sem_arg)
68455 #define FLD(f) abuf->fields.sfmt_cfckne.f
68456 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68457 const IDESC * UNUSED idesc = abuf->idesc;
68458 int cycles = 0;
68460 int referenced = 0;
68461 int UNUSED insn_referenced = abuf->written;
68462 INT in_ICCi_3 = -1;
68463 INT in_FCCi_3 = -1;
68464 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68466 return cycles;
68467 #undef FLD
68470 static int
68471 model_fr400_fckne (SIM_CPU *current_cpu, void *sem_arg)
68473 #define FLD(f) abuf->fields.sfmt_cfckne.f
68474 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68475 const IDESC * UNUSED idesc = abuf->idesc;
68476 int cycles = 0;
68478 int referenced = 0;
68479 int UNUSED insn_referenced = abuf->written;
68480 INT in_ICCi_3 = -1;
68481 INT in_FCCi_3 = -1;
68482 in_FCCi_3 = FLD (in_FCCi_3);
68483 referenced |= 1 << 1;
68484 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68486 return cycles;
68487 #undef FLD
68490 static int
68491 model_fr400_fckeq (SIM_CPU *current_cpu, void *sem_arg)
68493 #define FLD(f) abuf->fields.sfmt_cfckne.f
68494 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68495 const IDESC * UNUSED idesc = abuf->idesc;
68496 int cycles = 0;
68498 int referenced = 0;
68499 int UNUSED insn_referenced = abuf->written;
68500 INT in_ICCi_3 = -1;
68501 INT in_FCCi_3 = -1;
68502 in_FCCi_3 = FLD (in_FCCi_3);
68503 referenced |= 1 << 1;
68504 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68506 return cycles;
68507 #undef FLD
68510 static int
68511 model_fr400_fcklg (SIM_CPU *current_cpu, void *sem_arg)
68513 #define FLD(f) abuf->fields.sfmt_cfckne.f
68514 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68515 const IDESC * UNUSED idesc = abuf->idesc;
68516 int cycles = 0;
68518 int referenced = 0;
68519 int UNUSED insn_referenced = abuf->written;
68520 INT in_ICCi_3 = -1;
68521 INT in_FCCi_3 = -1;
68522 in_FCCi_3 = FLD (in_FCCi_3);
68523 referenced |= 1 << 1;
68524 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68526 return cycles;
68527 #undef FLD
68530 static int
68531 model_fr400_fckue (SIM_CPU *current_cpu, void *sem_arg)
68533 #define FLD(f) abuf->fields.sfmt_cfckne.f
68534 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68535 const IDESC * UNUSED idesc = abuf->idesc;
68536 int cycles = 0;
68538 int referenced = 0;
68539 int UNUSED insn_referenced = abuf->written;
68540 INT in_ICCi_3 = -1;
68541 INT in_FCCi_3 = -1;
68542 in_FCCi_3 = FLD (in_FCCi_3);
68543 referenced |= 1 << 1;
68544 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68546 return cycles;
68547 #undef FLD
68550 static int
68551 model_fr400_fckul (SIM_CPU *current_cpu, void *sem_arg)
68553 #define FLD(f) abuf->fields.sfmt_cfckne.f
68554 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68555 const IDESC * UNUSED idesc = abuf->idesc;
68556 int cycles = 0;
68558 int referenced = 0;
68559 int UNUSED insn_referenced = abuf->written;
68560 INT in_ICCi_3 = -1;
68561 INT in_FCCi_3 = -1;
68562 in_FCCi_3 = FLD (in_FCCi_3);
68563 referenced |= 1 << 1;
68564 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68566 return cycles;
68567 #undef FLD
68570 static int
68571 model_fr400_fckge (SIM_CPU *current_cpu, void *sem_arg)
68573 #define FLD(f) abuf->fields.sfmt_cfckne.f
68574 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68575 const IDESC * UNUSED idesc = abuf->idesc;
68576 int cycles = 0;
68578 int referenced = 0;
68579 int UNUSED insn_referenced = abuf->written;
68580 INT in_ICCi_3 = -1;
68581 INT in_FCCi_3 = -1;
68582 in_FCCi_3 = FLD (in_FCCi_3);
68583 referenced |= 1 << 1;
68584 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68586 return cycles;
68587 #undef FLD
68590 static int
68591 model_fr400_fcklt (SIM_CPU *current_cpu, void *sem_arg)
68593 #define FLD(f) abuf->fields.sfmt_cfckne.f
68594 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68595 const IDESC * UNUSED idesc = abuf->idesc;
68596 int cycles = 0;
68598 int referenced = 0;
68599 int UNUSED insn_referenced = abuf->written;
68600 INT in_ICCi_3 = -1;
68601 INT in_FCCi_3 = -1;
68602 in_FCCi_3 = FLD (in_FCCi_3);
68603 referenced |= 1 << 1;
68604 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68606 return cycles;
68607 #undef FLD
68610 static int
68611 model_fr400_fckuge (SIM_CPU *current_cpu, void *sem_arg)
68613 #define FLD(f) abuf->fields.sfmt_cfckne.f
68614 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68615 const IDESC * UNUSED idesc = abuf->idesc;
68616 int cycles = 0;
68618 int referenced = 0;
68619 int UNUSED insn_referenced = abuf->written;
68620 INT in_ICCi_3 = -1;
68621 INT in_FCCi_3 = -1;
68622 in_FCCi_3 = FLD (in_FCCi_3);
68623 referenced |= 1 << 1;
68624 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68626 return cycles;
68627 #undef FLD
68630 static int
68631 model_fr400_fckug (SIM_CPU *current_cpu, void *sem_arg)
68633 #define FLD(f) abuf->fields.sfmt_cfckne.f
68634 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68635 const IDESC * UNUSED idesc = abuf->idesc;
68636 int cycles = 0;
68638 int referenced = 0;
68639 int UNUSED insn_referenced = abuf->written;
68640 INT in_ICCi_3 = -1;
68641 INT in_FCCi_3 = -1;
68642 in_FCCi_3 = FLD (in_FCCi_3);
68643 referenced |= 1 << 1;
68644 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68646 return cycles;
68647 #undef FLD
68650 static int
68651 model_fr400_fckle (SIM_CPU *current_cpu, void *sem_arg)
68653 #define FLD(f) abuf->fields.sfmt_cfckne.f
68654 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68655 const IDESC * UNUSED idesc = abuf->idesc;
68656 int cycles = 0;
68658 int referenced = 0;
68659 int UNUSED insn_referenced = abuf->written;
68660 INT in_ICCi_3 = -1;
68661 INT in_FCCi_3 = -1;
68662 in_FCCi_3 = FLD (in_FCCi_3);
68663 referenced |= 1 << 1;
68664 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68666 return cycles;
68667 #undef FLD
68670 static int
68671 model_fr400_fckgt (SIM_CPU *current_cpu, void *sem_arg)
68673 #define FLD(f) abuf->fields.sfmt_cfckne.f
68674 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68675 const IDESC * UNUSED idesc = abuf->idesc;
68676 int cycles = 0;
68678 int referenced = 0;
68679 int UNUSED insn_referenced = abuf->written;
68680 INT in_ICCi_3 = -1;
68681 INT in_FCCi_3 = -1;
68682 in_FCCi_3 = FLD (in_FCCi_3);
68683 referenced |= 1 << 1;
68684 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68686 return cycles;
68687 #undef FLD
68690 static int
68691 model_fr400_fckule (SIM_CPU *current_cpu, void *sem_arg)
68693 #define FLD(f) abuf->fields.sfmt_cfckne.f
68694 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68695 const IDESC * UNUSED idesc = abuf->idesc;
68696 int cycles = 0;
68698 int referenced = 0;
68699 int UNUSED insn_referenced = abuf->written;
68700 INT in_ICCi_3 = -1;
68701 INT in_FCCi_3 = -1;
68702 in_FCCi_3 = FLD (in_FCCi_3);
68703 referenced |= 1 << 1;
68704 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68706 return cycles;
68707 #undef FLD
68710 static int
68711 model_fr400_fcku (SIM_CPU *current_cpu, void *sem_arg)
68713 #define FLD(f) abuf->fields.sfmt_cfckne.f
68714 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68715 const IDESC * UNUSED idesc = abuf->idesc;
68716 int cycles = 0;
68718 int referenced = 0;
68719 int UNUSED insn_referenced = abuf->written;
68720 INT in_ICCi_3 = -1;
68721 INT in_FCCi_3 = -1;
68722 in_FCCi_3 = FLD (in_FCCi_3);
68723 referenced |= 1 << 1;
68724 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68726 return cycles;
68727 #undef FLD
68730 static int
68731 model_fr400_fcko (SIM_CPU *current_cpu, void *sem_arg)
68733 #define FLD(f) abuf->fields.sfmt_cfckne.f
68734 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68735 const IDESC * UNUSED idesc = abuf->idesc;
68736 int cycles = 0;
68738 int referenced = 0;
68739 int UNUSED insn_referenced = abuf->written;
68740 INT in_ICCi_3 = -1;
68741 INT in_FCCi_3 = -1;
68742 in_FCCi_3 = FLD (in_FCCi_3);
68743 referenced |= 1 << 1;
68744 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68746 return cycles;
68747 #undef FLD
68750 static int
68751 model_fr400_cckra (SIM_CPU *current_cpu, void *sem_arg)
68753 #define FLD(f) abuf->fields.sfmt_cckeq.f
68754 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68755 const IDESC * UNUSED idesc = abuf->idesc;
68756 int cycles = 0;
68758 int referenced = 0;
68759 int UNUSED insn_referenced = abuf->written;
68760 INT in_ICCi_3 = -1;
68761 INT in_FCCi_3 = -1;
68762 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68764 return cycles;
68765 #undef FLD
68768 static int
68769 model_fr400_cckno (SIM_CPU *current_cpu, void *sem_arg)
68771 #define FLD(f) abuf->fields.sfmt_cckeq.f
68772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68773 const IDESC * UNUSED idesc = abuf->idesc;
68774 int cycles = 0;
68776 int referenced = 0;
68777 int UNUSED insn_referenced = abuf->written;
68778 INT in_ICCi_3 = -1;
68779 INT in_FCCi_3 = -1;
68780 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68782 return cycles;
68783 #undef FLD
68786 static int
68787 model_fr400_cckeq (SIM_CPU *current_cpu, void *sem_arg)
68789 #define FLD(f) abuf->fields.sfmt_cckeq.f
68790 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68791 const IDESC * UNUSED idesc = abuf->idesc;
68792 int cycles = 0;
68794 int referenced = 0;
68795 int UNUSED insn_referenced = abuf->written;
68796 INT in_ICCi_3 = -1;
68797 INT in_FCCi_3 = -1;
68798 in_ICCi_3 = FLD (in_ICCi_3);
68799 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68800 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68802 return cycles;
68803 #undef FLD
68806 static int
68807 model_fr400_cckne (SIM_CPU *current_cpu, void *sem_arg)
68809 #define FLD(f) abuf->fields.sfmt_cckeq.f
68810 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68811 const IDESC * UNUSED idesc = abuf->idesc;
68812 int cycles = 0;
68814 int referenced = 0;
68815 int UNUSED insn_referenced = abuf->written;
68816 INT in_ICCi_3 = -1;
68817 INT in_FCCi_3 = -1;
68818 in_ICCi_3 = FLD (in_ICCi_3);
68819 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68820 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68822 return cycles;
68823 #undef FLD
68826 static int
68827 model_fr400_cckle (SIM_CPU *current_cpu, void *sem_arg)
68829 #define FLD(f) abuf->fields.sfmt_cckeq.f
68830 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68831 const IDESC * UNUSED idesc = abuf->idesc;
68832 int cycles = 0;
68834 int referenced = 0;
68835 int UNUSED insn_referenced = abuf->written;
68836 INT in_ICCi_3 = -1;
68837 INT in_FCCi_3 = -1;
68838 in_ICCi_3 = FLD (in_ICCi_3);
68839 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68840 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68842 return cycles;
68843 #undef FLD
68846 static int
68847 model_fr400_cckgt (SIM_CPU *current_cpu, void *sem_arg)
68849 #define FLD(f) abuf->fields.sfmt_cckeq.f
68850 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68851 const IDESC * UNUSED idesc = abuf->idesc;
68852 int cycles = 0;
68854 int referenced = 0;
68855 int UNUSED insn_referenced = abuf->written;
68856 INT in_ICCi_3 = -1;
68857 INT in_FCCi_3 = -1;
68858 in_ICCi_3 = FLD (in_ICCi_3);
68859 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68860 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68862 return cycles;
68863 #undef FLD
68866 static int
68867 model_fr400_ccklt (SIM_CPU *current_cpu, void *sem_arg)
68869 #define FLD(f) abuf->fields.sfmt_cckeq.f
68870 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68871 const IDESC * UNUSED idesc = abuf->idesc;
68872 int cycles = 0;
68874 int referenced = 0;
68875 int UNUSED insn_referenced = abuf->written;
68876 INT in_ICCi_3 = -1;
68877 INT in_FCCi_3 = -1;
68878 in_ICCi_3 = FLD (in_ICCi_3);
68879 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68880 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68882 return cycles;
68883 #undef FLD
68886 static int
68887 model_fr400_cckge (SIM_CPU *current_cpu, void *sem_arg)
68889 #define FLD(f) abuf->fields.sfmt_cckeq.f
68890 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68891 const IDESC * UNUSED idesc = abuf->idesc;
68892 int cycles = 0;
68894 int referenced = 0;
68895 int UNUSED insn_referenced = abuf->written;
68896 INT in_ICCi_3 = -1;
68897 INT in_FCCi_3 = -1;
68898 in_ICCi_3 = FLD (in_ICCi_3);
68899 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68900 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68902 return cycles;
68903 #undef FLD
68906 static int
68907 model_fr400_cckls (SIM_CPU *current_cpu, void *sem_arg)
68909 #define FLD(f) abuf->fields.sfmt_cckeq.f
68910 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68911 const IDESC * UNUSED idesc = abuf->idesc;
68912 int cycles = 0;
68914 int referenced = 0;
68915 int UNUSED insn_referenced = abuf->written;
68916 INT in_ICCi_3 = -1;
68917 INT in_FCCi_3 = -1;
68918 in_ICCi_3 = FLD (in_ICCi_3);
68919 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68920 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68922 return cycles;
68923 #undef FLD
68926 static int
68927 model_fr400_cckhi (SIM_CPU *current_cpu, void *sem_arg)
68929 #define FLD(f) abuf->fields.sfmt_cckeq.f
68930 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68931 const IDESC * UNUSED idesc = abuf->idesc;
68932 int cycles = 0;
68934 int referenced = 0;
68935 int UNUSED insn_referenced = abuf->written;
68936 INT in_ICCi_3 = -1;
68937 INT in_FCCi_3 = -1;
68938 in_ICCi_3 = FLD (in_ICCi_3);
68939 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68940 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68942 return cycles;
68943 #undef FLD
68946 static int
68947 model_fr400_cckc (SIM_CPU *current_cpu, void *sem_arg)
68949 #define FLD(f) abuf->fields.sfmt_cckeq.f
68950 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68951 const IDESC * UNUSED idesc = abuf->idesc;
68952 int cycles = 0;
68954 int referenced = 0;
68955 int UNUSED insn_referenced = abuf->written;
68956 INT in_ICCi_3 = -1;
68957 INT in_FCCi_3 = -1;
68958 in_ICCi_3 = FLD (in_ICCi_3);
68959 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68960 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68962 return cycles;
68963 #undef FLD
68966 static int
68967 model_fr400_ccknc (SIM_CPU *current_cpu, void *sem_arg)
68969 #define FLD(f) abuf->fields.sfmt_cckeq.f
68970 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68971 const IDESC * UNUSED idesc = abuf->idesc;
68972 int cycles = 0;
68974 int referenced = 0;
68975 int UNUSED insn_referenced = abuf->written;
68976 INT in_ICCi_3 = -1;
68977 INT in_FCCi_3 = -1;
68978 in_ICCi_3 = FLD (in_ICCi_3);
68979 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
68980 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
68982 return cycles;
68983 #undef FLD
68986 static int
68987 model_fr400_cckn (SIM_CPU *current_cpu, void *sem_arg)
68989 #define FLD(f) abuf->fields.sfmt_cckeq.f
68990 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
68991 const IDESC * UNUSED idesc = abuf->idesc;
68992 int cycles = 0;
68994 int referenced = 0;
68995 int UNUSED insn_referenced = abuf->written;
68996 INT in_ICCi_3 = -1;
68997 INT in_FCCi_3 = -1;
68998 in_ICCi_3 = FLD (in_ICCi_3);
68999 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
69000 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69002 return cycles;
69003 #undef FLD
69006 static int
69007 model_fr400_cckp (SIM_CPU *current_cpu, void *sem_arg)
69009 #define FLD(f) abuf->fields.sfmt_cckeq.f
69010 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69011 const IDESC * UNUSED idesc = abuf->idesc;
69012 int cycles = 0;
69014 int referenced = 0;
69015 int UNUSED insn_referenced = abuf->written;
69016 INT in_ICCi_3 = -1;
69017 INT in_FCCi_3 = -1;
69018 in_ICCi_3 = FLD (in_ICCi_3);
69019 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
69020 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69022 return cycles;
69023 #undef FLD
69026 static int
69027 model_fr400_cckv (SIM_CPU *current_cpu, void *sem_arg)
69029 #define FLD(f) abuf->fields.sfmt_cckeq.f
69030 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69031 const IDESC * UNUSED idesc = abuf->idesc;
69032 int cycles = 0;
69034 int referenced = 0;
69035 int UNUSED insn_referenced = abuf->written;
69036 INT in_ICCi_3 = -1;
69037 INT in_FCCi_3 = -1;
69038 in_ICCi_3 = FLD (in_ICCi_3);
69039 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
69040 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69042 return cycles;
69043 #undef FLD
69046 static int
69047 model_fr400_ccknv (SIM_CPU *current_cpu, void *sem_arg)
69049 #define FLD(f) abuf->fields.sfmt_cckeq.f
69050 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69051 const IDESC * UNUSED idesc = abuf->idesc;
69052 int cycles = 0;
69054 int referenced = 0;
69055 int UNUSED insn_referenced = abuf->written;
69056 INT in_ICCi_3 = -1;
69057 INT in_FCCi_3 = -1;
69058 in_ICCi_3 = FLD (in_ICCi_3);
69059 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
69060 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69062 return cycles;
69063 #undef FLD
69066 static int
69067 model_fr400_cfckra (SIM_CPU *current_cpu, void *sem_arg)
69069 #define FLD(f) abuf->fields.sfmt_cfckne.f
69070 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69071 const IDESC * UNUSED idesc = abuf->idesc;
69072 int cycles = 0;
69074 int referenced = 0;
69075 int UNUSED insn_referenced = abuf->written;
69076 INT in_ICCi_3 = -1;
69077 INT in_FCCi_3 = -1;
69078 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69080 return cycles;
69081 #undef FLD
69084 static int
69085 model_fr400_cfckno (SIM_CPU *current_cpu, void *sem_arg)
69087 #define FLD(f) abuf->fields.sfmt_cfckne.f
69088 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69089 const IDESC * UNUSED idesc = abuf->idesc;
69090 int cycles = 0;
69092 int referenced = 0;
69093 int UNUSED insn_referenced = abuf->written;
69094 INT in_ICCi_3 = -1;
69095 INT in_FCCi_3 = -1;
69096 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69098 return cycles;
69099 #undef FLD
69102 static int
69103 model_fr400_cfckne (SIM_CPU *current_cpu, void *sem_arg)
69105 #define FLD(f) abuf->fields.sfmt_cfckne.f
69106 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69107 const IDESC * UNUSED idesc = abuf->idesc;
69108 int cycles = 0;
69110 int referenced = 0;
69111 int UNUSED insn_referenced = abuf->written;
69112 INT in_ICCi_3 = -1;
69113 INT in_FCCi_3 = -1;
69114 in_FCCi_3 = FLD (in_FCCi_3);
69115 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69116 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69118 return cycles;
69119 #undef FLD
69122 static int
69123 model_fr400_cfckeq (SIM_CPU *current_cpu, void *sem_arg)
69125 #define FLD(f) abuf->fields.sfmt_cfckne.f
69126 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69127 const IDESC * UNUSED idesc = abuf->idesc;
69128 int cycles = 0;
69130 int referenced = 0;
69131 int UNUSED insn_referenced = abuf->written;
69132 INT in_ICCi_3 = -1;
69133 INT in_FCCi_3 = -1;
69134 in_FCCi_3 = FLD (in_FCCi_3);
69135 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69136 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69138 return cycles;
69139 #undef FLD
69142 static int
69143 model_fr400_cfcklg (SIM_CPU *current_cpu, void *sem_arg)
69145 #define FLD(f) abuf->fields.sfmt_cfckne.f
69146 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69147 const IDESC * UNUSED idesc = abuf->idesc;
69148 int cycles = 0;
69150 int referenced = 0;
69151 int UNUSED insn_referenced = abuf->written;
69152 INT in_ICCi_3 = -1;
69153 INT in_FCCi_3 = -1;
69154 in_FCCi_3 = FLD (in_FCCi_3);
69155 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69156 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69158 return cycles;
69159 #undef FLD
69162 static int
69163 model_fr400_cfckue (SIM_CPU *current_cpu, void *sem_arg)
69165 #define FLD(f) abuf->fields.sfmt_cfckne.f
69166 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69167 const IDESC * UNUSED idesc = abuf->idesc;
69168 int cycles = 0;
69170 int referenced = 0;
69171 int UNUSED insn_referenced = abuf->written;
69172 INT in_ICCi_3 = -1;
69173 INT in_FCCi_3 = -1;
69174 in_FCCi_3 = FLD (in_FCCi_3);
69175 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69176 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69178 return cycles;
69179 #undef FLD
69182 static int
69183 model_fr400_cfckul (SIM_CPU *current_cpu, void *sem_arg)
69185 #define FLD(f) abuf->fields.sfmt_cfckne.f
69186 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69187 const IDESC * UNUSED idesc = abuf->idesc;
69188 int cycles = 0;
69190 int referenced = 0;
69191 int UNUSED insn_referenced = abuf->written;
69192 INT in_ICCi_3 = -1;
69193 INT in_FCCi_3 = -1;
69194 in_FCCi_3 = FLD (in_FCCi_3);
69195 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69196 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69198 return cycles;
69199 #undef FLD
69202 static int
69203 model_fr400_cfckge (SIM_CPU *current_cpu, void *sem_arg)
69205 #define FLD(f) abuf->fields.sfmt_cfckne.f
69206 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69207 const IDESC * UNUSED idesc = abuf->idesc;
69208 int cycles = 0;
69210 int referenced = 0;
69211 int UNUSED insn_referenced = abuf->written;
69212 INT in_ICCi_3 = -1;
69213 INT in_FCCi_3 = -1;
69214 in_FCCi_3 = FLD (in_FCCi_3);
69215 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69216 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69218 return cycles;
69219 #undef FLD
69222 static int
69223 model_fr400_cfcklt (SIM_CPU *current_cpu, void *sem_arg)
69225 #define FLD(f) abuf->fields.sfmt_cfckne.f
69226 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69227 const IDESC * UNUSED idesc = abuf->idesc;
69228 int cycles = 0;
69230 int referenced = 0;
69231 int UNUSED insn_referenced = abuf->written;
69232 INT in_ICCi_3 = -1;
69233 INT in_FCCi_3 = -1;
69234 in_FCCi_3 = FLD (in_FCCi_3);
69235 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69236 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69238 return cycles;
69239 #undef FLD
69242 static int
69243 model_fr400_cfckuge (SIM_CPU *current_cpu, void *sem_arg)
69245 #define FLD(f) abuf->fields.sfmt_cfckne.f
69246 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69247 const IDESC * UNUSED idesc = abuf->idesc;
69248 int cycles = 0;
69250 int referenced = 0;
69251 int UNUSED insn_referenced = abuf->written;
69252 INT in_ICCi_3 = -1;
69253 INT in_FCCi_3 = -1;
69254 in_FCCi_3 = FLD (in_FCCi_3);
69255 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69256 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69258 return cycles;
69259 #undef FLD
69262 static int
69263 model_fr400_cfckug (SIM_CPU *current_cpu, void *sem_arg)
69265 #define FLD(f) abuf->fields.sfmt_cfckne.f
69266 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69267 const IDESC * UNUSED idesc = abuf->idesc;
69268 int cycles = 0;
69270 int referenced = 0;
69271 int UNUSED insn_referenced = abuf->written;
69272 INT in_ICCi_3 = -1;
69273 INT in_FCCi_3 = -1;
69274 in_FCCi_3 = FLD (in_FCCi_3);
69275 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69276 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69278 return cycles;
69279 #undef FLD
69282 static int
69283 model_fr400_cfckle (SIM_CPU *current_cpu, void *sem_arg)
69285 #define FLD(f) abuf->fields.sfmt_cfckne.f
69286 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69287 const IDESC * UNUSED idesc = abuf->idesc;
69288 int cycles = 0;
69290 int referenced = 0;
69291 int UNUSED insn_referenced = abuf->written;
69292 INT in_ICCi_3 = -1;
69293 INT in_FCCi_3 = -1;
69294 in_FCCi_3 = FLD (in_FCCi_3);
69295 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69296 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69298 return cycles;
69299 #undef FLD
69302 static int
69303 model_fr400_cfckgt (SIM_CPU *current_cpu, void *sem_arg)
69305 #define FLD(f) abuf->fields.sfmt_cfckne.f
69306 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69307 const IDESC * UNUSED idesc = abuf->idesc;
69308 int cycles = 0;
69310 int referenced = 0;
69311 int UNUSED insn_referenced = abuf->written;
69312 INT in_ICCi_3 = -1;
69313 INT in_FCCi_3 = -1;
69314 in_FCCi_3 = FLD (in_FCCi_3);
69315 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69316 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69318 return cycles;
69319 #undef FLD
69322 static int
69323 model_fr400_cfckule (SIM_CPU *current_cpu, void *sem_arg)
69325 #define FLD(f) abuf->fields.sfmt_cfckne.f
69326 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69327 const IDESC * UNUSED idesc = abuf->idesc;
69328 int cycles = 0;
69330 int referenced = 0;
69331 int UNUSED insn_referenced = abuf->written;
69332 INT in_ICCi_3 = -1;
69333 INT in_FCCi_3 = -1;
69334 in_FCCi_3 = FLD (in_FCCi_3);
69335 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69336 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69338 return cycles;
69339 #undef FLD
69342 static int
69343 model_fr400_cfcku (SIM_CPU *current_cpu, void *sem_arg)
69345 #define FLD(f) abuf->fields.sfmt_cfckne.f
69346 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69347 const IDESC * UNUSED idesc = abuf->idesc;
69348 int cycles = 0;
69350 int referenced = 0;
69351 int UNUSED insn_referenced = abuf->written;
69352 INT in_ICCi_3 = -1;
69353 INT in_FCCi_3 = -1;
69354 in_FCCi_3 = FLD (in_FCCi_3);
69355 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69356 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69358 return cycles;
69359 #undef FLD
69362 static int
69363 model_fr400_cfcko (SIM_CPU *current_cpu, void *sem_arg)
69365 #define FLD(f) abuf->fields.sfmt_cfckne.f
69366 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69367 const IDESC * UNUSED idesc = abuf->idesc;
69368 int cycles = 0;
69370 int referenced = 0;
69371 int UNUSED insn_referenced = abuf->written;
69372 INT in_ICCi_3 = -1;
69373 INT in_FCCi_3 = -1;
69374 in_FCCi_3 = FLD (in_FCCi_3);
69375 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69376 cycles += frvbf_model_fr400_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
69378 return cycles;
69379 #undef FLD
69382 static int
69383 model_fr400_cjmpl (SIM_CPU *current_cpu, void *sem_arg)
69385 #define FLD(f) abuf->fields.sfmt_cjmpl.f
69386 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69387 const IDESC * UNUSED idesc = abuf->idesc;
69388 int cycles = 0;
69390 int referenced = 0;
69391 int UNUSED insn_referenced = abuf->written;
69392 INT in_GRi = -1;
69393 INT in_GRj = -1;
69394 INT in_ICCi_2 = -1;
69395 INT in_FCCi_2 = -1;
69396 in_GRi = FLD (in_GRi);
69397 in_GRj = FLD (in_GRj);
69398 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
69399 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
69400 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
69401 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
69403 return cycles;
69404 #undef FLD
69407 static int
69408 model_fr400_ccalll (SIM_CPU *current_cpu, void *sem_arg)
69410 #define FLD(f) abuf->fields.sfmt_cjmpl.f
69411 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69412 const IDESC * UNUSED idesc = abuf->idesc;
69413 int cycles = 0;
69415 int referenced = 0;
69416 int UNUSED insn_referenced = abuf->written;
69417 INT in_GRi = -1;
69418 INT in_GRj = -1;
69419 INT in_ICCi_2 = -1;
69420 INT in_FCCi_2 = -1;
69421 in_GRi = FLD (in_GRi);
69422 in_GRj = FLD (in_GRj);
69423 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
69424 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
69425 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
69426 cycles += frvbf_model_fr400_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
69428 return cycles;
69429 #undef FLD
69432 static int
69433 model_fr400_ici (SIM_CPU *current_cpu, void *sem_arg)
69435 #define FLD(f) abuf->fields.sfmt_icpl.f
69436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69437 const IDESC * UNUSED idesc = abuf->idesc;
69438 int cycles = 0;
69440 int referenced = 0;
69441 int UNUSED insn_referenced = abuf->written;
69442 INT in_GRi = -1;
69443 INT in_GRj = -1;
69444 in_GRi = FLD (in_GRi);
69445 in_GRj = FLD (in_GRj);
69446 referenced |= 1 << 0;
69447 referenced |= 1 << 1;
69448 cycles += frvbf_model_fr400_u_ici (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69450 return cycles;
69451 #undef FLD
69454 static int
69455 model_fr400_dci (SIM_CPU *current_cpu, void *sem_arg)
69457 #define FLD(f) abuf->fields.sfmt_icpl.f
69458 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69459 const IDESC * UNUSED idesc = abuf->idesc;
69460 int cycles = 0;
69462 int referenced = 0;
69463 int UNUSED insn_referenced = abuf->written;
69464 INT in_GRi = -1;
69465 INT in_GRj = -1;
69466 in_GRi = FLD (in_GRi);
69467 in_GRj = FLD (in_GRj);
69468 referenced |= 1 << 0;
69469 referenced |= 1 << 1;
69470 cycles += frvbf_model_fr400_u_dci (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69472 return cycles;
69473 #undef FLD
69476 static int
69477 model_fr400_icei (SIM_CPU *current_cpu, void *sem_arg)
69479 #define FLD(f) abuf->fields.sfmt_icei.f
69480 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69481 const IDESC * UNUSED idesc = abuf->idesc;
69482 int cycles = 0;
69484 int referenced = 0;
69485 int UNUSED insn_referenced = abuf->written;
69486 INT in_GRi = -1;
69487 INT in_GRj = -1;
69488 in_GRi = FLD (in_GRi);
69489 in_GRj = FLD (in_GRj);
69490 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
69491 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69492 cycles += frvbf_model_fr400_u_ici (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69494 return cycles;
69495 #undef FLD
69498 static int
69499 model_fr400_dcei (SIM_CPU *current_cpu, void *sem_arg)
69501 #define FLD(f) abuf->fields.sfmt_icei.f
69502 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69503 const IDESC * UNUSED idesc = abuf->idesc;
69504 int cycles = 0;
69506 int referenced = 0;
69507 int UNUSED insn_referenced = abuf->written;
69508 INT in_GRi = -1;
69509 INT in_GRj = -1;
69510 in_GRi = FLD (in_GRi);
69511 in_GRj = FLD (in_GRj);
69512 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
69513 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69514 cycles += frvbf_model_fr400_u_dci (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69516 return cycles;
69517 #undef FLD
69520 static int
69521 model_fr400_dcf (SIM_CPU *current_cpu, void *sem_arg)
69523 #define FLD(f) abuf->fields.sfmt_icpl.f
69524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69525 const IDESC * UNUSED idesc = abuf->idesc;
69526 int cycles = 0;
69528 int referenced = 0;
69529 int UNUSED insn_referenced = abuf->written;
69530 INT in_GRi = -1;
69531 INT in_GRj = -1;
69532 in_GRi = FLD (in_GRi);
69533 in_GRj = FLD (in_GRj);
69534 referenced |= 1 << 0;
69535 referenced |= 1 << 1;
69536 cycles += frvbf_model_fr400_u_dcf (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69538 return cycles;
69539 #undef FLD
69542 static int
69543 model_fr400_dcef (SIM_CPU *current_cpu, void *sem_arg)
69545 #define FLD(f) abuf->fields.sfmt_icei.f
69546 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69547 const IDESC * UNUSED idesc = abuf->idesc;
69548 int cycles = 0;
69550 int referenced = 0;
69551 int UNUSED insn_referenced = abuf->written;
69552 INT in_GRi = -1;
69553 INT in_GRj = -1;
69554 in_GRi = FLD (in_GRi);
69555 in_GRj = FLD (in_GRj);
69556 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
69557 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
69558 cycles += frvbf_model_fr400_u_dcf (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69560 return cycles;
69561 #undef FLD
69564 static int
69565 model_fr400_witlb (SIM_CPU *current_cpu, void *sem_arg)
69567 #define FLD(f) abuf->fields.sfmt_empty.f
69568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69569 const IDESC * UNUSED idesc = abuf->idesc;
69570 int cycles = 0;
69572 int referenced = 0;
69573 int UNUSED insn_referenced = abuf->written;
69574 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69576 return cycles;
69577 #undef FLD
69580 static int
69581 model_fr400_wdtlb (SIM_CPU *current_cpu, void *sem_arg)
69583 #define FLD(f) abuf->fields.sfmt_empty.f
69584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69585 const IDESC * UNUSED idesc = abuf->idesc;
69586 int cycles = 0;
69588 int referenced = 0;
69589 int UNUSED insn_referenced = abuf->written;
69590 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69592 return cycles;
69593 #undef FLD
69596 static int
69597 model_fr400_itlbi (SIM_CPU *current_cpu, void *sem_arg)
69599 #define FLD(f) abuf->fields.sfmt_empty.f
69600 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69601 const IDESC * UNUSED idesc = abuf->idesc;
69602 int cycles = 0;
69604 int referenced = 0;
69605 int UNUSED insn_referenced = abuf->written;
69606 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69608 return cycles;
69609 #undef FLD
69612 static int
69613 model_fr400_dtlbi (SIM_CPU *current_cpu, void *sem_arg)
69615 #define FLD(f) abuf->fields.sfmt_empty.f
69616 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69617 const IDESC * UNUSED idesc = abuf->idesc;
69618 int cycles = 0;
69620 int referenced = 0;
69621 int UNUSED insn_referenced = abuf->written;
69622 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69624 return cycles;
69625 #undef FLD
69628 static int
69629 model_fr400_icpl (SIM_CPU *current_cpu, void *sem_arg)
69631 #define FLD(f) abuf->fields.sfmt_icpl.f
69632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69633 const IDESC * UNUSED idesc = abuf->idesc;
69634 int cycles = 0;
69636 int referenced = 0;
69637 int UNUSED insn_referenced = abuf->written;
69638 INT in_GRi = -1;
69639 INT in_GRj = -1;
69640 in_GRi = FLD (in_GRi);
69641 in_GRj = FLD (in_GRj);
69642 referenced |= 1 << 0;
69643 referenced |= 1 << 1;
69644 cycles += frvbf_model_fr400_u_icpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69646 return cycles;
69647 #undef FLD
69650 static int
69651 model_fr400_dcpl (SIM_CPU *current_cpu, void *sem_arg)
69653 #define FLD(f) abuf->fields.sfmt_icpl.f
69654 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69655 const IDESC * UNUSED idesc = abuf->idesc;
69656 int cycles = 0;
69658 int referenced = 0;
69659 int UNUSED insn_referenced = abuf->written;
69660 INT in_GRi = -1;
69661 INT in_GRj = -1;
69662 in_GRi = FLD (in_GRi);
69663 in_GRj = FLD (in_GRj);
69664 referenced |= 1 << 0;
69665 referenced |= 1 << 1;
69666 cycles += frvbf_model_fr400_u_dcpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69668 return cycles;
69669 #undef FLD
69672 static int
69673 model_fr400_icul (SIM_CPU *current_cpu, void *sem_arg)
69675 #define FLD(f) abuf->fields.sfmt_jmpil.f
69676 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69677 const IDESC * UNUSED idesc = abuf->idesc;
69678 int cycles = 0;
69680 int referenced = 0;
69681 int UNUSED insn_referenced = abuf->written;
69682 INT in_GRi = -1;
69683 INT in_GRj = -1;
69684 in_GRi = FLD (in_GRi);
69685 referenced |= 1 << 0;
69686 cycles += frvbf_model_fr400_u_icul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69688 return cycles;
69689 #undef FLD
69692 static int
69693 model_fr400_dcul (SIM_CPU *current_cpu, void *sem_arg)
69695 #define FLD(f) abuf->fields.sfmt_jmpil.f
69696 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69697 const IDESC * UNUSED idesc = abuf->idesc;
69698 int cycles = 0;
69700 int referenced = 0;
69701 int UNUSED insn_referenced = abuf->written;
69702 INT in_GRi = -1;
69703 INT in_GRj = -1;
69704 in_GRi = FLD (in_GRi);
69705 referenced |= 1 << 0;
69706 cycles += frvbf_model_fr400_u_dcul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
69708 return cycles;
69709 #undef FLD
69712 static int
69713 model_fr400_bar (SIM_CPU *current_cpu, void *sem_arg)
69715 #define FLD(f) abuf->fields.sfmt_empty.f
69716 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69717 const IDESC * UNUSED idesc = abuf->idesc;
69718 int cycles = 0;
69720 int referenced = 0;
69721 int UNUSED insn_referenced = abuf->written;
69722 cycles += frvbf_model_fr400_u_barrier (current_cpu, idesc, 0, referenced);
69724 return cycles;
69725 #undef FLD
69728 static int
69729 model_fr400_membar (SIM_CPU *current_cpu, void *sem_arg)
69731 #define FLD(f) abuf->fields.sfmt_empty.f
69732 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69733 const IDESC * UNUSED idesc = abuf->idesc;
69734 int cycles = 0;
69736 int referenced = 0;
69737 int UNUSED insn_referenced = abuf->written;
69738 cycles += frvbf_model_fr400_u_membar (current_cpu, idesc, 0, referenced);
69740 return cycles;
69741 #undef FLD
69744 static int
69745 model_fr400_lrai (SIM_CPU *current_cpu, void *sem_arg)
69747 #define FLD(f) abuf->fields.sfmt_empty.f
69748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69749 const IDESC * UNUSED idesc = abuf->idesc;
69750 int cycles = 0;
69752 int referenced = 0;
69753 int UNUSED insn_referenced = abuf->written;
69754 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69756 return cycles;
69757 #undef FLD
69760 static int
69761 model_fr400_lrad (SIM_CPU *current_cpu, void *sem_arg)
69763 #define FLD(f) abuf->fields.sfmt_empty.f
69764 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69765 const IDESC * UNUSED idesc = abuf->idesc;
69766 int cycles = 0;
69768 int referenced = 0;
69769 int UNUSED insn_referenced = abuf->written;
69770 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69772 return cycles;
69773 #undef FLD
69776 static int
69777 model_fr400_tlbpr (SIM_CPU *current_cpu, void *sem_arg)
69779 #define FLD(f) abuf->fields.sfmt_empty.f
69780 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69781 const IDESC * UNUSED idesc = abuf->idesc;
69782 int cycles = 0;
69784 int referenced = 0;
69785 int UNUSED insn_referenced = abuf->written;
69786 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69788 return cycles;
69789 #undef FLD
69792 static int
69793 model_fr400_cop1 (SIM_CPU *current_cpu, void *sem_arg)
69795 #define FLD(f) abuf->fields.sfmt_empty.f
69796 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69797 const IDESC * UNUSED idesc = abuf->idesc;
69798 int cycles = 0;
69800 int referenced = 0;
69801 int UNUSED insn_referenced = abuf->written;
69802 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69804 return cycles;
69805 #undef FLD
69808 static int
69809 model_fr400_cop2 (SIM_CPU *current_cpu, void *sem_arg)
69811 #define FLD(f) abuf->fields.sfmt_empty.f
69812 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69813 const IDESC * UNUSED idesc = abuf->idesc;
69814 int cycles = 0;
69816 int referenced = 0;
69817 int UNUSED insn_referenced = abuf->written;
69818 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69820 return cycles;
69821 #undef FLD
69824 static int
69825 model_fr400_clrgr (SIM_CPU *current_cpu, void *sem_arg)
69827 #define FLD(f) abuf->fields.sfmt_swapi.f
69828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69829 const IDESC * UNUSED idesc = abuf->idesc;
69830 int cycles = 0;
69832 int referenced = 0;
69833 int UNUSED insn_referenced = abuf->written;
69834 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69836 return cycles;
69837 #undef FLD
69840 static int
69841 model_fr400_clrfr (SIM_CPU *current_cpu, void *sem_arg)
69843 #define FLD(f) abuf->fields.sfmt_cfmadds.f
69844 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69845 const IDESC * UNUSED idesc = abuf->idesc;
69846 int cycles = 0;
69848 int referenced = 0;
69849 int UNUSED insn_referenced = abuf->written;
69850 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69852 return cycles;
69853 #undef FLD
69856 static int
69857 model_fr400_clrga (SIM_CPU *current_cpu, void *sem_arg)
69859 #define FLD(f) abuf->fields.sfmt_empty.f
69860 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69861 const IDESC * UNUSED idesc = abuf->idesc;
69862 int cycles = 0;
69864 int referenced = 0;
69865 int UNUSED insn_referenced = abuf->written;
69866 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69868 return cycles;
69869 #undef FLD
69872 static int
69873 model_fr400_clrfa (SIM_CPU *current_cpu, void *sem_arg)
69875 #define FLD(f) abuf->fields.sfmt_empty.f
69876 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69877 const IDESC * UNUSED idesc = abuf->idesc;
69878 int cycles = 0;
69880 int referenced = 0;
69881 int UNUSED insn_referenced = abuf->written;
69882 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69884 return cycles;
69885 #undef FLD
69888 static int
69889 model_fr400_commitgr (SIM_CPU *current_cpu, void *sem_arg)
69891 #define FLD(f) abuf->fields.sfmt_setlos.f
69892 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69893 const IDESC * UNUSED idesc = abuf->idesc;
69894 int cycles = 0;
69896 int referenced = 0;
69897 int UNUSED insn_referenced = abuf->written;
69898 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69900 return cycles;
69901 #undef FLD
69904 static int
69905 model_fr400_commitfr (SIM_CPU *current_cpu, void *sem_arg)
69907 #define FLD(f) abuf->fields.sfmt_mhsethis.f
69908 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69909 const IDESC * UNUSED idesc = abuf->idesc;
69910 int cycles = 0;
69912 int referenced = 0;
69913 int UNUSED insn_referenced = abuf->written;
69914 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69916 return cycles;
69917 #undef FLD
69920 static int
69921 model_fr400_commitga (SIM_CPU *current_cpu, void *sem_arg)
69923 #define FLD(f) abuf->fields.sfmt_empty.f
69924 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69925 const IDESC * UNUSED idesc = abuf->idesc;
69926 int cycles = 0;
69928 int referenced = 0;
69929 int UNUSED insn_referenced = abuf->written;
69930 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69932 return cycles;
69933 #undef FLD
69936 static int
69937 model_fr400_commitfa (SIM_CPU *current_cpu, void *sem_arg)
69939 #define FLD(f) abuf->fields.sfmt_empty.f
69940 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69941 const IDESC * UNUSED idesc = abuf->idesc;
69942 int cycles = 0;
69944 int referenced = 0;
69945 int UNUSED insn_referenced = abuf->written;
69946 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69948 return cycles;
69949 #undef FLD
69952 static int
69953 model_fr400_fitos (SIM_CPU *current_cpu, void *sem_arg)
69955 #define FLD(f) abuf->fields.sfmt_fditos.f
69956 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69957 const IDESC * UNUSED idesc = abuf->idesc;
69958 int cycles = 0;
69960 int referenced = 0;
69961 int UNUSED insn_referenced = abuf->written;
69962 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69964 return cycles;
69965 #undef FLD
69968 static int
69969 model_fr400_fstoi (SIM_CPU *current_cpu, void *sem_arg)
69971 #define FLD(f) abuf->fields.sfmt_fdstoi.f
69972 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69973 const IDESC * UNUSED idesc = abuf->idesc;
69974 int cycles = 0;
69976 int referenced = 0;
69977 int UNUSED insn_referenced = abuf->written;
69978 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69980 return cycles;
69981 #undef FLD
69984 static int
69985 model_fr400_fitod (SIM_CPU *current_cpu, void *sem_arg)
69987 #define FLD(f) abuf->fields.sfmt_fitod.f
69988 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
69989 const IDESC * UNUSED idesc = abuf->idesc;
69990 int cycles = 0;
69992 int referenced = 0;
69993 int UNUSED insn_referenced = abuf->written;
69994 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
69996 return cycles;
69997 #undef FLD
70000 static int
70001 model_fr400_fdtoi (SIM_CPU *current_cpu, void *sem_arg)
70003 #define FLD(f) abuf->fields.sfmt_fdtoi.f
70004 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70005 const IDESC * UNUSED idesc = abuf->idesc;
70006 int cycles = 0;
70008 int referenced = 0;
70009 int UNUSED insn_referenced = abuf->written;
70010 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70012 return cycles;
70013 #undef FLD
70016 static int
70017 model_fr400_fditos (SIM_CPU *current_cpu, void *sem_arg)
70019 #define FLD(f) abuf->fields.sfmt_fditos.f
70020 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70021 const IDESC * UNUSED idesc = abuf->idesc;
70022 int cycles = 0;
70024 int referenced = 0;
70025 int UNUSED insn_referenced = abuf->written;
70026 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70028 return cycles;
70029 #undef FLD
70032 static int
70033 model_fr400_fdstoi (SIM_CPU *current_cpu, void *sem_arg)
70035 #define FLD(f) abuf->fields.sfmt_fdstoi.f
70036 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70037 const IDESC * UNUSED idesc = abuf->idesc;
70038 int cycles = 0;
70040 int referenced = 0;
70041 int UNUSED insn_referenced = abuf->written;
70042 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70044 return cycles;
70045 #undef FLD
70048 static int
70049 model_fr400_nfditos (SIM_CPU *current_cpu, void *sem_arg)
70051 #define FLD(f) abuf->fields.sfmt_fditos.f
70052 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70053 const IDESC * UNUSED idesc = abuf->idesc;
70054 int cycles = 0;
70056 int referenced = 0;
70057 int UNUSED insn_referenced = abuf->written;
70058 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70060 return cycles;
70061 #undef FLD
70064 static int
70065 model_fr400_nfdstoi (SIM_CPU *current_cpu, void *sem_arg)
70067 #define FLD(f) abuf->fields.sfmt_fdstoi.f
70068 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70069 const IDESC * UNUSED idesc = abuf->idesc;
70070 int cycles = 0;
70072 int referenced = 0;
70073 int UNUSED insn_referenced = abuf->written;
70074 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70076 return cycles;
70077 #undef FLD
70080 static int
70081 model_fr400_cfitos (SIM_CPU *current_cpu, void *sem_arg)
70083 #define FLD(f) abuf->fields.sfmt_cfitos.f
70084 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70085 const IDESC * UNUSED idesc = abuf->idesc;
70086 int cycles = 0;
70088 int referenced = 0;
70089 int UNUSED insn_referenced = abuf->written;
70090 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70092 return cycles;
70093 #undef FLD
70096 static int
70097 model_fr400_cfstoi (SIM_CPU *current_cpu, void *sem_arg)
70099 #define FLD(f) abuf->fields.sfmt_cfstoi.f
70100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70101 const IDESC * UNUSED idesc = abuf->idesc;
70102 int cycles = 0;
70104 int referenced = 0;
70105 int UNUSED insn_referenced = abuf->written;
70106 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70108 return cycles;
70109 #undef FLD
70112 static int
70113 model_fr400_nfitos (SIM_CPU *current_cpu, void *sem_arg)
70115 #define FLD(f) abuf->fields.sfmt_fditos.f
70116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70117 const IDESC * UNUSED idesc = abuf->idesc;
70118 int cycles = 0;
70120 int referenced = 0;
70121 int UNUSED insn_referenced = abuf->written;
70122 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70124 return cycles;
70125 #undef FLD
70128 static int
70129 model_fr400_nfstoi (SIM_CPU *current_cpu, void *sem_arg)
70131 #define FLD(f) abuf->fields.sfmt_fdstoi.f
70132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70133 const IDESC * UNUSED idesc = abuf->idesc;
70134 int cycles = 0;
70136 int referenced = 0;
70137 int UNUSED insn_referenced = abuf->written;
70138 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70140 return cycles;
70141 #undef FLD
70144 static int
70145 model_fr400_fmovs (SIM_CPU *current_cpu, void *sem_arg)
70147 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70149 const IDESC * UNUSED idesc = abuf->idesc;
70150 int cycles = 0;
70152 int referenced = 0;
70153 int UNUSED insn_referenced = abuf->written;
70154 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70156 return cycles;
70157 #undef FLD
70160 static int
70161 model_fr400_fmovd (SIM_CPU *current_cpu, void *sem_arg)
70163 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70164 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70165 const IDESC * UNUSED idesc = abuf->idesc;
70166 int cycles = 0;
70168 int referenced = 0;
70169 int UNUSED insn_referenced = abuf->written;
70170 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70172 return cycles;
70173 #undef FLD
70176 static int
70177 model_fr400_fdmovs (SIM_CPU *current_cpu, void *sem_arg)
70179 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70180 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70181 const IDESC * UNUSED idesc = abuf->idesc;
70182 int cycles = 0;
70184 int referenced = 0;
70185 int UNUSED insn_referenced = abuf->written;
70186 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70188 return cycles;
70189 #undef FLD
70192 static int
70193 model_fr400_cfmovs (SIM_CPU *current_cpu, void *sem_arg)
70195 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70196 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70197 const IDESC * UNUSED idesc = abuf->idesc;
70198 int cycles = 0;
70200 int referenced = 0;
70201 int UNUSED insn_referenced = abuf->written;
70202 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70204 return cycles;
70205 #undef FLD
70208 static int
70209 model_fr400_fnegs (SIM_CPU *current_cpu, void *sem_arg)
70211 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70212 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70213 const IDESC * UNUSED idesc = abuf->idesc;
70214 int cycles = 0;
70216 int referenced = 0;
70217 int UNUSED insn_referenced = abuf->written;
70218 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70220 return cycles;
70221 #undef FLD
70224 static int
70225 model_fr400_fnegd (SIM_CPU *current_cpu, void *sem_arg)
70227 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70228 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70229 const IDESC * UNUSED idesc = abuf->idesc;
70230 int cycles = 0;
70232 int referenced = 0;
70233 int UNUSED insn_referenced = abuf->written;
70234 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70236 return cycles;
70237 #undef FLD
70240 static int
70241 model_fr400_fdnegs (SIM_CPU *current_cpu, void *sem_arg)
70243 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70244 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70245 const IDESC * UNUSED idesc = abuf->idesc;
70246 int cycles = 0;
70248 int referenced = 0;
70249 int UNUSED insn_referenced = abuf->written;
70250 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70252 return cycles;
70253 #undef FLD
70256 static int
70257 model_fr400_cfnegs (SIM_CPU *current_cpu, void *sem_arg)
70259 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70260 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70261 const IDESC * UNUSED idesc = abuf->idesc;
70262 int cycles = 0;
70264 int referenced = 0;
70265 int UNUSED insn_referenced = abuf->written;
70266 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70268 return cycles;
70269 #undef FLD
70272 static int
70273 model_fr400_fabss (SIM_CPU *current_cpu, void *sem_arg)
70275 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70276 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70277 const IDESC * UNUSED idesc = abuf->idesc;
70278 int cycles = 0;
70280 int referenced = 0;
70281 int UNUSED insn_referenced = abuf->written;
70282 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70284 return cycles;
70285 #undef FLD
70288 static int
70289 model_fr400_fabsd (SIM_CPU *current_cpu, void *sem_arg)
70291 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70292 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70293 const IDESC * UNUSED idesc = abuf->idesc;
70294 int cycles = 0;
70296 int referenced = 0;
70297 int UNUSED insn_referenced = abuf->written;
70298 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70300 return cycles;
70301 #undef FLD
70304 static int
70305 model_fr400_fdabss (SIM_CPU *current_cpu, void *sem_arg)
70307 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70308 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70309 const IDESC * UNUSED idesc = abuf->idesc;
70310 int cycles = 0;
70312 int referenced = 0;
70313 int UNUSED insn_referenced = abuf->written;
70314 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70316 return cycles;
70317 #undef FLD
70320 static int
70321 model_fr400_cfabss (SIM_CPU *current_cpu, void *sem_arg)
70323 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70324 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70325 const IDESC * UNUSED idesc = abuf->idesc;
70326 int cycles = 0;
70328 int referenced = 0;
70329 int UNUSED insn_referenced = abuf->written;
70330 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70332 return cycles;
70333 #undef FLD
70336 static int
70337 model_fr400_fsqrts (SIM_CPU *current_cpu, void *sem_arg)
70339 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70340 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70341 const IDESC * UNUSED idesc = abuf->idesc;
70342 int cycles = 0;
70344 int referenced = 0;
70345 int UNUSED insn_referenced = abuf->written;
70346 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70348 return cycles;
70349 #undef FLD
70352 static int
70353 model_fr400_fdsqrts (SIM_CPU *current_cpu, void *sem_arg)
70355 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70357 const IDESC * UNUSED idesc = abuf->idesc;
70358 int cycles = 0;
70360 int referenced = 0;
70361 int UNUSED insn_referenced = abuf->written;
70362 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70364 return cycles;
70365 #undef FLD
70368 static int
70369 model_fr400_nfdsqrts (SIM_CPU *current_cpu, void *sem_arg)
70371 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70372 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70373 const IDESC * UNUSED idesc = abuf->idesc;
70374 int cycles = 0;
70376 int referenced = 0;
70377 int UNUSED insn_referenced = abuf->written;
70378 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70380 return cycles;
70381 #undef FLD
70384 static int
70385 model_fr400_fsqrtd (SIM_CPU *current_cpu, void *sem_arg)
70387 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70388 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70389 const IDESC * UNUSED idesc = abuf->idesc;
70390 int cycles = 0;
70392 int referenced = 0;
70393 int UNUSED insn_referenced = abuf->written;
70394 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70396 return cycles;
70397 #undef FLD
70400 static int
70401 model_fr400_cfsqrts (SIM_CPU *current_cpu, void *sem_arg)
70403 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70404 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70405 const IDESC * UNUSED idesc = abuf->idesc;
70406 int cycles = 0;
70408 int referenced = 0;
70409 int UNUSED insn_referenced = abuf->written;
70410 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70412 return cycles;
70413 #undef FLD
70416 static int
70417 model_fr400_nfsqrts (SIM_CPU *current_cpu, void *sem_arg)
70419 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70420 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70421 const IDESC * UNUSED idesc = abuf->idesc;
70422 int cycles = 0;
70424 int referenced = 0;
70425 int UNUSED insn_referenced = abuf->written;
70426 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70428 return cycles;
70429 #undef FLD
70432 static int
70433 model_fr400_fadds (SIM_CPU *current_cpu, void *sem_arg)
70435 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70437 const IDESC * UNUSED idesc = abuf->idesc;
70438 int cycles = 0;
70440 int referenced = 0;
70441 int UNUSED insn_referenced = abuf->written;
70442 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70444 return cycles;
70445 #undef FLD
70448 static int
70449 model_fr400_fsubs (SIM_CPU *current_cpu, void *sem_arg)
70451 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70452 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70453 const IDESC * UNUSED idesc = abuf->idesc;
70454 int cycles = 0;
70456 int referenced = 0;
70457 int UNUSED insn_referenced = abuf->written;
70458 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70460 return cycles;
70461 #undef FLD
70464 static int
70465 model_fr400_fmuls (SIM_CPU *current_cpu, void *sem_arg)
70467 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70468 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70469 const IDESC * UNUSED idesc = abuf->idesc;
70470 int cycles = 0;
70472 int referenced = 0;
70473 int UNUSED insn_referenced = abuf->written;
70474 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70476 return cycles;
70477 #undef FLD
70480 static int
70481 model_fr400_fdivs (SIM_CPU *current_cpu, void *sem_arg)
70483 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70484 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70485 const IDESC * UNUSED idesc = abuf->idesc;
70486 int cycles = 0;
70488 int referenced = 0;
70489 int UNUSED insn_referenced = abuf->written;
70490 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70492 return cycles;
70493 #undef FLD
70496 static int
70497 model_fr400_faddd (SIM_CPU *current_cpu, void *sem_arg)
70499 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70500 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70501 const IDESC * UNUSED idesc = abuf->idesc;
70502 int cycles = 0;
70504 int referenced = 0;
70505 int UNUSED insn_referenced = abuf->written;
70506 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70508 return cycles;
70509 #undef FLD
70512 static int
70513 model_fr400_fsubd (SIM_CPU *current_cpu, void *sem_arg)
70515 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70516 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70517 const IDESC * UNUSED idesc = abuf->idesc;
70518 int cycles = 0;
70520 int referenced = 0;
70521 int UNUSED insn_referenced = abuf->written;
70522 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70524 return cycles;
70525 #undef FLD
70528 static int
70529 model_fr400_fmuld (SIM_CPU *current_cpu, void *sem_arg)
70531 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70532 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70533 const IDESC * UNUSED idesc = abuf->idesc;
70534 int cycles = 0;
70536 int referenced = 0;
70537 int UNUSED insn_referenced = abuf->written;
70538 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70540 return cycles;
70541 #undef FLD
70544 static int
70545 model_fr400_fdivd (SIM_CPU *current_cpu, void *sem_arg)
70547 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70548 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70549 const IDESC * UNUSED idesc = abuf->idesc;
70550 int cycles = 0;
70552 int referenced = 0;
70553 int UNUSED insn_referenced = abuf->written;
70554 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70556 return cycles;
70557 #undef FLD
70560 static int
70561 model_fr400_cfadds (SIM_CPU *current_cpu, void *sem_arg)
70563 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70564 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70565 const IDESC * UNUSED idesc = abuf->idesc;
70566 int cycles = 0;
70568 int referenced = 0;
70569 int UNUSED insn_referenced = abuf->written;
70570 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70572 return cycles;
70573 #undef FLD
70576 static int
70577 model_fr400_cfsubs (SIM_CPU *current_cpu, void *sem_arg)
70579 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70580 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70581 const IDESC * UNUSED idesc = abuf->idesc;
70582 int cycles = 0;
70584 int referenced = 0;
70585 int UNUSED insn_referenced = abuf->written;
70586 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70588 return cycles;
70589 #undef FLD
70592 static int
70593 model_fr400_cfmuls (SIM_CPU *current_cpu, void *sem_arg)
70595 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70596 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70597 const IDESC * UNUSED idesc = abuf->idesc;
70598 int cycles = 0;
70600 int referenced = 0;
70601 int UNUSED insn_referenced = abuf->written;
70602 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70604 return cycles;
70605 #undef FLD
70608 static int
70609 model_fr400_cfdivs (SIM_CPU *current_cpu, void *sem_arg)
70611 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70612 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70613 const IDESC * UNUSED idesc = abuf->idesc;
70614 int cycles = 0;
70616 int referenced = 0;
70617 int UNUSED insn_referenced = abuf->written;
70618 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70620 return cycles;
70621 #undef FLD
70624 static int
70625 model_fr400_nfadds (SIM_CPU *current_cpu, void *sem_arg)
70627 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70629 const IDESC * UNUSED idesc = abuf->idesc;
70630 int cycles = 0;
70632 int referenced = 0;
70633 int UNUSED insn_referenced = abuf->written;
70634 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70636 return cycles;
70637 #undef FLD
70640 static int
70641 model_fr400_nfsubs (SIM_CPU *current_cpu, void *sem_arg)
70643 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70644 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70645 const IDESC * UNUSED idesc = abuf->idesc;
70646 int cycles = 0;
70648 int referenced = 0;
70649 int UNUSED insn_referenced = abuf->written;
70650 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70652 return cycles;
70653 #undef FLD
70656 static int
70657 model_fr400_nfmuls (SIM_CPU *current_cpu, void *sem_arg)
70659 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70660 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70661 const IDESC * UNUSED idesc = abuf->idesc;
70662 int cycles = 0;
70664 int referenced = 0;
70665 int UNUSED insn_referenced = abuf->written;
70666 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70668 return cycles;
70669 #undef FLD
70672 static int
70673 model_fr400_nfdivs (SIM_CPU *current_cpu, void *sem_arg)
70675 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70676 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70677 const IDESC * UNUSED idesc = abuf->idesc;
70678 int cycles = 0;
70680 int referenced = 0;
70681 int UNUSED insn_referenced = abuf->written;
70682 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70684 return cycles;
70685 #undef FLD
70688 static int
70689 model_fr400_fcmps (SIM_CPU *current_cpu, void *sem_arg)
70691 #define FLD(f) abuf->fields.sfmt_cfcmps.f
70692 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70693 const IDESC * UNUSED idesc = abuf->idesc;
70694 int cycles = 0;
70696 int referenced = 0;
70697 int UNUSED insn_referenced = abuf->written;
70698 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70700 return cycles;
70701 #undef FLD
70704 static int
70705 model_fr400_fcmpd (SIM_CPU *current_cpu, void *sem_arg)
70707 #define FLD(f) abuf->fields.sfmt_fcmpd.f
70708 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70709 const IDESC * UNUSED idesc = abuf->idesc;
70710 int cycles = 0;
70712 int referenced = 0;
70713 int UNUSED insn_referenced = abuf->written;
70714 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70716 return cycles;
70717 #undef FLD
70720 static int
70721 model_fr400_cfcmps (SIM_CPU *current_cpu, void *sem_arg)
70723 #define FLD(f) abuf->fields.sfmt_cfcmps.f
70724 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70725 const IDESC * UNUSED idesc = abuf->idesc;
70726 int cycles = 0;
70728 int referenced = 0;
70729 int UNUSED insn_referenced = abuf->written;
70730 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70732 return cycles;
70733 #undef FLD
70736 static int
70737 model_fr400_fdcmps (SIM_CPU *current_cpu, void *sem_arg)
70739 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
70740 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70741 const IDESC * UNUSED idesc = abuf->idesc;
70742 int cycles = 0;
70744 int referenced = 0;
70745 int UNUSED insn_referenced = abuf->written;
70746 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70748 return cycles;
70749 #undef FLD
70752 static int
70753 model_fr400_fmadds (SIM_CPU *current_cpu, void *sem_arg)
70755 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70757 const IDESC * UNUSED idesc = abuf->idesc;
70758 int cycles = 0;
70760 int referenced = 0;
70761 int UNUSED insn_referenced = abuf->written;
70762 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70764 return cycles;
70765 #undef FLD
70768 static int
70769 model_fr400_fmsubs (SIM_CPU *current_cpu, void *sem_arg)
70771 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70772 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70773 const IDESC * UNUSED idesc = abuf->idesc;
70774 int cycles = 0;
70776 int referenced = 0;
70777 int UNUSED insn_referenced = abuf->written;
70778 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70780 return cycles;
70781 #undef FLD
70784 static int
70785 model_fr400_fmaddd (SIM_CPU *current_cpu, void *sem_arg)
70787 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70788 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70789 const IDESC * UNUSED idesc = abuf->idesc;
70790 int cycles = 0;
70792 int referenced = 0;
70793 int UNUSED insn_referenced = abuf->written;
70794 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70796 return cycles;
70797 #undef FLD
70800 static int
70801 model_fr400_fmsubd (SIM_CPU *current_cpu, void *sem_arg)
70803 #define FLD(f) abuf->fields.sfmt_fmaddd.f
70804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70805 const IDESC * UNUSED idesc = abuf->idesc;
70806 int cycles = 0;
70808 int referenced = 0;
70809 int UNUSED insn_referenced = abuf->written;
70810 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70812 return cycles;
70813 #undef FLD
70816 static int
70817 model_fr400_fdmadds (SIM_CPU *current_cpu, void *sem_arg)
70819 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70820 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70821 const IDESC * UNUSED idesc = abuf->idesc;
70822 int cycles = 0;
70824 int referenced = 0;
70825 int UNUSED insn_referenced = abuf->written;
70826 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70828 return cycles;
70829 #undef FLD
70832 static int
70833 model_fr400_nfdmadds (SIM_CPU *current_cpu, void *sem_arg)
70835 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70836 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70837 const IDESC * UNUSED idesc = abuf->idesc;
70838 int cycles = 0;
70840 int referenced = 0;
70841 int UNUSED insn_referenced = abuf->written;
70842 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70844 return cycles;
70845 #undef FLD
70848 static int
70849 model_fr400_cfmadds (SIM_CPU *current_cpu, void *sem_arg)
70851 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70853 const IDESC * UNUSED idesc = abuf->idesc;
70854 int cycles = 0;
70856 int referenced = 0;
70857 int UNUSED insn_referenced = abuf->written;
70858 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70860 return cycles;
70861 #undef FLD
70864 static int
70865 model_fr400_cfmsubs (SIM_CPU *current_cpu, void *sem_arg)
70867 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70868 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70869 const IDESC * UNUSED idesc = abuf->idesc;
70870 int cycles = 0;
70872 int referenced = 0;
70873 int UNUSED insn_referenced = abuf->written;
70874 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70876 return cycles;
70877 #undef FLD
70880 static int
70881 model_fr400_nfmadds (SIM_CPU *current_cpu, void *sem_arg)
70883 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70884 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70885 const IDESC * UNUSED idesc = abuf->idesc;
70886 int cycles = 0;
70888 int referenced = 0;
70889 int UNUSED insn_referenced = abuf->written;
70890 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70892 return cycles;
70893 #undef FLD
70896 static int
70897 model_fr400_nfmsubs (SIM_CPU *current_cpu, void *sem_arg)
70899 #define FLD(f) abuf->fields.sfmt_cfmadds.f
70900 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70901 const IDESC * UNUSED idesc = abuf->idesc;
70902 int cycles = 0;
70904 int referenced = 0;
70905 int UNUSED insn_referenced = abuf->written;
70906 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70908 return cycles;
70909 #undef FLD
70912 static int
70913 model_fr400_fmas (SIM_CPU *current_cpu, void *sem_arg)
70915 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70916 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70917 const IDESC * UNUSED idesc = abuf->idesc;
70918 int cycles = 0;
70920 int referenced = 0;
70921 int UNUSED insn_referenced = abuf->written;
70922 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70924 return cycles;
70925 #undef FLD
70928 static int
70929 model_fr400_fmss (SIM_CPU *current_cpu, void *sem_arg)
70931 #define FLD(f) abuf->fields.sfmt_fdmadds.f
70932 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70933 const IDESC * UNUSED idesc = abuf->idesc;
70934 int cycles = 0;
70936 int referenced = 0;
70937 int UNUSED insn_referenced = abuf->written;
70938 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70940 return cycles;
70941 #undef FLD
70944 static int
70945 model_fr400_fdmas (SIM_CPU *current_cpu, void *sem_arg)
70947 #define FLD(f) abuf->fields.sfmt_fdmas.f
70948 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70949 const IDESC * UNUSED idesc = abuf->idesc;
70950 int cycles = 0;
70952 int referenced = 0;
70953 int UNUSED insn_referenced = abuf->written;
70954 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70956 return cycles;
70957 #undef FLD
70960 static int
70961 model_fr400_fdmss (SIM_CPU *current_cpu, void *sem_arg)
70963 #define FLD(f) abuf->fields.sfmt_fdmas.f
70964 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70965 const IDESC * UNUSED idesc = abuf->idesc;
70966 int cycles = 0;
70968 int referenced = 0;
70969 int UNUSED insn_referenced = abuf->written;
70970 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70972 return cycles;
70973 #undef FLD
70976 static int
70977 model_fr400_nfdmas (SIM_CPU *current_cpu, void *sem_arg)
70979 #define FLD(f) abuf->fields.sfmt_fdmas.f
70980 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70981 const IDESC * UNUSED idesc = abuf->idesc;
70982 int cycles = 0;
70984 int referenced = 0;
70985 int UNUSED insn_referenced = abuf->written;
70986 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
70988 return cycles;
70989 #undef FLD
70992 static int
70993 model_fr400_nfdmss (SIM_CPU *current_cpu, void *sem_arg)
70995 #define FLD(f) abuf->fields.sfmt_fdmas.f
70996 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
70997 const IDESC * UNUSED idesc = abuf->idesc;
70998 int cycles = 0;
71000 int referenced = 0;
71001 int UNUSED insn_referenced = abuf->written;
71002 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71004 return cycles;
71005 #undef FLD
71008 static int
71009 model_fr400_cfmas (SIM_CPU *current_cpu, void *sem_arg)
71011 #define FLD(f) abuf->fields.sfmt_cfmas.f
71012 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71013 const IDESC * UNUSED idesc = abuf->idesc;
71014 int cycles = 0;
71016 int referenced = 0;
71017 int UNUSED insn_referenced = abuf->written;
71018 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71020 return cycles;
71021 #undef FLD
71024 static int
71025 model_fr400_cfmss (SIM_CPU *current_cpu, void *sem_arg)
71027 #define FLD(f) abuf->fields.sfmt_cfmas.f
71028 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71029 const IDESC * UNUSED idesc = abuf->idesc;
71030 int cycles = 0;
71032 int referenced = 0;
71033 int UNUSED insn_referenced = abuf->written;
71034 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71036 return cycles;
71037 #undef FLD
71040 static int
71041 model_fr400_fmad (SIM_CPU *current_cpu, void *sem_arg)
71043 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71044 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71045 const IDESC * UNUSED idesc = abuf->idesc;
71046 int cycles = 0;
71048 int referenced = 0;
71049 int UNUSED insn_referenced = abuf->written;
71050 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71052 return cycles;
71053 #undef FLD
71056 static int
71057 model_fr400_fmsd (SIM_CPU *current_cpu, void *sem_arg)
71059 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71060 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71061 const IDESC * UNUSED idesc = abuf->idesc;
71062 int cycles = 0;
71064 int referenced = 0;
71065 int UNUSED insn_referenced = abuf->written;
71066 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71068 return cycles;
71069 #undef FLD
71072 static int
71073 model_fr400_nfmas (SIM_CPU *current_cpu, void *sem_arg)
71075 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71076 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71077 const IDESC * UNUSED idesc = abuf->idesc;
71078 int cycles = 0;
71080 int referenced = 0;
71081 int UNUSED insn_referenced = abuf->written;
71082 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71084 return cycles;
71085 #undef FLD
71088 static int
71089 model_fr400_nfmss (SIM_CPU *current_cpu, void *sem_arg)
71091 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71092 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71093 const IDESC * UNUSED idesc = abuf->idesc;
71094 int cycles = 0;
71096 int referenced = 0;
71097 int UNUSED insn_referenced = abuf->written;
71098 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71100 return cycles;
71101 #undef FLD
71104 static int
71105 model_fr400_fdadds (SIM_CPU *current_cpu, void *sem_arg)
71107 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71108 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71109 const IDESC * UNUSED idesc = abuf->idesc;
71110 int cycles = 0;
71112 int referenced = 0;
71113 int UNUSED insn_referenced = abuf->written;
71114 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71116 return cycles;
71117 #undef FLD
71120 static int
71121 model_fr400_fdsubs (SIM_CPU *current_cpu, void *sem_arg)
71123 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71124 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71125 const IDESC * UNUSED idesc = abuf->idesc;
71126 int cycles = 0;
71128 int referenced = 0;
71129 int UNUSED insn_referenced = abuf->written;
71130 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71132 return cycles;
71133 #undef FLD
71136 static int
71137 model_fr400_fdmuls (SIM_CPU *current_cpu, void *sem_arg)
71139 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71140 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71141 const IDESC * UNUSED idesc = abuf->idesc;
71142 int cycles = 0;
71144 int referenced = 0;
71145 int UNUSED insn_referenced = abuf->written;
71146 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71148 return cycles;
71149 #undef FLD
71152 static int
71153 model_fr400_fddivs (SIM_CPU *current_cpu, void *sem_arg)
71155 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71156 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71157 const IDESC * UNUSED idesc = abuf->idesc;
71158 int cycles = 0;
71160 int referenced = 0;
71161 int UNUSED insn_referenced = abuf->written;
71162 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71164 return cycles;
71165 #undef FLD
71168 static int
71169 model_fr400_fdsads (SIM_CPU *current_cpu, void *sem_arg)
71171 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71172 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71173 const IDESC * UNUSED idesc = abuf->idesc;
71174 int cycles = 0;
71176 int referenced = 0;
71177 int UNUSED insn_referenced = abuf->written;
71178 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71180 return cycles;
71181 #undef FLD
71184 static int
71185 model_fr400_fdmulcs (SIM_CPU *current_cpu, void *sem_arg)
71187 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71188 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71189 const IDESC * UNUSED idesc = abuf->idesc;
71190 int cycles = 0;
71192 int referenced = 0;
71193 int UNUSED insn_referenced = abuf->written;
71194 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71196 return cycles;
71197 #undef FLD
71200 static int
71201 model_fr400_nfdmulcs (SIM_CPU *current_cpu, void *sem_arg)
71203 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71204 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71205 const IDESC * UNUSED idesc = abuf->idesc;
71206 int cycles = 0;
71208 int referenced = 0;
71209 int UNUSED insn_referenced = abuf->written;
71210 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71212 return cycles;
71213 #undef FLD
71216 static int
71217 model_fr400_nfdadds (SIM_CPU *current_cpu, void *sem_arg)
71219 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71220 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71221 const IDESC * UNUSED idesc = abuf->idesc;
71222 int cycles = 0;
71224 int referenced = 0;
71225 int UNUSED insn_referenced = abuf->written;
71226 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71228 return cycles;
71229 #undef FLD
71232 static int
71233 model_fr400_nfdsubs (SIM_CPU *current_cpu, void *sem_arg)
71235 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71236 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71237 const IDESC * UNUSED idesc = abuf->idesc;
71238 int cycles = 0;
71240 int referenced = 0;
71241 int UNUSED insn_referenced = abuf->written;
71242 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71244 return cycles;
71245 #undef FLD
71248 static int
71249 model_fr400_nfdmuls (SIM_CPU *current_cpu, void *sem_arg)
71251 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71252 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71253 const IDESC * UNUSED idesc = abuf->idesc;
71254 int cycles = 0;
71256 int referenced = 0;
71257 int UNUSED insn_referenced = abuf->written;
71258 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71260 return cycles;
71261 #undef FLD
71264 static int
71265 model_fr400_nfddivs (SIM_CPU *current_cpu, void *sem_arg)
71267 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71268 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71269 const IDESC * UNUSED idesc = abuf->idesc;
71270 int cycles = 0;
71272 int referenced = 0;
71273 int UNUSED insn_referenced = abuf->written;
71274 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71276 return cycles;
71277 #undef FLD
71280 static int
71281 model_fr400_nfdsads (SIM_CPU *current_cpu, void *sem_arg)
71283 #define FLD(f) abuf->fields.sfmt_fdmadds.f
71284 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71285 const IDESC * UNUSED idesc = abuf->idesc;
71286 int cycles = 0;
71288 int referenced = 0;
71289 int UNUSED insn_referenced = abuf->written;
71290 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71292 return cycles;
71293 #undef FLD
71296 static int
71297 model_fr400_nfdcmps (SIM_CPU *current_cpu, void *sem_arg)
71299 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
71300 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71301 const IDESC * UNUSED idesc = abuf->idesc;
71302 int cycles = 0;
71304 int referenced = 0;
71305 int UNUSED insn_referenced = abuf->written;
71306 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
71308 return cycles;
71309 #undef FLD
71312 static int
71313 model_fr400_mhsetlos (SIM_CPU *current_cpu, void *sem_arg)
71315 #define FLD(f) abuf->fields.sfmt_mhsetlos.f
71316 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71317 const IDESC * UNUSED idesc = abuf->idesc;
71318 int cycles = 0;
71320 int referenced = 0;
71321 int UNUSED insn_referenced = abuf->written;
71322 INT out_FRkhi = -1;
71323 INT out_FRklo = -1;
71324 out_FRklo = FLD (out_FRklo);
71325 referenced |= 1 << 1;
71326 cycles += frvbf_model_fr400_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
71328 return cycles;
71329 #undef FLD
71332 static int
71333 model_fr400_mhsethis (SIM_CPU *current_cpu, void *sem_arg)
71335 #define FLD(f) abuf->fields.sfmt_mhsethis.f
71336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71337 const IDESC * UNUSED idesc = abuf->idesc;
71338 int cycles = 0;
71340 int referenced = 0;
71341 int UNUSED insn_referenced = abuf->written;
71342 INT out_FRkhi = -1;
71343 INT out_FRklo = -1;
71344 out_FRkhi = FLD (out_FRkhi);
71345 referenced |= 1 << 0;
71346 cycles += frvbf_model_fr400_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
71348 return cycles;
71349 #undef FLD
71352 static int
71353 model_fr400_mhdsets (SIM_CPU *current_cpu, void *sem_arg)
71355 #define FLD(f) abuf->fields.sfmt_mhdsets.f
71356 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71357 const IDESC * UNUSED idesc = abuf->idesc;
71358 int cycles = 0;
71360 int referenced = 0;
71361 int UNUSED insn_referenced = abuf->written;
71362 INT in_FRinti = -1;
71363 INT in_FRintj = -1;
71364 INT out_FRintk = -1;
71365 out_FRintk = FLD (out_FRintk);
71366 referenced |= 1 << 2;
71367 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71369 return cycles;
71370 #undef FLD
71373 static int
71374 model_fr400_mhsetloh (SIM_CPU *current_cpu, void *sem_arg)
71376 #define FLD(f) abuf->fields.sfmt_mhsetloh.f
71377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71378 const IDESC * UNUSED idesc = abuf->idesc;
71379 int cycles = 0;
71381 int referenced = 0;
71382 int UNUSED insn_referenced = abuf->written;
71383 INT out_FRkhi = -1;
71384 INT out_FRklo = -1;
71385 out_FRklo = FLD (out_FRklo);
71386 referenced |= 1 << 1;
71387 cycles += frvbf_model_fr400_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
71389 return cycles;
71390 #undef FLD
71393 static int
71394 model_fr400_mhsethih (SIM_CPU *current_cpu, void *sem_arg)
71396 #define FLD(f) abuf->fields.sfmt_mhsethih.f
71397 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71398 const IDESC * UNUSED idesc = abuf->idesc;
71399 int cycles = 0;
71401 int referenced = 0;
71402 int UNUSED insn_referenced = abuf->written;
71403 INT out_FRkhi = -1;
71404 INT out_FRklo = -1;
71405 out_FRkhi = FLD (out_FRkhi);
71406 referenced |= 1 << 0;
71407 cycles += frvbf_model_fr400_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
71409 return cycles;
71410 #undef FLD
71413 static int
71414 model_fr400_mhdseth (SIM_CPU *current_cpu, void *sem_arg)
71416 #define FLD(f) abuf->fields.sfmt_mhdseth.f
71417 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71418 const IDESC * UNUSED idesc = abuf->idesc;
71419 int cycles = 0;
71421 int referenced = 0;
71422 int UNUSED insn_referenced = abuf->written;
71423 INT in_FRinti = -1;
71424 INT in_FRintj = -1;
71425 INT out_FRintk = -1;
71426 out_FRintk = FLD (out_FRintk);
71427 referenced |= 1 << 2;
71428 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71430 return cycles;
71431 #undef FLD
71434 static int
71435 model_fr400_mand (SIM_CPU *current_cpu, void *sem_arg)
71437 #define FLD(f) abuf->fields.sfmt_mwcut.f
71438 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71439 const IDESC * UNUSED idesc = abuf->idesc;
71440 int cycles = 0;
71442 int referenced = 0;
71443 int UNUSED insn_referenced = abuf->written;
71444 INT in_FRinti = -1;
71445 INT in_FRintj = -1;
71446 INT out_FRintk = -1;
71447 in_FRinti = FLD (in_FRinti);
71448 in_FRintj = FLD (in_FRintj);
71449 out_FRintk = FLD (out_FRintk);
71450 referenced |= 1 << 0;
71451 referenced |= 1 << 1;
71452 referenced |= 1 << 2;
71453 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71455 return cycles;
71456 #undef FLD
71459 static int
71460 model_fr400_mor (SIM_CPU *current_cpu, void *sem_arg)
71462 #define FLD(f) abuf->fields.sfmt_mwcut.f
71463 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71464 const IDESC * UNUSED idesc = abuf->idesc;
71465 int cycles = 0;
71467 int referenced = 0;
71468 int UNUSED insn_referenced = abuf->written;
71469 INT in_FRinti = -1;
71470 INT in_FRintj = -1;
71471 INT out_FRintk = -1;
71472 in_FRinti = FLD (in_FRinti);
71473 in_FRintj = FLD (in_FRintj);
71474 out_FRintk = FLD (out_FRintk);
71475 referenced |= 1 << 0;
71476 referenced |= 1 << 1;
71477 referenced |= 1 << 2;
71478 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71480 return cycles;
71481 #undef FLD
71484 static int
71485 model_fr400_mxor (SIM_CPU *current_cpu, void *sem_arg)
71487 #define FLD(f) abuf->fields.sfmt_mwcut.f
71488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71489 const IDESC * UNUSED idesc = abuf->idesc;
71490 int cycles = 0;
71492 int referenced = 0;
71493 int UNUSED insn_referenced = abuf->written;
71494 INT in_FRinti = -1;
71495 INT in_FRintj = -1;
71496 INT out_FRintk = -1;
71497 in_FRinti = FLD (in_FRinti);
71498 in_FRintj = FLD (in_FRintj);
71499 out_FRintk = FLD (out_FRintk);
71500 referenced |= 1 << 0;
71501 referenced |= 1 << 1;
71502 referenced |= 1 << 2;
71503 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71505 return cycles;
71506 #undef FLD
71509 static int
71510 model_fr400_cmand (SIM_CPU *current_cpu, void *sem_arg)
71512 #define FLD(f) abuf->fields.sfmt_cmand.f
71513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71514 const IDESC * UNUSED idesc = abuf->idesc;
71515 int cycles = 0;
71517 int referenced = 0;
71518 int UNUSED insn_referenced = abuf->written;
71519 INT in_FRinti = -1;
71520 INT in_FRintj = -1;
71521 INT out_FRintk = -1;
71522 in_FRinti = FLD (in_FRinti);
71523 in_FRintj = FLD (in_FRintj);
71524 out_FRintk = FLD (out_FRintk);
71525 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
71526 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
71527 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
71528 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71530 return cycles;
71531 #undef FLD
71534 static int
71535 model_fr400_cmor (SIM_CPU *current_cpu, void *sem_arg)
71537 #define FLD(f) abuf->fields.sfmt_cmand.f
71538 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71539 const IDESC * UNUSED idesc = abuf->idesc;
71540 int cycles = 0;
71542 int referenced = 0;
71543 int UNUSED insn_referenced = abuf->written;
71544 INT in_FRinti = -1;
71545 INT in_FRintj = -1;
71546 INT out_FRintk = -1;
71547 in_FRinti = FLD (in_FRinti);
71548 in_FRintj = FLD (in_FRintj);
71549 out_FRintk = FLD (out_FRintk);
71550 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
71551 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
71552 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
71553 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71555 return cycles;
71556 #undef FLD
71559 static int
71560 model_fr400_cmxor (SIM_CPU *current_cpu, void *sem_arg)
71562 #define FLD(f) abuf->fields.sfmt_cmand.f
71563 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71564 const IDESC * UNUSED idesc = abuf->idesc;
71565 int cycles = 0;
71567 int referenced = 0;
71568 int UNUSED insn_referenced = abuf->written;
71569 INT in_FRinti = -1;
71570 INT in_FRintj = -1;
71571 INT out_FRintk = -1;
71572 in_FRinti = FLD (in_FRinti);
71573 in_FRintj = FLD (in_FRintj);
71574 out_FRintk = FLD (out_FRintk);
71575 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
71576 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
71577 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
71578 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71580 return cycles;
71581 #undef FLD
71584 static int
71585 model_fr400_mnot (SIM_CPU *current_cpu, void *sem_arg)
71587 #define FLD(f) abuf->fields.sfmt_mcut.f
71588 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71589 const IDESC * UNUSED idesc = abuf->idesc;
71590 int cycles = 0;
71592 int referenced = 0;
71593 int UNUSED insn_referenced = abuf->written;
71594 INT in_FRinti = -1;
71595 INT in_FRintj = -1;
71596 INT out_FRintk = -1;
71597 in_FRintj = FLD (in_FRintj);
71598 out_FRintk = FLD (out_FRintk);
71599 referenced |= 1 << 1;
71600 referenced |= 1 << 2;
71601 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71603 return cycles;
71604 #undef FLD
71607 static int
71608 model_fr400_cmnot (SIM_CPU *current_cpu, void *sem_arg)
71610 #define FLD(f) abuf->fields.sfmt_cmand.f
71611 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71612 const IDESC * UNUSED idesc = abuf->idesc;
71613 int cycles = 0;
71615 int referenced = 0;
71616 int UNUSED insn_referenced = abuf->written;
71617 INT in_FRinti = -1;
71618 INT in_FRintj = -1;
71619 INT out_FRintk = -1;
71620 in_FRintj = FLD (in_FRintj);
71621 out_FRintk = FLD (out_FRintk);
71622 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
71623 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
71624 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71626 return cycles;
71627 #undef FLD
71630 static int
71631 model_fr400_mrotli (SIM_CPU *current_cpu, void *sem_arg)
71633 #define FLD(f) abuf->fields.sfmt_mwcuti.f
71634 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71635 const IDESC * UNUSED idesc = abuf->idesc;
71636 int cycles = 0;
71638 int referenced = 0;
71639 int UNUSED insn_referenced = abuf->written;
71640 INT in_FRinti = -1;
71641 INT in_FRintj = -1;
71642 INT out_FRintk = -1;
71643 in_FRinti = FLD (in_FRinti);
71644 out_FRintk = FLD (out_FRintk);
71645 referenced |= 1 << 0;
71646 referenced |= 1 << 2;
71647 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71649 return cycles;
71650 #undef FLD
71653 static int
71654 model_fr400_mrotri (SIM_CPU *current_cpu, void *sem_arg)
71656 #define FLD(f) abuf->fields.sfmt_mwcuti.f
71657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71658 const IDESC * UNUSED idesc = abuf->idesc;
71659 int cycles = 0;
71661 int referenced = 0;
71662 int UNUSED insn_referenced = abuf->written;
71663 INT in_FRinti = -1;
71664 INT in_FRintj = -1;
71665 INT out_FRintk = -1;
71666 in_FRinti = FLD (in_FRinti);
71667 out_FRintk = FLD (out_FRintk);
71668 referenced |= 1 << 0;
71669 referenced |= 1 << 2;
71670 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71672 return cycles;
71673 #undef FLD
71676 static int
71677 model_fr400_mwcut (SIM_CPU *current_cpu, void *sem_arg)
71679 #define FLD(f) abuf->fields.sfmt_mwcut.f
71680 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71681 const IDESC * UNUSED idesc = abuf->idesc;
71682 int cycles = 0;
71684 int referenced = 0;
71685 int UNUSED insn_referenced = abuf->written;
71686 INT in_FRinti = -1;
71687 INT in_FRintj = -1;
71688 INT out_FRintk = -1;
71689 in_FRinti = FLD (in_FRinti);
71690 in_FRintj = FLD (in_FRintj);
71691 out_FRintk = FLD (out_FRintk);
71692 referenced |= 1 << 0;
71693 referenced |= 1 << 1;
71694 referenced |= 1 << 2;
71695 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71697 return cycles;
71698 #undef FLD
71701 static int
71702 model_fr400_mwcuti (SIM_CPU *current_cpu, void *sem_arg)
71704 #define FLD(f) abuf->fields.sfmt_mwcuti.f
71705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71706 const IDESC * UNUSED idesc = abuf->idesc;
71707 int cycles = 0;
71709 int referenced = 0;
71710 int UNUSED insn_referenced = abuf->written;
71711 INT in_FRinti = -1;
71712 INT in_FRintj = -1;
71713 INT out_FRintk = -1;
71714 in_FRinti = FLD (in_FRinti);
71715 out_FRintk = FLD (out_FRintk);
71716 referenced |= 1 << 0;
71717 referenced |= 1 << 2;
71718 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71720 return cycles;
71721 #undef FLD
71724 static int
71725 model_fr400_mcut (SIM_CPU *current_cpu, void *sem_arg)
71727 #define FLD(f) abuf->fields.sfmt_mcut.f
71728 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71729 const IDESC * UNUSED idesc = abuf->idesc;
71730 int cycles = 0;
71732 int referenced = 0;
71733 int UNUSED insn_referenced = abuf->written;
71734 INT in_ACC40Si = -1;
71735 INT in_FRintj = -1;
71736 INT out_ACC40Sk = -1;
71737 INT out_FRintk = -1;
71738 in_ACC40Si = FLD (in_ACC40Si);
71739 in_FRintj = FLD (in_FRintj);
71740 out_FRintk = FLD (out_FRintk);
71741 referenced |= 1 << 0;
71742 referenced |= 1 << 1;
71743 referenced |= 1 << 3;
71744 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
71746 return cycles;
71747 #undef FLD
71750 static int
71751 model_fr400_mcuti (SIM_CPU *current_cpu, void *sem_arg)
71753 #define FLD(f) abuf->fields.sfmt_mcuti.f
71754 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71755 const IDESC * UNUSED idesc = abuf->idesc;
71756 int cycles = 0;
71758 int referenced = 0;
71759 int UNUSED insn_referenced = abuf->written;
71760 INT in_ACC40Si = -1;
71761 INT in_FRintj = -1;
71762 INT out_ACC40Sk = -1;
71763 INT out_FRintk = -1;
71764 in_ACC40Si = FLD (in_ACC40Si);
71765 out_FRintk = FLD (out_FRintk);
71766 referenced |= 1 << 0;
71767 referenced |= 1 << 3;
71768 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
71770 return cycles;
71771 #undef FLD
71774 static int
71775 model_fr400_mcutss (SIM_CPU *current_cpu, void *sem_arg)
71777 #define FLD(f) abuf->fields.sfmt_mcut.f
71778 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71779 const IDESC * UNUSED idesc = abuf->idesc;
71780 int cycles = 0;
71782 int referenced = 0;
71783 int UNUSED insn_referenced = abuf->written;
71784 INT in_ACC40Si = -1;
71785 INT in_FRintj = -1;
71786 INT out_ACC40Sk = -1;
71787 INT out_FRintk = -1;
71788 in_ACC40Si = FLD (in_ACC40Si);
71789 in_FRintj = FLD (in_FRintj);
71790 out_FRintk = FLD (out_FRintk);
71791 referenced |= 1 << 0;
71792 referenced |= 1 << 1;
71793 referenced |= 1 << 3;
71794 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
71796 return cycles;
71797 #undef FLD
71800 static int
71801 model_fr400_mcutssi (SIM_CPU *current_cpu, void *sem_arg)
71803 #define FLD(f) abuf->fields.sfmt_mcuti.f
71804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71805 const IDESC * UNUSED idesc = abuf->idesc;
71806 int cycles = 0;
71808 int referenced = 0;
71809 int UNUSED insn_referenced = abuf->written;
71810 INT in_ACC40Si = -1;
71811 INT in_FRintj = -1;
71812 INT out_ACC40Sk = -1;
71813 INT out_FRintk = -1;
71814 in_ACC40Si = FLD (in_ACC40Si);
71815 out_FRintk = FLD (out_FRintk);
71816 referenced |= 1 << 0;
71817 referenced |= 1 << 3;
71818 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
71820 return cycles;
71821 #undef FLD
71824 static int
71825 model_fr400_mdcutssi (SIM_CPU *current_cpu, void *sem_arg)
71827 #define FLD(f) abuf->fields.sfmt_mdcutssi.f
71828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71829 const IDESC * UNUSED idesc = abuf->idesc;
71830 int cycles = 0;
71832 int referenced = 0;
71833 int UNUSED insn_referenced = abuf->written;
71834 INT in_ACC40Si = -1;
71835 INT out_FRintk = -1;
71836 in_ACC40Si = FLD (in_ACC40Si);
71837 out_FRintk = FLD (out_FRintkeven);
71838 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
71839 cycles += frvbf_model_fr400_u_media_4_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_FRintk);
71841 return cycles;
71842 #undef FLD
71845 static int
71846 model_fr400_maveh (SIM_CPU *current_cpu, void *sem_arg)
71848 #define FLD(f) abuf->fields.sfmt_mwcut.f
71849 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71850 const IDESC * UNUSED idesc = abuf->idesc;
71851 int cycles = 0;
71853 int referenced = 0;
71854 int UNUSED insn_referenced = abuf->written;
71855 INT in_FRinti = -1;
71856 INT in_FRintj = -1;
71857 INT out_FRintk = -1;
71858 in_FRinti = FLD (in_FRinti);
71859 in_FRintj = FLD (in_FRintj);
71860 out_FRintk = FLD (out_FRintk);
71861 referenced |= 1 << 0;
71862 referenced |= 1 << 1;
71863 referenced |= 1 << 2;
71864 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71866 return cycles;
71867 #undef FLD
71870 static int
71871 model_fr400_msllhi (SIM_CPU *current_cpu, void *sem_arg)
71873 #define FLD(f) abuf->fields.sfmt_msllhi.f
71874 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71875 const IDESC * UNUSED idesc = abuf->idesc;
71876 int cycles = 0;
71878 int referenced = 0;
71879 int UNUSED insn_referenced = abuf->written;
71880 INT in_FRinti = -1;
71881 INT in_FRintj = -1;
71882 INT out_FRintk = -1;
71883 in_FRinti = FLD (in_FRinti);
71884 out_FRintk = FLD (out_FRintk);
71885 referenced |= 1 << 0;
71886 referenced |= 1 << 2;
71887 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71889 return cycles;
71890 #undef FLD
71893 static int
71894 model_fr400_msrlhi (SIM_CPU *current_cpu, void *sem_arg)
71896 #define FLD(f) abuf->fields.sfmt_msllhi.f
71897 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71898 const IDESC * UNUSED idesc = abuf->idesc;
71899 int cycles = 0;
71901 int referenced = 0;
71902 int UNUSED insn_referenced = abuf->written;
71903 INT in_FRinti = -1;
71904 INT in_FRintj = -1;
71905 INT out_FRintk = -1;
71906 in_FRinti = FLD (in_FRinti);
71907 out_FRintk = FLD (out_FRintk);
71908 referenced |= 1 << 0;
71909 referenced |= 1 << 2;
71910 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71912 return cycles;
71913 #undef FLD
71916 static int
71917 model_fr400_msrahi (SIM_CPU *current_cpu, void *sem_arg)
71919 #define FLD(f) abuf->fields.sfmt_msllhi.f
71920 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71921 const IDESC * UNUSED idesc = abuf->idesc;
71922 int cycles = 0;
71924 int referenced = 0;
71925 int UNUSED insn_referenced = abuf->written;
71926 INT in_FRinti = -1;
71927 INT out_FRintk = -1;
71928 in_FRinti = FLD (in_FRinti);
71929 out_FRintk = FLD (out_FRintk);
71930 referenced |= 1 << 0;
71931 referenced |= 1 << 1;
71932 cycles += frvbf_model_fr400_u_media_6 (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
71934 return cycles;
71935 #undef FLD
71938 static int
71939 model_fr400_mdrotli (SIM_CPU *current_cpu, void *sem_arg)
71941 #define FLD(f) abuf->fields.sfmt_mdrotli.f
71942 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71943 const IDESC * UNUSED idesc = abuf->idesc;
71944 int cycles = 0;
71946 int referenced = 0;
71947 int UNUSED insn_referenced = abuf->written;
71948 INT in_FRinti = -1;
71949 INT in_FRintj = -1;
71950 INT out_FRintk = -1;
71951 in_FRinti = FLD (in_FRintieven);
71952 out_FRintk = FLD (out_FRintkeven);
71953 cycles += frvbf_model_fr400_u_media_3_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
71955 return cycles;
71956 #undef FLD
71959 static int
71960 model_fr400_mcplhi (SIM_CPU *current_cpu, void *sem_arg)
71962 #define FLD(f) abuf->fields.sfmt_mcplhi.f
71963 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71964 const IDESC * UNUSED idesc = abuf->idesc;
71965 int cycles = 0;
71967 int referenced = 0;
71968 int UNUSED insn_referenced = abuf->written;
71969 INT in_FRinti = -1;
71970 INT out_FRintk = -1;
71971 in_FRinti = FLD (in_FRinti);
71972 out_FRintk = FLD (out_FRintk);
71973 referenced |= 1 << 0;
71974 referenced |= 1 << 1;
71975 cycles += frvbf_model_fr400_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
71977 return cycles;
71978 #undef FLD
71981 static int
71982 model_fr400_mcpli (SIM_CPU *current_cpu, void *sem_arg)
71984 #define FLD(f) abuf->fields.sfmt_mwcuti.f
71985 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
71986 const IDESC * UNUSED idesc = abuf->idesc;
71987 int cycles = 0;
71989 int referenced = 0;
71990 int UNUSED insn_referenced = abuf->written;
71991 INT in_FRinti = -1;
71992 INT out_FRintk = -1;
71993 in_FRinti = FLD (in_FRinti);
71994 out_FRintk = FLD (out_FRintk);
71995 referenced |= 1 << 0;
71996 referenced |= 1 << 1;
71997 cycles += frvbf_model_fr400_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
71999 return cycles;
72000 #undef FLD
72003 static int
72004 model_fr400_msaths (SIM_CPU *current_cpu, void *sem_arg)
72006 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72007 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72008 const IDESC * UNUSED idesc = abuf->idesc;
72009 int cycles = 0;
72011 int referenced = 0;
72012 int UNUSED insn_referenced = abuf->written;
72013 INT in_FRinti = -1;
72014 INT in_FRintj = -1;
72015 INT out_FRintk = -1;
72016 in_FRinti = FLD (in_FRinti);
72017 in_FRintj = FLD (in_FRintj);
72018 referenced |= 1 << 0;
72019 referenced |= 1 << 1;
72020 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72022 return cycles;
72023 #undef FLD
72026 static int
72027 model_fr400_mqsaths (SIM_CPU *current_cpu, void *sem_arg)
72029 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72030 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72031 const IDESC * UNUSED idesc = abuf->idesc;
72032 int cycles = 0;
72034 int referenced = 0;
72035 int UNUSED insn_referenced = abuf->written;
72036 INT in_FRinti = -1;
72037 INT in_FRintj = -1;
72038 INT out_FRintk = -1;
72039 in_FRinti = FLD (in_FRintieven);
72040 in_FRintj = FLD (in_FRintjeven);
72041 out_FRintk = FLD (out_FRintkeven);
72042 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72044 return cycles;
72045 #undef FLD
72048 static int
72049 model_fr400_msathu (SIM_CPU *current_cpu, void *sem_arg)
72051 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72052 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72053 const IDESC * UNUSED idesc = abuf->idesc;
72054 int cycles = 0;
72056 int referenced = 0;
72057 int UNUSED insn_referenced = abuf->written;
72058 INT in_FRinti = -1;
72059 INT in_FRintj = -1;
72060 INT out_FRintk = -1;
72061 in_FRinti = FLD (in_FRinti);
72062 in_FRintj = FLD (in_FRintj);
72063 referenced |= 1 << 0;
72064 referenced |= 1 << 1;
72065 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72067 return cycles;
72068 #undef FLD
72071 static int
72072 model_fr400_mcmpsh (SIM_CPU *current_cpu, void *sem_arg)
72074 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
72075 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72076 const IDESC * UNUSED idesc = abuf->idesc;
72077 int cycles = 0;
72079 int referenced = 0;
72080 int UNUSED insn_referenced = abuf->written;
72081 INT in_FRinti = -1;
72082 INT in_FRintj = -1;
72083 INT out_FCCk = -1;
72084 in_FRinti = FLD (in_FRinti);
72085 in_FRintj = FLD (in_FRintj);
72086 out_FCCk = FLD (out_FCCk);
72087 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72088 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
72089 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
72090 cycles += frvbf_model_fr400_u_media_7 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FCCk);
72092 return cycles;
72093 #undef FLD
72096 static int
72097 model_fr400_mcmpuh (SIM_CPU *current_cpu, void *sem_arg)
72099 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
72100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72101 const IDESC * UNUSED idesc = abuf->idesc;
72102 int cycles = 0;
72104 int referenced = 0;
72105 int UNUSED insn_referenced = abuf->written;
72106 INT in_FRinti = -1;
72107 INT in_FRintj = -1;
72108 INT out_FCCk = -1;
72109 in_FRinti = FLD (in_FRinti);
72110 in_FRintj = FLD (in_FRintj);
72111 out_FCCk = FLD (out_FCCk);
72112 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72113 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
72114 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
72115 cycles += frvbf_model_fr400_u_media_7 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FCCk);
72117 return cycles;
72118 #undef FLD
72121 static int
72122 model_fr400_mabshs (SIM_CPU *current_cpu, void *sem_arg)
72124 #define FLD(f) abuf->fields.sfmt_mabshs.f
72125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72126 const IDESC * UNUSED idesc = abuf->idesc;
72127 int cycles = 0;
72129 int referenced = 0;
72130 int UNUSED insn_referenced = abuf->written;
72131 INT in_FRinti = -1;
72132 INT in_FRintj = -1;
72133 INT out_FRintk = -1;
72134 in_FRintj = FLD (in_FRintj);
72135 out_FRintk = FLD (out_FRintk);
72136 referenced |= 1 << 1;
72137 referenced |= 1 << 2;
72138 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72140 return cycles;
72141 #undef FLD
72144 static int
72145 model_fr400_maddhss (SIM_CPU *current_cpu, void *sem_arg)
72147 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72149 const IDESC * UNUSED idesc = abuf->idesc;
72150 int cycles = 0;
72152 int referenced = 0;
72153 int UNUSED insn_referenced = abuf->written;
72154 INT in_FRinti = -1;
72155 INT in_FRintj = -1;
72156 INT out_FRintk = -1;
72157 in_FRinti = FLD (in_FRinti);
72158 in_FRintj = FLD (in_FRintj);
72159 referenced |= 1 << 0;
72160 referenced |= 1 << 1;
72161 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72163 return cycles;
72164 #undef FLD
72167 static int
72168 model_fr400_maddhus (SIM_CPU *current_cpu, void *sem_arg)
72170 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72171 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72172 const IDESC * UNUSED idesc = abuf->idesc;
72173 int cycles = 0;
72175 int referenced = 0;
72176 int UNUSED insn_referenced = abuf->written;
72177 INT in_FRinti = -1;
72178 INT in_FRintj = -1;
72179 INT out_FRintk = -1;
72180 in_FRinti = FLD (in_FRinti);
72181 in_FRintj = FLD (in_FRintj);
72182 referenced |= 1 << 0;
72183 referenced |= 1 << 1;
72184 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72186 return cycles;
72187 #undef FLD
72190 static int
72191 model_fr400_msubhss (SIM_CPU *current_cpu, void *sem_arg)
72193 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72194 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72195 const IDESC * UNUSED idesc = abuf->idesc;
72196 int cycles = 0;
72198 int referenced = 0;
72199 int UNUSED insn_referenced = abuf->written;
72200 INT in_FRinti = -1;
72201 INT in_FRintj = -1;
72202 INT out_FRintk = -1;
72203 in_FRinti = FLD (in_FRinti);
72204 in_FRintj = FLD (in_FRintj);
72205 referenced |= 1 << 0;
72206 referenced |= 1 << 1;
72207 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72209 return cycles;
72210 #undef FLD
72213 static int
72214 model_fr400_msubhus (SIM_CPU *current_cpu, void *sem_arg)
72216 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72218 const IDESC * UNUSED idesc = abuf->idesc;
72219 int cycles = 0;
72221 int referenced = 0;
72222 int UNUSED insn_referenced = abuf->written;
72223 INT in_FRinti = -1;
72224 INT in_FRintj = -1;
72225 INT out_FRintk = -1;
72226 in_FRinti = FLD (in_FRinti);
72227 in_FRintj = FLD (in_FRintj);
72228 referenced |= 1 << 0;
72229 referenced |= 1 << 1;
72230 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72232 return cycles;
72233 #undef FLD
72236 static int
72237 model_fr400_cmaddhss (SIM_CPU *current_cpu, void *sem_arg)
72239 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72241 const IDESC * UNUSED idesc = abuf->idesc;
72242 int cycles = 0;
72244 int referenced = 0;
72245 int UNUSED insn_referenced = abuf->written;
72246 INT in_FRinti = -1;
72247 INT in_FRintj = -1;
72248 INT out_FRintk = -1;
72249 in_FRinti = FLD (in_FRinti);
72250 in_FRintj = FLD (in_FRintj);
72251 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
72252 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
72253 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72255 return cycles;
72256 #undef FLD
72259 static int
72260 model_fr400_cmaddhus (SIM_CPU *current_cpu, void *sem_arg)
72262 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72263 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72264 const IDESC * UNUSED idesc = abuf->idesc;
72265 int cycles = 0;
72267 int referenced = 0;
72268 int UNUSED insn_referenced = abuf->written;
72269 INT in_FRinti = -1;
72270 INT in_FRintj = -1;
72271 INT out_FRintk = -1;
72272 in_FRinti = FLD (in_FRinti);
72273 in_FRintj = FLD (in_FRintj);
72274 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
72275 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
72276 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72278 return cycles;
72279 #undef FLD
72282 static int
72283 model_fr400_cmsubhss (SIM_CPU *current_cpu, void *sem_arg)
72285 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72286 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72287 const IDESC * UNUSED idesc = abuf->idesc;
72288 int cycles = 0;
72290 int referenced = 0;
72291 int UNUSED insn_referenced = abuf->written;
72292 INT in_FRinti = -1;
72293 INT in_FRintj = -1;
72294 INT out_FRintk = -1;
72295 in_FRinti = FLD (in_FRinti);
72296 in_FRintj = FLD (in_FRintj);
72297 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
72298 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
72299 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72301 return cycles;
72302 #undef FLD
72305 static int
72306 model_fr400_cmsubhus (SIM_CPU *current_cpu, void *sem_arg)
72308 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
72309 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72310 const IDESC * UNUSED idesc = abuf->idesc;
72311 int cycles = 0;
72313 int referenced = 0;
72314 int UNUSED insn_referenced = abuf->written;
72315 INT in_FRinti = -1;
72316 INT in_FRintj = -1;
72317 INT out_FRintk = -1;
72318 in_FRinti = FLD (in_FRinti);
72319 in_FRintj = FLD (in_FRintj);
72320 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
72321 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
72322 cycles += frvbf_model_fr400_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72324 return cycles;
72325 #undef FLD
72328 static int
72329 model_fr400_mqaddhss (SIM_CPU *current_cpu, void *sem_arg)
72331 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72332 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72333 const IDESC * UNUSED idesc = abuf->idesc;
72334 int cycles = 0;
72336 int referenced = 0;
72337 int UNUSED insn_referenced = abuf->written;
72338 INT in_FRinti = -1;
72339 INT in_FRintj = -1;
72340 INT out_FRintk = -1;
72341 in_FRinti = FLD (in_FRintieven);
72342 in_FRintj = FLD (in_FRintjeven);
72343 out_FRintk = FLD (out_FRintkeven);
72344 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72346 return cycles;
72347 #undef FLD
72350 static int
72351 model_fr400_mqaddhus (SIM_CPU *current_cpu, void *sem_arg)
72353 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72354 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72355 const IDESC * UNUSED idesc = abuf->idesc;
72356 int cycles = 0;
72358 int referenced = 0;
72359 int UNUSED insn_referenced = abuf->written;
72360 INT in_FRinti = -1;
72361 INT in_FRintj = -1;
72362 INT out_FRintk = -1;
72363 in_FRinti = FLD (in_FRintieven);
72364 in_FRintj = FLD (in_FRintjeven);
72365 out_FRintk = FLD (out_FRintkeven);
72366 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72368 return cycles;
72369 #undef FLD
72372 static int
72373 model_fr400_mqsubhss (SIM_CPU *current_cpu, void *sem_arg)
72375 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72377 const IDESC * UNUSED idesc = abuf->idesc;
72378 int cycles = 0;
72380 int referenced = 0;
72381 int UNUSED insn_referenced = abuf->written;
72382 INT in_FRinti = -1;
72383 INT in_FRintj = -1;
72384 INT out_FRintk = -1;
72385 in_FRinti = FLD (in_FRintieven);
72386 in_FRintj = FLD (in_FRintjeven);
72387 out_FRintk = FLD (out_FRintkeven);
72388 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72390 return cycles;
72391 #undef FLD
72394 static int
72395 model_fr400_mqsubhus (SIM_CPU *current_cpu, void *sem_arg)
72397 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72398 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72399 const IDESC * UNUSED idesc = abuf->idesc;
72400 int cycles = 0;
72402 int referenced = 0;
72403 int UNUSED insn_referenced = abuf->written;
72404 INT in_FRinti = -1;
72405 INT in_FRintj = -1;
72406 INT out_FRintk = -1;
72407 in_FRinti = FLD (in_FRintieven);
72408 in_FRintj = FLD (in_FRintjeven);
72409 out_FRintk = FLD (out_FRintkeven);
72410 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72412 return cycles;
72413 #undef FLD
72416 static int
72417 model_fr400_cmqaddhss (SIM_CPU *current_cpu, void *sem_arg)
72419 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72420 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72421 const IDESC * UNUSED idesc = abuf->idesc;
72422 int cycles = 0;
72424 int referenced = 0;
72425 int UNUSED insn_referenced = abuf->written;
72426 INT in_FRinti = -1;
72427 INT in_FRintj = -1;
72428 INT out_FRintk = -1;
72429 in_FRinti = FLD (in_FRintieven);
72430 in_FRintj = FLD (in_FRintjeven);
72431 out_FRintk = FLD (out_FRintkeven);
72432 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72434 return cycles;
72435 #undef FLD
72438 static int
72439 model_fr400_cmqaddhus (SIM_CPU *current_cpu, void *sem_arg)
72441 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72442 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72443 const IDESC * UNUSED idesc = abuf->idesc;
72444 int cycles = 0;
72446 int referenced = 0;
72447 int UNUSED insn_referenced = abuf->written;
72448 INT in_FRinti = -1;
72449 INT in_FRintj = -1;
72450 INT out_FRintk = -1;
72451 in_FRinti = FLD (in_FRintieven);
72452 in_FRintj = FLD (in_FRintjeven);
72453 out_FRintk = FLD (out_FRintkeven);
72454 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72456 return cycles;
72457 #undef FLD
72460 static int
72461 model_fr400_cmqsubhss (SIM_CPU *current_cpu, void *sem_arg)
72463 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72464 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72465 const IDESC * UNUSED idesc = abuf->idesc;
72466 int cycles = 0;
72468 int referenced = 0;
72469 int UNUSED insn_referenced = abuf->written;
72470 INT in_FRinti = -1;
72471 INT in_FRintj = -1;
72472 INT out_FRintk = -1;
72473 in_FRinti = FLD (in_FRintieven);
72474 in_FRintj = FLD (in_FRintjeven);
72475 out_FRintk = FLD (out_FRintkeven);
72476 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72478 return cycles;
72479 #undef FLD
72482 static int
72483 model_fr400_cmqsubhus (SIM_CPU *current_cpu, void *sem_arg)
72485 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72486 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72487 const IDESC * UNUSED idesc = abuf->idesc;
72488 int cycles = 0;
72490 int referenced = 0;
72491 int UNUSED insn_referenced = abuf->written;
72492 INT in_FRinti = -1;
72493 INT in_FRintj = -1;
72494 INT out_FRintk = -1;
72495 in_FRinti = FLD (in_FRintieven);
72496 in_FRintj = FLD (in_FRintjeven);
72497 out_FRintk = FLD (out_FRintkeven);
72498 cycles += frvbf_model_fr400_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
72500 return cycles;
72501 #undef FLD
72504 static int
72505 model_fr400_mqlclrhs (SIM_CPU *current_cpu, void *sem_arg)
72507 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72508 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72509 const IDESC * UNUSED idesc = abuf->idesc;
72510 int cycles = 0;
72512 int referenced = 0;
72513 int UNUSED insn_referenced = abuf->written;
72514 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
72516 return cycles;
72517 #undef FLD
72520 static int
72521 model_fr400_mqlmths (SIM_CPU *current_cpu, void *sem_arg)
72523 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
72524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72525 const IDESC * UNUSED idesc = abuf->idesc;
72526 int cycles = 0;
72528 int referenced = 0;
72529 int UNUSED insn_referenced = abuf->written;
72530 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
72532 return cycles;
72533 #undef FLD
72536 static int
72537 model_fr400_mqsllhi (SIM_CPU *current_cpu, void *sem_arg)
72539 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
72540 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72541 const IDESC * UNUSED idesc = abuf->idesc;
72542 int cycles = 0;
72544 int referenced = 0;
72545 int UNUSED insn_referenced = abuf->written;
72546 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
72548 return cycles;
72549 #undef FLD
72552 static int
72553 model_fr400_mqsrahi (SIM_CPU *current_cpu, void *sem_arg)
72555 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
72556 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72557 const IDESC * UNUSED idesc = abuf->idesc;
72558 int cycles = 0;
72560 int referenced = 0;
72561 int UNUSED insn_referenced = abuf->written;
72562 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
72564 return cycles;
72565 #undef FLD
72568 static int
72569 model_fr400_maddaccs (SIM_CPU *current_cpu, void *sem_arg)
72571 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
72572 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72573 const IDESC * UNUSED idesc = abuf->idesc;
72574 int cycles = 0;
72576 int referenced = 0;
72577 int UNUSED insn_referenced = abuf->written;
72578 INT in_ACC40Si = -1;
72579 INT out_ACC40Sk = -1;
72580 in_ACC40Si = FLD (in_ACC40Si);
72581 out_ACC40Sk = FLD (out_ACC40Sk);
72582 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72583 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
72584 cycles += frvbf_model_fr400_u_media_2_acc (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
72586 return cycles;
72587 #undef FLD
72590 static int
72591 model_fr400_msubaccs (SIM_CPU *current_cpu, void *sem_arg)
72593 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
72594 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72595 const IDESC * UNUSED idesc = abuf->idesc;
72596 int cycles = 0;
72598 int referenced = 0;
72599 int UNUSED insn_referenced = abuf->written;
72600 INT in_ACC40Si = -1;
72601 INT out_ACC40Sk = -1;
72602 in_ACC40Si = FLD (in_ACC40Si);
72603 out_ACC40Sk = FLD (out_ACC40Sk);
72604 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72605 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
72606 cycles += frvbf_model_fr400_u_media_2_acc (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
72608 return cycles;
72609 #undef FLD
72612 static int
72613 model_fr400_mdaddaccs (SIM_CPU *current_cpu, void *sem_arg)
72615 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
72616 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72617 const IDESC * UNUSED idesc = abuf->idesc;
72618 int cycles = 0;
72620 int referenced = 0;
72621 int UNUSED insn_referenced = abuf->written;
72622 INT in_ACC40Si = -1;
72623 INT out_ACC40Sk = -1;
72624 in_ACC40Si = FLD (in_ACC40Si);
72625 out_ACC40Sk = FLD (out_ACC40Sk);
72626 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72627 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
72628 cycles += frvbf_model_fr400_u_media_2_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
72630 return cycles;
72631 #undef FLD
72634 static int
72635 model_fr400_mdsubaccs (SIM_CPU *current_cpu, void *sem_arg)
72637 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
72638 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72639 const IDESC * UNUSED idesc = abuf->idesc;
72640 int cycles = 0;
72642 int referenced = 0;
72643 int UNUSED insn_referenced = abuf->written;
72644 INT in_ACC40Si = -1;
72645 INT out_ACC40Sk = -1;
72646 in_ACC40Si = FLD (in_ACC40Si);
72647 out_ACC40Sk = FLD (out_ACC40Sk);
72648 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72649 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
72650 cycles += frvbf_model_fr400_u_media_2_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
72652 return cycles;
72653 #undef FLD
72656 static int
72657 model_fr400_masaccs (SIM_CPU *current_cpu, void *sem_arg)
72659 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
72660 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72661 const IDESC * UNUSED idesc = abuf->idesc;
72662 int cycles = 0;
72664 int referenced = 0;
72665 int UNUSED insn_referenced = abuf->written;
72666 INT in_ACC40Si = -1;
72667 INT out_ACC40Sk = -1;
72668 in_ACC40Si = FLD (in_ACC40Si);
72669 out_ACC40Sk = FLD (out_ACC40Sk);
72670 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72671 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
72672 cycles += frvbf_model_fr400_u_media_2_add_sub (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
72674 return cycles;
72675 #undef FLD
72678 static int
72679 model_fr400_mdasaccs (SIM_CPU *current_cpu, void *sem_arg)
72681 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
72682 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72683 const IDESC * UNUSED idesc = abuf->idesc;
72684 int cycles = 0;
72686 int referenced = 0;
72687 int UNUSED insn_referenced = abuf->written;
72688 INT in_ACC40Si = -1;
72689 INT out_ACC40Sk = -1;
72690 in_ACC40Si = FLD (in_ACC40Si);
72691 out_ACC40Sk = FLD (out_ACC40Sk);
72692 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72693 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
72694 cycles += frvbf_model_fr400_u_media_2_add_sub_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
72696 return cycles;
72697 #undef FLD
72700 static int
72701 model_fr400_mmulhs (SIM_CPU *current_cpu, void *sem_arg)
72703 #define FLD(f) abuf->fields.sfmt_cmmachs.f
72704 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72705 const IDESC * UNUSED idesc = abuf->idesc;
72706 int cycles = 0;
72708 int referenced = 0;
72709 int UNUSED insn_referenced = abuf->written;
72710 INT in_FRinti = -1;
72711 INT in_FRintj = -1;
72712 INT out_ACC40Sk = -1;
72713 INT out_ACC40Uk = -1;
72714 in_FRinti = FLD (in_FRinti);
72715 in_FRintj = FLD (in_FRintj);
72716 out_ACC40Sk = FLD (out_ACC40Sk);
72717 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72718 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
72719 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
72720 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72722 return cycles;
72723 #undef FLD
72726 static int
72727 model_fr400_mmulhu (SIM_CPU *current_cpu, void *sem_arg)
72729 #define FLD(f) abuf->fields.sfmt_cmmachs.f
72730 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72731 const IDESC * UNUSED idesc = abuf->idesc;
72732 int cycles = 0;
72734 int referenced = 0;
72735 int UNUSED insn_referenced = abuf->written;
72736 INT in_FRinti = -1;
72737 INT in_FRintj = -1;
72738 INT out_ACC40Sk = -1;
72739 INT out_ACC40Uk = -1;
72740 in_FRinti = FLD (in_FRinti);
72741 in_FRintj = FLD (in_FRintj);
72742 out_ACC40Sk = FLD (out_ACC40Sk);
72743 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72744 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
72745 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
72746 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72748 return cycles;
72749 #undef FLD
72752 static int
72753 model_fr400_mmulxhs (SIM_CPU *current_cpu, void *sem_arg)
72755 #define FLD(f) abuf->fields.sfmt_cmmachs.f
72756 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72757 const IDESC * UNUSED idesc = abuf->idesc;
72758 int cycles = 0;
72760 int referenced = 0;
72761 int UNUSED insn_referenced = abuf->written;
72762 INT in_FRinti = -1;
72763 INT in_FRintj = -1;
72764 INT out_ACC40Sk = -1;
72765 INT out_ACC40Uk = -1;
72766 in_FRinti = FLD (in_FRinti);
72767 in_FRintj = FLD (in_FRintj);
72768 out_ACC40Sk = FLD (out_ACC40Sk);
72769 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72770 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
72771 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
72772 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72774 return cycles;
72775 #undef FLD
72778 static int
72779 model_fr400_mmulxhu (SIM_CPU *current_cpu, void *sem_arg)
72781 #define FLD(f) abuf->fields.sfmt_cmmachs.f
72782 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72783 const IDESC * UNUSED idesc = abuf->idesc;
72784 int cycles = 0;
72786 int referenced = 0;
72787 int UNUSED insn_referenced = abuf->written;
72788 INT in_FRinti = -1;
72789 INT in_FRintj = -1;
72790 INT out_ACC40Sk = -1;
72791 INT out_ACC40Uk = -1;
72792 in_FRinti = FLD (in_FRinti);
72793 in_FRintj = FLD (in_FRintj);
72794 out_ACC40Sk = FLD (out_ACC40Sk);
72795 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
72796 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
72797 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
72798 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72800 return cycles;
72801 #undef FLD
72804 static int
72805 model_fr400_cmmulhs (SIM_CPU *current_cpu, void *sem_arg)
72807 #define FLD(f) abuf->fields.sfmt_cmmachs.f
72808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72809 const IDESC * UNUSED idesc = abuf->idesc;
72810 int cycles = 0;
72812 int referenced = 0;
72813 int UNUSED insn_referenced = abuf->written;
72814 INT in_FRinti = -1;
72815 INT in_FRintj = -1;
72816 INT out_ACC40Sk = -1;
72817 INT out_ACC40Uk = -1;
72818 in_FRinti = FLD (in_FRinti);
72819 in_FRintj = FLD (in_FRintj);
72820 out_ACC40Sk = FLD (out_ACC40Sk);
72821 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
72822 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
72823 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
72824 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72826 return cycles;
72827 #undef FLD
72830 static int
72831 model_fr400_cmmulhu (SIM_CPU *current_cpu, void *sem_arg)
72833 #define FLD(f) abuf->fields.sfmt_cmmachs.f
72834 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72835 const IDESC * UNUSED idesc = abuf->idesc;
72836 int cycles = 0;
72838 int referenced = 0;
72839 int UNUSED insn_referenced = abuf->written;
72840 INT in_FRinti = -1;
72841 INT in_FRintj = -1;
72842 INT out_ACC40Sk = -1;
72843 INT out_ACC40Uk = -1;
72844 in_FRinti = FLD (in_FRinti);
72845 in_FRintj = FLD (in_FRintj);
72846 out_ACC40Sk = FLD (out_ACC40Sk);
72847 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
72848 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
72849 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
72850 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72852 return cycles;
72853 #undef FLD
72856 static int
72857 model_fr400_mqmulhs (SIM_CPU *current_cpu, void *sem_arg)
72859 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
72860 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72861 const IDESC * UNUSED idesc = abuf->idesc;
72862 int cycles = 0;
72864 int referenced = 0;
72865 int UNUSED insn_referenced = abuf->written;
72866 INT in_FRinti = -1;
72867 INT in_FRintj = -1;
72868 INT out_ACC40Sk = -1;
72869 INT out_ACC40Uk = -1;
72870 out_ACC40Sk = FLD (out_ACC40Sk);
72871 in_FRinti = FLD (in_FRintieven);
72872 in_FRintj = FLD (in_FRintjeven);
72873 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
72874 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72876 return cycles;
72877 #undef FLD
72880 static int
72881 model_fr400_mqmulhu (SIM_CPU *current_cpu, void *sem_arg)
72883 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
72884 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72885 const IDESC * UNUSED idesc = abuf->idesc;
72886 int cycles = 0;
72888 int referenced = 0;
72889 int UNUSED insn_referenced = abuf->written;
72890 INT in_FRinti = -1;
72891 INT in_FRintj = -1;
72892 INT out_ACC40Sk = -1;
72893 INT out_ACC40Uk = -1;
72894 out_ACC40Sk = FLD (out_ACC40Sk);
72895 in_FRinti = FLD (in_FRintieven);
72896 in_FRintj = FLD (in_FRintjeven);
72897 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
72898 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72900 return cycles;
72901 #undef FLD
72904 static int
72905 model_fr400_mqmulxhs (SIM_CPU *current_cpu, void *sem_arg)
72907 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
72908 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72909 const IDESC * UNUSED idesc = abuf->idesc;
72910 int cycles = 0;
72912 int referenced = 0;
72913 int UNUSED insn_referenced = abuf->written;
72914 INT in_FRinti = -1;
72915 INT in_FRintj = -1;
72916 INT out_ACC40Sk = -1;
72917 INT out_ACC40Uk = -1;
72918 out_ACC40Sk = FLD (out_ACC40Sk);
72919 in_FRinti = FLD (in_FRintieven);
72920 in_FRintj = FLD (in_FRintjeven);
72921 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
72922 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72924 return cycles;
72925 #undef FLD
72928 static int
72929 model_fr400_mqmulxhu (SIM_CPU *current_cpu, void *sem_arg)
72931 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
72932 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72933 const IDESC * UNUSED idesc = abuf->idesc;
72934 int cycles = 0;
72936 int referenced = 0;
72937 int UNUSED insn_referenced = abuf->written;
72938 INT in_FRinti = -1;
72939 INT in_FRintj = -1;
72940 INT out_ACC40Sk = -1;
72941 INT out_ACC40Uk = -1;
72942 out_ACC40Sk = FLD (out_ACC40Sk);
72943 in_FRinti = FLD (in_FRintieven);
72944 in_FRintj = FLD (in_FRintjeven);
72945 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
72946 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72948 return cycles;
72949 #undef FLD
72952 static int
72953 model_fr400_cmqmulhs (SIM_CPU *current_cpu, void *sem_arg)
72955 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
72956 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72957 const IDESC * UNUSED idesc = abuf->idesc;
72958 int cycles = 0;
72960 int referenced = 0;
72961 int UNUSED insn_referenced = abuf->written;
72962 INT in_FRinti = -1;
72963 INT in_FRintj = -1;
72964 INT out_ACC40Sk = -1;
72965 INT out_ACC40Uk = -1;
72966 out_ACC40Sk = FLD (out_ACC40Sk);
72967 in_FRinti = FLD (in_FRintieven);
72968 in_FRintj = FLD (in_FRintjeven);
72969 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
72970 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72972 return cycles;
72973 #undef FLD
72976 static int
72977 model_fr400_cmqmulhu (SIM_CPU *current_cpu, void *sem_arg)
72979 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
72980 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
72981 const IDESC * UNUSED idesc = abuf->idesc;
72982 int cycles = 0;
72984 int referenced = 0;
72985 int UNUSED insn_referenced = abuf->written;
72986 INT in_FRinti = -1;
72987 INT in_FRintj = -1;
72988 INT out_ACC40Sk = -1;
72989 INT out_ACC40Uk = -1;
72990 out_ACC40Sk = FLD (out_ACC40Sk);
72991 in_FRinti = FLD (in_FRintieven);
72992 in_FRintj = FLD (in_FRintjeven);
72993 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
72994 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
72996 return cycles;
72997 #undef FLD
73000 static int
73001 model_fr400_mmachs (SIM_CPU *current_cpu, void *sem_arg)
73003 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73004 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73005 const IDESC * UNUSED idesc = abuf->idesc;
73006 int cycles = 0;
73008 int referenced = 0;
73009 int UNUSED insn_referenced = abuf->written;
73010 INT in_FRinti = -1;
73011 INT in_FRintj = -1;
73012 INT out_ACC40Sk = -1;
73013 INT out_ACC40Uk = -1;
73014 in_FRinti = FLD (in_FRinti);
73015 in_FRintj = FLD (in_FRintj);
73016 out_ACC40Sk = FLD (out_ACC40Sk);
73017 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73018 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73019 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
73020 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73022 return cycles;
73023 #undef FLD
73026 static int
73027 model_fr400_mmachu (SIM_CPU *current_cpu, void *sem_arg)
73029 #define FLD(f) abuf->fields.sfmt_cmmachu.f
73030 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73031 const IDESC * UNUSED idesc = abuf->idesc;
73032 int cycles = 0;
73034 int referenced = 0;
73035 int UNUSED insn_referenced = abuf->written;
73036 INT in_FRinti = -1;
73037 INT in_FRintj = -1;
73038 INT out_ACC40Sk = -1;
73039 INT out_ACC40Uk = -1;
73040 in_FRinti = FLD (in_FRinti);
73041 in_FRintj = FLD (in_FRintj);
73042 out_ACC40Uk = FLD (out_ACC40Uk);
73043 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73044 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73045 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
73046 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73048 return cycles;
73049 #undef FLD
73052 static int
73053 model_fr400_mmrdhs (SIM_CPU *current_cpu, void *sem_arg)
73055 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73057 const IDESC * UNUSED idesc = abuf->idesc;
73058 int cycles = 0;
73060 int referenced = 0;
73061 int UNUSED insn_referenced = abuf->written;
73062 INT in_FRinti = -1;
73063 INT in_FRintj = -1;
73064 INT out_ACC40Sk = -1;
73065 INT out_ACC40Uk = -1;
73066 in_FRinti = FLD (in_FRinti);
73067 in_FRintj = FLD (in_FRintj);
73068 out_ACC40Sk = FLD (out_ACC40Sk);
73069 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73070 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73071 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
73072 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73074 return cycles;
73075 #undef FLD
73078 static int
73079 model_fr400_mmrdhu (SIM_CPU *current_cpu, void *sem_arg)
73081 #define FLD(f) abuf->fields.sfmt_cmmachu.f
73082 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73083 const IDESC * UNUSED idesc = abuf->idesc;
73084 int cycles = 0;
73086 int referenced = 0;
73087 int UNUSED insn_referenced = abuf->written;
73088 INT in_FRinti = -1;
73089 INT in_FRintj = -1;
73090 INT out_ACC40Sk = -1;
73091 INT out_ACC40Uk = -1;
73092 in_FRinti = FLD (in_FRinti);
73093 in_FRintj = FLD (in_FRintj);
73094 out_ACC40Uk = FLD (out_ACC40Uk);
73095 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73096 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73097 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
73098 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73100 return cycles;
73101 #undef FLD
73104 static int
73105 model_fr400_cmmachs (SIM_CPU *current_cpu, void *sem_arg)
73107 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73108 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73109 const IDESC * UNUSED idesc = abuf->idesc;
73110 int cycles = 0;
73112 int referenced = 0;
73113 int UNUSED insn_referenced = abuf->written;
73114 INT in_FRinti = -1;
73115 INT in_FRintj = -1;
73116 INT out_ACC40Sk = -1;
73117 INT out_ACC40Uk = -1;
73118 in_FRinti = FLD (in_FRinti);
73119 in_FRintj = FLD (in_FRintj);
73120 out_ACC40Sk = FLD (out_ACC40Sk);
73121 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
73122 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
73123 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
73124 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73126 return cycles;
73127 #undef FLD
73130 static int
73131 model_fr400_cmmachu (SIM_CPU *current_cpu, void *sem_arg)
73133 #define FLD(f) abuf->fields.sfmt_cmmachu.f
73134 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73135 const IDESC * UNUSED idesc = abuf->idesc;
73136 int cycles = 0;
73138 int referenced = 0;
73139 int UNUSED insn_referenced = abuf->written;
73140 INT in_FRinti = -1;
73141 INT in_FRintj = -1;
73142 INT out_ACC40Sk = -1;
73143 INT out_ACC40Uk = -1;
73144 in_FRinti = FLD (in_FRinti);
73145 in_FRintj = FLD (in_FRintj);
73146 out_ACC40Uk = FLD (out_ACC40Uk);
73147 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
73148 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
73149 if (insn_referenced & (1 << 13)) referenced |= 1 << 3;
73150 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73152 return cycles;
73153 #undef FLD
73156 static int
73157 model_fr400_mqmachs (SIM_CPU *current_cpu, void *sem_arg)
73159 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73160 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73161 const IDESC * UNUSED idesc = abuf->idesc;
73162 int cycles = 0;
73164 int referenced = 0;
73165 int UNUSED insn_referenced = abuf->written;
73166 INT in_FRinti = -1;
73167 INT in_FRintj = -1;
73168 INT out_ACC40Sk = -1;
73169 INT out_ACC40Uk = -1;
73170 out_ACC40Sk = FLD (out_ACC40Sk);
73171 in_FRinti = FLD (in_FRintieven);
73172 in_FRintj = FLD (in_FRintjeven);
73173 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
73174 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73176 return cycles;
73177 #undef FLD
73180 static int
73181 model_fr400_mqmachu (SIM_CPU *current_cpu, void *sem_arg)
73183 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
73184 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73185 const IDESC * UNUSED idesc = abuf->idesc;
73186 int cycles = 0;
73188 int referenced = 0;
73189 int UNUSED insn_referenced = abuf->written;
73190 INT in_FRinti = -1;
73191 INT in_FRintj = -1;
73192 INT out_ACC40Sk = -1;
73193 INT out_ACC40Uk = -1;
73194 out_ACC40Uk = FLD (out_ACC40Uk);
73195 in_FRinti = FLD (in_FRintieven);
73196 in_FRintj = FLD (in_FRintjeven);
73197 if (insn_referenced & (1 << 17)) referenced |= 1 << 3;
73198 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73200 return cycles;
73201 #undef FLD
73204 static int
73205 model_fr400_cmqmachs (SIM_CPU *current_cpu, void *sem_arg)
73207 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73209 const IDESC * UNUSED idesc = abuf->idesc;
73210 int cycles = 0;
73212 int referenced = 0;
73213 int UNUSED insn_referenced = abuf->written;
73214 INT in_FRinti = -1;
73215 INT in_FRintj = -1;
73216 INT out_ACC40Sk = -1;
73217 INT out_ACC40Uk = -1;
73218 out_ACC40Sk = FLD (out_ACC40Sk);
73219 in_FRinti = FLD (in_FRintieven);
73220 in_FRintj = FLD (in_FRintjeven);
73221 if (insn_referenced & (1 << 19)) referenced |= 1 << 2;
73222 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73224 return cycles;
73225 #undef FLD
73228 static int
73229 model_fr400_cmqmachu (SIM_CPU *current_cpu, void *sem_arg)
73231 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
73232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73233 const IDESC * UNUSED idesc = abuf->idesc;
73234 int cycles = 0;
73236 int referenced = 0;
73237 int UNUSED insn_referenced = abuf->written;
73238 INT in_FRinti = -1;
73239 INT in_FRintj = -1;
73240 INT out_ACC40Sk = -1;
73241 INT out_ACC40Uk = -1;
73242 out_ACC40Uk = FLD (out_ACC40Uk);
73243 in_FRinti = FLD (in_FRintieven);
73244 in_FRintj = FLD (in_FRintjeven);
73245 if (insn_referenced & (1 << 19)) referenced |= 1 << 3;
73246 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73248 return cycles;
73249 #undef FLD
73252 static int
73253 model_fr400_mqxmachs (SIM_CPU *current_cpu, void *sem_arg)
73255 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73257 const IDESC * UNUSED idesc = abuf->idesc;
73258 int cycles = 0;
73260 int referenced = 0;
73261 int UNUSED insn_referenced = abuf->written;
73262 INT in_FRinti = -1;
73263 INT in_FRintj = -1;
73264 INT out_ACC40Sk = -1;
73265 INT out_ACC40Uk = -1;
73266 out_ACC40Sk = FLD (out_ACC40Sk);
73267 in_FRinti = FLD (in_FRintieven);
73268 in_FRintj = FLD (in_FRintjeven);
73269 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
73270 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73272 return cycles;
73273 #undef FLD
73276 static int
73277 model_fr400_mqxmacxhs (SIM_CPU *current_cpu, void *sem_arg)
73279 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73280 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73281 const IDESC * UNUSED idesc = abuf->idesc;
73282 int cycles = 0;
73284 int referenced = 0;
73285 int UNUSED insn_referenced = abuf->written;
73286 INT in_FRinti = -1;
73287 INT in_FRintj = -1;
73288 INT out_ACC40Sk = -1;
73289 INT out_ACC40Uk = -1;
73290 out_ACC40Sk = FLD (out_ACC40Sk);
73291 in_FRinti = FLD (in_FRintieven);
73292 in_FRintj = FLD (in_FRintjeven);
73293 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
73294 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73296 return cycles;
73297 #undef FLD
73300 static int
73301 model_fr400_mqmacxhs (SIM_CPU *current_cpu, void *sem_arg)
73303 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73304 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73305 const IDESC * UNUSED idesc = abuf->idesc;
73306 int cycles = 0;
73308 int referenced = 0;
73309 int UNUSED insn_referenced = abuf->written;
73310 INT in_FRinti = -1;
73311 INT in_FRintj = -1;
73312 INT out_ACC40Sk = -1;
73313 INT out_ACC40Uk = -1;
73314 out_ACC40Sk = FLD (out_ACC40Sk);
73315 in_FRinti = FLD (in_FRintieven);
73316 in_FRintj = FLD (in_FRintjeven);
73317 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
73318 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73320 return cycles;
73321 #undef FLD
73324 static int
73325 model_fr400_mcpxrs (SIM_CPU *current_cpu, void *sem_arg)
73327 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73328 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73329 const IDESC * UNUSED idesc = abuf->idesc;
73330 int cycles = 0;
73332 int referenced = 0;
73333 int UNUSED insn_referenced = abuf->written;
73334 INT in_FRinti = -1;
73335 INT in_FRintj = -1;
73336 INT out_ACC40Sk = -1;
73337 INT out_ACC40Uk = -1;
73338 in_FRinti = FLD (in_FRinti);
73339 in_FRintj = FLD (in_FRintj);
73340 out_ACC40Sk = FLD (out_ACC40Sk);
73341 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
73342 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
73343 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
73344 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73346 return cycles;
73347 #undef FLD
73350 static int
73351 model_fr400_mcpxru (SIM_CPU *current_cpu, void *sem_arg)
73353 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73354 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73355 const IDESC * UNUSED idesc = abuf->idesc;
73356 int cycles = 0;
73358 int referenced = 0;
73359 int UNUSED insn_referenced = abuf->written;
73360 INT in_FRinti = -1;
73361 INT in_FRintj = -1;
73362 INT out_ACC40Sk = -1;
73363 INT out_ACC40Uk = -1;
73364 in_FRinti = FLD (in_FRinti);
73365 in_FRintj = FLD (in_FRintj);
73366 out_ACC40Sk = FLD (out_ACC40Sk);
73367 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
73368 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
73369 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
73370 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73372 return cycles;
73373 #undef FLD
73376 static int
73377 model_fr400_mcpxis (SIM_CPU *current_cpu, void *sem_arg)
73379 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73380 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73381 const IDESC * UNUSED idesc = abuf->idesc;
73382 int cycles = 0;
73384 int referenced = 0;
73385 int UNUSED insn_referenced = abuf->written;
73386 INT in_FRinti = -1;
73387 INT in_FRintj = -1;
73388 INT out_ACC40Sk = -1;
73389 INT out_ACC40Uk = -1;
73390 in_FRinti = FLD (in_FRinti);
73391 in_FRintj = FLD (in_FRintj);
73392 out_ACC40Sk = FLD (out_ACC40Sk);
73393 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
73394 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
73395 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
73396 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73398 return cycles;
73399 #undef FLD
73402 static int
73403 model_fr400_mcpxiu (SIM_CPU *current_cpu, void *sem_arg)
73405 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73406 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73407 const IDESC * UNUSED idesc = abuf->idesc;
73408 int cycles = 0;
73410 int referenced = 0;
73411 int UNUSED insn_referenced = abuf->written;
73412 INT in_FRinti = -1;
73413 INT in_FRintj = -1;
73414 INT out_ACC40Sk = -1;
73415 INT out_ACC40Uk = -1;
73416 in_FRinti = FLD (in_FRinti);
73417 in_FRintj = FLD (in_FRintj);
73418 out_ACC40Sk = FLD (out_ACC40Sk);
73419 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
73420 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
73421 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
73422 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73424 return cycles;
73425 #undef FLD
73428 static int
73429 model_fr400_cmcpxrs (SIM_CPU *current_cpu, void *sem_arg)
73431 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73432 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73433 const IDESC * UNUSED idesc = abuf->idesc;
73434 int cycles = 0;
73436 int referenced = 0;
73437 int UNUSED insn_referenced = abuf->written;
73438 INT in_FRinti = -1;
73439 INT in_FRintj = -1;
73440 INT out_ACC40Sk = -1;
73441 INT out_ACC40Uk = -1;
73442 in_FRinti = FLD (in_FRinti);
73443 in_FRintj = FLD (in_FRintj);
73444 out_ACC40Sk = FLD (out_ACC40Sk);
73445 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73446 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73447 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
73448 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73450 return cycles;
73451 #undef FLD
73454 static int
73455 model_fr400_cmcpxru (SIM_CPU *current_cpu, void *sem_arg)
73457 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73458 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73459 const IDESC * UNUSED idesc = abuf->idesc;
73460 int cycles = 0;
73462 int referenced = 0;
73463 int UNUSED insn_referenced = abuf->written;
73464 INT in_FRinti = -1;
73465 INT in_FRintj = -1;
73466 INT out_ACC40Sk = -1;
73467 INT out_ACC40Uk = -1;
73468 in_FRinti = FLD (in_FRinti);
73469 in_FRintj = FLD (in_FRintj);
73470 out_ACC40Sk = FLD (out_ACC40Sk);
73471 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73472 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73473 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
73474 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73476 return cycles;
73477 #undef FLD
73480 static int
73481 model_fr400_cmcpxis (SIM_CPU *current_cpu, void *sem_arg)
73483 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73484 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73485 const IDESC * UNUSED idesc = abuf->idesc;
73486 int cycles = 0;
73488 int referenced = 0;
73489 int UNUSED insn_referenced = abuf->written;
73490 INT in_FRinti = -1;
73491 INT in_FRintj = -1;
73492 INT out_ACC40Sk = -1;
73493 INT out_ACC40Uk = -1;
73494 in_FRinti = FLD (in_FRinti);
73495 in_FRintj = FLD (in_FRintj);
73496 out_ACC40Sk = FLD (out_ACC40Sk);
73497 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73498 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73499 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
73500 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73502 return cycles;
73503 #undef FLD
73506 static int
73507 model_fr400_cmcpxiu (SIM_CPU *current_cpu, void *sem_arg)
73509 #define FLD(f) abuf->fields.sfmt_cmmachs.f
73510 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73511 const IDESC * UNUSED idesc = abuf->idesc;
73512 int cycles = 0;
73514 int referenced = 0;
73515 int UNUSED insn_referenced = abuf->written;
73516 INT in_FRinti = -1;
73517 INT in_FRintj = -1;
73518 INT out_ACC40Sk = -1;
73519 INT out_ACC40Uk = -1;
73520 in_FRinti = FLD (in_FRinti);
73521 in_FRintj = FLD (in_FRintj);
73522 out_ACC40Sk = FLD (out_ACC40Sk);
73523 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
73524 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
73525 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
73526 cycles += frvbf_model_fr400_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73528 return cycles;
73529 #undef FLD
73532 static int
73533 model_fr400_mqcpxrs (SIM_CPU *current_cpu, void *sem_arg)
73535 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73537 const IDESC * UNUSED idesc = abuf->idesc;
73538 int cycles = 0;
73540 int referenced = 0;
73541 int UNUSED insn_referenced = abuf->written;
73542 INT in_FRinti = -1;
73543 INT in_FRintj = -1;
73544 INT out_ACC40Sk = -1;
73545 INT out_ACC40Uk = -1;
73546 out_ACC40Sk = FLD (out_ACC40Sk);
73547 in_FRinti = FLD (in_FRintieven);
73548 in_FRintj = FLD (in_FRintjeven);
73549 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
73550 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73552 return cycles;
73553 #undef FLD
73556 static int
73557 model_fr400_mqcpxru (SIM_CPU *current_cpu, void *sem_arg)
73559 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73560 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73561 const IDESC * UNUSED idesc = abuf->idesc;
73562 int cycles = 0;
73564 int referenced = 0;
73565 int UNUSED insn_referenced = abuf->written;
73566 INT in_FRinti = -1;
73567 INT in_FRintj = -1;
73568 INT out_ACC40Sk = -1;
73569 INT out_ACC40Uk = -1;
73570 out_ACC40Sk = FLD (out_ACC40Sk);
73571 in_FRinti = FLD (in_FRintieven);
73572 in_FRintj = FLD (in_FRintjeven);
73573 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
73574 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73576 return cycles;
73577 #undef FLD
73580 static int
73581 model_fr400_mqcpxis (SIM_CPU *current_cpu, void *sem_arg)
73583 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73584 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73585 const IDESC * UNUSED idesc = abuf->idesc;
73586 int cycles = 0;
73588 int referenced = 0;
73589 int UNUSED insn_referenced = abuf->written;
73590 INT in_FRinti = -1;
73591 INT in_FRintj = -1;
73592 INT out_ACC40Sk = -1;
73593 INT out_ACC40Uk = -1;
73594 out_ACC40Sk = FLD (out_ACC40Sk);
73595 in_FRinti = FLD (in_FRintieven);
73596 in_FRintj = FLD (in_FRintjeven);
73597 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
73598 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73600 return cycles;
73601 #undef FLD
73604 static int
73605 model_fr400_mqcpxiu (SIM_CPU *current_cpu, void *sem_arg)
73607 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
73608 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73609 const IDESC * UNUSED idesc = abuf->idesc;
73610 int cycles = 0;
73612 int referenced = 0;
73613 int UNUSED insn_referenced = abuf->written;
73614 INT in_FRinti = -1;
73615 INT in_FRintj = -1;
73616 INT out_ACC40Sk = -1;
73617 INT out_ACC40Uk = -1;
73618 out_ACC40Sk = FLD (out_ACC40Sk);
73619 in_FRinti = FLD (in_FRintieven);
73620 in_FRintj = FLD (in_FRintjeven);
73621 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
73622 cycles += frvbf_model_fr400_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
73624 return cycles;
73625 #undef FLD
73628 static int
73629 model_fr400_mexpdhw (SIM_CPU *current_cpu, void *sem_arg)
73631 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
73632 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73633 const IDESC * UNUSED idesc = abuf->idesc;
73634 int cycles = 0;
73636 int referenced = 0;
73637 int UNUSED insn_referenced = abuf->written;
73638 INT in_FRinti = -1;
73639 INT in_FRintj = -1;
73640 INT out_FRintk = -1;
73641 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
73643 return cycles;
73644 #undef FLD
73647 static int
73648 model_fr400_cmexpdhw (SIM_CPU *current_cpu, void *sem_arg)
73650 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
73651 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73652 const IDESC * UNUSED idesc = abuf->idesc;
73653 int cycles = 0;
73655 int referenced = 0;
73656 int UNUSED insn_referenced = abuf->written;
73657 INT in_FRinti = -1;
73658 INT in_FRintj = -1;
73659 INT out_FRintk = -1;
73660 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
73662 return cycles;
73663 #undef FLD
73666 static int
73667 model_fr400_mexpdhd (SIM_CPU *current_cpu, void *sem_arg)
73669 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
73670 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73671 const IDESC * UNUSED idesc = abuf->idesc;
73672 int cycles = 0;
73674 int referenced = 0;
73675 int UNUSED insn_referenced = abuf->written;
73676 INT in_FRinti = -1;
73677 INT out_FRintk = -1;
73678 out_FRintk = FLD (out_FRintkeven);
73679 cycles += frvbf_model_fr400_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
73681 return cycles;
73682 #undef FLD
73685 static int
73686 model_fr400_cmexpdhd (SIM_CPU *current_cpu, void *sem_arg)
73688 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
73689 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73690 const IDESC * UNUSED idesc = abuf->idesc;
73691 int cycles = 0;
73693 int referenced = 0;
73694 int UNUSED insn_referenced = abuf->written;
73695 INT in_FRinti = -1;
73696 INT out_FRintk = -1;
73697 out_FRintk = FLD (out_FRintkeven);
73698 cycles += frvbf_model_fr400_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
73700 return cycles;
73701 #undef FLD
73704 static int
73705 model_fr400_mpackh (SIM_CPU *current_cpu, void *sem_arg)
73707 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
73708 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73709 const IDESC * UNUSED idesc = abuf->idesc;
73710 int cycles = 0;
73712 int referenced = 0;
73713 int UNUSED insn_referenced = abuf->written;
73714 INT in_FRinti = -1;
73715 INT in_FRintj = -1;
73716 INT out_FRintk = -1;
73717 cycles += frvbf_model_fr400_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
73719 return cycles;
73720 #undef FLD
73723 static int
73724 model_fr400_mdpackh (SIM_CPU *current_cpu, void *sem_arg)
73726 #define FLD(f) abuf->fields.sfmt_mdpackh.f
73727 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73728 const IDESC * UNUSED idesc = abuf->idesc;
73729 int cycles = 0;
73731 int referenced = 0;
73732 int UNUSED insn_referenced = abuf->written;
73733 INT in_FRinti = -1;
73734 INT in_FRintj = -1;
73735 INT out_FRintk = -1;
73736 in_FRinti = FLD (in_FRintieven);
73737 in_FRintj = FLD (in_FRintjeven);
73738 out_FRintk = FLD (out_FRintkeven);
73739 cycles += frvbf_model_fr400_u_media_3_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
73741 return cycles;
73742 #undef FLD
73745 static int
73746 model_fr400_munpackh (SIM_CPU *current_cpu, void *sem_arg)
73748 #define FLD(f) abuf->fields.sfmt_munpackh.f
73749 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73750 const IDESC * UNUSED idesc = abuf->idesc;
73751 int cycles = 0;
73753 int referenced = 0;
73754 int UNUSED insn_referenced = abuf->written;
73755 INT in_FRinti = -1;
73756 INT out_FRintk = -1;
73757 in_FRinti = FLD (in_FRinti);
73758 out_FRintk = FLD (out_FRintkeven);
73759 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
73760 cycles += frvbf_model_fr400_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
73762 return cycles;
73763 #undef FLD
73766 static int
73767 model_fr400_mdunpackh (SIM_CPU *current_cpu, void *sem_arg)
73769 #define FLD(f) abuf->fields.sfmt_mdunpackh.f
73770 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73771 const IDESC * UNUSED idesc = abuf->idesc;
73772 int cycles = 0;
73774 int referenced = 0;
73775 int UNUSED insn_referenced = abuf->written;
73776 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
73778 return cycles;
73779 #undef FLD
73782 static int
73783 model_fr400_mbtoh (SIM_CPU *current_cpu, void *sem_arg)
73785 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
73786 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73787 const IDESC * UNUSED idesc = abuf->idesc;
73788 int cycles = 0;
73790 int referenced = 0;
73791 int UNUSED insn_referenced = abuf->written;
73792 INT in_FRinti = -1;
73793 INT out_FRintk = -1;
73794 out_FRintk = FLD (out_FRintkeven);
73795 cycles += frvbf_model_fr400_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
73797 return cycles;
73798 #undef FLD
73801 static int
73802 model_fr400_cmbtoh (SIM_CPU *current_cpu, void *sem_arg)
73804 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
73805 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73806 const IDESC * UNUSED idesc = abuf->idesc;
73807 int cycles = 0;
73809 int referenced = 0;
73810 int UNUSED insn_referenced = abuf->written;
73811 INT in_FRinti = -1;
73812 INT out_FRintk = -1;
73813 out_FRintk = FLD (out_FRintkeven);
73814 cycles += frvbf_model_fr400_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
73816 return cycles;
73817 #undef FLD
73820 static int
73821 model_fr400_mhtob (SIM_CPU *current_cpu, void *sem_arg)
73823 #define FLD(f) abuf->fields.sfmt_cmhtob.f
73824 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73825 const IDESC * UNUSED idesc = abuf->idesc;
73826 int cycles = 0;
73828 int referenced = 0;
73829 int UNUSED insn_referenced = abuf->written;
73830 INT in_FRintj = -1;
73831 INT out_FRintk = -1;
73832 out_FRintk = FLD (out_FRintk);
73833 in_FRintj = FLD (in_FRintjeven);
73834 referenced |= 1 << 1;
73835 cycles += frvbf_model_fr400_u_media_dual_htob (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
73837 return cycles;
73838 #undef FLD
73841 static int
73842 model_fr400_cmhtob (SIM_CPU *current_cpu, void *sem_arg)
73844 #define FLD(f) abuf->fields.sfmt_cmhtob.f
73845 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73846 const IDESC * UNUSED idesc = abuf->idesc;
73847 int cycles = 0;
73849 int referenced = 0;
73850 int UNUSED insn_referenced = abuf->written;
73851 INT in_FRintj = -1;
73852 INT out_FRintk = -1;
73853 out_FRintk = FLD (out_FRintk);
73854 in_FRintj = FLD (in_FRintjeven);
73855 referenced |= 1 << 1;
73856 cycles += frvbf_model_fr400_u_media_dual_htob (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
73858 return cycles;
73859 #undef FLD
73862 static int
73863 model_fr400_mbtohe (SIM_CPU *current_cpu, void *sem_arg)
73865 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
73866 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73867 const IDESC * UNUSED idesc = abuf->idesc;
73868 int cycles = 0;
73870 int referenced = 0;
73871 int UNUSED insn_referenced = abuf->written;
73872 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
73874 return cycles;
73875 #undef FLD
73878 static int
73879 model_fr400_cmbtohe (SIM_CPU *current_cpu, void *sem_arg)
73881 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
73882 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73883 const IDESC * UNUSED idesc = abuf->idesc;
73884 int cycles = 0;
73886 int referenced = 0;
73887 int UNUSED insn_referenced = abuf->written;
73888 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
73890 return cycles;
73891 #undef FLD
73894 static int
73895 model_fr400_mnop (SIM_CPU *current_cpu, void *sem_arg)
73897 #define FLD(f) abuf->fields.sfmt_empty.f
73898 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73899 const IDESC * UNUSED idesc = abuf->idesc;
73900 int cycles = 0;
73902 int referenced = 0;
73903 int UNUSED insn_referenced = abuf->written;
73904 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
73906 return cycles;
73907 #undef FLD
73910 static int
73911 model_fr400_mclracc_0 (SIM_CPU *current_cpu, void *sem_arg)
73913 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
73914 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73915 const IDESC * UNUSED idesc = abuf->idesc;
73916 int cycles = 0;
73918 int referenced = 0;
73919 int UNUSED insn_referenced = abuf->written;
73920 INT in_ACC40Si = -1;
73921 INT in_FRintj = -1;
73922 INT out_ACC40Sk = -1;
73923 INT out_FRintk = -1;
73924 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
73926 return cycles;
73927 #undef FLD
73930 static int
73931 model_fr400_mclracc_1 (SIM_CPU *current_cpu, void *sem_arg)
73933 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
73934 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73935 const IDESC * UNUSED idesc = abuf->idesc;
73936 int cycles = 0;
73938 int referenced = 0;
73939 int UNUSED insn_referenced = abuf->written;
73940 INT in_ACC40Si = -1;
73941 INT in_FRintj = -1;
73942 INT out_ACC40Sk = -1;
73943 INT out_FRintk = -1;
73944 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
73946 return cycles;
73947 #undef FLD
73950 static int
73951 model_fr400_mrdacc (SIM_CPU *current_cpu, void *sem_arg)
73953 #define FLD(f) abuf->fields.sfmt_mcuti.f
73954 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73955 const IDESC * UNUSED idesc = abuf->idesc;
73956 int cycles = 0;
73958 int referenced = 0;
73959 int UNUSED insn_referenced = abuf->written;
73960 INT in_ACC40Si = -1;
73961 INT in_FRintj = -1;
73962 INT out_ACC40Sk = -1;
73963 INT out_FRintk = -1;
73964 in_ACC40Si = FLD (in_ACC40Si);
73965 out_FRintk = FLD (out_FRintk);
73966 referenced |= 1 << 0;
73967 referenced |= 1 << 3;
73968 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
73970 return cycles;
73971 #undef FLD
73974 static int
73975 model_fr400_mrdaccg (SIM_CPU *current_cpu, void *sem_arg)
73977 #define FLD(f) abuf->fields.sfmt_mrdaccg.f
73978 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
73979 const IDESC * UNUSED idesc = abuf->idesc;
73980 int cycles = 0;
73982 int referenced = 0;
73983 int UNUSED insn_referenced = abuf->written;
73984 INT in_ACCGi = -1;
73985 INT in_FRinti = -1;
73986 INT out_ACCGk = -1;
73987 INT out_FRintk = -1;
73988 in_ACCGi = FLD (in_ACCGi);
73989 out_FRintk = FLD (out_FRintk);
73990 referenced |= 1 << 0;
73991 referenced |= 1 << 3;
73992 cycles += frvbf_model_fr400_u_media_4_accg (current_cpu, idesc, 0, referenced, in_ACCGi, in_FRinti, out_ACCGk, out_FRintk);
73994 return cycles;
73995 #undef FLD
73998 static int
73999 model_fr400_mwtacc (SIM_CPU *current_cpu, void *sem_arg)
74001 #define FLD(f) abuf->fields.sfmt_cmmachs.f
74002 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74003 const IDESC * UNUSED idesc = abuf->idesc;
74004 int cycles = 0;
74006 int referenced = 0;
74007 int UNUSED insn_referenced = abuf->written;
74008 INT in_ACC40Si = -1;
74009 INT in_FRintj = -1;
74010 INT out_ACC40Sk = -1;
74011 INT out_FRintk = -1;
74012 out_ACC40Sk = FLD (out_ACC40Sk);
74013 referenced |= 1 << 2;
74014 cycles += frvbf_model_fr400_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
74016 return cycles;
74017 #undef FLD
74020 static int
74021 model_fr400_mwtaccg (SIM_CPU *current_cpu, void *sem_arg)
74023 #define FLD(f) abuf->fields.sfmt_mwtaccg.f
74024 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74025 const IDESC * UNUSED idesc = abuf->idesc;
74026 int cycles = 0;
74028 int referenced = 0;
74029 int UNUSED insn_referenced = abuf->written;
74030 INT in_ACCGi = -1;
74031 INT in_FRinti = -1;
74032 INT out_ACCGk = -1;
74033 INT out_FRintk = -1;
74034 in_FRinti = FLD (in_FRinti);
74035 out_ACCGk = FLD (out_ACCGk);
74036 referenced |= 1 << 1;
74037 referenced |= 1 << 2;
74038 cycles += frvbf_model_fr400_u_media_4_accg (current_cpu, idesc, 0, referenced, in_ACCGi, in_FRinti, out_ACCGk, out_FRintk);
74040 return cycles;
74041 #undef FLD
74044 static int
74045 model_fr400_mcop1 (SIM_CPU *current_cpu, void *sem_arg)
74047 #define FLD(f) abuf->fields.sfmt_empty.f
74048 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74049 const IDESC * UNUSED idesc = abuf->idesc;
74050 int cycles = 0;
74052 int referenced = 0;
74053 int UNUSED insn_referenced = abuf->written;
74054 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
74056 return cycles;
74057 #undef FLD
74060 static int
74061 model_fr400_mcop2 (SIM_CPU *current_cpu, void *sem_arg)
74063 #define FLD(f) abuf->fields.sfmt_empty.f
74064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74065 const IDESC * UNUSED idesc = abuf->idesc;
74066 int cycles = 0;
74068 int referenced = 0;
74069 int UNUSED insn_referenced = abuf->written;
74070 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
74072 return cycles;
74073 #undef FLD
74076 static int
74077 model_fr400_fnop (SIM_CPU *current_cpu, void *sem_arg)
74079 #define FLD(f) abuf->fields.sfmt_empty.f
74080 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74081 const IDESC * UNUSED idesc = abuf->idesc;
74082 int cycles = 0;
74084 int referenced = 0;
74085 int UNUSED insn_referenced = abuf->written;
74086 cycles += frvbf_model_fr400_u_exec (current_cpu, idesc, 0, referenced);
74088 return cycles;
74089 #undef FLD
74092 static int
74093 model_fr450_add (SIM_CPU *current_cpu, void *sem_arg)
74095 #define FLD(f) abuf->fields.sfmt_addcc.f
74096 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74097 const IDESC * UNUSED idesc = abuf->idesc;
74098 int cycles = 0;
74100 int referenced = 0;
74101 int UNUSED insn_referenced = abuf->written;
74102 INT in_GRi = -1;
74103 INT in_GRj = -1;
74104 INT out_GRk = -1;
74105 INT out_ICCi_1 = -1;
74106 in_GRi = FLD (in_GRi);
74107 in_GRj = FLD (in_GRj);
74108 out_GRk = FLD (out_GRk);
74109 referenced |= 1 << 0;
74110 referenced |= 1 << 1;
74111 referenced |= 1 << 2;
74112 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74114 return cycles;
74115 #undef FLD
74118 static int
74119 model_fr450_sub (SIM_CPU *current_cpu, void *sem_arg)
74121 #define FLD(f) abuf->fields.sfmt_addcc.f
74122 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74123 const IDESC * UNUSED idesc = abuf->idesc;
74124 int cycles = 0;
74126 int referenced = 0;
74127 int UNUSED insn_referenced = abuf->written;
74128 INT in_GRi = -1;
74129 INT in_GRj = -1;
74130 INT out_GRk = -1;
74131 INT out_ICCi_1 = -1;
74132 in_GRi = FLD (in_GRi);
74133 in_GRj = FLD (in_GRj);
74134 out_GRk = FLD (out_GRk);
74135 referenced |= 1 << 0;
74136 referenced |= 1 << 1;
74137 referenced |= 1 << 2;
74138 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74140 return cycles;
74141 #undef FLD
74144 static int
74145 model_fr450_and (SIM_CPU *current_cpu, void *sem_arg)
74147 #define FLD(f) abuf->fields.sfmt_addcc.f
74148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74149 const IDESC * UNUSED idesc = abuf->idesc;
74150 int cycles = 0;
74152 int referenced = 0;
74153 int UNUSED insn_referenced = abuf->written;
74154 INT in_GRi = -1;
74155 INT in_GRj = -1;
74156 INT out_GRk = -1;
74157 INT out_ICCi_1 = -1;
74158 in_GRi = FLD (in_GRi);
74159 in_GRj = FLD (in_GRj);
74160 out_GRk = FLD (out_GRk);
74161 referenced |= 1 << 0;
74162 referenced |= 1 << 1;
74163 referenced |= 1 << 2;
74164 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74166 return cycles;
74167 #undef FLD
74170 static int
74171 model_fr450_or (SIM_CPU *current_cpu, void *sem_arg)
74173 #define FLD(f) abuf->fields.sfmt_addcc.f
74174 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74175 const IDESC * UNUSED idesc = abuf->idesc;
74176 int cycles = 0;
74178 int referenced = 0;
74179 int UNUSED insn_referenced = abuf->written;
74180 INT in_GRi = -1;
74181 INT in_GRj = -1;
74182 INT out_GRk = -1;
74183 INT out_ICCi_1 = -1;
74184 in_GRi = FLD (in_GRi);
74185 in_GRj = FLD (in_GRj);
74186 out_GRk = FLD (out_GRk);
74187 referenced |= 1 << 0;
74188 referenced |= 1 << 1;
74189 referenced |= 1 << 2;
74190 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74192 return cycles;
74193 #undef FLD
74196 static int
74197 model_fr450_xor (SIM_CPU *current_cpu, void *sem_arg)
74199 #define FLD(f) abuf->fields.sfmt_addcc.f
74200 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74201 const IDESC * UNUSED idesc = abuf->idesc;
74202 int cycles = 0;
74204 int referenced = 0;
74205 int UNUSED insn_referenced = abuf->written;
74206 INT in_GRi = -1;
74207 INT in_GRj = -1;
74208 INT out_GRk = -1;
74209 INT out_ICCi_1 = -1;
74210 in_GRi = FLD (in_GRi);
74211 in_GRj = FLD (in_GRj);
74212 out_GRk = FLD (out_GRk);
74213 referenced |= 1 << 0;
74214 referenced |= 1 << 1;
74215 referenced |= 1 << 2;
74216 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74218 return cycles;
74219 #undef FLD
74222 static int
74223 model_fr450_not (SIM_CPU *current_cpu, void *sem_arg)
74225 #define FLD(f) abuf->fields.sfmt_scutss.f
74226 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74227 const IDESC * UNUSED idesc = abuf->idesc;
74228 int cycles = 0;
74230 int referenced = 0;
74231 int UNUSED insn_referenced = abuf->written;
74232 INT in_GRi = -1;
74233 INT in_GRj = -1;
74234 INT out_GRk = -1;
74235 INT out_ICCi_1 = -1;
74236 in_GRj = FLD (in_GRj);
74237 out_GRk = FLD (out_GRk);
74238 referenced |= 1 << 1;
74239 referenced |= 1 << 2;
74240 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74242 return cycles;
74243 #undef FLD
74246 static int
74247 model_fr450_sdiv (SIM_CPU *current_cpu, void *sem_arg)
74249 #define FLD(f) abuf->fields.sfmt_addcc.f
74250 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74251 const IDESC * UNUSED idesc = abuf->idesc;
74252 int cycles = 0;
74254 int referenced = 0;
74255 int UNUSED insn_referenced = abuf->written;
74256 INT in_GRi = -1;
74257 INT in_GRj = -1;
74258 INT out_GRk = -1;
74259 INT out_ICCi_1 = -1;
74260 in_GRi = FLD (in_GRi);
74261 in_GRj = FLD (in_GRj);
74262 out_GRk = FLD (out_GRk);
74263 referenced |= 1 << 0;
74264 referenced |= 1 << 1;
74265 referenced |= 1 << 2;
74266 cycles += frvbf_model_fr450_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74268 return cycles;
74269 #undef FLD
74272 static int
74273 model_fr450_nsdiv (SIM_CPU *current_cpu, void *sem_arg)
74275 #define FLD(f) abuf->fields.sfmt_addcc.f
74276 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74277 const IDESC * UNUSED idesc = abuf->idesc;
74278 int cycles = 0;
74280 int referenced = 0;
74281 int UNUSED insn_referenced = abuf->written;
74282 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
74284 return cycles;
74285 #undef FLD
74288 static int
74289 model_fr450_udiv (SIM_CPU *current_cpu, void *sem_arg)
74291 #define FLD(f) abuf->fields.sfmt_addcc.f
74292 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74293 const IDESC * UNUSED idesc = abuf->idesc;
74294 int cycles = 0;
74296 int referenced = 0;
74297 int UNUSED insn_referenced = abuf->written;
74298 INT in_GRi = -1;
74299 INT in_GRj = -1;
74300 INT out_GRk = -1;
74301 INT out_ICCi_1 = -1;
74302 in_GRi = FLD (in_GRi);
74303 in_GRj = FLD (in_GRj);
74304 out_GRk = FLD (out_GRk);
74305 referenced |= 1 << 0;
74306 referenced |= 1 << 1;
74307 referenced |= 1 << 2;
74308 cycles += frvbf_model_fr450_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74310 return cycles;
74311 #undef FLD
74314 static int
74315 model_fr450_nudiv (SIM_CPU *current_cpu, void *sem_arg)
74317 #define FLD(f) abuf->fields.sfmt_addcc.f
74318 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74319 const IDESC * UNUSED idesc = abuf->idesc;
74320 int cycles = 0;
74322 int referenced = 0;
74323 int UNUSED insn_referenced = abuf->written;
74324 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
74326 return cycles;
74327 #undef FLD
74330 static int
74331 model_fr450_smul (SIM_CPU *current_cpu, void *sem_arg)
74333 #define FLD(f) abuf->fields.sfmt_smulcc.f
74334 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74335 const IDESC * UNUSED idesc = abuf->idesc;
74336 int cycles = 0;
74338 int referenced = 0;
74339 int UNUSED insn_referenced = abuf->written;
74340 INT in_GRi = -1;
74341 INT in_GRj = -1;
74342 INT out_GRdoublek = -1;
74343 INT out_ICCi_1 = -1;
74344 in_GRi = FLD (in_GRi);
74345 in_GRj = FLD (in_GRj);
74346 out_GRdoublek = FLD (out_GRdoublek);
74347 referenced |= 1 << 0;
74348 referenced |= 1 << 1;
74349 referenced |= 1 << 2;
74350 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
74352 return cycles;
74353 #undef FLD
74356 static int
74357 model_fr450_umul (SIM_CPU *current_cpu, void *sem_arg)
74359 #define FLD(f) abuf->fields.sfmt_smulcc.f
74360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74361 const IDESC * UNUSED idesc = abuf->idesc;
74362 int cycles = 0;
74364 int referenced = 0;
74365 int UNUSED insn_referenced = abuf->written;
74366 INT in_GRi = -1;
74367 INT in_GRj = -1;
74368 INT out_GRdoublek = -1;
74369 INT out_ICCi_1 = -1;
74370 in_GRi = FLD (in_GRi);
74371 in_GRj = FLD (in_GRj);
74372 out_GRdoublek = FLD (out_GRdoublek);
74373 referenced |= 1 << 0;
74374 referenced |= 1 << 1;
74375 referenced |= 1 << 2;
74376 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
74378 return cycles;
74379 #undef FLD
74382 static int
74383 model_fr450_smu (SIM_CPU *current_cpu, void *sem_arg)
74385 #define FLD(f) abuf->fields.sfmt_smass.f
74386 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74387 const IDESC * UNUSED idesc = abuf->idesc;
74388 int cycles = 0;
74390 int referenced = 0;
74391 int UNUSED insn_referenced = abuf->written;
74392 INT in_GRi = -1;
74393 INT in_GRj = -1;
74394 INT out_GRk = -1;
74395 INT out_ICCi_1 = -1;
74396 in_GRi = FLD (in_GRi);
74397 in_GRj = FLD (in_GRj);
74398 referenced |= 1 << 0;
74399 referenced |= 1 << 1;
74400 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74402 return cycles;
74403 #undef FLD
74406 static int
74407 model_fr450_smass (SIM_CPU *current_cpu, void *sem_arg)
74409 #define FLD(f) abuf->fields.sfmt_smass.f
74410 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74411 const IDESC * UNUSED idesc = abuf->idesc;
74412 int cycles = 0;
74414 int referenced = 0;
74415 int UNUSED insn_referenced = abuf->written;
74416 INT in_GRi = -1;
74417 INT in_GRj = -1;
74418 INT out_GRk = -1;
74419 INT out_ICCi_1 = -1;
74420 in_GRi = FLD (in_GRi);
74421 in_GRj = FLD (in_GRj);
74422 referenced |= 1 << 0;
74423 referenced |= 1 << 1;
74424 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74426 return cycles;
74427 #undef FLD
74430 static int
74431 model_fr450_smsss (SIM_CPU *current_cpu, void *sem_arg)
74433 #define FLD(f) abuf->fields.sfmt_smass.f
74434 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74435 const IDESC * UNUSED idesc = abuf->idesc;
74436 int cycles = 0;
74438 int referenced = 0;
74439 int UNUSED insn_referenced = abuf->written;
74440 INT in_GRi = -1;
74441 INT in_GRj = -1;
74442 INT out_GRk = -1;
74443 INT out_ICCi_1 = -1;
74444 in_GRi = FLD (in_GRi);
74445 in_GRj = FLD (in_GRj);
74446 referenced |= 1 << 0;
74447 referenced |= 1 << 1;
74448 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74450 return cycles;
74451 #undef FLD
74454 static int
74455 model_fr450_sll (SIM_CPU *current_cpu, void *sem_arg)
74457 #define FLD(f) abuf->fields.sfmt_addcc.f
74458 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74459 const IDESC * UNUSED idesc = abuf->idesc;
74460 int cycles = 0;
74462 int referenced = 0;
74463 int UNUSED insn_referenced = abuf->written;
74464 INT in_GRi = -1;
74465 INT in_GRj = -1;
74466 INT out_GRk = -1;
74467 INT out_ICCi_1 = -1;
74468 in_GRi = FLD (in_GRi);
74469 in_GRj = FLD (in_GRj);
74470 out_GRk = FLD (out_GRk);
74471 referenced |= 1 << 0;
74472 referenced |= 1 << 1;
74473 referenced |= 1 << 2;
74474 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74476 return cycles;
74477 #undef FLD
74480 static int
74481 model_fr450_srl (SIM_CPU *current_cpu, void *sem_arg)
74483 #define FLD(f) abuf->fields.sfmt_addcc.f
74484 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74485 const IDESC * UNUSED idesc = abuf->idesc;
74486 int cycles = 0;
74488 int referenced = 0;
74489 int UNUSED insn_referenced = abuf->written;
74490 INT in_GRi = -1;
74491 INT in_GRj = -1;
74492 INT out_GRk = -1;
74493 INT out_ICCi_1 = -1;
74494 in_GRi = FLD (in_GRi);
74495 in_GRj = FLD (in_GRj);
74496 out_GRk = FLD (out_GRk);
74497 referenced |= 1 << 0;
74498 referenced |= 1 << 1;
74499 referenced |= 1 << 2;
74500 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74502 return cycles;
74503 #undef FLD
74506 static int
74507 model_fr450_sra (SIM_CPU *current_cpu, void *sem_arg)
74509 #define FLD(f) abuf->fields.sfmt_addcc.f
74510 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74511 const IDESC * UNUSED idesc = abuf->idesc;
74512 int cycles = 0;
74514 int referenced = 0;
74515 int UNUSED insn_referenced = abuf->written;
74516 INT in_GRi = -1;
74517 INT in_GRj = -1;
74518 INT out_GRk = -1;
74519 INT out_ICCi_1 = -1;
74520 in_GRi = FLD (in_GRi);
74521 in_GRj = FLD (in_GRj);
74522 out_GRk = FLD (out_GRk);
74523 referenced |= 1 << 0;
74524 referenced |= 1 << 1;
74525 referenced |= 1 << 2;
74526 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74528 return cycles;
74529 #undef FLD
74532 static int
74533 model_fr450_slass (SIM_CPU *current_cpu, void *sem_arg)
74535 #define FLD(f) abuf->fields.sfmt_addcc.f
74536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74537 const IDESC * UNUSED idesc = abuf->idesc;
74538 int cycles = 0;
74540 int referenced = 0;
74541 int UNUSED insn_referenced = abuf->written;
74542 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
74544 return cycles;
74545 #undef FLD
74548 static int
74549 model_fr450_scutss (SIM_CPU *current_cpu, void *sem_arg)
74551 #define FLD(f) abuf->fields.sfmt_scutss.f
74552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74553 const IDESC * UNUSED idesc = abuf->idesc;
74554 int cycles = 0;
74556 int referenced = 0;
74557 int UNUSED insn_referenced = abuf->written;
74558 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
74560 return cycles;
74561 #undef FLD
74564 static int
74565 model_fr450_scan (SIM_CPU *current_cpu, void *sem_arg)
74567 #define FLD(f) abuf->fields.sfmt_addcc.f
74568 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74569 const IDESC * UNUSED idesc = abuf->idesc;
74570 int cycles = 0;
74572 int referenced = 0;
74573 int UNUSED insn_referenced = abuf->written;
74574 INT in_GRi = -1;
74575 INT in_GRj = -1;
74576 INT out_GRk = -1;
74577 INT out_ICCi_1 = -1;
74578 in_GRi = FLD (in_GRi);
74579 in_GRj = FLD (in_GRj);
74580 out_GRk = FLD (out_GRk);
74581 referenced |= 1 << 0;
74582 referenced |= 1 << 1;
74583 referenced |= 1 << 2;
74584 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74586 return cycles;
74587 #undef FLD
74590 static int
74591 model_fr450_cadd (SIM_CPU *current_cpu, void *sem_arg)
74593 #define FLD(f) abuf->fields.sfmt_cswap.f
74594 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74595 const IDESC * UNUSED idesc = abuf->idesc;
74596 int cycles = 0;
74598 int referenced = 0;
74599 int UNUSED insn_referenced = abuf->written;
74600 INT in_GRi = -1;
74601 INT in_GRj = -1;
74602 INT out_GRk = -1;
74603 INT out_ICCi_1 = -1;
74604 in_GRi = FLD (in_GRi);
74605 in_GRj = FLD (in_GRj);
74606 out_GRk = FLD (out_GRk);
74607 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74608 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74609 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74610 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74612 return cycles;
74613 #undef FLD
74616 static int
74617 model_fr450_csub (SIM_CPU *current_cpu, void *sem_arg)
74619 #define FLD(f) abuf->fields.sfmt_cswap.f
74620 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74621 const IDESC * UNUSED idesc = abuf->idesc;
74622 int cycles = 0;
74624 int referenced = 0;
74625 int UNUSED insn_referenced = abuf->written;
74626 INT in_GRi = -1;
74627 INT in_GRj = -1;
74628 INT out_GRk = -1;
74629 INT out_ICCi_1 = -1;
74630 in_GRi = FLD (in_GRi);
74631 in_GRj = FLD (in_GRj);
74632 out_GRk = FLD (out_GRk);
74633 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74634 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74635 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74636 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74638 return cycles;
74639 #undef FLD
74642 static int
74643 model_fr450_cand (SIM_CPU *current_cpu, void *sem_arg)
74645 #define FLD(f) abuf->fields.sfmt_cswap.f
74646 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74647 const IDESC * UNUSED idesc = abuf->idesc;
74648 int cycles = 0;
74650 int referenced = 0;
74651 int UNUSED insn_referenced = abuf->written;
74652 INT in_GRi = -1;
74653 INT in_GRj = -1;
74654 INT out_GRk = -1;
74655 INT out_ICCi_1 = -1;
74656 in_GRi = FLD (in_GRi);
74657 in_GRj = FLD (in_GRj);
74658 out_GRk = FLD (out_GRk);
74659 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74660 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74661 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74662 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74664 return cycles;
74665 #undef FLD
74668 static int
74669 model_fr450_cor (SIM_CPU *current_cpu, void *sem_arg)
74671 #define FLD(f) abuf->fields.sfmt_cswap.f
74672 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74673 const IDESC * UNUSED idesc = abuf->idesc;
74674 int cycles = 0;
74676 int referenced = 0;
74677 int UNUSED insn_referenced = abuf->written;
74678 INT in_GRi = -1;
74679 INT in_GRj = -1;
74680 INT out_GRk = -1;
74681 INT out_ICCi_1 = -1;
74682 in_GRi = FLD (in_GRi);
74683 in_GRj = FLD (in_GRj);
74684 out_GRk = FLD (out_GRk);
74685 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74686 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74687 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74688 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74690 return cycles;
74691 #undef FLD
74694 static int
74695 model_fr450_cxor (SIM_CPU *current_cpu, void *sem_arg)
74697 #define FLD(f) abuf->fields.sfmt_cswap.f
74698 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74699 const IDESC * UNUSED idesc = abuf->idesc;
74700 int cycles = 0;
74702 int referenced = 0;
74703 int UNUSED insn_referenced = abuf->written;
74704 INT in_GRi = -1;
74705 INT in_GRj = -1;
74706 INT out_GRk = -1;
74707 INT out_ICCi_1 = -1;
74708 in_GRi = FLD (in_GRi);
74709 in_GRj = FLD (in_GRj);
74710 out_GRk = FLD (out_GRk);
74711 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74712 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74713 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74714 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74716 return cycles;
74717 #undef FLD
74720 static int
74721 model_fr450_cnot (SIM_CPU *current_cpu, void *sem_arg)
74723 #define FLD(f) abuf->fields.sfmt_cswap.f
74724 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74725 const IDESC * UNUSED idesc = abuf->idesc;
74726 int cycles = 0;
74728 int referenced = 0;
74729 int UNUSED insn_referenced = abuf->written;
74730 INT in_GRi = -1;
74731 INT in_GRj = -1;
74732 INT out_GRk = -1;
74733 INT out_ICCi_1 = -1;
74734 in_GRj = FLD (in_GRj);
74735 out_GRk = FLD (out_GRk);
74736 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
74737 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
74738 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74740 return cycles;
74741 #undef FLD
74744 static int
74745 model_fr450_csmul (SIM_CPU *current_cpu, void *sem_arg)
74747 #define FLD(f) abuf->fields.sfmt_clddu.f
74748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74749 const IDESC * UNUSED idesc = abuf->idesc;
74750 int cycles = 0;
74752 int referenced = 0;
74753 int UNUSED insn_referenced = abuf->written;
74754 INT in_GRi = -1;
74755 INT in_GRj = -1;
74756 INT out_GRdoublek = -1;
74757 INT out_ICCi_1 = -1;
74758 in_GRi = FLD (in_GRi);
74759 in_GRj = FLD (in_GRj);
74760 out_GRdoublek = FLD (out_GRdoublek);
74761 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74762 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74763 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74764 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
74766 return cycles;
74767 #undef FLD
74770 static int
74771 model_fr450_csdiv (SIM_CPU *current_cpu, void *sem_arg)
74773 #define FLD(f) abuf->fields.sfmt_cswap.f
74774 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74775 const IDESC * UNUSED idesc = abuf->idesc;
74776 int cycles = 0;
74778 int referenced = 0;
74779 int UNUSED insn_referenced = abuf->written;
74780 INT in_GRi = -1;
74781 INT in_GRj = -1;
74782 INT out_GRk = -1;
74783 INT out_ICCi_1 = -1;
74784 in_GRi = FLD (in_GRi);
74785 in_GRj = FLD (in_GRj);
74786 out_GRk = FLD (out_GRk);
74787 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74788 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74789 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
74790 cycles += frvbf_model_fr450_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74792 return cycles;
74793 #undef FLD
74796 static int
74797 model_fr450_cudiv (SIM_CPU *current_cpu, void *sem_arg)
74799 #define FLD(f) abuf->fields.sfmt_cswap.f
74800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74801 const IDESC * UNUSED idesc = abuf->idesc;
74802 int cycles = 0;
74804 int referenced = 0;
74805 int UNUSED insn_referenced = abuf->written;
74806 INT in_GRi = -1;
74807 INT in_GRj = -1;
74808 INT out_GRk = -1;
74809 INT out_ICCi_1 = -1;
74810 in_GRi = FLD (in_GRi);
74811 in_GRj = FLD (in_GRj);
74812 out_GRk = FLD (out_GRk);
74813 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74814 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74815 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
74816 cycles += frvbf_model_fr450_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74818 return cycles;
74819 #undef FLD
74822 static int
74823 model_fr450_csll (SIM_CPU *current_cpu, void *sem_arg)
74825 #define FLD(f) abuf->fields.sfmt_cswap.f
74826 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74827 const IDESC * UNUSED idesc = abuf->idesc;
74828 int cycles = 0;
74830 int referenced = 0;
74831 int UNUSED insn_referenced = abuf->written;
74832 INT in_GRi = -1;
74833 INT in_GRj = -1;
74834 INT out_GRk = -1;
74835 INT out_ICCi_1 = -1;
74836 in_GRi = FLD (in_GRi);
74837 in_GRj = FLD (in_GRj);
74838 out_GRk = FLD (out_GRk);
74839 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74840 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74841 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74842 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74844 return cycles;
74845 #undef FLD
74848 static int
74849 model_fr450_csrl (SIM_CPU *current_cpu, void *sem_arg)
74851 #define FLD(f) abuf->fields.sfmt_cswap.f
74852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74853 const IDESC * UNUSED idesc = abuf->idesc;
74854 int cycles = 0;
74856 int referenced = 0;
74857 int UNUSED insn_referenced = abuf->written;
74858 INT in_GRi = -1;
74859 INT in_GRj = -1;
74860 INT out_GRk = -1;
74861 INT out_ICCi_1 = -1;
74862 in_GRi = FLD (in_GRi);
74863 in_GRj = FLD (in_GRj);
74864 out_GRk = FLD (out_GRk);
74865 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74866 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74867 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74868 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74870 return cycles;
74871 #undef FLD
74874 static int
74875 model_fr450_csra (SIM_CPU *current_cpu, void *sem_arg)
74877 #define FLD(f) abuf->fields.sfmt_cswap.f
74878 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74879 const IDESC * UNUSED idesc = abuf->idesc;
74880 int cycles = 0;
74882 int referenced = 0;
74883 int UNUSED insn_referenced = abuf->written;
74884 INT in_GRi = -1;
74885 INT in_GRj = -1;
74886 INT out_GRk = -1;
74887 INT out_ICCi_1 = -1;
74888 in_GRi = FLD (in_GRi);
74889 in_GRj = FLD (in_GRj);
74890 out_GRk = FLD (out_GRk);
74891 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74892 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74893 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74894 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74896 return cycles;
74897 #undef FLD
74900 static int
74901 model_fr450_cscan (SIM_CPU *current_cpu, void *sem_arg)
74903 #define FLD(f) abuf->fields.sfmt_cswap.f
74904 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74905 const IDESC * UNUSED idesc = abuf->idesc;
74906 int cycles = 0;
74908 int referenced = 0;
74909 int UNUSED insn_referenced = abuf->written;
74910 INT in_GRi = -1;
74911 INT in_GRj = -1;
74912 INT out_GRk = -1;
74913 INT out_ICCi_1 = -1;
74914 in_GRi = FLD (in_GRi);
74915 in_GRj = FLD (in_GRj);
74916 out_GRk = FLD (out_GRk);
74917 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
74918 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
74919 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
74920 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74922 return cycles;
74923 #undef FLD
74926 static int
74927 model_fr450_addcc (SIM_CPU *current_cpu, void *sem_arg)
74929 #define FLD(f) abuf->fields.sfmt_addcc.f
74930 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74931 const IDESC * UNUSED idesc = abuf->idesc;
74932 int cycles = 0;
74934 int referenced = 0;
74935 int UNUSED insn_referenced = abuf->written;
74936 INT in_GRi = -1;
74937 INT in_GRj = -1;
74938 INT out_GRk = -1;
74939 INT out_ICCi_1 = -1;
74940 in_GRi = FLD (in_GRi);
74941 in_GRj = FLD (in_GRj);
74942 out_GRk = FLD (out_GRk);
74943 out_ICCi_1 = FLD (out_ICCi_1);
74944 referenced |= 1 << 0;
74945 referenced |= 1 << 1;
74946 referenced |= 1 << 2;
74947 referenced |= 1 << 3;
74948 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74950 return cycles;
74951 #undef FLD
74954 static int
74955 model_fr450_subcc (SIM_CPU *current_cpu, void *sem_arg)
74957 #define FLD(f) abuf->fields.sfmt_addcc.f
74958 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74959 const IDESC * UNUSED idesc = abuf->idesc;
74960 int cycles = 0;
74962 int referenced = 0;
74963 int UNUSED insn_referenced = abuf->written;
74964 INT in_GRi = -1;
74965 INT in_GRj = -1;
74966 INT out_GRk = -1;
74967 INT out_ICCi_1 = -1;
74968 in_GRi = FLD (in_GRi);
74969 in_GRj = FLD (in_GRj);
74970 out_GRk = FLD (out_GRk);
74971 out_ICCi_1 = FLD (out_ICCi_1);
74972 referenced |= 1 << 0;
74973 referenced |= 1 << 1;
74974 referenced |= 1 << 2;
74975 referenced |= 1 << 3;
74976 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
74978 return cycles;
74979 #undef FLD
74982 static int
74983 model_fr450_andcc (SIM_CPU *current_cpu, void *sem_arg)
74985 #define FLD(f) abuf->fields.sfmt_addcc.f
74986 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
74987 const IDESC * UNUSED idesc = abuf->idesc;
74988 int cycles = 0;
74990 int referenced = 0;
74991 int UNUSED insn_referenced = abuf->written;
74992 INT in_GRi = -1;
74993 INT in_GRj = -1;
74994 INT out_GRk = -1;
74995 INT out_ICCi_1 = -1;
74996 in_GRi = FLD (in_GRi);
74997 in_GRj = FLD (in_GRj);
74998 out_GRk = FLD (out_GRk);
74999 out_ICCi_1 = FLD (out_ICCi_1);
75000 referenced |= 1 << 0;
75001 referenced |= 1 << 1;
75002 referenced |= 1 << 2;
75003 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
75004 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75006 return cycles;
75007 #undef FLD
75010 static int
75011 model_fr450_orcc (SIM_CPU *current_cpu, void *sem_arg)
75013 #define FLD(f) abuf->fields.sfmt_addcc.f
75014 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75015 const IDESC * UNUSED idesc = abuf->idesc;
75016 int cycles = 0;
75018 int referenced = 0;
75019 int UNUSED insn_referenced = abuf->written;
75020 INT in_GRi = -1;
75021 INT in_GRj = -1;
75022 INT out_GRk = -1;
75023 INT out_ICCi_1 = -1;
75024 in_GRi = FLD (in_GRi);
75025 in_GRj = FLD (in_GRj);
75026 out_GRk = FLD (out_GRk);
75027 out_ICCi_1 = FLD (out_ICCi_1);
75028 referenced |= 1 << 0;
75029 referenced |= 1 << 1;
75030 referenced |= 1 << 2;
75031 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
75032 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75034 return cycles;
75035 #undef FLD
75038 static int
75039 model_fr450_xorcc (SIM_CPU *current_cpu, void *sem_arg)
75041 #define FLD(f) abuf->fields.sfmt_addcc.f
75042 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75043 const IDESC * UNUSED idesc = abuf->idesc;
75044 int cycles = 0;
75046 int referenced = 0;
75047 int UNUSED insn_referenced = abuf->written;
75048 INT in_GRi = -1;
75049 INT in_GRj = -1;
75050 INT out_GRk = -1;
75051 INT out_ICCi_1 = -1;
75052 in_GRi = FLD (in_GRi);
75053 in_GRj = FLD (in_GRj);
75054 out_GRk = FLD (out_GRk);
75055 out_ICCi_1 = FLD (out_ICCi_1);
75056 referenced |= 1 << 0;
75057 referenced |= 1 << 1;
75058 referenced |= 1 << 2;
75059 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
75060 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75062 return cycles;
75063 #undef FLD
75066 static int
75067 model_fr450_sllcc (SIM_CPU *current_cpu, void *sem_arg)
75069 #define FLD(f) abuf->fields.sfmt_addcc.f
75070 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75071 const IDESC * UNUSED idesc = abuf->idesc;
75072 int cycles = 0;
75074 int referenced = 0;
75075 int UNUSED insn_referenced = abuf->written;
75076 INT in_GRi = -1;
75077 INT in_GRj = -1;
75078 INT out_GRk = -1;
75079 INT out_ICCi_1 = -1;
75080 in_GRi = FLD (in_GRi);
75081 in_GRj = FLD (in_GRj);
75082 out_GRk = FLD (out_GRk);
75083 out_ICCi_1 = FLD (out_ICCi_1);
75084 referenced |= 1 << 0;
75085 referenced |= 1 << 1;
75086 referenced |= 1 << 2;
75087 referenced |= 1 << 3;
75088 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75090 return cycles;
75091 #undef FLD
75094 static int
75095 model_fr450_srlcc (SIM_CPU *current_cpu, void *sem_arg)
75097 #define FLD(f) abuf->fields.sfmt_addcc.f
75098 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75099 const IDESC * UNUSED idesc = abuf->idesc;
75100 int cycles = 0;
75102 int referenced = 0;
75103 int UNUSED insn_referenced = abuf->written;
75104 INT in_GRi = -1;
75105 INT in_GRj = -1;
75106 INT out_GRk = -1;
75107 INT out_ICCi_1 = -1;
75108 in_GRi = FLD (in_GRi);
75109 in_GRj = FLD (in_GRj);
75110 out_GRk = FLD (out_GRk);
75111 out_ICCi_1 = FLD (out_ICCi_1);
75112 referenced |= 1 << 0;
75113 referenced |= 1 << 1;
75114 referenced |= 1 << 2;
75115 referenced |= 1 << 3;
75116 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75118 return cycles;
75119 #undef FLD
75122 static int
75123 model_fr450_sracc (SIM_CPU *current_cpu, void *sem_arg)
75125 #define FLD(f) abuf->fields.sfmt_addcc.f
75126 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75127 const IDESC * UNUSED idesc = abuf->idesc;
75128 int cycles = 0;
75130 int referenced = 0;
75131 int UNUSED insn_referenced = abuf->written;
75132 INT in_GRi = -1;
75133 INT in_GRj = -1;
75134 INT out_GRk = -1;
75135 INT out_ICCi_1 = -1;
75136 in_GRi = FLD (in_GRi);
75137 in_GRj = FLD (in_GRj);
75138 out_GRk = FLD (out_GRk);
75139 out_ICCi_1 = FLD (out_ICCi_1);
75140 referenced |= 1 << 0;
75141 referenced |= 1 << 1;
75142 referenced |= 1 << 2;
75143 referenced |= 1 << 3;
75144 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75146 return cycles;
75147 #undef FLD
75150 static int
75151 model_fr450_smulcc (SIM_CPU *current_cpu, void *sem_arg)
75153 #define FLD(f) abuf->fields.sfmt_smulcc.f
75154 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75155 const IDESC * UNUSED idesc = abuf->idesc;
75156 int cycles = 0;
75158 int referenced = 0;
75159 int UNUSED insn_referenced = abuf->written;
75160 INT in_GRi = -1;
75161 INT in_GRj = -1;
75162 INT out_GRdoublek = -1;
75163 INT out_ICCi_1 = -1;
75164 in_GRi = FLD (in_GRi);
75165 in_GRj = FLD (in_GRj);
75166 out_GRdoublek = FLD (out_GRdoublek);
75167 out_ICCi_1 = FLD (out_ICCi_1);
75168 referenced |= 1 << 0;
75169 referenced |= 1 << 1;
75170 referenced |= 1 << 2;
75171 referenced |= 1 << 3;
75172 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
75174 return cycles;
75175 #undef FLD
75178 static int
75179 model_fr450_umulcc (SIM_CPU *current_cpu, void *sem_arg)
75181 #define FLD(f) abuf->fields.sfmt_smulcc.f
75182 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75183 const IDESC * UNUSED idesc = abuf->idesc;
75184 int cycles = 0;
75186 int referenced = 0;
75187 int UNUSED insn_referenced = abuf->written;
75188 INT in_GRi = -1;
75189 INT in_GRj = -1;
75190 INT out_GRdoublek = -1;
75191 INT out_ICCi_1 = -1;
75192 in_GRi = FLD (in_GRi);
75193 in_GRj = FLD (in_GRj);
75194 out_GRdoublek = FLD (out_GRdoublek);
75195 out_ICCi_1 = FLD (out_ICCi_1);
75196 referenced |= 1 << 0;
75197 referenced |= 1 << 1;
75198 referenced |= 1 << 2;
75199 referenced |= 1 << 3;
75200 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
75202 return cycles;
75203 #undef FLD
75206 static int
75207 model_fr450_caddcc (SIM_CPU *current_cpu, void *sem_arg)
75209 #define FLD(f) abuf->fields.sfmt_caddcc.f
75210 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75211 const IDESC * UNUSED idesc = abuf->idesc;
75212 int cycles = 0;
75214 int referenced = 0;
75215 int UNUSED insn_referenced = abuf->written;
75216 INT in_GRi = -1;
75217 INT in_GRj = -1;
75218 INT out_GRk = -1;
75219 INT out_ICCi_1 = -1;
75220 in_GRi = FLD (in_GRi);
75221 in_GRj = FLD (in_GRj);
75222 out_GRk = FLD (out_GRk);
75223 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75224 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75225 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75226 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75228 return cycles;
75229 #undef FLD
75232 static int
75233 model_fr450_csubcc (SIM_CPU *current_cpu, void *sem_arg)
75235 #define FLD(f) abuf->fields.sfmt_caddcc.f
75236 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75237 const IDESC * UNUSED idesc = abuf->idesc;
75238 int cycles = 0;
75240 int referenced = 0;
75241 int UNUSED insn_referenced = abuf->written;
75242 INT in_GRi = -1;
75243 INT in_GRj = -1;
75244 INT out_GRk = -1;
75245 INT out_ICCi_1 = -1;
75246 in_GRi = FLD (in_GRi);
75247 in_GRj = FLD (in_GRj);
75248 out_GRk = FLD (out_GRk);
75249 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75250 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75251 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75252 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75254 return cycles;
75255 #undef FLD
75258 static int
75259 model_fr450_csmulcc (SIM_CPU *current_cpu, void *sem_arg)
75261 #define FLD(f) abuf->fields.sfmt_csmulcc.f
75262 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75263 const IDESC * UNUSED idesc = abuf->idesc;
75264 int cycles = 0;
75266 int referenced = 0;
75267 int UNUSED insn_referenced = abuf->written;
75268 INT in_GRi = -1;
75269 INT in_GRj = -1;
75270 INT out_GRdoublek = -1;
75271 INT out_ICCi_1 = -1;
75272 in_GRi = FLD (in_GRi);
75273 in_GRj = FLD (in_GRj);
75274 out_GRdoublek = FLD (out_GRdoublek);
75275 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75276 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75277 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75278 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
75280 return cycles;
75281 #undef FLD
75284 static int
75285 model_fr450_candcc (SIM_CPU *current_cpu, void *sem_arg)
75287 #define FLD(f) abuf->fields.sfmt_caddcc.f
75288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75289 const IDESC * UNUSED idesc = abuf->idesc;
75290 int cycles = 0;
75292 int referenced = 0;
75293 int UNUSED insn_referenced = abuf->written;
75294 INT in_GRi = -1;
75295 INT in_GRj = -1;
75296 INT out_GRk = -1;
75297 INT out_ICCi_1 = -1;
75298 in_GRi = FLD (in_GRi);
75299 in_GRj = FLD (in_GRj);
75300 out_GRk = FLD (out_GRk);
75301 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75302 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75303 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75304 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75306 return cycles;
75307 #undef FLD
75310 static int
75311 model_fr450_corcc (SIM_CPU *current_cpu, void *sem_arg)
75313 #define FLD(f) abuf->fields.sfmt_caddcc.f
75314 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75315 const IDESC * UNUSED idesc = abuf->idesc;
75316 int cycles = 0;
75318 int referenced = 0;
75319 int UNUSED insn_referenced = abuf->written;
75320 INT in_GRi = -1;
75321 INT in_GRj = -1;
75322 INT out_GRk = -1;
75323 INT out_ICCi_1 = -1;
75324 in_GRi = FLD (in_GRi);
75325 in_GRj = FLD (in_GRj);
75326 out_GRk = FLD (out_GRk);
75327 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75328 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75329 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75330 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75332 return cycles;
75333 #undef FLD
75336 static int
75337 model_fr450_cxorcc (SIM_CPU *current_cpu, void *sem_arg)
75339 #define FLD(f) abuf->fields.sfmt_caddcc.f
75340 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75341 const IDESC * UNUSED idesc = abuf->idesc;
75342 int cycles = 0;
75344 int referenced = 0;
75345 int UNUSED insn_referenced = abuf->written;
75346 INT in_GRi = -1;
75347 INT in_GRj = -1;
75348 INT out_GRk = -1;
75349 INT out_ICCi_1 = -1;
75350 in_GRi = FLD (in_GRi);
75351 in_GRj = FLD (in_GRj);
75352 out_GRk = FLD (out_GRk);
75353 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75354 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75355 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75356 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75358 return cycles;
75359 #undef FLD
75362 static int
75363 model_fr450_csllcc (SIM_CPU *current_cpu, void *sem_arg)
75365 #define FLD(f) abuf->fields.sfmt_caddcc.f
75366 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75367 const IDESC * UNUSED idesc = abuf->idesc;
75368 int cycles = 0;
75370 int referenced = 0;
75371 int UNUSED insn_referenced = abuf->written;
75372 INT in_GRi = -1;
75373 INT in_GRj = -1;
75374 INT out_GRk = -1;
75375 INT out_ICCi_1 = -1;
75376 in_GRi = FLD (in_GRi);
75377 in_GRj = FLD (in_GRj);
75378 out_GRk = FLD (out_GRk);
75379 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75380 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75381 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75382 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75384 return cycles;
75385 #undef FLD
75388 static int
75389 model_fr450_csrlcc (SIM_CPU *current_cpu, void *sem_arg)
75391 #define FLD(f) abuf->fields.sfmt_caddcc.f
75392 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75393 const IDESC * UNUSED idesc = abuf->idesc;
75394 int cycles = 0;
75396 int referenced = 0;
75397 int UNUSED insn_referenced = abuf->written;
75398 INT in_GRi = -1;
75399 INT in_GRj = -1;
75400 INT out_GRk = -1;
75401 INT out_ICCi_1 = -1;
75402 in_GRi = FLD (in_GRi);
75403 in_GRj = FLD (in_GRj);
75404 out_GRk = FLD (out_GRk);
75405 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75406 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75407 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75408 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75410 return cycles;
75411 #undef FLD
75414 static int
75415 model_fr450_csracc (SIM_CPU *current_cpu, void *sem_arg)
75417 #define FLD(f) abuf->fields.sfmt_caddcc.f
75418 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75419 const IDESC * UNUSED idesc = abuf->idesc;
75420 int cycles = 0;
75422 int referenced = 0;
75423 int UNUSED insn_referenced = abuf->written;
75424 INT in_GRi = -1;
75425 INT in_GRj = -1;
75426 INT out_GRk = -1;
75427 INT out_ICCi_1 = -1;
75428 in_GRi = FLD (in_GRi);
75429 in_GRj = FLD (in_GRj);
75430 out_GRk = FLD (out_GRk);
75431 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
75432 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
75433 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
75434 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75436 return cycles;
75437 #undef FLD
75440 static int
75441 model_fr450_addx (SIM_CPU *current_cpu, void *sem_arg)
75443 #define FLD(f) abuf->fields.sfmt_addcc.f
75444 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75445 const IDESC * UNUSED idesc = abuf->idesc;
75446 int cycles = 0;
75448 int referenced = 0;
75449 int UNUSED insn_referenced = abuf->written;
75450 INT in_GRi = -1;
75451 INT in_GRj = -1;
75452 INT out_GRk = -1;
75453 INT out_ICCi_1 = -1;
75454 in_GRi = FLD (in_GRi);
75455 in_GRj = FLD (in_GRj);
75456 out_GRk = FLD (out_GRk);
75457 referenced |= 1 << 0;
75458 referenced |= 1 << 1;
75459 referenced |= 1 << 2;
75460 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75462 return cycles;
75463 #undef FLD
75466 static int
75467 model_fr450_subx (SIM_CPU *current_cpu, void *sem_arg)
75469 #define FLD(f) abuf->fields.sfmt_addcc.f
75470 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75471 const IDESC * UNUSED idesc = abuf->idesc;
75472 int cycles = 0;
75474 int referenced = 0;
75475 int UNUSED insn_referenced = abuf->written;
75476 INT in_GRi = -1;
75477 INT in_GRj = -1;
75478 INT out_GRk = -1;
75479 INT out_ICCi_1 = -1;
75480 in_GRi = FLD (in_GRi);
75481 in_GRj = FLD (in_GRj);
75482 out_GRk = FLD (out_GRk);
75483 referenced |= 1 << 0;
75484 referenced |= 1 << 1;
75485 referenced |= 1 << 2;
75486 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75488 return cycles;
75489 #undef FLD
75492 static int
75493 model_fr450_addxcc (SIM_CPU *current_cpu, void *sem_arg)
75495 #define FLD(f) abuf->fields.sfmt_addcc.f
75496 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75497 const IDESC * UNUSED idesc = abuf->idesc;
75498 int cycles = 0;
75500 int referenced = 0;
75501 int UNUSED insn_referenced = abuf->written;
75502 INT in_GRi = -1;
75503 INT in_GRj = -1;
75504 INT out_GRk = -1;
75505 INT out_ICCi_1 = -1;
75506 in_GRi = FLD (in_GRi);
75507 in_GRj = FLD (in_GRj);
75508 out_GRk = FLD (out_GRk);
75509 out_ICCi_1 = FLD (out_ICCi_1);
75510 referenced |= 1 << 0;
75511 referenced |= 1 << 1;
75512 referenced |= 1 << 2;
75513 referenced |= 1 << 3;
75514 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75516 return cycles;
75517 #undef FLD
75520 static int
75521 model_fr450_subxcc (SIM_CPU *current_cpu, void *sem_arg)
75523 #define FLD(f) abuf->fields.sfmt_addcc.f
75524 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75525 const IDESC * UNUSED idesc = abuf->idesc;
75526 int cycles = 0;
75528 int referenced = 0;
75529 int UNUSED insn_referenced = abuf->written;
75530 INT in_GRi = -1;
75531 INT in_GRj = -1;
75532 INT out_GRk = -1;
75533 INT out_ICCi_1 = -1;
75534 in_GRi = FLD (in_GRi);
75535 in_GRj = FLD (in_GRj);
75536 out_GRk = FLD (out_GRk);
75537 out_ICCi_1 = FLD (out_ICCi_1);
75538 referenced |= 1 << 0;
75539 referenced |= 1 << 1;
75540 referenced |= 1 << 2;
75541 referenced |= 1 << 3;
75542 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75544 return cycles;
75545 #undef FLD
75548 static int
75549 model_fr450_addss (SIM_CPU *current_cpu, void *sem_arg)
75551 #define FLD(f) abuf->fields.sfmt_addcc.f
75552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75553 const IDESC * UNUSED idesc = abuf->idesc;
75554 int cycles = 0;
75556 int referenced = 0;
75557 int UNUSED insn_referenced = abuf->written;
75558 INT in_GRi = -1;
75559 INT in_GRj = -1;
75560 INT out_GRk = -1;
75561 INT out_ICCi_1 = -1;
75562 in_GRi = FLD (in_GRi);
75563 in_GRj = FLD (in_GRj);
75564 out_GRk = FLD (out_GRk);
75565 referenced |= 1 << 0;
75566 referenced |= 1 << 1;
75567 referenced |= 1 << 2;
75568 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75570 return cycles;
75571 #undef FLD
75574 static int
75575 model_fr450_subss (SIM_CPU *current_cpu, void *sem_arg)
75577 #define FLD(f) abuf->fields.sfmt_addcc.f
75578 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75579 const IDESC * UNUSED idesc = abuf->idesc;
75580 int cycles = 0;
75582 int referenced = 0;
75583 int UNUSED insn_referenced = abuf->written;
75584 INT in_GRi = -1;
75585 INT in_GRj = -1;
75586 INT out_GRk = -1;
75587 INT out_ICCi_1 = -1;
75588 in_GRi = FLD (in_GRi);
75589 in_GRj = FLD (in_GRj);
75590 out_GRk = FLD (out_GRk);
75591 referenced |= 1 << 0;
75592 referenced |= 1 << 1;
75593 referenced |= 1 << 2;
75594 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75596 return cycles;
75597 #undef FLD
75600 static int
75601 model_fr450_addi (SIM_CPU *current_cpu, void *sem_arg)
75603 #define FLD(f) abuf->fields.sfmt_swapi.f
75604 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75605 const IDESC * UNUSED idesc = abuf->idesc;
75606 int cycles = 0;
75608 int referenced = 0;
75609 int UNUSED insn_referenced = abuf->written;
75610 INT in_GRi = -1;
75611 INT in_GRj = -1;
75612 INT out_GRk = -1;
75613 INT out_ICCi_1 = -1;
75614 in_GRi = FLD (in_GRi);
75615 out_GRk = FLD (out_GRk);
75616 referenced |= 1 << 0;
75617 referenced |= 1 << 2;
75618 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75620 return cycles;
75621 #undef FLD
75624 static int
75625 model_fr450_subi (SIM_CPU *current_cpu, void *sem_arg)
75627 #define FLD(f) abuf->fields.sfmt_swapi.f
75628 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75629 const IDESC * UNUSED idesc = abuf->idesc;
75630 int cycles = 0;
75632 int referenced = 0;
75633 int UNUSED insn_referenced = abuf->written;
75634 INT in_GRi = -1;
75635 INT in_GRj = -1;
75636 INT out_GRk = -1;
75637 INT out_ICCi_1 = -1;
75638 in_GRi = FLD (in_GRi);
75639 out_GRk = FLD (out_GRk);
75640 referenced |= 1 << 0;
75641 referenced |= 1 << 2;
75642 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75644 return cycles;
75645 #undef FLD
75648 static int
75649 model_fr450_andi (SIM_CPU *current_cpu, void *sem_arg)
75651 #define FLD(f) abuf->fields.sfmt_swapi.f
75652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75653 const IDESC * UNUSED idesc = abuf->idesc;
75654 int cycles = 0;
75656 int referenced = 0;
75657 int UNUSED insn_referenced = abuf->written;
75658 INT in_GRi = -1;
75659 INT in_GRj = -1;
75660 INT out_GRk = -1;
75661 INT out_ICCi_1 = -1;
75662 in_GRi = FLD (in_GRi);
75663 out_GRk = FLD (out_GRk);
75664 referenced |= 1 << 0;
75665 referenced |= 1 << 2;
75666 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75668 return cycles;
75669 #undef FLD
75672 static int
75673 model_fr450_ori (SIM_CPU *current_cpu, void *sem_arg)
75675 #define FLD(f) abuf->fields.sfmt_swapi.f
75676 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75677 const IDESC * UNUSED idesc = abuf->idesc;
75678 int cycles = 0;
75680 int referenced = 0;
75681 int UNUSED insn_referenced = abuf->written;
75682 INT in_GRi = -1;
75683 INT in_GRj = -1;
75684 INT out_GRk = -1;
75685 INT out_ICCi_1 = -1;
75686 in_GRi = FLD (in_GRi);
75687 out_GRk = FLD (out_GRk);
75688 referenced |= 1 << 0;
75689 referenced |= 1 << 2;
75690 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75692 return cycles;
75693 #undef FLD
75696 static int
75697 model_fr450_xori (SIM_CPU *current_cpu, void *sem_arg)
75699 #define FLD(f) abuf->fields.sfmt_swapi.f
75700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75701 const IDESC * UNUSED idesc = abuf->idesc;
75702 int cycles = 0;
75704 int referenced = 0;
75705 int UNUSED insn_referenced = abuf->written;
75706 INT in_GRi = -1;
75707 INT in_GRj = -1;
75708 INT out_GRk = -1;
75709 INT out_ICCi_1 = -1;
75710 in_GRi = FLD (in_GRi);
75711 out_GRk = FLD (out_GRk);
75712 referenced |= 1 << 0;
75713 referenced |= 1 << 2;
75714 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75716 return cycles;
75717 #undef FLD
75720 static int
75721 model_fr450_sdivi (SIM_CPU *current_cpu, void *sem_arg)
75723 #define FLD(f) abuf->fields.sfmt_swapi.f
75724 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75725 const IDESC * UNUSED idesc = abuf->idesc;
75726 int cycles = 0;
75728 int referenced = 0;
75729 int UNUSED insn_referenced = abuf->written;
75730 INT in_GRi = -1;
75731 INT in_GRj = -1;
75732 INT out_GRk = -1;
75733 INT out_ICCi_1 = -1;
75734 in_GRi = FLD (in_GRi);
75735 out_GRk = FLD (out_GRk);
75736 referenced |= 1 << 0;
75737 referenced |= 1 << 2;
75738 cycles += frvbf_model_fr450_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75740 return cycles;
75741 #undef FLD
75744 static int
75745 model_fr450_nsdivi (SIM_CPU *current_cpu, void *sem_arg)
75747 #define FLD(f) abuf->fields.sfmt_swapi.f
75748 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75749 const IDESC * UNUSED idesc = abuf->idesc;
75750 int cycles = 0;
75752 int referenced = 0;
75753 int UNUSED insn_referenced = abuf->written;
75754 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
75756 return cycles;
75757 #undef FLD
75760 static int
75761 model_fr450_udivi (SIM_CPU *current_cpu, void *sem_arg)
75763 #define FLD(f) abuf->fields.sfmt_swapi.f
75764 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75765 const IDESC * UNUSED idesc = abuf->idesc;
75766 int cycles = 0;
75768 int referenced = 0;
75769 int UNUSED insn_referenced = abuf->written;
75770 INT in_GRi = -1;
75771 INT in_GRj = -1;
75772 INT out_GRk = -1;
75773 INT out_ICCi_1 = -1;
75774 in_GRi = FLD (in_GRi);
75775 out_GRk = FLD (out_GRk);
75776 referenced |= 1 << 0;
75777 referenced |= 1 << 2;
75778 cycles += frvbf_model_fr450_u_idiv (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75780 return cycles;
75781 #undef FLD
75784 static int
75785 model_fr450_nudivi (SIM_CPU *current_cpu, void *sem_arg)
75787 #define FLD(f) abuf->fields.sfmt_swapi.f
75788 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75789 const IDESC * UNUSED idesc = abuf->idesc;
75790 int cycles = 0;
75792 int referenced = 0;
75793 int UNUSED insn_referenced = abuf->written;
75794 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
75796 return cycles;
75797 #undef FLD
75800 static int
75801 model_fr450_smuli (SIM_CPU *current_cpu, void *sem_arg)
75803 #define FLD(f) abuf->fields.sfmt_smuli.f
75804 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75805 const IDESC * UNUSED idesc = abuf->idesc;
75806 int cycles = 0;
75808 int referenced = 0;
75809 int UNUSED insn_referenced = abuf->written;
75810 INT in_GRi = -1;
75811 INT in_GRj = -1;
75812 INT out_GRdoublek = -1;
75813 INT out_ICCi_1 = -1;
75814 in_GRi = FLD (in_GRi);
75815 out_GRdoublek = FLD (out_GRdoublek);
75816 referenced |= 1 << 0;
75817 referenced |= 1 << 2;
75818 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
75820 return cycles;
75821 #undef FLD
75824 static int
75825 model_fr450_umuli (SIM_CPU *current_cpu, void *sem_arg)
75827 #define FLD(f) abuf->fields.sfmt_smuli.f
75828 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75829 const IDESC * UNUSED idesc = abuf->idesc;
75830 int cycles = 0;
75832 int referenced = 0;
75833 int UNUSED insn_referenced = abuf->written;
75834 INT in_GRi = -1;
75835 INT in_GRj = -1;
75836 INT out_GRdoublek = -1;
75837 INT out_ICCi_1 = -1;
75838 in_GRi = FLD (in_GRi);
75839 out_GRdoublek = FLD (out_GRdoublek);
75840 referenced |= 1 << 0;
75841 referenced |= 1 << 2;
75842 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
75844 return cycles;
75845 #undef FLD
75848 static int
75849 model_fr450_slli (SIM_CPU *current_cpu, void *sem_arg)
75851 #define FLD(f) abuf->fields.sfmt_swapi.f
75852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75853 const IDESC * UNUSED idesc = abuf->idesc;
75854 int cycles = 0;
75856 int referenced = 0;
75857 int UNUSED insn_referenced = abuf->written;
75858 INT in_GRi = -1;
75859 INT in_GRj = -1;
75860 INT out_GRk = -1;
75861 INT out_ICCi_1 = -1;
75862 in_GRi = FLD (in_GRi);
75863 out_GRk = FLD (out_GRk);
75864 referenced |= 1 << 0;
75865 referenced |= 1 << 2;
75866 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75868 return cycles;
75869 #undef FLD
75872 static int
75873 model_fr450_srli (SIM_CPU *current_cpu, void *sem_arg)
75875 #define FLD(f) abuf->fields.sfmt_swapi.f
75876 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75877 const IDESC * UNUSED idesc = abuf->idesc;
75878 int cycles = 0;
75880 int referenced = 0;
75881 int UNUSED insn_referenced = abuf->written;
75882 INT in_GRi = -1;
75883 INT in_GRj = -1;
75884 INT out_GRk = -1;
75885 INT out_ICCi_1 = -1;
75886 in_GRi = FLD (in_GRi);
75887 out_GRk = FLD (out_GRk);
75888 referenced |= 1 << 0;
75889 referenced |= 1 << 2;
75890 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75892 return cycles;
75893 #undef FLD
75896 static int
75897 model_fr450_srai (SIM_CPU *current_cpu, void *sem_arg)
75899 #define FLD(f) abuf->fields.sfmt_swapi.f
75900 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75901 const IDESC * UNUSED idesc = abuf->idesc;
75902 int cycles = 0;
75904 int referenced = 0;
75905 int UNUSED insn_referenced = abuf->written;
75906 INT in_GRi = -1;
75907 INT in_GRj = -1;
75908 INT out_GRk = -1;
75909 INT out_ICCi_1 = -1;
75910 in_GRi = FLD (in_GRi);
75911 out_GRk = FLD (out_GRk);
75912 referenced |= 1 << 0;
75913 referenced |= 1 << 2;
75914 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75916 return cycles;
75917 #undef FLD
75920 static int
75921 model_fr450_scani (SIM_CPU *current_cpu, void *sem_arg)
75923 #define FLD(f) abuf->fields.sfmt_swapi.f
75924 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75925 const IDESC * UNUSED idesc = abuf->idesc;
75926 int cycles = 0;
75928 int referenced = 0;
75929 int UNUSED insn_referenced = abuf->written;
75930 INT in_GRi = -1;
75931 INT in_GRj = -1;
75932 INT out_GRk = -1;
75933 INT out_ICCi_1 = -1;
75934 in_GRi = FLD (in_GRi);
75935 out_GRk = FLD (out_GRk);
75936 referenced |= 1 << 0;
75937 referenced |= 1 << 2;
75938 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75940 return cycles;
75941 #undef FLD
75944 static int
75945 model_fr450_addicc (SIM_CPU *current_cpu, void *sem_arg)
75947 #define FLD(f) abuf->fields.sfmt_addicc.f
75948 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75949 const IDESC * UNUSED idesc = abuf->idesc;
75950 int cycles = 0;
75952 int referenced = 0;
75953 int UNUSED insn_referenced = abuf->written;
75954 INT in_GRi = -1;
75955 INT in_GRj = -1;
75956 INT out_GRk = -1;
75957 INT out_ICCi_1 = -1;
75958 in_GRi = FLD (in_GRi);
75959 out_GRk = FLD (out_GRk);
75960 out_ICCi_1 = FLD (out_ICCi_1);
75961 referenced |= 1 << 0;
75962 referenced |= 1 << 2;
75963 referenced |= 1 << 3;
75964 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75966 return cycles;
75967 #undef FLD
75970 static int
75971 model_fr450_subicc (SIM_CPU *current_cpu, void *sem_arg)
75973 #define FLD(f) abuf->fields.sfmt_addicc.f
75974 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
75975 const IDESC * UNUSED idesc = abuf->idesc;
75976 int cycles = 0;
75978 int referenced = 0;
75979 int UNUSED insn_referenced = abuf->written;
75980 INT in_GRi = -1;
75981 INT in_GRj = -1;
75982 INT out_GRk = -1;
75983 INT out_ICCi_1 = -1;
75984 in_GRi = FLD (in_GRi);
75985 out_GRk = FLD (out_GRk);
75986 out_ICCi_1 = FLD (out_ICCi_1);
75987 referenced |= 1 << 0;
75988 referenced |= 1 << 2;
75989 referenced |= 1 << 3;
75990 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
75992 return cycles;
75993 #undef FLD
75996 static int
75997 model_fr450_andicc (SIM_CPU *current_cpu, void *sem_arg)
75999 #define FLD(f) abuf->fields.sfmt_addicc.f
76000 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76001 const IDESC * UNUSED idesc = abuf->idesc;
76002 int cycles = 0;
76004 int referenced = 0;
76005 int UNUSED insn_referenced = abuf->written;
76006 INT in_GRi = -1;
76007 INT in_GRj = -1;
76008 INT out_GRk = -1;
76009 INT out_ICCi_1 = -1;
76010 in_GRi = FLD (in_GRi);
76011 out_GRk = FLD (out_GRk);
76012 out_ICCi_1 = FLD (out_ICCi_1);
76013 referenced |= 1 << 0;
76014 referenced |= 1 << 2;
76015 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
76016 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76018 return cycles;
76019 #undef FLD
76022 static int
76023 model_fr450_oricc (SIM_CPU *current_cpu, void *sem_arg)
76025 #define FLD(f) abuf->fields.sfmt_addicc.f
76026 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76027 const IDESC * UNUSED idesc = abuf->idesc;
76028 int cycles = 0;
76030 int referenced = 0;
76031 int UNUSED insn_referenced = abuf->written;
76032 INT in_GRi = -1;
76033 INT in_GRj = -1;
76034 INT out_GRk = -1;
76035 INT out_ICCi_1 = -1;
76036 in_GRi = FLD (in_GRi);
76037 out_GRk = FLD (out_GRk);
76038 out_ICCi_1 = FLD (out_ICCi_1);
76039 referenced |= 1 << 0;
76040 referenced |= 1 << 2;
76041 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
76042 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76044 return cycles;
76045 #undef FLD
76048 static int
76049 model_fr450_xoricc (SIM_CPU *current_cpu, void *sem_arg)
76051 #define FLD(f) abuf->fields.sfmt_addicc.f
76052 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76053 const IDESC * UNUSED idesc = abuf->idesc;
76054 int cycles = 0;
76056 int referenced = 0;
76057 int UNUSED insn_referenced = abuf->written;
76058 INT in_GRi = -1;
76059 INT in_GRj = -1;
76060 INT out_GRk = -1;
76061 INT out_ICCi_1 = -1;
76062 in_GRi = FLD (in_GRi);
76063 out_GRk = FLD (out_GRk);
76064 out_ICCi_1 = FLD (out_ICCi_1);
76065 referenced |= 1 << 0;
76066 referenced |= 1 << 2;
76067 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
76068 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76070 return cycles;
76071 #undef FLD
76074 static int
76075 model_fr450_smulicc (SIM_CPU *current_cpu, void *sem_arg)
76077 #define FLD(f) abuf->fields.sfmt_smulicc.f
76078 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76079 const IDESC * UNUSED idesc = abuf->idesc;
76080 int cycles = 0;
76082 int referenced = 0;
76083 int UNUSED insn_referenced = abuf->written;
76084 INT in_GRi = -1;
76085 INT in_GRj = -1;
76086 INT out_GRdoublek = -1;
76087 INT out_ICCi_1 = -1;
76088 in_GRi = FLD (in_GRi);
76089 out_GRdoublek = FLD (out_GRdoublek);
76090 out_ICCi_1 = FLD (out_ICCi_1);
76091 referenced |= 1 << 0;
76092 referenced |= 1 << 2;
76093 referenced |= 1 << 3;
76094 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
76096 return cycles;
76097 #undef FLD
76100 static int
76101 model_fr450_umulicc (SIM_CPU *current_cpu, void *sem_arg)
76103 #define FLD(f) abuf->fields.sfmt_smulicc.f
76104 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76105 const IDESC * UNUSED idesc = abuf->idesc;
76106 int cycles = 0;
76108 int referenced = 0;
76109 int UNUSED insn_referenced = abuf->written;
76110 INT in_GRi = -1;
76111 INT in_GRj = -1;
76112 INT out_GRdoublek = -1;
76113 INT out_ICCi_1 = -1;
76114 in_GRi = FLD (in_GRi);
76115 out_GRdoublek = FLD (out_GRdoublek);
76116 out_ICCi_1 = FLD (out_ICCi_1);
76117 referenced |= 1 << 0;
76118 referenced |= 1 << 2;
76119 referenced |= 1 << 3;
76120 cycles += frvbf_model_fr450_u_imul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRdoublek, out_ICCi_1);
76122 return cycles;
76123 #undef FLD
76126 static int
76127 model_fr450_sllicc (SIM_CPU *current_cpu, void *sem_arg)
76129 #define FLD(f) abuf->fields.sfmt_addicc.f
76130 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76131 const IDESC * UNUSED idesc = abuf->idesc;
76132 int cycles = 0;
76134 int referenced = 0;
76135 int UNUSED insn_referenced = abuf->written;
76136 INT in_GRi = -1;
76137 INT in_GRj = -1;
76138 INT out_GRk = -1;
76139 INT out_ICCi_1 = -1;
76140 in_GRi = FLD (in_GRi);
76141 out_GRk = FLD (out_GRk);
76142 out_ICCi_1 = FLD (out_ICCi_1);
76143 referenced |= 1 << 0;
76144 referenced |= 1 << 2;
76145 referenced |= 1 << 3;
76146 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76148 return cycles;
76149 #undef FLD
76152 static int
76153 model_fr450_srlicc (SIM_CPU *current_cpu, void *sem_arg)
76155 #define FLD(f) abuf->fields.sfmt_addicc.f
76156 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76157 const IDESC * UNUSED idesc = abuf->idesc;
76158 int cycles = 0;
76160 int referenced = 0;
76161 int UNUSED insn_referenced = abuf->written;
76162 INT in_GRi = -1;
76163 INT in_GRj = -1;
76164 INT out_GRk = -1;
76165 INT out_ICCi_1 = -1;
76166 in_GRi = FLD (in_GRi);
76167 out_GRk = FLD (out_GRk);
76168 out_ICCi_1 = FLD (out_ICCi_1);
76169 referenced |= 1 << 0;
76170 referenced |= 1 << 2;
76171 referenced |= 1 << 3;
76172 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76174 return cycles;
76175 #undef FLD
76178 static int
76179 model_fr450_sraicc (SIM_CPU *current_cpu, void *sem_arg)
76181 #define FLD(f) abuf->fields.sfmt_addicc.f
76182 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76183 const IDESC * UNUSED idesc = abuf->idesc;
76184 int cycles = 0;
76186 int referenced = 0;
76187 int UNUSED insn_referenced = abuf->written;
76188 INT in_GRi = -1;
76189 INT in_GRj = -1;
76190 INT out_GRk = -1;
76191 INT out_ICCi_1 = -1;
76192 in_GRi = FLD (in_GRi);
76193 out_GRk = FLD (out_GRk);
76194 out_ICCi_1 = FLD (out_ICCi_1);
76195 referenced |= 1 << 0;
76196 referenced |= 1 << 2;
76197 referenced |= 1 << 3;
76198 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76200 return cycles;
76201 #undef FLD
76204 static int
76205 model_fr450_addxi (SIM_CPU *current_cpu, void *sem_arg)
76207 #define FLD(f) abuf->fields.sfmt_addicc.f
76208 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76209 const IDESC * UNUSED idesc = abuf->idesc;
76210 int cycles = 0;
76212 int referenced = 0;
76213 int UNUSED insn_referenced = abuf->written;
76214 INT in_GRi = -1;
76215 INT in_GRj = -1;
76216 INT out_GRk = -1;
76217 INT out_ICCi_1 = -1;
76218 in_GRi = FLD (in_GRi);
76219 out_GRk = FLD (out_GRk);
76220 referenced |= 1 << 0;
76221 referenced |= 1 << 2;
76222 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76224 return cycles;
76225 #undef FLD
76228 static int
76229 model_fr450_subxi (SIM_CPU *current_cpu, void *sem_arg)
76231 #define FLD(f) abuf->fields.sfmt_addicc.f
76232 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76233 const IDESC * UNUSED idesc = abuf->idesc;
76234 int cycles = 0;
76236 int referenced = 0;
76237 int UNUSED insn_referenced = abuf->written;
76238 INT in_GRi = -1;
76239 INT in_GRj = -1;
76240 INT out_GRk = -1;
76241 INT out_ICCi_1 = -1;
76242 in_GRi = FLD (in_GRi);
76243 out_GRk = FLD (out_GRk);
76244 referenced |= 1 << 0;
76245 referenced |= 1 << 2;
76246 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76248 return cycles;
76249 #undef FLD
76252 static int
76253 model_fr450_addxicc (SIM_CPU *current_cpu, void *sem_arg)
76255 #define FLD(f) abuf->fields.sfmt_addicc.f
76256 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76257 const IDESC * UNUSED idesc = abuf->idesc;
76258 int cycles = 0;
76260 int referenced = 0;
76261 int UNUSED insn_referenced = abuf->written;
76262 INT in_GRi = -1;
76263 INT in_GRj = -1;
76264 INT out_GRk = -1;
76265 INT out_ICCi_1 = -1;
76266 in_GRi = FLD (in_GRi);
76267 out_GRk = FLD (out_GRk);
76268 out_ICCi_1 = FLD (out_ICCi_1);
76269 referenced |= 1 << 0;
76270 referenced |= 1 << 2;
76271 referenced |= 1 << 3;
76272 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76274 return cycles;
76275 #undef FLD
76278 static int
76279 model_fr450_subxicc (SIM_CPU *current_cpu, void *sem_arg)
76281 #define FLD(f) abuf->fields.sfmt_addicc.f
76282 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76283 const IDESC * UNUSED idesc = abuf->idesc;
76284 int cycles = 0;
76286 int referenced = 0;
76287 int UNUSED insn_referenced = abuf->written;
76288 INT in_GRi = -1;
76289 INT in_GRj = -1;
76290 INT out_GRk = -1;
76291 INT out_ICCi_1 = -1;
76292 in_GRi = FLD (in_GRi);
76293 out_GRk = FLD (out_GRk);
76294 out_ICCi_1 = FLD (out_ICCi_1);
76295 referenced |= 1 << 0;
76296 referenced |= 1 << 2;
76297 referenced |= 1 << 3;
76298 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76300 return cycles;
76301 #undef FLD
76304 static int
76305 model_fr450_cmpb (SIM_CPU *current_cpu, void *sem_arg)
76307 #define FLD(f) abuf->fields.sfmt_smulcc.f
76308 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76309 const IDESC * UNUSED idesc = abuf->idesc;
76310 int cycles = 0;
76312 int referenced = 0;
76313 int UNUSED insn_referenced = abuf->written;
76314 INT in_GRi = -1;
76315 INT in_GRj = -1;
76316 INT out_GRk = -1;
76317 INT out_ICCi_1 = -1;
76318 in_GRi = FLD (in_GRi);
76319 in_GRj = FLD (in_GRj);
76320 out_ICCi_1 = FLD (out_ICCi_1);
76321 referenced |= 1 << 0;
76322 referenced |= 1 << 1;
76323 referenced |= 1 << 3;
76324 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76326 return cycles;
76327 #undef FLD
76330 static int
76331 model_fr450_cmpba (SIM_CPU *current_cpu, void *sem_arg)
76333 #define FLD(f) abuf->fields.sfmt_smulcc.f
76334 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76335 const IDESC * UNUSED idesc = abuf->idesc;
76336 int cycles = 0;
76338 int referenced = 0;
76339 int UNUSED insn_referenced = abuf->written;
76340 INT in_GRi = -1;
76341 INT in_GRj = -1;
76342 INT out_GRk = -1;
76343 INT out_ICCi_1 = -1;
76344 in_GRi = FLD (in_GRi);
76345 in_GRj = FLD (in_GRj);
76346 out_ICCi_1 = FLD (out_ICCi_1);
76347 referenced |= 1 << 0;
76348 referenced |= 1 << 1;
76349 referenced |= 1 << 3;
76350 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76352 return cycles;
76353 #undef FLD
76356 static int
76357 model_fr450_setlo (SIM_CPU *current_cpu, void *sem_arg)
76359 #define FLD(f) abuf->fields.sfmt_setlo.f
76360 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76361 const IDESC * UNUSED idesc = abuf->idesc;
76362 int cycles = 0;
76364 int referenced = 0;
76365 int UNUSED insn_referenced = abuf->written;
76366 INT out_GRkhi = -1;
76367 INT out_GRklo = -1;
76368 out_GRklo = FLD (out_GRklo);
76369 referenced |= 1 << 1;
76370 cycles += frvbf_model_fr450_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
76372 return cycles;
76373 #undef FLD
76376 static int
76377 model_fr450_sethi (SIM_CPU *current_cpu, void *sem_arg)
76379 #define FLD(f) abuf->fields.sfmt_sethi.f
76380 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76381 const IDESC * UNUSED idesc = abuf->idesc;
76382 int cycles = 0;
76384 int referenced = 0;
76385 int UNUSED insn_referenced = abuf->written;
76386 INT out_GRkhi = -1;
76387 INT out_GRklo = -1;
76388 out_GRkhi = FLD (out_GRkhi);
76389 referenced |= 1 << 0;
76390 cycles += frvbf_model_fr450_u_set_hilo (current_cpu, idesc, 0, referenced, out_GRkhi, out_GRklo);
76392 return cycles;
76393 #undef FLD
76396 static int
76397 model_fr450_setlos (SIM_CPU *current_cpu, void *sem_arg)
76399 #define FLD(f) abuf->fields.sfmt_setlos.f
76400 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76401 const IDESC * UNUSED idesc = abuf->idesc;
76402 int cycles = 0;
76404 int referenced = 0;
76405 int UNUSED insn_referenced = abuf->written;
76406 INT in_GRi = -1;
76407 INT in_GRj = -1;
76408 INT out_GRk = -1;
76409 INT out_ICCi_1 = -1;
76410 out_GRk = FLD (out_GRk);
76411 referenced |= 1 << 2;
76412 cycles += frvbf_model_fr450_u_integer (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_ICCi_1);
76414 return cycles;
76415 #undef FLD
76418 static int
76419 model_fr450_ldsb (SIM_CPU *current_cpu, void *sem_arg)
76421 #define FLD(f) abuf->fields.sfmt_addcc.f
76422 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76423 const IDESC * UNUSED idesc = abuf->idesc;
76424 int cycles = 0;
76426 int referenced = 0;
76427 int UNUSED insn_referenced = abuf->written;
76428 INT in_GRi = -1;
76429 INT in_GRj = -1;
76430 INT out_GRk = -1;
76431 INT out_GRdoublek = -1;
76432 in_GRi = FLD (in_GRi);
76433 in_GRj = FLD (in_GRj);
76434 out_GRk = FLD (out_GRk);
76435 referenced |= 1 << 0;
76436 referenced |= 1 << 1;
76437 referenced |= 1 << 2;
76438 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76440 return cycles;
76441 #undef FLD
76444 static int
76445 model_fr450_ldub (SIM_CPU *current_cpu, void *sem_arg)
76447 #define FLD(f) abuf->fields.sfmt_addcc.f
76448 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76449 const IDESC * UNUSED idesc = abuf->idesc;
76450 int cycles = 0;
76452 int referenced = 0;
76453 int UNUSED insn_referenced = abuf->written;
76454 INT in_GRi = -1;
76455 INT in_GRj = -1;
76456 INT out_GRk = -1;
76457 INT out_GRdoublek = -1;
76458 in_GRi = FLD (in_GRi);
76459 in_GRj = FLD (in_GRj);
76460 out_GRk = FLD (out_GRk);
76461 referenced |= 1 << 0;
76462 referenced |= 1 << 1;
76463 referenced |= 1 << 2;
76464 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76466 return cycles;
76467 #undef FLD
76470 static int
76471 model_fr450_ldsh (SIM_CPU *current_cpu, void *sem_arg)
76473 #define FLD(f) abuf->fields.sfmt_addcc.f
76474 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76475 const IDESC * UNUSED idesc = abuf->idesc;
76476 int cycles = 0;
76478 int referenced = 0;
76479 int UNUSED insn_referenced = abuf->written;
76480 INT in_GRi = -1;
76481 INT in_GRj = -1;
76482 INT out_GRk = -1;
76483 INT out_GRdoublek = -1;
76484 in_GRi = FLD (in_GRi);
76485 in_GRj = FLD (in_GRj);
76486 out_GRk = FLD (out_GRk);
76487 referenced |= 1 << 0;
76488 referenced |= 1 << 1;
76489 referenced |= 1 << 2;
76490 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76492 return cycles;
76493 #undef FLD
76496 static int
76497 model_fr450_lduh (SIM_CPU *current_cpu, void *sem_arg)
76499 #define FLD(f) abuf->fields.sfmt_addcc.f
76500 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76501 const IDESC * UNUSED idesc = abuf->idesc;
76502 int cycles = 0;
76504 int referenced = 0;
76505 int UNUSED insn_referenced = abuf->written;
76506 INT in_GRi = -1;
76507 INT in_GRj = -1;
76508 INT out_GRk = -1;
76509 INT out_GRdoublek = -1;
76510 in_GRi = FLD (in_GRi);
76511 in_GRj = FLD (in_GRj);
76512 out_GRk = FLD (out_GRk);
76513 referenced |= 1 << 0;
76514 referenced |= 1 << 1;
76515 referenced |= 1 << 2;
76516 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76518 return cycles;
76519 #undef FLD
76522 static int
76523 model_fr450_ld (SIM_CPU *current_cpu, void *sem_arg)
76525 #define FLD(f) abuf->fields.sfmt_addcc.f
76526 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76527 const IDESC * UNUSED idesc = abuf->idesc;
76528 int cycles = 0;
76530 int referenced = 0;
76531 int UNUSED insn_referenced = abuf->written;
76532 INT in_GRi = -1;
76533 INT in_GRj = -1;
76534 INT out_GRk = -1;
76535 INT out_GRdoublek = -1;
76536 in_GRi = FLD (in_GRi);
76537 in_GRj = FLD (in_GRj);
76538 out_GRk = FLD (out_GRk);
76539 referenced |= 1 << 0;
76540 referenced |= 1 << 1;
76541 referenced |= 1 << 2;
76542 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76544 return cycles;
76545 #undef FLD
76548 static int
76549 model_fr450_ldbf (SIM_CPU *current_cpu, void *sem_arg)
76551 #define FLD(f) abuf->fields.sfmt_cldbfu.f
76552 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76553 const IDESC * UNUSED idesc = abuf->idesc;
76554 int cycles = 0;
76556 int referenced = 0;
76557 int UNUSED insn_referenced = abuf->written;
76558 INT in_GRi = -1;
76559 INT in_GRj = -1;
76560 INT out_FRintk = -1;
76561 INT out_FRdoublek = -1;
76562 in_GRi = FLD (in_GRi);
76563 in_GRj = FLD (in_GRj);
76564 out_FRintk = FLD (out_FRintk);
76565 referenced |= 1 << 0;
76566 referenced |= 1 << 1;
76567 referenced |= 1 << 2;
76568 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
76570 return cycles;
76571 #undef FLD
76574 static int
76575 model_fr450_ldhf (SIM_CPU *current_cpu, void *sem_arg)
76577 #define FLD(f) abuf->fields.sfmt_cldbfu.f
76578 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76579 const IDESC * UNUSED idesc = abuf->idesc;
76580 int cycles = 0;
76582 int referenced = 0;
76583 int UNUSED insn_referenced = abuf->written;
76584 INT in_GRi = -1;
76585 INT in_GRj = -1;
76586 INT out_FRintk = -1;
76587 INT out_FRdoublek = -1;
76588 in_GRi = FLD (in_GRi);
76589 in_GRj = FLD (in_GRj);
76590 out_FRintk = FLD (out_FRintk);
76591 referenced |= 1 << 0;
76592 referenced |= 1 << 1;
76593 referenced |= 1 << 2;
76594 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
76596 return cycles;
76597 #undef FLD
76600 static int
76601 model_fr450_ldf (SIM_CPU *current_cpu, void *sem_arg)
76603 #define FLD(f) abuf->fields.sfmt_cldbfu.f
76604 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76605 const IDESC * UNUSED idesc = abuf->idesc;
76606 int cycles = 0;
76608 int referenced = 0;
76609 int UNUSED insn_referenced = abuf->written;
76610 INT in_GRi = -1;
76611 INT in_GRj = -1;
76612 INT out_FRintk = -1;
76613 INT out_FRdoublek = -1;
76614 in_GRi = FLD (in_GRi);
76615 in_GRj = FLD (in_GRj);
76616 out_FRintk = FLD (out_FRintk);
76617 referenced |= 1 << 0;
76618 referenced |= 1 << 1;
76619 referenced |= 1 << 2;
76620 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
76622 return cycles;
76623 #undef FLD
76626 static int
76627 model_fr450_ldc (SIM_CPU *current_cpu, void *sem_arg)
76629 #define FLD(f) abuf->fields.sfmt_ldcu.f
76630 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76631 const IDESC * UNUSED idesc = abuf->idesc;
76632 int cycles = 0;
76634 int referenced = 0;
76635 int UNUSED insn_referenced = abuf->written;
76636 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76638 return cycles;
76639 #undef FLD
76642 static int
76643 model_fr450_nldsb (SIM_CPU *current_cpu, void *sem_arg)
76645 #define FLD(f) abuf->fields.sfmt_addcc.f
76646 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76647 const IDESC * UNUSED idesc = abuf->idesc;
76648 int cycles = 0;
76650 int referenced = 0;
76651 int UNUSED insn_referenced = abuf->written;
76652 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76654 return cycles;
76655 #undef FLD
76658 static int
76659 model_fr450_nldub (SIM_CPU *current_cpu, void *sem_arg)
76661 #define FLD(f) abuf->fields.sfmt_addcc.f
76662 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76663 const IDESC * UNUSED idesc = abuf->idesc;
76664 int cycles = 0;
76666 int referenced = 0;
76667 int UNUSED insn_referenced = abuf->written;
76668 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76670 return cycles;
76671 #undef FLD
76674 static int
76675 model_fr450_nldsh (SIM_CPU *current_cpu, void *sem_arg)
76677 #define FLD(f) abuf->fields.sfmt_addcc.f
76678 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76679 const IDESC * UNUSED idesc = abuf->idesc;
76680 int cycles = 0;
76682 int referenced = 0;
76683 int UNUSED insn_referenced = abuf->written;
76684 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76686 return cycles;
76687 #undef FLD
76690 static int
76691 model_fr450_nlduh (SIM_CPU *current_cpu, void *sem_arg)
76693 #define FLD(f) abuf->fields.sfmt_addcc.f
76694 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76695 const IDESC * UNUSED idesc = abuf->idesc;
76696 int cycles = 0;
76698 int referenced = 0;
76699 int UNUSED insn_referenced = abuf->written;
76700 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76702 return cycles;
76703 #undef FLD
76706 static int
76707 model_fr450_nld (SIM_CPU *current_cpu, void *sem_arg)
76709 #define FLD(f) abuf->fields.sfmt_addcc.f
76710 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76711 const IDESC * UNUSED idesc = abuf->idesc;
76712 int cycles = 0;
76714 int referenced = 0;
76715 int UNUSED insn_referenced = abuf->written;
76716 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76718 return cycles;
76719 #undef FLD
76722 static int
76723 model_fr450_nldbf (SIM_CPU *current_cpu, void *sem_arg)
76725 #define FLD(f) abuf->fields.sfmt_cldbfu.f
76726 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76727 const IDESC * UNUSED idesc = abuf->idesc;
76728 int cycles = 0;
76730 int referenced = 0;
76731 int UNUSED insn_referenced = abuf->written;
76732 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76734 return cycles;
76735 #undef FLD
76738 static int
76739 model_fr450_nldhf (SIM_CPU *current_cpu, void *sem_arg)
76741 #define FLD(f) abuf->fields.sfmt_cldbfu.f
76742 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76743 const IDESC * UNUSED idesc = abuf->idesc;
76744 int cycles = 0;
76746 int referenced = 0;
76747 int UNUSED insn_referenced = abuf->written;
76748 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76750 return cycles;
76751 #undef FLD
76754 static int
76755 model_fr450_nldf (SIM_CPU *current_cpu, void *sem_arg)
76757 #define FLD(f) abuf->fields.sfmt_cldbfu.f
76758 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76759 const IDESC * UNUSED idesc = abuf->idesc;
76760 int cycles = 0;
76762 int referenced = 0;
76763 int UNUSED insn_referenced = abuf->written;
76764 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76766 return cycles;
76767 #undef FLD
76770 static int
76771 model_fr450_ldd (SIM_CPU *current_cpu, void *sem_arg)
76773 #define FLD(f) abuf->fields.sfmt_smulcc.f
76774 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76775 const IDESC * UNUSED idesc = abuf->idesc;
76776 int cycles = 0;
76778 int referenced = 0;
76779 int UNUSED insn_referenced = abuf->written;
76780 INT in_GRi = -1;
76781 INT in_GRj = -1;
76782 INT out_GRk = -1;
76783 INT out_GRdoublek = -1;
76784 in_GRi = FLD (in_GRi);
76785 in_GRj = FLD (in_GRj);
76786 out_GRdoublek = FLD (out_GRdoublek);
76787 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
76788 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
76789 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
76790 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76792 return cycles;
76793 #undef FLD
76796 static int
76797 model_fr450_lddf (SIM_CPU *current_cpu, void *sem_arg)
76799 #define FLD(f) abuf->fields.sfmt_clddfu.f
76800 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76801 const IDESC * UNUSED idesc = abuf->idesc;
76802 int cycles = 0;
76804 int referenced = 0;
76805 int UNUSED insn_referenced = abuf->written;
76806 INT in_GRi = -1;
76807 INT in_GRj = -1;
76808 INT out_FRintk = -1;
76809 INT out_FRdoublek = -1;
76810 in_GRi = FLD (in_GRi);
76811 in_GRj = FLD (in_GRj);
76812 out_FRdoublek = FLD (out_FRdoublek);
76813 referenced |= 1 << 0;
76814 referenced |= 1 << 1;
76815 referenced |= 1 << 3;
76816 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
76818 return cycles;
76819 #undef FLD
76822 static int
76823 model_fr450_lddc (SIM_CPU *current_cpu, void *sem_arg)
76825 #define FLD(f) abuf->fields.sfmt_lddcu.f
76826 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76827 const IDESC * UNUSED idesc = abuf->idesc;
76828 int cycles = 0;
76830 int referenced = 0;
76831 int UNUSED insn_referenced = abuf->written;
76832 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76834 return cycles;
76835 #undef FLD
76838 static int
76839 model_fr450_nldd (SIM_CPU *current_cpu, void *sem_arg)
76841 #define FLD(f) abuf->fields.sfmt_smulcc.f
76842 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76843 const IDESC * UNUSED idesc = abuf->idesc;
76844 int cycles = 0;
76846 int referenced = 0;
76847 int UNUSED insn_referenced = abuf->written;
76848 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76850 return cycles;
76851 #undef FLD
76854 static int
76855 model_fr450_nlddf (SIM_CPU *current_cpu, void *sem_arg)
76857 #define FLD(f) abuf->fields.sfmt_clddfu.f
76858 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76859 const IDESC * UNUSED idesc = abuf->idesc;
76860 int cycles = 0;
76862 int referenced = 0;
76863 int UNUSED insn_referenced = abuf->written;
76864 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76866 return cycles;
76867 #undef FLD
76870 static int
76871 model_fr450_ldq (SIM_CPU *current_cpu, void *sem_arg)
76873 #define FLD(f) abuf->fields.sfmt_smulcc.f
76874 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76875 const IDESC * UNUSED idesc = abuf->idesc;
76876 int cycles = 0;
76878 int referenced = 0;
76879 int UNUSED insn_referenced = abuf->written;
76880 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76882 return cycles;
76883 #undef FLD
76886 static int
76887 model_fr450_ldqf (SIM_CPU *current_cpu, void *sem_arg)
76889 #define FLD(f) abuf->fields.sfmt_cstdfu.f
76890 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76891 const IDESC * UNUSED idesc = abuf->idesc;
76892 int cycles = 0;
76894 int referenced = 0;
76895 int UNUSED insn_referenced = abuf->written;
76896 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76898 return cycles;
76899 #undef FLD
76902 static int
76903 model_fr450_ldqc (SIM_CPU *current_cpu, void *sem_arg)
76905 #define FLD(f) abuf->fields.sfmt_stdcu.f
76906 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76907 const IDESC * UNUSED idesc = abuf->idesc;
76908 int cycles = 0;
76910 int referenced = 0;
76911 int UNUSED insn_referenced = abuf->written;
76912 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76914 return cycles;
76915 #undef FLD
76918 static int
76919 model_fr450_nldq (SIM_CPU *current_cpu, void *sem_arg)
76921 #define FLD(f) abuf->fields.sfmt_smulcc.f
76922 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76923 const IDESC * UNUSED idesc = abuf->idesc;
76924 int cycles = 0;
76926 int referenced = 0;
76927 int UNUSED insn_referenced = abuf->written;
76928 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76930 return cycles;
76931 #undef FLD
76934 static int
76935 model_fr450_nldqf (SIM_CPU *current_cpu, void *sem_arg)
76937 #define FLD(f) abuf->fields.sfmt_cstdfu.f
76938 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76939 const IDESC * UNUSED idesc = abuf->idesc;
76940 int cycles = 0;
76942 int referenced = 0;
76943 int UNUSED insn_referenced = abuf->written;
76944 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
76946 return cycles;
76947 #undef FLD
76950 static int
76951 model_fr450_ldsbu (SIM_CPU *current_cpu, void *sem_arg)
76953 #define FLD(f) abuf->fields.sfmt_cldsbu.f
76954 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76955 const IDESC * UNUSED idesc = abuf->idesc;
76956 int cycles = 0;
76958 int referenced = 0;
76959 int UNUSED insn_referenced = abuf->written;
76960 INT in_GRi = -1;
76961 INT in_GRj = -1;
76962 INT out_GRk = -1;
76963 INT out_GRdoublek = -1;
76964 in_GRi = FLD (in_GRi);
76965 in_GRj = FLD (in_GRj);
76966 out_GRk = FLD (out_GRk);
76967 referenced |= 1 << 0;
76968 referenced |= 1 << 1;
76969 referenced |= 1 << 2;
76970 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76972 return cycles;
76973 #undef FLD
76976 static int
76977 model_fr450_ldubu (SIM_CPU *current_cpu, void *sem_arg)
76979 #define FLD(f) abuf->fields.sfmt_cldsbu.f
76980 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
76981 const IDESC * UNUSED idesc = abuf->idesc;
76982 int cycles = 0;
76984 int referenced = 0;
76985 int UNUSED insn_referenced = abuf->written;
76986 INT in_GRi = -1;
76987 INT in_GRj = -1;
76988 INT out_GRk = -1;
76989 INT out_GRdoublek = -1;
76990 in_GRi = FLD (in_GRi);
76991 in_GRj = FLD (in_GRj);
76992 out_GRk = FLD (out_GRk);
76993 referenced |= 1 << 0;
76994 referenced |= 1 << 1;
76995 referenced |= 1 << 2;
76996 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
76998 return cycles;
76999 #undef FLD
77002 static int
77003 model_fr450_ldshu (SIM_CPU *current_cpu, void *sem_arg)
77005 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77006 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77007 const IDESC * UNUSED idesc = abuf->idesc;
77008 int cycles = 0;
77010 int referenced = 0;
77011 int UNUSED insn_referenced = abuf->written;
77012 INT in_GRi = -1;
77013 INT in_GRj = -1;
77014 INT out_GRk = -1;
77015 INT out_GRdoublek = -1;
77016 in_GRi = FLD (in_GRi);
77017 in_GRj = FLD (in_GRj);
77018 out_GRk = FLD (out_GRk);
77019 referenced |= 1 << 0;
77020 referenced |= 1 << 1;
77021 referenced |= 1 << 2;
77022 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77024 return cycles;
77025 #undef FLD
77028 static int
77029 model_fr450_lduhu (SIM_CPU *current_cpu, void *sem_arg)
77031 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77033 const IDESC * UNUSED idesc = abuf->idesc;
77034 int cycles = 0;
77036 int referenced = 0;
77037 int UNUSED insn_referenced = abuf->written;
77038 INT in_GRi = -1;
77039 INT in_GRj = -1;
77040 INT out_GRk = -1;
77041 INT out_GRdoublek = -1;
77042 in_GRi = FLD (in_GRi);
77043 in_GRj = FLD (in_GRj);
77044 out_GRk = FLD (out_GRk);
77045 referenced |= 1 << 0;
77046 referenced |= 1 << 1;
77047 referenced |= 1 << 2;
77048 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77050 return cycles;
77051 #undef FLD
77054 static int
77055 model_fr450_ldu (SIM_CPU *current_cpu, void *sem_arg)
77057 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77058 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77059 const IDESC * UNUSED idesc = abuf->idesc;
77060 int cycles = 0;
77062 int referenced = 0;
77063 int UNUSED insn_referenced = abuf->written;
77064 INT in_GRi = -1;
77065 INT in_GRj = -1;
77066 INT out_GRk = -1;
77067 INT out_GRdoublek = -1;
77068 in_GRi = FLD (in_GRi);
77069 in_GRj = FLD (in_GRj);
77070 out_GRk = FLD (out_GRk);
77071 referenced |= 1 << 0;
77072 referenced |= 1 << 1;
77073 referenced |= 1 << 2;
77074 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77076 return cycles;
77077 #undef FLD
77080 static int
77081 model_fr450_nldsbu (SIM_CPU *current_cpu, void *sem_arg)
77083 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77084 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77085 const IDESC * UNUSED idesc = abuf->idesc;
77086 int cycles = 0;
77088 int referenced = 0;
77089 int UNUSED insn_referenced = abuf->written;
77090 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77092 return cycles;
77093 #undef FLD
77096 static int
77097 model_fr450_nldubu (SIM_CPU *current_cpu, void *sem_arg)
77099 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77101 const IDESC * UNUSED idesc = abuf->idesc;
77102 int cycles = 0;
77104 int referenced = 0;
77105 int UNUSED insn_referenced = abuf->written;
77106 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77108 return cycles;
77109 #undef FLD
77112 static int
77113 model_fr450_nldshu (SIM_CPU *current_cpu, void *sem_arg)
77115 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77116 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77117 const IDESC * UNUSED idesc = abuf->idesc;
77118 int cycles = 0;
77120 int referenced = 0;
77121 int UNUSED insn_referenced = abuf->written;
77122 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77124 return cycles;
77125 #undef FLD
77128 static int
77129 model_fr450_nlduhu (SIM_CPU *current_cpu, void *sem_arg)
77131 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77133 const IDESC * UNUSED idesc = abuf->idesc;
77134 int cycles = 0;
77136 int referenced = 0;
77137 int UNUSED insn_referenced = abuf->written;
77138 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77140 return cycles;
77141 #undef FLD
77144 static int
77145 model_fr450_nldu (SIM_CPU *current_cpu, void *sem_arg)
77147 #define FLD(f) abuf->fields.sfmt_cldsbu.f
77148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77149 const IDESC * UNUSED idesc = abuf->idesc;
77150 int cycles = 0;
77152 int referenced = 0;
77153 int UNUSED insn_referenced = abuf->written;
77154 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77156 return cycles;
77157 #undef FLD
77160 static int
77161 model_fr450_ldbfu (SIM_CPU *current_cpu, void *sem_arg)
77163 #define FLD(f) abuf->fields.sfmt_cldbfu.f
77164 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77165 const IDESC * UNUSED idesc = abuf->idesc;
77166 int cycles = 0;
77168 int referenced = 0;
77169 int UNUSED insn_referenced = abuf->written;
77170 INT in_GRi = -1;
77171 INT in_GRj = -1;
77172 INT out_FRintk = -1;
77173 INT out_FRdoublek = -1;
77174 in_GRi = FLD (in_GRi);
77175 in_GRj = FLD (in_GRj);
77176 out_FRintk = FLD (out_FRintk);
77177 referenced |= 1 << 0;
77178 referenced |= 1 << 1;
77179 referenced |= 1 << 2;
77180 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77182 return cycles;
77183 #undef FLD
77186 static int
77187 model_fr450_ldhfu (SIM_CPU *current_cpu, void *sem_arg)
77189 #define FLD(f) abuf->fields.sfmt_cldbfu.f
77190 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77191 const IDESC * UNUSED idesc = abuf->idesc;
77192 int cycles = 0;
77194 int referenced = 0;
77195 int UNUSED insn_referenced = abuf->written;
77196 INT in_GRi = -1;
77197 INT in_GRj = -1;
77198 INT out_FRintk = -1;
77199 INT out_FRdoublek = -1;
77200 in_GRi = FLD (in_GRi);
77201 in_GRj = FLD (in_GRj);
77202 out_FRintk = FLD (out_FRintk);
77203 referenced |= 1 << 0;
77204 referenced |= 1 << 1;
77205 referenced |= 1 << 2;
77206 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77208 return cycles;
77209 #undef FLD
77212 static int
77213 model_fr450_ldfu (SIM_CPU *current_cpu, void *sem_arg)
77215 #define FLD(f) abuf->fields.sfmt_cldbfu.f
77216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77217 const IDESC * UNUSED idesc = abuf->idesc;
77218 int cycles = 0;
77220 int referenced = 0;
77221 int UNUSED insn_referenced = abuf->written;
77222 INT in_GRi = -1;
77223 INT in_GRj = -1;
77224 INT out_FRintk = -1;
77225 INT out_FRdoublek = -1;
77226 in_GRi = FLD (in_GRi);
77227 in_GRj = FLD (in_GRj);
77228 out_FRintk = FLD (out_FRintk);
77229 referenced |= 1 << 0;
77230 referenced |= 1 << 1;
77231 referenced |= 1 << 2;
77232 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77234 return cycles;
77235 #undef FLD
77238 static int
77239 model_fr450_ldcu (SIM_CPU *current_cpu, void *sem_arg)
77241 #define FLD(f) abuf->fields.sfmt_ldcu.f
77242 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77243 const IDESC * UNUSED idesc = abuf->idesc;
77244 int cycles = 0;
77246 int referenced = 0;
77247 int UNUSED insn_referenced = abuf->written;
77248 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77250 return cycles;
77251 #undef FLD
77254 static int
77255 model_fr450_nldbfu (SIM_CPU *current_cpu, void *sem_arg)
77257 #define FLD(f) abuf->fields.sfmt_cldbfu.f
77258 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77259 const IDESC * UNUSED idesc = abuf->idesc;
77260 int cycles = 0;
77262 int referenced = 0;
77263 int UNUSED insn_referenced = abuf->written;
77264 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77266 return cycles;
77267 #undef FLD
77270 static int
77271 model_fr450_nldhfu (SIM_CPU *current_cpu, void *sem_arg)
77273 #define FLD(f) abuf->fields.sfmt_cldbfu.f
77274 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77275 const IDESC * UNUSED idesc = abuf->idesc;
77276 int cycles = 0;
77278 int referenced = 0;
77279 int UNUSED insn_referenced = abuf->written;
77280 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77282 return cycles;
77283 #undef FLD
77286 static int
77287 model_fr450_nldfu (SIM_CPU *current_cpu, void *sem_arg)
77289 #define FLD(f) abuf->fields.sfmt_cldbfu.f
77290 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77291 const IDESC * UNUSED idesc = abuf->idesc;
77292 int cycles = 0;
77294 int referenced = 0;
77295 int UNUSED insn_referenced = abuf->written;
77296 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77298 return cycles;
77299 #undef FLD
77302 static int
77303 model_fr450_lddu (SIM_CPU *current_cpu, void *sem_arg)
77305 #define FLD(f) abuf->fields.sfmt_clddu.f
77306 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77307 const IDESC * UNUSED idesc = abuf->idesc;
77308 int cycles = 0;
77310 int referenced = 0;
77311 int UNUSED insn_referenced = abuf->written;
77312 INT in_GRi = -1;
77313 INT in_GRj = -1;
77314 INT out_GRk = -1;
77315 INT out_GRdoublek = -1;
77316 in_GRi = FLD (in_GRi);
77317 in_GRj = FLD (in_GRj);
77318 out_GRdoublek = FLD (out_GRdoublek);
77319 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
77320 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
77321 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
77322 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77324 return cycles;
77325 #undef FLD
77328 static int
77329 model_fr450_nlddu (SIM_CPU *current_cpu, void *sem_arg)
77331 #define FLD(f) abuf->fields.sfmt_clddu.f
77332 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77333 const IDESC * UNUSED idesc = abuf->idesc;
77334 int cycles = 0;
77336 int referenced = 0;
77337 int UNUSED insn_referenced = abuf->written;
77338 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77340 return cycles;
77341 #undef FLD
77344 static int
77345 model_fr450_lddfu (SIM_CPU *current_cpu, void *sem_arg)
77347 #define FLD(f) abuf->fields.sfmt_clddfu.f
77348 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77349 const IDESC * UNUSED idesc = abuf->idesc;
77350 int cycles = 0;
77352 int referenced = 0;
77353 int UNUSED insn_referenced = abuf->written;
77354 INT in_GRi = -1;
77355 INT in_GRj = -1;
77356 INT out_FRintk = -1;
77357 INT out_FRdoublek = -1;
77358 in_GRi = FLD (in_GRi);
77359 in_GRj = FLD (in_GRj);
77360 out_FRdoublek = FLD (out_FRdoublek);
77361 referenced |= 1 << 0;
77362 referenced |= 1 << 1;
77363 referenced |= 1 << 3;
77364 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77366 return cycles;
77367 #undef FLD
77370 static int
77371 model_fr450_lddcu (SIM_CPU *current_cpu, void *sem_arg)
77373 #define FLD(f) abuf->fields.sfmt_lddcu.f
77374 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77375 const IDESC * UNUSED idesc = abuf->idesc;
77376 int cycles = 0;
77378 int referenced = 0;
77379 int UNUSED insn_referenced = abuf->written;
77380 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77382 return cycles;
77383 #undef FLD
77386 static int
77387 model_fr450_nlddfu (SIM_CPU *current_cpu, void *sem_arg)
77389 #define FLD(f) abuf->fields.sfmt_clddfu.f
77390 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77391 const IDESC * UNUSED idesc = abuf->idesc;
77392 int cycles = 0;
77394 int referenced = 0;
77395 int UNUSED insn_referenced = abuf->written;
77396 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77398 return cycles;
77399 #undef FLD
77402 static int
77403 model_fr450_ldqu (SIM_CPU *current_cpu, void *sem_arg)
77405 #define FLD(f) abuf->fields.sfmt_cstdu.f
77406 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77407 const IDESC * UNUSED idesc = abuf->idesc;
77408 int cycles = 0;
77410 int referenced = 0;
77411 int UNUSED insn_referenced = abuf->written;
77412 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77414 return cycles;
77415 #undef FLD
77418 static int
77419 model_fr450_nldqu (SIM_CPU *current_cpu, void *sem_arg)
77421 #define FLD(f) abuf->fields.sfmt_cstdu.f
77422 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77423 const IDESC * UNUSED idesc = abuf->idesc;
77424 int cycles = 0;
77426 int referenced = 0;
77427 int UNUSED insn_referenced = abuf->written;
77428 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77430 return cycles;
77431 #undef FLD
77434 static int
77435 model_fr450_ldqfu (SIM_CPU *current_cpu, void *sem_arg)
77437 #define FLD(f) abuf->fields.sfmt_cstdfu.f
77438 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77439 const IDESC * UNUSED idesc = abuf->idesc;
77440 int cycles = 0;
77442 int referenced = 0;
77443 int UNUSED insn_referenced = abuf->written;
77444 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77446 return cycles;
77447 #undef FLD
77450 static int
77451 model_fr450_ldqcu (SIM_CPU *current_cpu, void *sem_arg)
77453 #define FLD(f) abuf->fields.sfmt_stdcu.f
77454 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77455 const IDESC * UNUSED idesc = abuf->idesc;
77456 int cycles = 0;
77458 int referenced = 0;
77459 int UNUSED insn_referenced = abuf->written;
77460 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77462 return cycles;
77463 #undef FLD
77466 static int
77467 model_fr450_nldqfu (SIM_CPU *current_cpu, void *sem_arg)
77469 #define FLD(f) abuf->fields.sfmt_cstdfu.f
77470 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77471 const IDESC * UNUSED idesc = abuf->idesc;
77472 int cycles = 0;
77474 int referenced = 0;
77475 int UNUSED insn_referenced = abuf->written;
77476 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77478 return cycles;
77479 #undef FLD
77482 static int
77483 model_fr450_ldsbi (SIM_CPU *current_cpu, void *sem_arg)
77485 #define FLD(f) abuf->fields.sfmt_swapi.f
77486 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77487 const IDESC * UNUSED idesc = abuf->idesc;
77488 int cycles = 0;
77490 int referenced = 0;
77491 int UNUSED insn_referenced = abuf->written;
77492 INT in_GRi = -1;
77493 INT in_GRj = -1;
77494 INT out_GRk = -1;
77495 INT out_GRdoublek = -1;
77496 in_GRi = FLD (in_GRi);
77497 out_GRk = FLD (out_GRk);
77498 referenced |= 1 << 0;
77499 referenced |= 1 << 2;
77500 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77502 return cycles;
77503 #undef FLD
77506 static int
77507 model_fr450_ldshi (SIM_CPU *current_cpu, void *sem_arg)
77509 #define FLD(f) abuf->fields.sfmt_swapi.f
77510 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77511 const IDESC * UNUSED idesc = abuf->idesc;
77512 int cycles = 0;
77514 int referenced = 0;
77515 int UNUSED insn_referenced = abuf->written;
77516 INT in_GRi = -1;
77517 INT in_GRj = -1;
77518 INT out_GRk = -1;
77519 INT out_GRdoublek = -1;
77520 in_GRi = FLD (in_GRi);
77521 out_GRk = FLD (out_GRk);
77522 referenced |= 1 << 0;
77523 referenced |= 1 << 2;
77524 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77526 return cycles;
77527 #undef FLD
77530 static int
77531 model_fr450_ldi (SIM_CPU *current_cpu, void *sem_arg)
77533 #define FLD(f) abuf->fields.sfmt_swapi.f
77534 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77535 const IDESC * UNUSED idesc = abuf->idesc;
77536 int cycles = 0;
77538 int referenced = 0;
77539 int UNUSED insn_referenced = abuf->written;
77540 INT in_GRi = -1;
77541 INT in_GRj = -1;
77542 INT out_GRk = -1;
77543 INT out_GRdoublek = -1;
77544 in_GRi = FLD (in_GRi);
77545 out_GRk = FLD (out_GRk);
77546 referenced |= 1 << 0;
77547 referenced |= 1 << 2;
77548 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77550 return cycles;
77551 #undef FLD
77554 static int
77555 model_fr450_ldubi (SIM_CPU *current_cpu, void *sem_arg)
77557 #define FLD(f) abuf->fields.sfmt_swapi.f
77558 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77559 const IDESC * UNUSED idesc = abuf->idesc;
77560 int cycles = 0;
77562 int referenced = 0;
77563 int UNUSED insn_referenced = abuf->written;
77564 INT in_GRi = -1;
77565 INT in_GRj = -1;
77566 INT out_GRk = -1;
77567 INT out_GRdoublek = -1;
77568 in_GRi = FLD (in_GRi);
77569 out_GRk = FLD (out_GRk);
77570 referenced |= 1 << 0;
77571 referenced |= 1 << 2;
77572 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77574 return cycles;
77575 #undef FLD
77578 static int
77579 model_fr450_lduhi (SIM_CPU *current_cpu, void *sem_arg)
77581 #define FLD(f) abuf->fields.sfmt_swapi.f
77582 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77583 const IDESC * UNUSED idesc = abuf->idesc;
77584 int cycles = 0;
77586 int referenced = 0;
77587 int UNUSED insn_referenced = abuf->written;
77588 INT in_GRi = -1;
77589 INT in_GRj = -1;
77590 INT out_GRk = -1;
77591 INT out_GRdoublek = -1;
77592 in_GRi = FLD (in_GRi);
77593 out_GRk = FLD (out_GRk);
77594 referenced |= 1 << 0;
77595 referenced |= 1 << 2;
77596 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77598 return cycles;
77599 #undef FLD
77602 static int
77603 model_fr450_ldbfi (SIM_CPU *current_cpu, void *sem_arg)
77605 #define FLD(f) abuf->fields.sfmt_ldbfi.f
77606 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77607 const IDESC * UNUSED idesc = abuf->idesc;
77608 int cycles = 0;
77610 int referenced = 0;
77611 int UNUSED insn_referenced = abuf->written;
77612 INT in_GRi = -1;
77613 INT in_GRj = -1;
77614 INT out_FRintk = -1;
77615 INT out_FRdoublek = -1;
77616 in_GRi = FLD (in_GRi);
77617 out_FRintk = FLD (out_FRintk);
77618 referenced |= 1 << 0;
77619 referenced |= 1 << 2;
77620 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77622 return cycles;
77623 #undef FLD
77626 static int
77627 model_fr450_ldhfi (SIM_CPU *current_cpu, void *sem_arg)
77629 #define FLD(f) abuf->fields.sfmt_ldbfi.f
77630 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77631 const IDESC * UNUSED idesc = abuf->idesc;
77632 int cycles = 0;
77634 int referenced = 0;
77635 int UNUSED insn_referenced = abuf->written;
77636 INT in_GRi = -1;
77637 INT in_GRj = -1;
77638 INT out_FRintk = -1;
77639 INT out_FRdoublek = -1;
77640 in_GRi = FLD (in_GRi);
77641 out_FRintk = FLD (out_FRintk);
77642 referenced |= 1 << 0;
77643 referenced |= 1 << 2;
77644 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77646 return cycles;
77647 #undef FLD
77650 static int
77651 model_fr450_ldfi (SIM_CPU *current_cpu, void *sem_arg)
77653 #define FLD(f) abuf->fields.sfmt_ldbfi.f
77654 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77655 const IDESC * UNUSED idesc = abuf->idesc;
77656 int cycles = 0;
77658 int referenced = 0;
77659 int UNUSED insn_referenced = abuf->written;
77660 INT in_GRi = -1;
77661 INT in_GRj = -1;
77662 INT out_FRintk = -1;
77663 INT out_FRdoublek = -1;
77664 in_GRi = FLD (in_GRi);
77665 out_FRintk = FLD (out_FRintk);
77666 referenced |= 1 << 0;
77667 referenced |= 1 << 2;
77668 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77670 return cycles;
77671 #undef FLD
77674 static int
77675 model_fr450_nldsbi (SIM_CPU *current_cpu, void *sem_arg)
77677 #define FLD(f) abuf->fields.sfmt_swapi.f
77678 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77679 const IDESC * UNUSED idesc = abuf->idesc;
77680 int cycles = 0;
77682 int referenced = 0;
77683 int UNUSED insn_referenced = abuf->written;
77684 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77686 return cycles;
77687 #undef FLD
77690 static int
77691 model_fr450_nldubi (SIM_CPU *current_cpu, void *sem_arg)
77693 #define FLD(f) abuf->fields.sfmt_swapi.f
77694 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77695 const IDESC * UNUSED idesc = abuf->idesc;
77696 int cycles = 0;
77698 int referenced = 0;
77699 int UNUSED insn_referenced = abuf->written;
77700 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77702 return cycles;
77703 #undef FLD
77706 static int
77707 model_fr450_nldshi (SIM_CPU *current_cpu, void *sem_arg)
77709 #define FLD(f) abuf->fields.sfmt_swapi.f
77710 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77711 const IDESC * UNUSED idesc = abuf->idesc;
77712 int cycles = 0;
77714 int referenced = 0;
77715 int UNUSED insn_referenced = abuf->written;
77716 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77718 return cycles;
77719 #undef FLD
77722 static int
77723 model_fr450_nlduhi (SIM_CPU *current_cpu, void *sem_arg)
77725 #define FLD(f) abuf->fields.sfmt_swapi.f
77726 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77727 const IDESC * UNUSED idesc = abuf->idesc;
77728 int cycles = 0;
77730 int referenced = 0;
77731 int UNUSED insn_referenced = abuf->written;
77732 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77734 return cycles;
77735 #undef FLD
77738 static int
77739 model_fr450_nldi (SIM_CPU *current_cpu, void *sem_arg)
77741 #define FLD(f) abuf->fields.sfmt_swapi.f
77742 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77743 const IDESC * UNUSED idesc = abuf->idesc;
77744 int cycles = 0;
77746 int referenced = 0;
77747 int UNUSED insn_referenced = abuf->written;
77748 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77750 return cycles;
77751 #undef FLD
77754 static int
77755 model_fr450_nldbfi (SIM_CPU *current_cpu, void *sem_arg)
77757 #define FLD(f) abuf->fields.sfmt_ldbfi.f
77758 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77759 const IDESC * UNUSED idesc = abuf->idesc;
77760 int cycles = 0;
77762 int referenced = 0;
77763 int UNUSED insn_referenced = abuf->written;
77764 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77766 return cycles;
77767 #undef FLD
77770 static int
77771 model_fr450_nldhfi (SIM_CPU *current_cpu, void *sem_arg)
77773 #define FLD(f) abuf->fields.sfmt_ldbfi.f
77774 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77775 const IDESC * UNUSED idesc = abuf->idesc;
77776 int cycles = 0;
77778 int referenced = 0;
77779 int UNUSED insn_referenced = abuf->written;
77780 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77782 return cycles;
77783 #undef FLD
77786 static int
77787 model_fr450_nldfi (SIM_CPU *current_cpu, void *sem_arg)
77789 #define FLD(f) abuf->fields.sfmt_ldbfi.f
77790 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77791 const IDESC * UNUSED idesc = abuf->idesc;
77792 int cycles = 0;
77794 int referenced = 0;
77795 int UNUSED insn_referenced = abuf->written;
77796 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77798 return cycles;
77799 #undef FLD
77802 static int
77803 model_fr450_lddi (SIM_CPU *current_cpu, void *sem_arg)
77805 #define FLD(f) abuf->fields.sfmt_smuli.f
77806 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77807 const IDESC * UNUSED idesc = abuf->idesc;
77808 int cycles = 0;
77810 int referenced = 0;
77811 int UNUSED insn_referenced = abuf->written;
77812 INT in_GRi = -1;
77813 INT in_GRj = -1;
77814 INT out_GRk = -1;
77815 INT out_GRdoublek = -1;
77816 in_GRi = FLD (in_GRi);
77817 out_GRdoublek = FLD (out_GRdoublek);
77818 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
77819 if (insn_referenced & (1 << 4)) referenced |= 1 << 3;
77820 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
77822 return cycles;
77823 #undef FLD
77826 static int
77827 model_fr450_lddfi (SIM_CPU *current_cpu, void *sem_arg)
77829 #define FLD(f) abuf->fields.sfmt_lddfi.f
77830 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77831 const IDESC * UNUSED idesc = abuf->idesc;
77832 int cycles = 0;
77834 int referenced = 0;
77835 int UNUSED insn_referenced = abuf->written;
77836 INT in_GRi = -1;
77837 INT in_GRj = -1;
77838 INT out_FRintk = -1;
77839 INT out_FRdoublek = -1;
77840 in_GRi = FLD (in_GRi);
77841 out_FRdoublek = FLD (out_FRdoublek);
77842 referenced |= 1 << 0;
77843 referenced |= 1 << 3;
77844 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
77846 return cycles;
77847 #undef FLD
77850 static int
77851 model_fr450_nlddi (SIM_CPU *current_cpu, void *sem_arg)
77853 #define FLD(f) abuf->fields.sfmt_smuli.f
77854 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77855 const IDESC * UNUSED idesc = abuf->idesc;
77856 int cycles = 0;
77858 int referenced = 0;
77859 int UNUSED insn_referenced = abuf->written;
77860 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77862 return cycles;
77863 #undef FLD
77866 static int
77867 model_fr450_nlddfi (SIM_CPU *current_cpu, void *sem_arg)
77869 #define FLD(f) abuf->fields.sfmt_lddfi.f
77870 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77871 const IDESC * UNUSED idesc = abuf->idesc;
77872 int cycles = 0;
77874 int referenced = 0;
77875 int UNUSED insn_referenced = abuf->written;
77876 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77878 return cycles;
77879 #undef FLD
77882 static int
77883 model_fr450_ldqi (SIM_CPU *current_cpu, void *sem_arg)
77885 #define FLD(f) abuf->fields.sfmt_stdi.f
77886 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77887 const IDESC * UNUSED idesc = abuf->idesc;
77888 int cycles = 0;
77890 int referenced = 0;
77891 int UNUSED insn_referenced = abuf->written;
77892 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77894 return cycles;
77895 #undef FLD
77898 static int
77899 model_fr450_ldqfi (SIM_CPU *current_cpu, void *sem_arg)
77901 #define FLD(f) abuf->fields.sfmt_stdfi.f
77902 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77903 const IDESC * UNUSED idesc = abuf->idesc;
77904 int cycles = 0;
77906 int referenced = 0;
77907 int UNUSED insn_referenced = abuf->written;
77908 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77910 return cycles;
77911 #undef FLD
77914 static int
77915 model_fr450_nldqfi (SIM_CPU *current_cpu, void *sem_arg)
77917 #define FLD(f) abuf->fields.sfmt_stdfi.f
77918 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77919 const IDESC * UNUSED idesc = abuf->idesc;
77920 int cycles = 0;
77922 int referenced = 0;
77923 int UNUSED insn_referenced = abuf->written;
77924 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
77926 return cycles;
77927 #undef FLD
77930 static int
77931 model_fr450_stb (SIM_CPU *current_cpu, void *sem_arg)
77933 #define FLD(f) abuf->fields.sfmt_cswap.f
77934 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77935 const IDESC * UNUSED idesc = abuf->idesc;
77936 int cycles = 0;
77938 int referenced = 0;
77939 int UNUSED insn_referenced = abuf->written;
77940 INT in_GRi = -1;
77941 INT in_GRj = -1;
77942 INT in_GRk = -1;
77943 INT in_GRdoublek = -1;
77944 in_GRi = FLD (in_GRi);
77945 in_GRj = FLD (in_GRj);
77946 in_GRk = FLD (in_GRk);
77947 referenced |= 1 << 0;
77948 referenced |= 1 << 1;
77949 referenced |= 1 << 2;
77950 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
77952 return cycles;
77953 #undef FLD
77956 static int
77957 model_fr450_sth (SIM_CPU *current_cpu, void *sem_arg)
77959 #define FLD(f) abuf->fields.sfmt_cswap.f
77960 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77961 const IDESC * UNUSED idesc = abuf->idesc;
77962 int cycles = 0;
77964 int referenced = 0;
77965 int UNUSED insn_referenced = abuf->written;
77966 INT in_GRi = -1;
77967 INT in_GRj = -1;
77968 INT in_GRk = -1;
77969 INT in_GRdoublek = -1;
77970 in_GRi = FLD (in_GRi);
77971 in_GRj = FLD (in_GRj);
77972 in_GRk = FLD (in_GRk);
77973 referenced |= 1 << 0;
77974 referenced |= 1 << 1;
77975 referenced |= 1 << 2;
77976 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
77978 return cycles;
77979 #undef FLD
77982 static int
77983 model_fr450_st (SIM_CPU *current_cpu, void *sem_arg)
77985 #define FLD(f) abuf->fields.sfmt_cswap.f
77986 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
77987 const IDESC * UNUSED idesc = abuf->idesc;
77988 int cycles = 0;
77990 int referenced = 0;
77991 int UNUSED insn_referenced = abuf->written;
77992 INT in_GRi = -1;
77993 INT in_GRj = -1;
77994 INT in_GRk = -1;
77995 INT in_GRdoublek = -1;
77996 in_GRi = FLD (in_GRi);
77997 in_GRj = FLD (in_GRj);
77998 in_GRk = FLD (in_GRk);
77999 referenced |= 1 << 0;
78000 referenced |= 1 << 1;
78001 referenced |= 1 << 2;
78002 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
78004 return cycles;
78005 #undef FLD
78008 static int
78009 model_fr450_stbf (SIM_CPU *current_cpu, void *sem_arg)
78011 #define FLD(f) abuf->fields.sfmt_cstbfu.f
78012 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78013 const IDESC * UNUSED idesc = abuf->idesc;
78014 int cycles = 0;
78016 int referenced = 0;
78017 int UNUSED insn_referenced = abuf->written;
78018 INT in_GRi = -1;
78019 INT in_GRj = -1;
78020 INT in_FRintk = -1;
78021 INT in_FRdoublek = -1;
78022 in_GRi = FLD (in_GRi);
78023 in_GRj = FLD (in_GRj);
78024 in_FRintk = FLD (in_FRintk);
78025 referenced |= 1 << 0;
78026 referenced |= 1 << 1;
78027 referenced |= 1 << 2;
78028 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78030 return cycles;
78031 #undef FLD
78034 static int
78035 model_fr450_sthf (SIM_CPU *current_cpu, void *sem_arg)
78037 #define FLD(f) abuf->fields.sfmt_cstbfu.f
78038 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78039 const IDESC * UNUSED idesc = abuf->idesc;
78040 int cycles = 0;
78042 int referenced = 0;
78043 int UNUSED insn_referenced = abuf->written;
78044 INT in_GRi = -1;
78045 INT in_GRj = -1;
78046 INT in_FRintk = -1;
78047 INT in_FRdoublek = -1;
78048 in_GRi = FLD (in_GRi);
78049 in_GRj = FLD (in_GRj);
78050 in_FRintk = FLD (in_FRintk);
78051 referenced |= 1 << 0;
78052 referenced |= 1 << 1;
78053 referenced |= 1 << 2;
78054 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78056 return cycles;
78057 #undef FLD
78060 static int
78061 model_fr450_stf (SIM_CPU *current_cpu, void *sem_arg)
78063 #define FLD(f) abuf->fields.sfmt_cstbfu.f
78064 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78065 const IDESC * UNUSED idesc = abuf->idesc;
78066 int cycles = 0;
78068 int referenced = 0;
78069 int UNUSED insn_referenced = abuf->written;
78070 INT in_GRi = -1;
78071 INT in_GRj = -1;
78072 INT in_FRintk = -1;
78073 INT in_FRdoublek = -1;
78074 in_GRi = FLD (in_GRi);
78075 in_GRj = FLD (in_GRj);
78076 in_FRintk = FLD (in_FRintk);
78077 referenced |= 1 << 0;
78078 referenced |= 1 << 1;
78079 referenced |= 1 << 2;
78080 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78082 return cycles;
78083 #undef FLD
78086 static int
78087 model_fr450_stc (SIM_CPU *current_cpu, void *sem_arg)
78089 #define FLD(f) abuf->fields.sfmt_stcu.f
78090 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78091 const IDESC * UNUSED idesc = abuf->idesc;
78092 int cycles = 0;
78094 int referenced = 0;
78095 int UNUSED insn_referenced = abuf->written;
78096 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78098 return cycles;
78099 #undef FLD
78102 static int
78103 model_fr450_std (SIM_CPU *current_cpu, void *sem_arg)
78105 #define FLD(f) abuf->fields.sfmt_cstdu.f
78106 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78107 const IDESC * UNUSED idesc = abuf->idesc;
78108 int cycles = 0;
78110 int referenced = 0;
78111 int UNUSED insn_referenced = abuf->written;
78112 INT in_GRi = -1;
78113 INT in_GRj = -1;
78114 INT in_GRk = -1;
78115 INT in_GRdoublek = -1;
78116 in_GRi = FLD (in_GRi);
78117 in_GRj = FLD (in_GRj);
78118 in_GRdoublek = FLD (in_GRdoublek);
78119 referenced |= 1 << 0;
78120 referenced |= 1 << 1;
78121 referenced |= 1 << 3;
78122 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
78124 return cycles;
78125 #undef FLD
78128 static int
78129 model_fr450_stdf (SIM_CPU *current_cpu, void *sem_arg)
78131 #define FLD(f) abuf->fields.sfmt_cstdfu.f
78132 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78133 const IDESC * UNUSED idesc = abuf->idesc;
78134 int cycles = 0;
78136 int referenced = 0;
78137 int UNUSED insn_referenced = abuf->written;
78138 INT in_GRi = -1;
78139 INT in_GRj = -1;
78140 INT in_FRintk = -1;
78141 INT in_FRdoublek = -1;
78142 in_GRi = FLD (in_GRi);
78143 in_GRj = FLD (in_GRj);
78144 in_FRdoublek = FLD (in_FRdoublek);
78145 referenced |= 1 << 0;
78146 referenced |= 1 << 1;
78147 referenced |= 1 << 3;
78148 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78150 return cycles;
78151 #undef FLD
78154 static int
78155 model_fr450_stdc (SIM_CPU *current_cpu, void *sem_arg)
78157 #define FLD(f) abuf->fields.sfmt_stdcu.f
78158 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78159 const IDESC * UNUSED idesc = abuf->idesc;
78160 int cycles = 0;
78162 int referenced = 0;
78163 int UNUSED insn_referenced = abuf->written;
78164 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78166 return cycles;
78167 #undef FLD
78170 static int
78171 model_fr450_stq (SIM_CPU *current_cpu, void *sem_arg)
78173 #define FLD(f) abuf->fields.sfmt_smulcc.f
78174 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78175 const IDESC * UNUSED idesc = abuf->idesc;
78176 int cycles = 0;
78178 int referenced = 0;
78179 int UNUSED insn_referenced = abuf->written;
78180 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78182 return cycles;
78183 #undef FLD
78186 static int
78187 model_fr450_stqf (SIM_CPU *current_cpu, void *sem_arg)
78189 #define FLD(f) abuf->fields.sfmt_cstdfu.f
78190 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78191 const IDESC * UNUSED idesc = abuf->idesc;
78192 int cycles = 0;
78194 int referenced = 0;
78195 int UNUSED insn_referenced = abuf->written;
78196 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78198 return cycles;
78199 #undef FLD
78202 static int
78203 model_fr450_stqc (SIM_CPU *current_cpu, void *sem_arg)
78205 #define FLD(f) abuf->fields.sfmt_stdcu.f
78206 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78207 const IDESC * UNUSED idesc = abuf->idesc;
78208 int cycles = 0;
78210 int referenced = 0;
78211 int UNUSED insn_referenced = abuf->written;
78212 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78214 return cycles;
78215 #undef FLD
78218 static int
78219 model_fr450_stbu (SIM_CPU *current_cpu, void *sem_arg)
78221 #define FLD(f) abuf->fields.sfmt_cstbu.f
78222 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78223 const IDESC * UNUSED idesc = abuf->idesc;
78224 int cycles = 0;
78226 int referenced = 0;
78227 int UNUSED insn_referenced = abuf->written;
78228 INT in_GRi = -1;
78229 INT in_GRj = -1;
78230 INT in_GRk = -1;
78231 INT in_GRdoublek = -1;
78232 in_GRi = FLD (in_GRi);
78233 in_GRj = FLD (in_GRj);
78234 in_GRk = FLD (in_GRk);
78235 referenced |= 1 << 0;
78236 referenced |= 1 << 1;
78237 referenced |= 1 << 2;
78238 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
78240 return cycles;
78241 #undef FLD
78244 static int
78245 model_fr450_sthu (SIM_CPU *current_cpu, void *sem_arg)
78247 #define FLD(f) abuf->fields.sfmt_cstbu.f
78248 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78249 const IDESC * UNUSED idesc = abuf->idesc;
78250 int cycles = 0;
78252 int referenced = 0;
78253 int UNUSED insn_referenced = abuf->written;
78254 INT in_GRi = -1;
78255 INT in_GRj = -1;
78256 INT in_GRk = -1;
78257 INT in_GRdoublek = -1;
78258 in_GRi = FLD (in_GRi);
78259 in_GRj = FLD (in_GRj);
78260 in_GRk = FLD (in_GRk);
78261 referenced |= 1 << 0;
78262 referenced |= 1 << 1;
78263 referenced |= 1 << 2;
78264 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
78266 return cycles;
78267 #undef FLD
78270 static int
78271 model_fr450_stu (SIM_CPU *current_cpu, void *sem_arg)
78273 #define FLD(f) abuf->fields.sfmt_cstbu.f
78274 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78275 const IDESC * UNUSED idesc = abuf->idesc;
78276 int cycles = 0;
78278 int referenced = 0;
78279 int UNUSED insn_referenced = abuf->written;
78280 INT in_GRi = -1;
78281 INT in_GRj = -1;
78282 INT in_GRk = -1;
78283 INT in_GRdoublek = -1;
78284 in_GRi = FLD (in_GRi);
78285 in_GRj = FLD (in_GRj);
78286 in_GRk = FLD (in_GRk);
78287 referenced |= 1 << 0;
78288 referenced |= 1 << 1;
78289 referenced |= 1 << 2;
78290 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
78292 return cycles;
78293 #undef FLD
78296 static int
78297 model_fr450_stbfu (SIM_CPU *current_cpu, void *sem_arg)
78299 #define FLD(f) abuf->fields.sfmt_cstbfu.f
78300 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78301 const IDESC * UNUSED idesc = abuf->idesc;
78302 int cycles = 0;
78304 int referenced = 0;
78305 int UNUSED insn_referenced = abuf->written;
78306 INT in_GRi = -1;
78307 INT in_GRj = -1;
78308 INT in_FRintk = -1;
78309 INT in_FRdoublek = -1;
78310 in_GRi = FLD (in_GRi);
78311 in_GRj = FLD (in_GRj);
78312 in_FRintk = FLD (in_FRintk);
78313 referenced |= 1 << 0;
78314 referenced |= 1 << 1;
78315 referenced |= 1 << 2;
78316 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78318 return cycles;
78319 #undef FLD
78322 static int
78323 model_fr450_sthfu (SIM_CPU *current_cpu, void *sem_arg)
78325 #define FLD(f) abuf->fields.sfmt_cstbfu.f
78326 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78327 const IDESC * UNUSED idesc = abuf->idesc;
78328 int cycles = 0;
78330 int referenced = 0;
78331 int UNUSED insn_referenced = abuf->written;
78332 INT in_GRi = -1;
78333 INT in_GRj = -1;
78334 INT in_FRintk = -1;
78335 INT in_FRdoublek = -1;
78336 in_GRi = FLD (in_GRi);
78337 in_GRj = FLD (in_GRj);
78338 in_FRintk = FLD (in_FRintk);
78339 referenced |= 1 << 0;
78340 referenced |= 1 << 1;
78341 referenced |= 1 << 2;
78342 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78344 return cycles;
78345 #undef FLD
78348 static int
78349 model_fr450_stfu (SIM_CPU *current_cpu, void *sem_arg)
78351 #define FLD(f) abuf->fields.sfmt_cstbfu.f
78352 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78353 const IDESC * UNUSED idesc = abuf->idesc;
78354 int cycles = 0;
78356 int referenced = 0;
78357 int UNUSED insn_referenced = abuf->written;
78358 INT in_GRi = -1;
78359 INT in_GRj = -1;
78360 INT in_FRintk = -1;
78361 INT in_FRdoublek = -1;
78362 in_GRi = FLD (in_GRi);
78363 in_GRj = FLD (in_GRj);
78364 in_FRintk = FLD (in_FRintk);
78365 referenced |= 1 << 0;
78366 referenced |= 1 << 1;
78367 referenced |= 1 << 2;
78368 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78370 return cycles;
78371 #undef FLD
78374 static int
78375 model_fr450_stcu (SIM_CPU *current_cpu, void *sem_arg)
78377 #define FLD(f) abuf->fields.sfmt_stcu.f
78378 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78379 const IDESC * UNUSED idesc = abuf->idesc;
78380 int cycles = 0;
78382 int referenced = 0;
78383 int UNUSED insn_referenced = abuf->written;
78384 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78386 return cycles;
78387 #undef FLD
78390 static int
78391 model_fr450_stdu (SIM_CPU *current_cpu, void *sem_arg)
78393 #define FLD(f) abuf->fields.sfmt_cstdu.f
78394 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78395 const IDESC * UNUSED idesc = abuf->idesc;
78396 int cycles = 0;
78398 int referenced = 0;
78399 int UNUSED insn_referenced = abuf->written;
78400 INT in_GRi = -1;
78401 INT in_GRj = -1;
78402 INT in_GRk = -1;
78403 INT in_GRdoublek = -1;
78404 in_GRi = FLD (in_GRi);
78405 in_GRj = FLD (in_GRj);
78406 in_GRdoublek = FLD (in_GRdoublek);
78407 referenced |= 1 << 0;
78408 referenced |= 1 << 1;
78409 referenced |= 1 << 3;
78410 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
78412 return cycles;
78413 #undef FLD
78416 static int
78417 model_fr450_stdfu (SIM_CPU *current_cpu, void *sem_arg)
78419 #define FLD(f) abuf->fields.sfmt_cstdfu.f
78420 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78421 const IDESC * UNUSED idesc = abuf->idesc;
78422 int cycles = 0;
78424 int referenced = 0;
78425 int UNUSED insn_referenced = abuf->written;
78426 INT in_GRi = -1;
78427 INT in_GRj = -1;
78428 INT in_FRintk = -1;
78429 INT in_FRdoublek = -1;
78430 in_GRi = FLD (in_GRi);
78431 in_GRj = FLD (in_GRj);
78432 in_FRdoublek = FLD (in_FRdoublek);
78433 referenced |= 1 << 0;
78434 referenced |= 1 << 1;
78435 referenced |= 1 << 3;
78436 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
78438 return cycles;
78439 #undef FLD
78442 static int
78443 model_fr450_stdcu (SIM_CPU *current_cpu, void *sem_arg)
78445 #define FLD(f) abuf->fields.sfmt_stdcu.f
78446 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78447 const IDESC * UNUSED idesc = abuf->idesc;
78448 int cycles = 0;
78450 int referenced = 0;
78451 int UNUSED insn_referenced = abuf->written;
78452 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78454 return cycles;
78455 #undef FLD
78458 static int
78459 model_fr450_stqu (SIM_CPU *current_cpu, void *sem_arg)
78461 #define FLD(f) abuf->fields.sfmt_cstdu.f
78462 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78463 const IDESC * UNUSED idesc = abuf->idesc;
78464 int cycles = 0;
78466 int referenced = 0;
78467 int UNUSED insn_referenced = abuf->written;
78468 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78470 return cycles;
78471 #undef FLD
78474 static int
78475 model_fr450_stqfu (SIM_CPU *current_cpu, void *sem_arg)
78477 #define FLD(f) abuf->fields.sfmt_cstdfu.f
78478 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78479 const IDESC * UNUSED idesc = abuf->idesc;
78480 int cycles = 0;
78482 int referenced = 0;
78483 int UNUSED insn_referenced = abuf->written;
78484 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78486 return cycles;
78487 #undef FLD
78490 static int
78491 model_fr450_stqcu (SIM_CPU *current_cpu, void *sem_arg)
78493 #define FLD(f) abuf->fields.sfmt_stdcu.f
78494 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78495 const IDESC * UNUSED idesc = abuf->idesc;
78496 int cycles = 0;
78498 int referenced = 0;
78499 int UNUSED insn_referenced = abuf->written;
78500 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78502 return cycles;
78503 #undef FLD
78506 static int
78507 model_fr450_cldsb (SIM_CPU *current_cpu, void *sem_arg)
78509 #define FLD(f) abuf->fields.sfmt_cswap.f
78510 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78511 const IDESC * UNUSED idesc = abuf->idesc;
78512 int cycles = 0;
78514 int referenced = 0;
78515 int UNUSED insn_referenced = abuf->written;
78516 INT in_GRi = -1;
78517 INT in_GRj = -1;
78518 INT out_GRk = -1;
78519 INT out_GRdoublek = -1;
78520 in_GRi = FLD (in_GRi);
78521 in_GRj = FLD (in_GRj);
78522 out_GRk = FLD (out_GRk);
78523 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78524 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78525 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78526 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78528 return cycles;
78529 #undef FLD
78532 static int
78533 model_fr450_cldub (SIM_CPU *current_cpu, void *sem_arg)
78535 #define FLD(f) abuf->fields.sfmt_cswap.f
78536 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78537 const IDESC * UNUSED idesc = abuf->idesc;
78538 int cycles = 0;
78540 int referenced = 0;
78541 int UNUSED insn_referenced = abuf->written;
78542 INT in_GRi = -1;
78543 INT in_GRj = -1;
78544 INT out_GRk = -1;
78545 INT out_GRdoublek = -1;
78546 in_GRi = FLD (in_GRi);
78547 in_GRj = FLD (in_GRj);
78548 out_GRk = FLD (out_GRk);
78549 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78550 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78551 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78552 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78554 return cycles;
78555 #undef FLD
78558 static int
78559 model_fr450_cldsh (SIM_CPU *current_cpu, void *sem_arg)
78561 #define FLD(f) abuf->fields.sfmt_cswap.f
78562 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78563 const IDESC * UNUSED idesc = abuf->idesc;
78564 int cycles = 0;
78566 int referenced = 0;
78567 int UNUSED insn_referenced = abuf->written;
78568 INT in_GRi = -1;
78569 INT in_GRj = -1;
78570 INT out_GRk = -1;
78571 INT out_GRdoublek = -1;
78572 in_GRi = FLD (in_GRi);
78573 in_GRj = FLD (in_GRj);
78574 out_GRk = FLD (out_GRk);
78575 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78576 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78577 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78578 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78580 return cycles;
78581 #undef FLD
78584 static int
78585 model_fr450_clduh (SIM_CPU *current_cpu, void *sem_arg)
78587 #define FLD(f) abuf->fields.sfmt_cswap.f
78588 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78589 const IDESC * UNUSED idesc = abuf->idesc;
78590 int cycles = 0;
78592 int referenced = 0;
78593 int UNUSED insn_referenced = abuf->written;
78594 INT in_GRi = -1;
78595 INT in_GRj = -1;
78596 INT out_GRk = -1;
78597 INT out_GRdoublek = -1;
78598 in_GRi = FLD (in_GRi);
78599 in_GRj = FLD (in_GRj);
78600 out_GRk = FLD (out_GRk);
78601 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78602 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78603 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78604 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78606 return cycles;
78607 #undef FLD
78610 static int
78611 model_fr450_cld (SIM_CPU *current_cpu, void *sem_arg)
78613 #define FLD(f) abuf->fields.sfmt_cswap.f
78614 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78615 const IDESC * UNUSED idesc = abuf->idesc;
78616 int cycles = 0;
78618 int referenced = 0;
78619 int UNUSED insn_referenced = abuf->written;
78620 INT in_GRi = -1;
78621 INT in_GRj = -1;
78622 INT out_GRk = -1;
78623 INT out_GRdoublek = -1;
78624 in_GRi = FLD (in_GRi);
78625 in_GRj = FLD (in_GRj);
78626 out_GRk = FLD (out_GRk);
78627 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78628 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78629 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78630 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78632 return cycles;
78633 #undef FLD
78636 static int
78637 model_fr450_cldbf (SIM_CPU *current_cpu, void *sem_arg)
78639 #define FLD(f) abuf->fields.sfmt_cldbfu.f
78640 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78641 const IDESC * UNUSED idesc = abuf->idesc;
78642 int cycles = 0;
78644 int referenced = 0;
78645 int UNUSED insn_referenced = abuf->written;
78646 INT in_GRi = -1;
78647 INT in_GRj = -1;
78648 INT out_FRintk = -1;
78649 INT out_FRdoublek = -1;
78650 in_GRi = FLD (in_GRi);
78651 in_GRj = FLD (in_GRj);
78652 out_FRintk = FLD (out_FRintk);
78653 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78654 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78655 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78656 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
78658 return cycles;
78659 #undef FLD
78662 static int
78663 model_fr450_cldhf (SIM_CPU *current_cpu, void *sem_arg)
78665 #define FLD(f) abuf->fields.sfmt_cldbfu.f
78666 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78667 const IDESC * UNUSED idesc = abuf->idesc;
78668 int cycles = 0;
78670 int referenced = 0;
78671 int UNUSED insn_referenced = abuf->written;
78672 INT in_GRi = -1;
78673 INT in_GRj = -1;
78674 INT out_FRintk = -1;
78675 INT out_FRdoublek = -1;
78676 in_GRi = FLD (in_GRi);
78677 in_GRj = FLD (in_GRj);
78678 out_FRintk = FLD (out_FRintk);
78679 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78680 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78681 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78682 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
78684 return cycles;
78685 #undef FLD
78688 static int
78689 model_fr450_cldf (SIM_CPU *current_cpu, void *sem_arg)
78691 #define FLD(f) abuf->fields.sfmt_cldbfu.f
78692 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78693 const IDESC * UNUSED idesc = abuf->idesc;
78694 int cycles = 0;
78696 int referenced = 0;
78697 int UNUSED insn_referenced = abuf->written;
78698 INT in_GRi = -1;
78699 INT in_GRj = -1;
78700 INT out_FRintk = -1;
78701 INT out_FRdoublek = -1;
78702 in_GRi = FLD (in_GRi);
78703 in_GRj = FLD (in_GRj);
78704 out_FRintk = FLD (out_FRintk);
78705 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78706 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78707 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78708 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
78710 return cycles;
78711 #undef FLD
78714 static int
78715 model_fr450_cldd (SIM_CPU *current_cpu, void *sem_arg)
78717 #define FLD(f) abuf->fields.sfmt_clddu.f
78718 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78719 const IDESC * UNUSED idesc = abuf->idesc;
78720 int cycles = 0;
78722 int referenced = 0;
78723 int UNUSED insn_referenced = abuf->written;
78724 INT in_GRi = -1;
78725 INT in_GRj = -1;
78726 INT out_GRk = -1;
78727 INT out_GRdoublek = -1;
78728 in_GRi = FLD (in_GRi);
78729 in_GRj = FLD (in_GRj);
78730 out_GRdoublek = FLD (out_GRdoublek);
78731 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78732 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78733 if (insn_referenced & (1 << 6)) referenced |= 1 << 3;
78734 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78736 return cycles;
78737 #undef FLD
78740 static int
78741 model_fr450_clddf (SIM_CPU *current_cpu, void *sem_arg)
78743 #define FLD(f) abuf->fields.sfmt_clddfu.f
78744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78745 const IDESC * UNUSED idesc = abuf->idesc;
78746 int cycles = 0;
78748 int referenced = 0;
78749 int UNUSED insn_referenced = abuf->written;
78750 INT in_GRi = -1;
78751 INT in_GRj = -1;
78752 INT out_GRk = -1;
78753 INT out_GRdoublek = -1;
78754 in_GRi = FLD (in_GRi);
78755 in_GRj = FLD (in_GRj);
78756 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78757 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78758 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78760 return cycles;
78761 #undef FLD
78764 static int
78765 model_fr450_cldq (SIM_CPU *current_cpu, void *sem_arg)
78767 #define FLD(f) abuf->fields.sfmt_cswap.f
78768 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78769 const IDESC * UNUSED idesc = abuf->idesc;
78770 int cycles = 0;
78772 int referenced = 0;
78773 int UNUSED insn_referenced = abuf->written;
78774 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
78776 return cycles;
78777 #undef FLD
78780 static int
78781 model_fr450_cldsbu (SIM_CPU *current_cpu, void *sem_arg)
78783 #define FLD(f) abuf->fields.sfmt_cldsbu.f
78784 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78785 const IDESC * UNUSED idesc = abuf->idesc;
78786 int cycles = 0;
78788 int referenced = 0;
78789 int UNUSED insn_referenced = abuf->written;
78790 INT in_GRi = -1;
78791 INT in_GRj = -1;
78792 INT out_GRk = -1;
78793 INT out_GRdoublek = -1;
78794 in_GRi = FLD (in_GRi);
78795 in_GRj = FLD (in_GRj);
78796 out_GRk = FLD (out_GRk);
78797 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78798 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78799 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
78800 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78802 return cycles;
78803 #undef FLD
78806 static int
78807 model_fr450_cldubu (SIM_CPU *current_cpu, void *sem_arg)
78809 #define FLD(f) abuf->fields.sfmt_cldsbu.f
78810 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78811 const IDESC * UNUSED idesc = abuf->idesc;
78812 int cycles = 0;
78814 int referenced = 0;
78815 int UNUSED insn_referenced = abuf->written;
78816 INT in_GRi = -1;
78817 INT in_GRj = -1;
78818 INT out_GRk = -1;
78819 INT out_GRdoublek = -1;
78820 in_GRi = FLD (in_GRi);
78821 in_GRj = FLD (in_GRj);
78822 out_GRk = FLD (out_GRk);
78823 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78824 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78825 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
78826 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78828 return cycles;
78829 #undef FLD
78832 static int
78833 model_fr450_cldshu (SIM_CPU *current_cpu, void *sem_arg)
78835 #define FLD(f) abuf->fields.sfmt_cldsbu.f
78836 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78837 const IDESC * UNUSED idesc = abuf->idesc;
78838 int cycles = 0;
78840 int referenced = 0;
78841 int UNUSED insn_referenced = abuf->written;
78842 INT in_GRi = -1;
78843 INT in_GRj = -1;
78844 INT out_GRk = -1;
78845 INT out_GRdoublek = -1;
78846 in_GRi = FLD (in_GRi);
78847 in_GRj = FLD (in_GRj);
78848 out_GRk = FLD (out_GRk);
78849 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78850 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78851 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
78852 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78854 return cycles;
78855 #undef FLD
78858 static int
78859 model_fr450_clduhu (SIM_CPU *current_cpu, void *sem_arg)
78861 #define FLD(f) abuf->fields.sfmt_cldsbu.f
78862 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78863 const IDESC * UNUSED idesc = abuf->idesc;
78864 int cycles = 0;
78866 int referenced = 0;
78867 int UNUSED insn_referenced = abuf->written;
78868 INT in_GRi = -1;
78869 INT in_GRj = -1;
78870 INT out_GRk = -1;
78871 INT out_GRdoublek = -1;
78872 in_GRi = FLD (in_GRi);
78873 in_GRj = FLD (in_GRj);
78874 out_GRk = FLD (out_GRk);
78875 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78876 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78877 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
78878 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78880 return cycles;
78881 #undef FLD
78884 static int
78885 model_fr450_cldu (SIM_CPU *current_cpu, void *sem_arg)
78887 #define FLD(f) abuf->fields.sfmt_cldsbu.f
78888 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78889 const IDESC * UNUSED idesc = abuf->idesc;
78890 int cycles = 0;
78892 int referenced = 0;
78893 int UNUSED insn_referenced = abuf->written;
78894 INT in_GRi = -1;
78895 INT in_GRj = -1;
78896 INT out_GRk = -1;
78897 INT out_GRdoublek = -1;
78898 in_GRi = FLD (in_GRi);
78899 in_GRj = FLD (in_GRj);
78900 out_GRk = FLD (out_GRk);
78901 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78902 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78903 if (insn_referenced & (1 << 8)) referenced |= 1 << 2;
78904 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
78906 return cycles;
78907 #undef FLD
78910 static int
78911 model_fr450_cldbfu (SIM_CPU *current_cpu, void *sem_arg)
78913 #define FLD(f) abuf->fields.sfmt_cldbfu.f
78914 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78915 const IDESC * UNUSED idesc = abuf->idesc;
78916 int cycles = 0;
78918 int referenced = 0;
78919 int UNUSED insn_referenced = abuf->written;
78920 INT in_GRi = -1;
78921 INT in_GRj = -1;
78922 INT out_FRintk = -1;
78923 INT out_FRdoublek = -1;
78924 in_GRi = FLD (in_GRi);
78925 in_GRj = FLD (in_GRj);
78926 out_FRintk = FLD (out_FRintk);
78927 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78928 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78929 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78930 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
78932 return cycles;
78933 #undef FLD
78936 static int
78937 model_fr450_cldhfu (SIM_CPU *current_cpu, void *sem_arg)
78939 #define FLD(f) abuf->fields.sfmt_cldbfu.f
78940 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78941 const IDESC * UNUSED idesc = abuf->idesc;
78942 int cycles = 0;
78944 int referenced = 0;
78945 int UNUSED insn_referenced = abuf->written;
78946 INT in_GRi = -1;
78947 INT in_GRj = -1;
78948 INT out_FRintk = -1;
78949 INT out_FRdoublek = -1;
78950 in_GRi = FLD (in_GRi);
78951 in_GRj = FLD (in_GRj);
78952 out_FRintk = FLD (out_FRintk);
78953 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78954 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78955 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78956 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
78958 return cycles;
78959 #undef FLD
78962 static int
78963 model_fr450_cldfu (SIM_CPU *current_cpu, void *sem_arg)
78965 #define FLD(f) abuf->fields.sfmt_cldbfu.f
78966 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78967 const IDESC * UNUSED idesc = abuf->idesc;
78968 int cycles = 0;
78970 int referenced = 0;
78971 int UNUSED insn_referenced = abuf->written;
78972 INT in_GRi = -1;
78973 INT in_GRj = -1;
78974 INT out_FRintk = -1;
78975 INT out_FRdoublek = -1;
78976 in_GRi = FLD (in_GRi);
78977 in_GRj = FLD (in_GRj);
78978 out_FRintk = FLD (out_FRintk);
78979 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
78980 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
78981 if (insn_referenced & (1 << 5)) referenced |= 1 << 2;
78982 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
78984 return cycles;
78985 #undef FLD
78988 static int
78989 model_fr450_clddu (SIM_CPU *current_cpu, void *sem_arg)
78991 #define FLD(f) abuf->fields.sfmt_clddu.f
78992 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
78993 const IDESC * UNUSED idesc = abuf->idesc;
78994 int cycles = 0;
78996 int referenced = 0;
78997 int UNUSED insn_referenced = abuf->written;
78998 INT in_GRi = -1;
78999 INT in_GRj = -1;
79000 INT out_GRk = -1;
79001 INT out_GRdoublek = -1;
79002 in_GRi = FLD (in_GRi);
79003 in_GRj = FLD (in_GRj);
79004 out_GRdoublek = FLD (out_GRdoublek);
79005 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79006 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79007 if (insn_referenced & (1 << 7)) referenced |= 1 << 3;
79008 cycles += frvbf_model_fr450_u_gr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk, out_GRdoublek);
79010 return cycles;
79011 #undef FLD
79014 static int
79015 model_fr450_clddfu (SIM_CPU *current_cpu, void *sem_arg)
79017 #define FLD(f) abuf->fields.sfmt_clddfu.f
79018 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79019 const IDESC * UNUSED idesc = abuf->idesc;
79020 int cycles = 0;
79022 int referenced = 0;
79023 int UNUSED insn_referenced = abuf->written;
79024 INT in_GRi = -1;
79025 INT in_GRj = -1;
79026 INT out_FRintk = -1;
79027 INT out_FRdoublek = -1;
79028 in_GRi = FLD (in_GRi);
79029 in_GRj = FLD (in_GRj);
79030 out_FRdoublek = FLD (out_FRdoublek);
79031 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79032 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79033 if (insn_referenced & (1 << 5)) referenced |= 1 << 3;
79034 cycles += frvbf_model_fr450_u_fr_load (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_FRintk, out_FRdoublek);
79036 return cycles;
79037 #undef FLD
79040 static int
79041 model_fr450_cldqu (SIM_CPU *current_cpu, void *sem_arg)
79043 #define FLD(f) abuf->fields.sfmt_cstdu.f
79044 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79045 const IDESC * UNUSED idesc = abuf->idesc;
79046 int cycles = 0;
79048 int referenced = 0;
79049 int UNUSED insn_referenced = abuf->written;
79050 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
79052 return cycles;
79053 #undef FLD
79056 static int
79057 model_fr450_cstb (SIM_CPU *current_cpu, void *sem_arg)
79059 #define FLD(f) abuf->fields.sfmt_cswap.f
79060 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79061 const IDESC * UNUSED idesc = abuf->idesc;
79062 int cycles = 0;
79064 int referenced = 0;
79065 int UNUSED insn_referenced = abuf->written;
79066 INT in_GRi = -1;
79067 INT in_GRj = -1;
79068 INT in_GRk = -1;
79069 INT in_GRdoublek = -1;
79070 in_GRi = FLD (in_GRi);
79071 in_GRj = FLD (in_GRj);
79072 in_GRk = FLD (in_GRk);
79073 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79074 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79075 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
79076 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79078 return cycles;
79079 #undef FLD
79082 static int
79083 model_fr450_csth (SIM_CPU *current_cpu, void *sem_arg)
79085 #define FLD(f) abuf->fields.sfmt_cswap.f
79086 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79087 const IDESC * UNUSED idesc = abuf->idesc;
79088 int cycles = 0;
79090 int referenced = 0;
79091 int UNUSED insn_referenced = abuf->written;
79092 INT in_GRi = -1;
79093 INT in_GRj = -1;
79094 INT in_GRk = -1;
79095 INT in_GRdoublek = -1;
79096 in_GRi = FLD (in_GRi);
79097 in_GRj = FLD (in_GRj);
79098 in_GRk = FLD (in_GRk);
79099 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79100 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79101 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
79102 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79104 return cycles;
79105 #undef FLD
79108 static int
79109 model_fr450_cst (SIM_CPU *current_cpu, void *sem_arg)
79111 #define FLD(f) abuf->fields.sfmt_cswap.f
79112 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79113 const IDESC * UNUSED idesc = abuf->idesc;
79114 int cycles = 0;
79116 int referenced = 0;
79117 int UNUSED insn_referenced = abuf->written;
79118 INT in_GRi = -1;
79119 INT in_GRj = -1;
79120 INT in_GRk = -1;
79121 INT in_GRdoublek = -1;
79122 in_GRi = FLD (in_GRi);
79123 in_GRj = FLD (in_GRj);
79124 in_GRk = FLD (in_GRk);
79125 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79126 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79127 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
79128 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79130 return cycles;
79131 #undef FLD
79134 static int
79135 model_fr450_cstbf (SIM_CPU *current_cpu, void *sem_arg)
79137 #define FLD(f) abuf->fields.sfmt_cstbfu.f
79138 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79139 const IDESC * UNUSED idesc = abuf->idesc;
79140 int cycles = 0;
79142 int referenced = 0;
79143 int UNUSED insn_referenced = abuf->written;
79144 INT in_GRi = -1;
79145 INT in_GRj = -1;
79146 INT in_FRintk = -1;
79147 INT in_FRdoublek = -1;
79148 in_GRi = FLD (in_GRi);
79149 in_GRj = FLD (in_GRj);
79150 in_FRintk = FLD (in_FRintk);
79151 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79152 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79153 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
79154 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79156 return cycles;
79157 #undef FLD
79160 static int
79161 model_fr450_csthf (SIM_CPU *current_cpu, void *sem_arg)
79163 #define FLD(f) abuf->fields.sfmt_cstbfu.f
79164 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79165 const IDESC * UNUSED idesc = abuf->idesc;
79166 int cycles = 0;
79168 int referenced = 0;
79169 int UNUSED insn_referenced = abuf->written;
79170 INT in_GRi = -1;
79171 INT in_GRj = -1;
79172 INT in_FRintk = -1;
79173 INT in_FRdoublek = -1;
79174 in_GRi = FLD (in_GRi);
79175 in_GRj = FLD (in_GRj);
79176 in_FRintk = FLD (in_FRintk);
79177 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79178 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79179 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
79180 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79182 return cycles;
79183 #undef FLD
79186 static int
79187 model_fr450_cstf (SIM_CPU *current_cpu, void *sem_arg)
79189 #define FLD(f) abuf->fields.sfmt_cstbfu.f
79190 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79191 const IDESC * UNUSED idesc = abuf->idesc;
79192 int cycles = 0;
79194 int referenced = 0;
79195 int UNUSED insn_referenced = abuf->written;
79196 INT in_GRi = -1;
79197 INT in_GRj = -1;
79198 INT in_FRintk = -1;
79199 INT in_FRdoublek = -1;
79200 in_GRi = FLD (in_GRi);
79201 in_GRj = FLD (in_GRj);
79202 in_FRintk = FLD (in_FRintk);
79203 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79204 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79205 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
79206 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79208 return cycles;
79209 #undef FLD
79212 static int
79213 model_fr450_cstd (SIM_CPU *current_cpu, void *sem_arg)
79215 #define FLD(f) abuf->fields.sfmt_cstdu.f
79216 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79217 const IDESC * UNUSED idesc = abuf->idesc;
79218 int cycles = 0;
79220 int referenced = 0;
79221 int UNUSED insn_referenced = abuf->written;
79222 INT in_GRi = -1;
79223 INT in_GRj = -1;
79224 INT in_GRk = -1;
79225 INT in_GRdoublek = -1;
79226 in_GRi = FLD (in_GRi);
79227 in_GRj = FLD (in_GRj);
79228 in_GRdoublek = FLD (in_GRdoublek);
79229 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79230 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79231 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
79232 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79234 return cycles;
79235 #undef FLD
79238 static int
79239 model_fr450_cstdf (SIM_CPU *current_cpu, void *sem_arg)
79241 #define FLD(f) abuf->fields.sfmt_cstdfu.f
79242 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79243 const IDESC * UNUSED idesc = abuf->idesc;
79244 int cycles = 0;
79246 int referenced = 0;
79247 int UNUSED insn_referenced = abuf->written;
79248 INT in_GRi = -1;
79249 INT in_GRj = -1;
79250 INT in_FRintk = -1;
79251 INT in_FRdoublek = -1;
79252 in_GRi = FLD (in_GRi);
79253 in_GRj = FLD (in_GRj);
79254 in_FRdoublek = FLD (in_FRdoublek);
79255 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79256 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79257 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
79258 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79260 return cycles;
79261 #undef FLD
79264 static int
79265 model_fr450_cstq (SIM_CPU *current_cpu, void *sem_arg)
79267 #define FLD(f) abuf->fields.sfmt_cswap.f
79268 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79269 const IDESC * UNUSED idesc = abuf->idesc;
79270 int cycles = 0;
79272 int referenced = 0;
79273 int UNUSED insn_referenced = abuf->written;
79274 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
79276 return cycles;
79277 #undef FLD
79280 static int
79281 model_fr450_cstbu (SIM_CPU *current_cpu, void *sem_arg)
79283 #define FLD(f) abuf->fields.sfmt_cstbu.f
79284 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79285 const IDESC * UNUSED idesc = abuf->idesc;
79286 int cycles = 0;
79288 int referenced = 0;
79289 int UNUSED insn_referenced = abuf->written;
79290 INT in_GRi = -1;
79291 INT in_GRj = -1;
79292 INT in_GRk = -1;
79293 INT in_GRdoublek = -1;
79294 in_GRi = FLD (in_GRi);
79295 in_GRj = FLD (in_GRj);
79296 in_GRk = FLD (in_GRk);
79297 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79298 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79299 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
79300 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79302 return cycles;
79303 #undef FLD
79306 static int
79307 model_fr450_csthu (SIM_CPU *current_cpu, void *sem_arg)
79309 #define FLD(f) abuf->fields.sfmt_cstbu.f
79310 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79311 const IDESC * UNUSED idesc = abuf->idesc;
79312 int cycles = 0;
79314 int referenced = 0;
79315 int UNUSED insn_referenced = abuf->written;
79316 INT in_GRi = -1;
79317 INT in_GRj = -1;
79318 INT in_GRk = -1;
79319 INT in_GRdoublek = -1;
79320 in_GRi = FLD (in_GRi);
79321 in_GRj = FLD (in_GRj);
79322 in_GRk = FLD (in_GRk);
79323 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79324 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79325 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
79326 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79328 return cycles;
79329 #undef FLD
79332 static int
79333 model_fr450_cstu (SIM_CPU *current_cpu, void *sem_arg)
79335 #define FLD(f) abuf->fields.sfmt_cstbu.f
79336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79337 const IDESC * UNUSED idesc = abuf->idesc;
79338 int cycles = 0;
79340 int referenced = 0;
79341 int UNUSED insn_referenced = abuf->written;
79342 INT in_GRi = -1;
79343 INT in_GRj = -1;
79344 INT in_GRk = -1;
79345 INT in_GRdoublek = -1;
79346 in_GRi = FLD (in_GRi);
79347 in_GRj = FLD (in_GRj);
79348 in_GRk = FLD (in_GRk);
79349 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79350 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79351 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
79352 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79354 return cycles;
79355 #undef FLD
79358 static int
79359 model_fr450_cstbfu (SIM_CPU *current_cpu, void *sem_arg)
79361 #define FLD(f) abuf->fields.sfmt_cstbfu.f
79362 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79363 const IDESC * UNUSED idesc = abuf->idesc;
79364 int cycles = 0;
79366 int referenced = 0;
79367 int UNUSED insn_referenced = abuf->written;
79368 INT in_GRi = -1;
79369 INT in_GRj = -1;
79370 INT in_FRintk = -1;
79371 INT in_FRdoublek = -1;
79372 in_GRi = FLD (in_GRi);
79373 in_GRj = FLD (in_GRj);
79374 in_FRintk = FLD (in_FRintk);
79375 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79376 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79377 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
79378 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79380 return cycles;
79381 #undef FLD
79384 static int
79385 model_fr450_csthfu (SIM_CPU *current_cpu, void *sem_arg)
79387 #define FLD(f) abuf->fields.sfmt_cstbfu.f
79388 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79389 const IDESC * UNUSED idesc = abuf->idesc;
79390 int cycles = 0;
79392 int referenced = 0;
79393 int UNUSED insn_referenced = abuf->written;
79394 INT in_GRi = -1;
79395 INT in_GRj = -1;
79396 INT in_FRintk = -1;
79397 INT in_FRdoublek = -1;
79398 in_GRi = FLD (in_GRi);
79399 in_GRj = FLD (in_GRj);
79400 in_FRintk = FLD (in_FRintk);
79401 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79402 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79403 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
79404 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79406 return cycles;
79407 #undef FLD
79410 static int
79411 model_fr450_cstfu (SIM_CPU *current_cpu, void *sem_arg)
79413 #define FLD(f) abuf->fields.sfmt_cstbfu.f
79414 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79415 const IDESC * UNUSED idesc = abuf->idesc;
79416 int cycles = 0;
79418 int referenced = 0;
79419 int UNUSED insn_referenced = abuf->written;
79420 INT in_GRi = -1;
79421 INT in_GRj = -1;
79422 INT in_FRintk = -1;
79423 INT in_FRdoublek = -1;
79424 in_GRi = FLD (in_GRi);
79425 in_GRj = FLD (in_GRj);
79426 in_FRintk = FLD (in_FRintk);
79427 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79428 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79429 if (insn_referenced & (1 << 1)) referenced |= 1 << 2;
79430 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79432 return cycles;
79433 #undef FLD
79436 static int
79437 model_fr450_cstdu (SIM_CPU *current_cpu, void *sem_arg)
79439 #define FLD(f) abuf->fields.sfmt_cstdu.f
79440 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79441 const IDESC * UNUSED idesc = abuf->idesc;
79442 int cycles = 0;
79444 int referenced = 0;
79445 int UNUSED insn_referenced = abuf->written;
79446 INT in_GRi = -1;
79447 INT in_GRj = -1;
79448 INT in_GRk = -1;
79449 INT in_GRdoublek = -1;
79450 in_GRi = FLD (in_GRi);
79451 in_GRj = FLD (in_GRj);
79452 in_GRdoublek = FLD (in_GRdoublek);
79453 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79454 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79455 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
79456 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79458 return cycles;
79459 #undef FLD
79462 static int
79463 model_fr450_cstdfu (SIM_CPU *current_cpu, void *sem_arg)
79465 #define FLD(f) abuf->fields.sfmt_cstdfu.f
79466 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79467 const IDESC * UNUSED idesc = abuf->idesc;
79468 int cycles = 0;
79470 int referenced = 0;
79471 int UNUSED insn_referenced = abuf->written;
79472 INT in_GRi = -1;
79473 INT in_GRj = -1;
79474 INT in_FRintk = -1;
79475 INT in_FRdoublek = -1;
79476 in_GRi = FLD (in_GRi);
79477 in_GRj = FLD (in_GRj);
79478 in_FRdoublek = FLD (in_FRdoublek);
79479 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
79480 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79481 if (insn_referenced & (1 << 1)) referenced |= 1 << 3;
79482 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79484 return cycles;
79485 #undef FLD
79488 static int
79489 model_fr450_stbi (SIM_CPU *current_cpu, void *sem_arg)
79491 #define FLD(f) abuf->fields.sfmt_swapi.f
79492 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79493 const IDESC * UNUSED idesc = abuf->idesc;
79494 int cycles = 0;
79496 int referenced = 0;
79497 int UNUSED insn_referenced = abuf->written;
79498 INT in_GRi = -1;
79499 INT in_GRj = -1;
79500 INT in_GRk = -1;
79501 INT in_GRdoublek = -1;
79502 in_GRi = FLD (in_GRi);
79503 in_GRk = FLD (in_GRk);
79504 referenced |= 1 << 0;
79505 referenced |= 1 << 2;
79506 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79508 return cycles;
79509 #undef FLD
79512 static int
79513 model_fr450_sthi (SIM_CPU *current_cpu, void *sem_arg)
79515 #define FLD(f) abuf->fields.sfmt_swapi.f
79516 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79517 const IDESC * UNUSED idesc = abuf->idesc;
79518 int cycles = 0;
79520 int referenced = 0;
79521 int UNUSED insn_referenced = abuf->written;
79522 INT in_GRi = -1;
79523 INT in_GRj = -1;
79524 INT in_GRk = -1;
79525 INT in_GRdoublek = -1;
79526 in_GRi = FLD (in_GRi);
79527 in_GRk = FLD (in_GRk);
79528 referenced |= 1 << 0;
79529 referenced |= 1 << 2;
79530 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79532 return cycles;
79533 #undef FLD
79536 static int
79537 model_fr450_sti (SIM_CPU *current_cpu, void *sem_arg)
79539 #define FLD(f) abuf->fields.sfmt_swapi.f
79540 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79541 const IDESC * UNUSED idesc = abuf->idesc;
79542 int cycles = 0;
79544 int referenced = 0;
79545 int UNUSED insn_referenced = abuf->written;
79546 INT in_GRi = -1;
79547 INT in_GRj = -1;
79548 INT in_GRk = -1;
79549 INT in_GRdoublek = -1;
79550 in_GRi = FLD (in_GRi);
79551 in_GRk = FLD (in_GRk);
79552 referenced |= 1 << 0;
79553 referenced |= 1 << 2;
79554 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79556 return cycles;
79557 #undef FLD
79560 static int
79561 model_fr450_stbfi (SIM_CPU *current_cpu, void *sem_arg)
79563 #define FLD(f) abuf->fields.sfmt_stbfi.f
79564 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79565 const IDESC * UNUSED idesc = abuf->idesc;
79566 int cycles = 0;
79568 int referenced = 0;
79569 int UNUSED insn_referenced = abuf->written;
79570 INT in_GRi = -1;
79571 INT in_GRj = -1;
79572 INT in_FRintk = -1;
79573 INT in_FRdoublek = -1;
79574 in_GRi = FLD (in_GRi);
79575 in_FRintk = FLD (in_FRintk);
79576 referenced |= 1 << 0;
79577 referenced |= 1 << 2;
79578 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79580 return cycles;
79581 #undef FLD
79584 static int
79585 model_fr450_sthfi (SIM_CPU *current_cpu, void *sem_arg)
79587 #define FLD(f) abuf->fields.sfmt_stbfi.f
79588 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79589 const IDESC * UNUSED idesc = abuf->idesc;
79590 int cycles = 0;
79592 int referenced = 0;
79593 int UNUSED insn_referenced = abuf->written;
79594 INT in_GRi = -1;
79595 INT in_GRj = -1;
79596 INT in_FRintk = -1;
79597 INT in_FRdoublek = -1;
79598 in_GRi = FLD (in_GRi);
79599 in_FRintk = FLD (in_FRintk);
79600 referenced |= 1 << 0;
79601 referenced |= 1 << 2;
79602 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79604 return cycles;
79605 #undef FLD
79608 static int
79609 model_fr450_stfi (SIM_CPU *current_cpu, void *sem_arg)
79611 #define FLD(f) abuf->fields.sfmt_stbfi.f
79612 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79613 const IDESC * UNUSED idesc = abuf->idesc;
79614 int cycles = 0;
79616 int referenced = 0;
79617 int UNUSED insn_referenced = abuf->written;
79618 INT in_GRi = -1;
79619 INT in_GRj = -1;
79620 INT in_FRintk = -1;
79621 INT in_FRdoublek = -1;
79622 in_GRi = FLD (in_GRi);
79623 in_FRintk = FLD (in_FRintk);
79624 referenced |= 1 << 0;
79625 referenced |= 1 << 2;
79626 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79628 return cycles;
79629 #undef FLD
79632 static int
79633 model_fr450_stdi (SIM_CPU *current_cpu, void *sem_arg)
79635 #define FLD(f) abuf->fields.sfmt_stdi.f
79636 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79637 const IDESC * UNUSED idesc = abuf->idesc;
79638 int cycles = 0;
79640 int referenced = 0;
79641 int UNUSED insn_referenced = abuf->written;
79642 INT in_GRi = -1;
79643 INT in_GRj = -1;
79644 INT in_GRk = -1;
79645 INT in_GRdoublek = -1;
79646 in_GRi = FLD (in_GRi);
79647 in_GRdoublek = FLD (in_GRdoublek);
79648 referenced |= 1 << 0;
79649 referenced |= 1 << 3;
79650 cycles += frvbf_model_fr450_u_gr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_GRk, in_GRdoublek);
79652 return cycles;
79653 #undef FLD
79656 static int
79657 model_fr450_stdfi (SIM_CPU *current_cpu, void *sem_arg)
79659 #define FLD(f) abuf->fields.sfmt_stdfi.f
79660 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79661 const IDESC * UNUSED idesc = abuf->idesc;
79662 int cycles = 0;
79664 int referenced = 0;
79665 int UNUSED insn_referenced = abuf->written;
79666 INT in_GRi = -1;
79667 INT in_GRj = -1;
79668 INT in_FRintk = -1;
79669 INT in_FRdoublek = -1;
79670 in_GRi = FLD (in_GRi);
79671 in_FRdoublek = FLD (in_FRdoublek);
79672 referenced |= 1 << 0;
79673 referenced |= 1 << 3;
79674 cycles += frvbf_model_fr450_u_fr_store (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_FRintk, in_FRdoublek);
79676 return cycles;
79677 #undef FLD
79680 static int
79681 model_fr450_stqi (SIM_CPU *current_cpu, void *sem_arg)
79683 #define FLD(f) abuf->fields.sfmt_stdi.f
79684 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79685 const IDESC * UNUSED idesc = abuf->idesc;
79686 int cycles = 0;
79688 int referenced = 0;
79689 int UNUSED insn_referenced = abuf->written;
79690 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
79692 return cycles;
79693 #undef FLD
79696 static int
79697 model_fr450_stqfi (SIM_CPU *current_cpu, void *sem_arg)
79699 #define FLD(f) abuf->fields.sfmt_stdfi.f
79700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79701 const IDESC * UNUSED idesc = abuf->idesc;
79702 int cycles = 0;
79704 int referenced = 0;
79705 int UNUSED insn_referenced = abuf->written;
79706 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
79708 return cycles;
79709 #undef FLD
79712 static int
79713 model_fr450_swap (SIM_CPU *current_cpu, void *sem_arg)
79715 #define FLD(f) abuf->fields.sfmt_cswap.f
79716 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79717 const IDESC * UNUSED idesc = abuf->idesc;
79718 int cycles = 0;
79720 int referenced = 0;
79721 int UNUSED insn_referenced = abuf->written;
79722 INT in_GRi = -1;
79723 INT in_GRj = -1;
79724 INT out_GRk = -1;
79725 in_GRi = FLD (in_GRi);
79726 in_GRj = FLD (in_GRj);
79727 out_GRk = FLD (out_GRk);
79728 referenced |= 1 << 0;
79729 referenced |= 1 << 1;
79730 referenced |= 1 << 2;
79731 cycles += frvbf_model_fr450_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
79733 return cycles;
79734 #undef FLD
79737 static int
79738 model_fr450_swapi (SIM_CPU *current_cpu, void *sem_arg)
79740 #define FLD(f) abuf->fields.sfmt_swapi.f
79741 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79742 const IDESC * UNUSED idesc = abuf->idesc;
79743 int cycles = 0;
79745 int referenced = 0;
79746 int UNUSED insn_referenced = abuf->written;
79747 INT in_GRi = -1;
79748 INT in_GRj = -1;
79749 INT out_GRk = -1;
79750 in_GRi = FLD (in_GRi);
79751 out_GRk = FLD (out_GRk);
79752 referenced |= 1 << 0;
79753 referenced |= 1 << 2;
79754 cycles += frvbf_model_fr450_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
79756 return cycles;
79757 #undef FLD
79760 static int
79761 model_fr450_cswap (SIM_CPU *current_cpu, void *sem_arg)
79763 #define FLD(f) abuf->fields.sfmt_cswap.f
79764 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79765 const IDESC * UNUSED idesc = abuf->idesc;
79766 int cycles = 0;
79768 int referenced = 0;
79769 int UNUSED insn_referenced = abuf->written;
79770 INT in_GRi = -1;
79771 INT in_GRj = -1;
79772 INT out_GRk = -1;
79773 in_GRi = FLD (in_GRi);
79774 in_GRj = FLD (in_GRj);
79775 out_GRk = FLD (out_GRk);
79776 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79777 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
79778 if (insn_referenced & (1 << 6)) referenced |= 1 << 2;
79779 cycles += frvbf_model_fr450_u_swap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, out_GRk);
79781 return cycles;
79782 #undef FLD
79785 static int
79786 model_fr450_movgf (SIM_CPU *current_cpu, void *sem_arg)
79788 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
79789 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79790 const IDESC * UNUSED idesc = abuf->idesc;
79791 int cycles = 0;
79793 int referenced = 0;
79794 int UNUSED insn_referenced = abuf->written;
79795 INT in_GRj = -1;
79796 INT out_FRintk = -1;
79797 in_GRj = FLD (in_GRj);
79798 out_FRintk = FLD (out_FRintk);
79799 referenced |= 1 << 0;
79800 referenced |= 1 << 1;
79801 cycles += frvbf_model_fr450_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
79803 return cycles;
79804 #undef FLD
79807 static int
79808 model_fr450_movfg (SIM_CPU *current_cpu, void *sem_arg)
79810 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
79811 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79812 const IDESC * UNUSED idesc = abuf->idesc;
79813 int cycles = 0;
79815 int referenced = 0;
79816 int UNUSED insn_referenced = abuf->written;
79817 INT in_FRintk = -1;
79818 INT out_GRj = -1;
79819 in_FRintk = FLD (in_FRintk);
79820 out_GRj = FLD (out_GRj);
79821 referenced |= 1 << 0;
79822 referenced |= 1 << 1;
79823 cycles += frvbf_model_fr450_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
79825 return cycles;
79826 #undef FLD
79829 static int
79830 model_fr450_movgfd (SIM_CPU *current_cpu, void *sem_arg)
79832 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
79833 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79834 const IDESC * UNUSED idesc = abuf->idesc;
79835 int cycles = 0;
79837 int referenced = 0;
79838 int UNUSED insn_referenced = abuf->written;
79839 INT in_GRj = -1;
79840 INT out_FRintk = -1;
79841 in_GRj = FLD (in_GRj);
79842 out_FRintk = FLD (out_FRintk);
79843 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
79844 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
79845 cycles += frvbf_model_fr450_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
79847 return cycles;
79848 #undef FLD
79851 static int
79852 model_fr450_movfgd (SIM_CPU *current_cpu, void *sem_arg)
79854 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
79855 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79856 const IDESC * UNUSED idesc = abuf->idesc;
79857 int cycles = 0;
79859 int referenced = 0;
79860 int UNUSED insn_referenced = abuf->written;
79861 INT in_FRintk = -1;
79862 INT out_GRj = -1;
79863 in_FRintk = FLD (in_FRintk);
79864 out_GRj = FLD (out_GRj);
79865 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
79866 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
79867 cycles += frvbf_model_fr450_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
79869 return cycles;
79870 #undef FLD
79873 static int
79874 model_fr450_movgfq (SIM_CPU *current_cpu, void *sem_arg)
79876 #define FLD(f) abuf->fields.sfmt_movgfq.f
79877 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79878 const IDESC * UNUSED idesc = abuf->idesc;
79879 int cycles = 0;
79881 int referenced = 0;
79882 int UNUSED insn_referenced = abuf->written;
79883 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
79885 return cycles;
79886 #undef FLD
79889 static int
79890 model_fr450_movfgq (SIM_CPU *current_cpu, void *sem_arg)
79892 #define FLD(f) abuf->fields.sfmt_movfgq.f
79893 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79894 const IDESC * UNUSED idesc = abuf->idesc;
79895 int cycles = 0;
79897 int referenced = 0;
79898 int UNUSED insn_referenced = abuf->written;
79899 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
79901 return cycles;
79902 #undef FLD
79905 static int
79906 model_fr450_cmovgf (SIM_CPU *current_cpu, void *sem_arg)
79908 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
79909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79910 const IDESC * UNUSED idesc = abuf->idesc;
79911 int cycles = 0;
79913 int referenced = 0;
79914 int UNUSED insn_referenced = abuf->written;
79915 INT in_GRj = -1;
79916 INT out_FRintk = -1;
79917 in_GRj = FLD (in_GRj);
79918 out_FRintk = FLD (out_FRintk);
79919 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79920 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79921 cycles += frvbf_model_fr450_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
79923 return cycles;
79924 #undef FLD
79927 static int
79928 model_fr450_cmovfg (SIM_CPU *current_cpu, void *sem_arg)
79930 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
79931 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79932 const IDESC * UNUSED idesc = abuf->idesc;
79933 int cycles = 0;
79935 int referenced = 0;
79936 int UNUSED insn_referenced = abuf->written;
79937 INT in_FRintk = -1;
79938 INT out_GRj = -1;
79939 in_FRintk = FLD (in_FRintk);
79940 out_GRj = FLD (out_GRj);
79941 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79942 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
79943 cycles += frvbf_model_fr450_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
79945 return cycles;
79946 #undef FLD
79949 static int
79950 model_fr450_cmovgfd (SIM_CPU *current_cpu, void *sem_arg)
79952 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
79953 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79954 const IDESC * UNUSED idesc = abuf->idesc;
79955 int cycles = 0;
79957 int referenced = 0;
79958 int UNUSED insn_referenced = abuf->written;
79959 INT in_GRj = -1;
79960 INT out_FRintk = -1;
79961 in_GRj = FLD (in_GRj);
79962 out_FRintk = FLD (out_FRintk);
79963 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79964 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
79965 cycles += frvbf_model_fr450_u_gr2fr (current_cpu, idesc, 0, referenced, in_GRj, out_FRintk);
79967 return cycles;
79968 #undef FLD
79971 static int
79972 model_fr450_cmovfgd (SIM_CPU *current_cpu, void *sem_arg)
79974 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
79975 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79976 const IDESC * UNUSED idesc = abuf->idesc;
79977 int cycles = 0;
79979 int referenced = 0;
79980 int UNUSED insn_referenced = abuf->written;
79981 INT in_FRintk = -1;
79982 INT out_GRj = -1;
79983 in_FRintk = FLD (in_FRintk);
79984 out_GRj = FLD (out_GRj);
79985 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
79986 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
79987 cycles += frvbf_model_fr450_u_fr2gr (current_cpu, idesc, 0, referenced, in_FRintk, out_GRj);
79989 return cycles;
79990 #undef FLD
79993 static int
79994 model_fr450_movgs (SIM_CPU *current_cpu, void *sem_arg)
79996 #define FLD(f) abuf->fields.sfmt_movgs.f
79997 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
79998 const IDESC * UNUSED idesc = abuf->idesc;
79999 int cycles = 0;
80001 int referenced = 0;
80002 int UNUSED insn_referenced = abuf->written;
80003 INT in_GRj = -1;
80004 INT out_spr = -1;
80005 in_GRj = FLD (in_GRj);
80006 out_spr = FLD (out_spr);
80007 referenced |= 1 << 0;
80008 referenced |= 1 << 1;
80009 cycles += frvbf_model_fr450_u_gr2spr (current_cpu, idesc, 0, referenced, in_GRj, out_spr);
80011 return cycles;
80012 #undef FLD
80015 static int
80016 model_fr450_movsg (SIM_CPU *current_cpu, void *sem_arg)
80018 #define FLD(f) abuf->fields.sfmt_movsg.f
80019 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80020 const IDESC * UNUSED idesc = abuf->idesc;
80021 int cycles = 0;
80023 int referenced = 0;
80024 int UNUSED insn_referenced = abuf->written;
80025 INT in_spr = -1;
80026 INT out_GRj = -1;
80027 in_spr = FLD (in_spr);
80028 out_GRj = FLD (out_GRj);
80029 referenced |= 1 << 0;
80030 referenced |= 1 << 1;
80031 cycles += frvbf_model_fr450_u_spr2gr (current_cpu, idesc, 0, referenced, in_spr, out_GRj);
80033 return cycles;
80034 #undef FLD
80037 static int
80038 model_fr450_bra (SIM_CPU *current_cpu, void *sem_arg)
80040 #define FLD(f) abuf->fields.sfmt_fbne.f
80041 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80042 const IDESC * UNUSED idesc = abuf->idesc;
80043 int cycles = 0;
80045 int referenced = 0;
80046 int UNUSED insn_referenced = abuf->written;
80047 INT in_GRi = -1;
80048 INT in_GRj = -1;
80049 INT in_ICCi_2 = -1;
80050 INT in_FCCi_2 = -1;
80051 referenced |= 1 << 4;
80052 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80054 return cycles;
80055 #undef FLD
80058 static int
80059 model_fr450_bno (SIM_CPU *current_cpu, void *sem_arg)
80061 #define FLD(f) abuf->fields.sfmt_fbne.f
80062 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80063 const IDESC * UNUSED idesc = abuf->idesc;
80064 int cycles = 0;
80066 int referenced = 0;
80067 int UNUSED insn_referenced = abuf->written;
80068 INT in_GRi = -1;
80069 INT in_GRj = -1;
80070 INT in_ICCi_2 = -1;
80071 INT in_FCCi_2 = -1;
80072 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80074 return cycles;
80075 #undef FLD
80078 static int
80079 model_fr450_beq (SIM_CPU *current_cpu, void *sem_arg)
80081 #define FLD(f) abuf->fields.sfmt_beq.f
80082 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80083 const IDESC * UNUSED idesc = abuf->idesc;
80084 int cycles = 0;
80086 int referenced = 0;
80087 int UNUSED insn_referenced = abuf->written;
80088 INT in_GRi = -1;
80089 INT in_GRj = -1;
80090 INT in_ICCi_2 = -1;
80091 INT in_FCCi_2 = -1;
80092 in_ICCi_2 = FLD (in_ICCi_2);
80093 referenced |= 1 << 2;
80094 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80095 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80097 return cycles;
80098 #undef FLD
80101 static int
80102 model_fr450_bne (SIM_CPU *current_cpu, void *sem_arg)
80104 #define FLD(f) abuf->fields.sfmt_beq.f
80105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80106 const IDESC * UNUSED idesc = abuf->idesc;
80107 int cycles = 0;
80109 int referenced = 0;
80110 int UNUSED insn_referenced = abuf->written;
80111 INT in_GRi = -1;
80112 INT in_GRj = -1;
80113 INT in_ICCi_2 = -1;
80114 INT in_FCCi_2 = -1;
80115 in_ICCi_2 = FLD (in_ICCi_2);
80116 referenced |= 1 << 2;
80117 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80118 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80120 return cycles;
80121 #undef FLD
80124 static int
80125 model_fr450_ble (SIM_CPU *current_cpu, void *sem_arg)
80127 #define FLD(f) abuf->fields.sfmt_beq.f
80128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80129 const IDESC * UNUSED idesc = abuf->idesc;
80130 int cycles = 0;
80132 int referenced = 0;
80133 int UNUSED insn_referenced = abuf->written;
80134 INT in_GRi = -1;
80135 INT in_GRj = -1;
80136 INT in_ICCi_2 = -1;
80137 INT in_FCCi_2 = -1;
80138 in_ICCi_2 = FLD (in_ICCi_2);
80139 referenced |= 1 << 2;
80140 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80141 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80143 return cycles;
80144 #undef FLD
80147 static int
80148 model_fr450_bgt (SIM_CPU *current_cpu, void *sem_arg)
80150 #define FLD(f) abuf->fields.sfmt_beq.f
80151 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80152 const IDESC * UNUSED idesc = abuf->idesc;
80153 int cycles = 0;
80155 int referenced = 0;
80156 int UNUSED insn_referenced = abuf->written;
80157 INT in_GRi = -1;
80158 INT in_GRj = -1;
80159 INT in_ICCi_2 = -1;
80160 INT in_FCCi_2 = -1;
80161 in_ICCi_2 = FLD (in_ICCi_2);
80162 referenced |= 1 << 2;
80163 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80164 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80166 return cycles;
80167 #undef FLD
80170 static int
80171 model_fr450_blt (SIM_CPU *current_cpu, void *sem_arg)
80173 #define FLD(f) abuf->fields.sfmt_beq.f
80174 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80175 const IDESC * UNUSED idesc = abuf->idesc;
80176 int cycles = 0;
80178 int referenced = 0;
80179 int UNUSED insn_referenced = abuf->written;
80180 INT in_GRi = -1;
80181 INT in_GRj = -1;
80182 INT in_ICCi_2 = -1;
80183 INT in_FCCi_2 = -1;
80184 in_ICCi_2 = FLD (in_ICCi_2);
80185 referenced |= 1 << 2;
80186 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80187 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80189 return cycles;
80190 #undef FLD
80193 static int
80194 model_fr450_bge (SIM_CPU *current_cpu, void *sem_arg)
80196 #define FLD(f) abuf->fields.sfmt_beq.f
80197 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80198 const IDESC * UNUSED idesc = abuf->idesc;
80199 int cycles = 0;
80201 int referenced = 0;
80202 int UNUSED insn_referenced = abuf->written;
80203 INT in_GRi = -1;
80204 INT in_GRj = -1;
80205 INT in_ICCi_2 = -1;
80206 INT in_FCCi_2 = -1;
80207 in_ICCi_2 = FLD (in_ICCi_2);
80208 referenced |= 1 << 2;
80209 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80210 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80212 return cycles;
80213 #undef FLD
80216 static int
80217 model_fr450_bls (SIM_CPU *current_cpu, void *sem_arg)
80219 #define FLD(f) abuf->fields.sfmt_beq.f
80220 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80221 const IDESC * UNUSED idesc = abuf->idesc;
80222 int cycles = 0;
80224 int referenced = 0;
80225 int UNUSED insn_referenced = abuf->written;
80226 INT in_GRi = -1;
80227 INT in_GRj = -1;
80228 INT in_ICCi_2 = -1;
80229 INT in_FCCi_2 = -1;
80230 in_ICCi_2 = FLD (in_ICCi_2);
80231 referenced |= 1 << 2;
80232 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80233 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80235 return cycles;
80236 #undef FLD
80239 static int
80240 model_fr450_bhi (SIM_CPU *current_cpu, void *sem_arg)
80242 #define FLD(f) abuf->fields.sfmt_beq.f
80243 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80244 const IDESC * UNUSED idesc = abuf->idesc;
80245 int cycles = 0;
80247 int referenced = 0;
80248 int UNUSED insn_referenced = abuf->written;
80249 INT in_GRi = -1;
80250 INT in_GRj = -1;
80251 INT in_ICCi_2 = -1;
80252 INT in_FCCi_2 = -1;
80253 in_ICCi_2 = FLD (in_ICCi_2);
80254 referenced |= 1 << 2;
80255 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80256 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80258 return cycles;
80259 #undef FLD
80262 static int
80263 model_fr450_bc (SIM_CPU *current_cpu, void *sem_arg)
80265 #define FLD(f) abuf->fields.sfmt_beq.f
80266 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80267 const IDESC * UNUSED idesc = abuf->idesc;
80268 int cycles = 0;
80270 int referenced = 0;
80271 int UNUSED insn_referenced = abuf->written;
80272 INT in_GRi = -1;
80273 INT in_GRj = -1;
80274 INT in_ICCi_2 = -1;
80275 INT in_FCCi_2 = -1;
80276 in_ICCi_2 = FLD (in_ICCi_2);
80277 referenced |= 1 << 2;
80278 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80279 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80281 return cycles;
80282 #undef FLD
80285 static int
80286 model_fr450_bnc (SIM_CPU *current_cpu, void *sem_arg)
80288 #define FLD(f) abuf->fields.sfmt_beq.f
80289 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80290 const IDESC * UNUSED idesc = abuf->idesc;
80291 int cycles = 0;
80293 int referenced = 0;
80294 int UNUSED insn_referenced = abuf->written;
80295 INT in_GRi = -1;
80296 INT in_GRj = -1;
80297 INT in_ICCi_2 = -1;
80298 INT in_FCCi_2 = -1;
80299 in_ICCi_2 = FLD (in_ICCi_2);
80300 referenced |= 1 << 2;
80301 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80302 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80304 return cycles;
80305 #undef FLD
80308 static int
80309 model_fr450_bn (SIM_CPU *current_cpu, void *sem_arg)
80311 #define FLD(f) abuf->fields.sfmt_beq.f
80312 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80313 const IDESC * UNUSED idesc = abuf->idesc;
80314 int cycles = 0;
80316 int referenced = 0;
80317 int UNUSED insn_referenced = abuf->written;
80318 INT in_GRi = -1;
80319 INT in_GRj = -1;
80320 INT in_ICCi_2 = -1;
80321 INT in_FCCi_2 = -1;
80322 in_ICCi_2 = FLD (in_ICCi_2);
80323 referenced |= 1 << 2;
80324 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80325 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80327 return cycles;
80328 #undef FLD
80331 static int
80332 model_fr450_bp (SIM_CPU *current_cpu, void *sem_arg)
80334 #define FLD(f) abuf->fields.sfmt_beq.f
80335 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80336 const IDESC * UNUSED idesc = abuf->idesc;
80337 int cycles = 0;
80339 int referenced = 0;
80340 int UNUSED insn_referenced = abuf->written;
80341 INT in_GRi = -1;
80342 INT in_GRj = -1;
80343 INT in_ICCi_2 = -1;
80344 INT in_FCCi_2 = -1;
80345 in_ICCi_2 = FLD (in_ICCi_2);
80346 referenced |= 1 << 2;
80347 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80348 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80350 return cycles;
80351 #undef FLD
80354 static int
80355 model_fr450_bv (SIM_CPU *current_cpu, void *sem_arg)
80357 #define FLD(f) abuf->fields.sfmt_beq.f
80358 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80359 const IDESC * UNUSED idesc = abuf->idesc;
80360 int cycles = 0;
80362 int referenced = 0;
80363 int UNUSED insn_referenced = abuf->written;
80364 INT in_GRi = -1;
80365 INT in_GRj = -1;
80366 INT in_ICCi_2 = -1;
80367 INT in_FCCi_2 = -1;
80368 in_ICCi_2 = FLD (in_ICCi_2);
80369 referenced |= 1 << 2;
80370 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80371 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80373 return cycles;
80374 #undef FLD
80377 static int
80378 model_fr450_bnv (SIM_CPU *current_cpu, void *sem_arg)
80380 #define FLD(f) abuf->fields.sfmt_beq.f
80381 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80382 const IDESC * UNUSED idesc = abuf->idesc;
80383 int cycles = 0;
80385 int referenced = 0;
80386 int UNUSED insn_referenced = abuf->written;
80387 INT in_GRi = -1;
80388 INT in_GRj = -1;
80389 INT in_ICCi_2 = -1;
80390 INT in_FCCi_2 = -1;
80391 in_ICCi_2 = FLD (in_ICCi_2);
80392 referenced |= 1 << 2;
80393 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80394 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80396 return cycles;
80397 #undef FLD
80400 static int
80401 model_fr450_fbra (SIM_CPU *current_cpu, void *sem_arg)
80403 #define FLD(f) abuf->fields.sfmt_fbne.f
80404 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80405 const IDESC * UNUSED idesc = abuf->idesc;
80406 int cycles = 0;
80408 int referenced = 0;
80409 int UNUSED insn_referenced = abuf->written;
80410 INT in_GRi = -1;
80411 INT in_GRj = -1;
80412 INT in_ICCi_2 = -1;
80413 INT in_FCCi_2 = -1;
80414 referenced |= 1 << 4;
80415 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80417 return cycles;
80418 #undef FLD
80421 static int
80422 model_fr450_fbno (SIM_CPU *current_cpu, void *sem_arg)
80424 #define FLD(f) abuf->fields.sfmt_fbne.f
80425 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80426 const IDESC * UNUSED idesc = abuf->idesc;
80427 int cycles = 0;
80429 int referenced = 0;
80430 int UNUSED insn_referenced = abuf->written;
80431 INT in_GRi = -1;
80432 INT in_GRj = -1;
80433 INT in_ICCi_2 = -1;
80434 INT in_FCCi_2 = -1;
80435 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80437 return cycles;
80438 #undef FLD
80441 static int
80442 model_fr450_fbne (SIM_CPU *current_cpu, void *sem_arg)
80444 #define FLD(f) abuf->fields.sfmt_fbne.f
80445 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80446 const IDESC * UNUSED idesc = abuf->idesc;
80447 int cycles = 0;
80449 int referenced = 0;
80450 int UNUSED insn_referenced = abuf->written;
80451 INT in_GRi = -1;
80452 INT in_GRj = -1;
80453 INT in_ICCi_2 = -1;
80454 INT in_FCCi_2 = -1;
80455 in_FCCi_2 = FLD (in_FCCi_2);
80456 referenced |= 1 << 3;
80457 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80458 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80460 return cycles;
80461 #undef FLD
80464 static int
80465 model_fr450_fbeq (SIM_CPU *current_cpu, void *sem_arg)
80467 #define FLD(f) abuf->fields.sfmt_fbne.f
80468 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80469 const IDESC * UNUSED idesc = abuf->idesc;
80470 int cycles = 0;
80472 int referenced = 0;
80473 int UNUSED insn_referenced = abuf->written;
80474 INT in_GRi = -1;
80475 INT in_GRj = -1;
80476 INT in_ICCi_2 = -1;
80477 INT in_FCCi_2 = -1;
80478 in_FCCi_2 = FLD (in_FCCi_2);
80479 referenced |= 1 << 3;
80480 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80481 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80483 return cycles;
80484 #undef FLD
80487 static int
80488 model_fr450_fblg (SIM_CPU *current_cpu, void *sem_arg)
80490 #define FLD(f) abuf->fields.sfmt_fbne.f
80491 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80492 const IDESC * UNUSED idesc = abuf->idesc;
80493 int cycles = 0;
80495 int referenced = 0;
80496 int UNUSED insn_referenced = abuf->written;
80497 INT in_GRi = -1;
80498 INT in_GRj = -1;
80499 INT in_ICCi_2 = -1;
80500 INT in_FCCi_2 = -1;
80501 in_FCCi_2 = FLD (in_FCCi_2);
80502 referenced |= 1 << 3;
80503 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80504 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80506 return cycles;
80507 #undef FLD
80510 static int
80511 model_fr450_fbue (SIM_CPU *current_cpu, void *sem_arg)
80513 #define FLD(f) abuf->fields.sfmt_fbne.f
80514 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80515 const IDESC * UNUSED idesc = abuf->idesc;
80516 int cycles = 0;
80518 int referenced = 0;
80519 int UNUSED insn_referenced = abuf->written;
80520 INT in_GRi = -1;
80521 INT in_GRj = -1;
80522 INT in_ICCi_2 = -1;
80523 INT in_FCCi_2 = -1;
80524 in_FCCi_2 = FLD (in_FCCi_2);
80525 referenced |= 1 << 3;
80526 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80527 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80529 return cycles;
80530 #undef FLD
80533 static int
80534 model_fr450_fbul (SIM_CPU *current_cpu, void *sem_arg)
80536 #define FLD(f) abuf->fields.sfmt_fbne.f
80537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80538 const IDESC * UNUSED idesc = abuf->idesc;
80539 int cycles = 0;
80541 int referenced = 0;
80542 int UNUSED insn_referenced = abuf->written;
80543 INT in_GRi = -1;
80544 INT in_GRj = -1;
80545 INT in_ICCi_2 = -1;
80546 INT in_FCCi_2 = -1;
80547 in_FCCi_2 = FLD (in_FCCi_2);
80548 referenced |= 1 << 3;
80549 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80550 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80552 return cycles;
80553 #undef FLD
80556 static int
80557 model_fr450_fbge (SIM_CPU *current_cpu, void *sem_arg)
80559 #define FLD(f) abuf->fields.sfmt_fbne.f
80560 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80561 const IDESC * UNUSED idesc = abuf->idesc;
80562 int cycles = 0;
80564 int referenced = 0;
80565 int UNUSED insn_referenced = abuf->written;
80566 INT in_GRi = -1;
80567 INT in_GRj = -1;
80568 INT in_ICCi_2 = -1;
80569 INT in_FCCi_2 = -1;
80570 in_FCCi_2 = FLD (in_FCCi_2);
80571 referenced |= 1 << 3;
80572 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80573 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80575 return cycles;
80576 #undef FLD
80579 static int
80580 model_fr450_fblt (SIM_CPU *current_cpu, void *sem_arg)
80582 #define FLD(f) abuf->fields.sfmt_fbne.f
80583 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80584 const IDESC * UNUSED idesc = abuf->idesc;
80585 int cycles = 0;
80587 int referenced = 0;
80588 int UNUSED insn_referenced = abuf->written;
80589 INT in_GRi = -1;
80590 INT in_GRj = -1;
80591 INT in_ICCi_2 = -1;
80592 INT in_FCCi_2 = -1;
80593 in_FCCi_2 = FLD (in_FCCi_2);
80594 referenced |= 1 << 3;
80595 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80596 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80598 return cycles;
80599 #undef FLD
80602 static int
80603 model_fr450_fbuge (SIM_CPU *current_cpu, void *sem_arg)
80605 #define FLD(f) abuf->fields.sfmt_fbne.f
80606 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80607 const IDESC * UNUSED idesc = abuf->idesc;
80608 int cycles = 0;
80610 int referenced = 0;
80611 int UNUSED insn_referenced = abuf->written;
80612 INT in_GRi = -1;
80613 INT in_GRj = -1;
80614 INT in_ICCi_2 = -1;
80615 INT in_FCCi_2 = -1;
80616 in_FCCi_2 = FLD (in_FCCi_2);
80617 referenced |= 1 << 3;
80618 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80619 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80621 return cycles;
80622 #undef FLD
80625 static int
80626 model_fr450_fbug (SIM_CPU *current_cpu, void *sem_arg)
80628 #define FLD(f) abuf->fields.sfmt_fbne.f
80629 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80630 const IDESC * UNUSED idesc = abuf->idesc;
80631 int cycles = 0;
80633 int referenced = 0;
80634 int UNUSED insn_referenced = abuf->written;
80635 INT in_GRi = -1;
80636 INT in_GRj = -1;
80637 INT in_ICCi_2 = -1;
80638 INT in_FCCi_2 = -1;
80639 in_FCCi_2 = FLD (in_FCCi_2);
80640 referenced |= 1 << 3;
80641 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80642 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80644 return cycles;
80645 #undef FLD
80648 static int
80649 model_fr450_fble (SIM_CPU *current_cpu, void *sem_arg)
80651 #define FLD(f) abuf->fields.sfmt_fbne.f
80652 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80653 const IDESC * UNUSED idesc = abuf->idesc;
80654 int cycles = 0;
80656 int referenced = 0;
80657 int UNUSED insn_referenced = abuf->written;
80658 INT in_GRi = -1;
80659 INT in_GRj = -1;
80660 INT in_ICCi_2 = -1;
80661 INT in_FCCi_2 = -1;
80662 in_FCCi_2 = FLD (in_FCCi_2);
80663 referenced |= 1 << 3;
80664 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80665 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80667 return cycles;
80668 #undef FLD
80671 static int
80672 model_fr450_fbgt (SIM_CPU *current_cpu, void *sem_arg)
80674 #define FLD(f) abuf->fields.sfmt_fbne.f
80675 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80676 const IDESC * UNUSED idesc = abuf->idesc;
80677 int cycles = 0;
80679 int referenced = 0;
80680 int UNUSED insn_referenced = abuf->written;
80681 INT in_GRi = -1;
80682 INT in_GRj = -1;
80683 INT in_ICCi_2 = -1;
80684 INT in_FCCi_2 = -1;
80685 in_FCCi_2 = FLD (in_FCCi_2);
80686 referenced |= 1 << 3;
80687 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80688 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80690 return cycles;
80691 #undef FLD
80694 static int
80695 model_fr450_fbule (SIM_CPU *current_cpu, void *sem_arg)
80697 #define FLD(f) abuf->fields.sfmt_fbne.f
80698 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80699 const IDESC * UNUSED idesc = abuf->idesc;
80700 int cycles = 0;
80702 int referenced = 0;
80703 int UNUSED insn_referenced = abuf->written;
80704 INT in_GRi = -1;
80705 INT in_GRj = -1;
80706 INT in_ICCi_2 = -1;
80707 INT in_FCCi_2 = -1;
80708 in_FCCi_2 = FLD (in_FCCi_2);
80709 referenced |= 1 << 3;
80710 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80711 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80713 return cycles;
80714 #undef FLD
80717 static int
80718 model_fr450_fbu (SIM_CPU *current_cpu, void *sem_arg)
80720 #define FLD(f) abuf->fields.sfmt_fbne.f
80721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80722 const IDESC * UNUSED idesc = abuf->idesc;
80723 int cycles = 0;
80725 int referenced = 0;
80726 int UNUSED insn_referenced = abuf->written;
80727 INT in_GRi = -1;
80728 INT in_GRj = -1;
80729 INT in_ICCi_2 = -1;
80730 INT in_FCCi_2 = -1;
80731 in_FCCi_2 = FLD (in_FCCi_2);
80732 referenced |= 1 << 3;
80733 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80734 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80736 return cycles;
80737 #undef FLD
80740 static int
80741 model_fr450_fbo (SIM_CPU *current_cpu, void *sem_arg)
80743 #define FLD(f) abuf->fields.sfmt_fbne.f
80744 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80745 const IDESC * UNUSED idesc = abuf->idesc;
80746 int cycles = 0;
80748 int referenced = 0;
80749 int UNUSED insn_referenced = abuf->written;
80750 INT in_GRi = -1;
80751 INT in_GRj = -1;
80752 INT in_ICCi_2 = -1;
80753 INT in_FCCi_2 = -1;
80754 in_FCCi_2 = FLD (in_FCCi_2);
80755 referenced |= 1 << 3;
80756 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80757 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80759 return cycles;
80760 #undef FLD
80763 static int
80764 model_fr450_bctrlr (SIM_CPU *current_cpu, void *sem_arg)
80766 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
80767 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80768 const IDESC * UNUSED idesc = abuf->idesc;
80769 int cycles = 0;
80771 int referenced = 0;
80772 int UNUSED insn_referenced = abuf->written;
80773 INT in_GRi = -1;
80774 INT in_GRj = -1;
80775 INT in_ICCi_2 = -1;
80776 INT in_FCCi_2 = -1;
80777 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
80778 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80780 return cycles;
80781 #undef FLD
80784 static int
80785 model_fr450_bralr (SIM_CPU *current_cpu, void *sem_arg)
80787 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
80788 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80789 const IDESC * UNUSED idesc = abuf->idesc;
80790 int cycles = 0;
80792 int referenced = 0;
80793 int UNUSED insn_referenced = abuf->written;
80794 INT in_GRi = -1;
80795 INT in_GRj = -1;
80796 INT in_ICCi_2 = -1;
80797 INT in_FCCi_2 = -1;
80798 referenced |= 1 << 4;
80799 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80801 return cycles;
80802 #undef FLD
80805 static int
80806 model_fr450_bnolr (SIM_CPU *current_cpu, void *sem_arg)
80808 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
80809 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80810 const IDESC * UNUSED idesc = abuf->idesc;
80811 int cycles = 0;
80813 int referenced = 0;
80814 int UNUSED insn_referenced = abuf->written;
80815 INT in_GRi = -1;
80816 INT in_GRj = -1;
80817 INT in_ICCi_2 = -1;
80818 INT in_FCCi_2 = -1;
80819 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80821 return cycles;
80822 #undef FLD
80825 static int
80826 model_fr450_beqlr (SIM_CPU *current_cpu, void *sem_arg)
80828 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80829 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80830 const IDESC * UNUSED idesc = abuf->idesc;
80831 int cycles = 0;
80833 int referenced = 0;
80834 int UNUSED insn_referenced = abuf->written;
80835 INT in_GRi = -1;
80836 INT in_GRj = -1;
80837 INT in_ICCi_2 = -1;
80838 INT in_FCCi_2 = -1;
80839 in_ICCi_2 = FLD (in_ICCi_2);
80840 referenced |= 1 << 2;
80841 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80842 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80844 return cycles;
80845 #undef FLD
80848 static int
80849 model_fr450_bnelr (SIM_CPU *current_cpu, void *sem_arg)
80851 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80852 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80853 const IDESC * UNUSED idesc = abuf->idesc;
80854 int cycles = 0;
80856 int referenced = 0;
80857 int UNUSED insn_referenced = abuf->written;
80858 INT in_GRi = -1;
80859 INT in_GRj = -1;
80860 INT in_ICCi_2 = -1;
80861 INT in_FCCi_2 = -1;
80862 in_ICCi_2 = FLD (in_ICCi_2);
80863 referenced |= 1 << 2;
80864 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80865 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80867 return cycles;
80868 #undef FLD
80871 static int
80872 model_fr450_blelr (SIM_CPU *current_cpu, void *sem_arg)
80874 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80875 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80876 const IDESC * UNUSED idesc = abuf->idesc;
80877 int cycles = 0;
80879 int referenced = 0;
80880 int UNUSED insn_referenced = abuf->written;
80881 INT in_GRi = -1;
80882 INT in_GRj = -1;
80883 INT in_ICCi_2 = -1;
80884 INT in_FCCi_2 = -1;
80885 in_ICCi_2 = FLD (in_ICCi_2);
80886 referenced |= 1 << 2;
80887 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80888 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80890 return cycles;
80891 #undef FLD
80894 static int
80895 model_fr450_bgtlr (SIM_CPU *current_cpu, void *sem_arg)
80897 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80898 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80899 const IDESC * UNUSED idesc = abuf->idesc;
80900 int cycles = 0;
80902 int referenced = 0;
80903 int UNUSED insn_referenced = abuf->written;
80904 INT in_GRi = -1;
80905 INT in_GRj = -1;
80906 INT in_ICCi_2 = -1;
80907 INT in_FCCi_2 = -1;
80908 in_ICCi_2 = FLD (in_ICCi_2);
80909 referenced |= 1 << 2;
80910 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80911 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80913 return cycles;
80914 #undef FLD
80917 static int
80918 model_fr450_bltlr (SIM_CPU *current_cpu, void *sem_arg)
80920 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80921 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80922 const IDESC * UNUSED idesc = abuf->idesc;
80923 int cycles = 0;
80925 int referenced = 0;
80926 int UNUSED insn_referenced = abuf->written;
80927 INT in_GRi = -1;
80928 INT in_GRj = -1;
80929 INT in_ICCi_2 = -1;
80930 INT in_FCCi_2 = -1;
80931 in_ICCi_2 = FLD (in_ICCi_2);
80932 referenced |= 1 << 2;
80933 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80934 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80936 return cycles;
80937 #undef FLD
80940 static int
80941 model_fr450_bgelr (SIM_CPU *current_cpu, void *sem_arg)
80943 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80944 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80945 const IDESC * UNUSED idesc = abuf->idesc;
80946 int cycles = 0;
80948 int referenced = 0;
80949 int UNUSED insn_referenced = abuf->written;
80950 INT in_GRi = -1;
80951 INT in_GRj = -1;
80952 INT in_ICCi_2 = -1;
80953 INT in_FCCi_2 = -1;
80954 in_ICCi_2 = FLD (in_ICCi_2);
80955 referenced |= 1 << 2;
80956 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80957 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80959 return cycles;
80960 #undef FLD
80963 static int
80964 model_fr450_blslr (SIM_CPU *current_cpu, void *sem_arg)
80966 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80967 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80968 const IDESC * UNUSED idesc = abuf->idesc;
80969 int cycles = 0;
80971 int referenced = 0;
80972 int UNUSED insn_referenced = abuf->written;
80973 INT in_GRi = -1;
80974 INT in_GRj = -1;
80975 INT in_ICCi_2 = -1;
80976 INT in_FCCi_2 = -1;
80977 in_ICCi_2 = FLD (in_ICCi_2);
80978 referenced |= 1 << 2;
80979 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
80980 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
80982 return cycles;
80983 #undef FLD
80986 static int
80987 model_fr450_bhilr (SIM_CPU *current_cpu, void *sem_arg)
80989 #define FLD(f) abuf->fields.sfmt_bceqlr.f
80990 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
80991 const IDESC * UNUSED idesc = abuf->idesc;
80992 int cycles = 0;
80994 int referenced = 0;
80995 int UNUSED insn_referenced = abuf->written;
80996 INT in_GRi = -1;
80997 INT in_GRj = -1;
80998 INT in_ICCi_2 = -1;
80999 INT in_FCCi_2 = -1;
81000 in_ICCi_2 = FLD (in_ICCi_2);
81001 referenced |= 1 << 2;
81002 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81003 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81005 return cycles;
81006 #undef FLD
81009 static int
81010 model_fr450_bclr (SIM_CPU *current_cpu, void *sem_arg)
81012 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81013 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81014 const IDESC * UNUSED idesc = abuf->idesc;
81015 int cycles = 0;
81017 int referenced = 0;
81018 int UNUSED insn_referenced = abuf->written;
81019 INT in_GRi = -1;
81020 INT in_GRj = -1;
81021 INT in_ICCi_2 = -1;
81022 INT in_FCCi_2 = -1;
81023 in_ICCi_2 = FLD (in_ICCi_2);
81024 referenced |= 1 << 2;
81025 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81026 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81028 return cycles;
81029 #undef FLD
81032 static int
81033 model_fr450_bnclr (SIM_CPU *current_cpu, void *sem_arg)
81035 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81036 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81037 const IDESC * UNUSED idesc = abuf->idesc;
81038 int cycles = 0;
81040 int referenced = 0;
81041 int UNUSED insn_referenced = abuf->written;
81042 INT in_GRi = -1;
81043 INT in_GRj = -1;
81044 INT in_ICCi_2 = -1;
81045 INT in_FCCi_2 = -1;
81046 in_ICCi_2 = FLD (in_ICCi_2);
81047 referenced |= 1 << 2;
81048 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81049 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81051 return cycles;
81052 #undef FLD
81055 static int
81056 model_fr450_bnlr (SIM_CPU *current_cpu, void *sem_arg)
81058 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81059 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81060 const IDESC * UNUSED idesc = abuf->idesc;
81061 int cycles = 0;
81063 int referenced = 0;
81064 int UNUSED insn_referenced = abuf->written;
81065 INT in_GRi = -1;
81066 INT in_GRj = -1;
81067 INT in_ICCi_2 = -1;
81068 INT in_FCCi_2 = -1;
81069 in_ICCi_2 = FLD (in_ICCi_2);
81070 referenced |= 1 << 2;
81071 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81072 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81074 return cycles;
81075 #undef FLD
81078 static int
81079 model_fr450_bplr (SIM_CPU *current_cpu, void *sem_arg)
81081 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81082 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81083 const IDESC * UNUSED idesc = abuf->idesc;
81084 int cycles = 0;
81086 int referenced = 0;
81087 int UNUSED insn_referenced = abuf->written;
81088 INT in_GRi = -1;
81089 INT in_GRj = -1;
81090 INT in_ICCi_2 = -1;
81091 INT in_FCCi_2 = -1;
81092 in_ICCi_2 = FLD (in_ICCi_2);
81093 referenced |= 1 << 2;
81094 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81095 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81097 return cycles;
81098 #undef FLD
81101 static int
81102 model_fr450_bvlr (SIM_CPU *current_cpu, void *sem_arg)
81104 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81106 const IDESC * UNUSED idesc = abuf->idesc;
81107 int cycles = 0;
81109 int referenced = 0;
81110 int UNUSED insn_referenced = abuf->written;
81111 INT in_GRi = -1;
81112 INT in_GRj = -1;
81113 INT in_ICCi_2 = -1;
81114 INT in_FCCi_2 = -1;
81115 in_ICCi_2 = FLD (in_ICCi_2);
81116 referenced |= 1 << 2;
81117 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81118 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81120 return cycles;
81121 #undef FLD
81124 static int
81125 model_fr450_bnvlr (SIM_CPU *current_cpu, void *sem_arg)
81127 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81128 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81129 const IDESC * UNUSED idesc = abuf->idesc;
81130 int cycles = 0;
81132 int referenced = 0;
81133 int UNUSED insn_referenced = abuf->written;
81134 INT in_GRi = -1;
81135 INT in_GRj = -1;
81136 INT in_ICCi_2 = -1;
81137 INT in_FCCi_2 = -1;
81138 in_ICCi_2 = FLD (in_ICCi_2);
81139 referenced |= 1 << 2;
81140 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81141 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81143 return cycles;
81144 #undef FLD
81147 static int
81148 model_fr450_fbralr (SIM_CPU *current_cpu, void *sem_arg)
81150 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81151 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81152 const IDESC * UNUSED idesc = abuf->idesc;
81153 int cycles = 0;
81155 int referenced = 0;
81156 int UNUSED insn_referenced = abuf->written;
81157 INT in_GRi = -1;
81158 INT in_GRj = -1;
81159 INT in_ICCi_2 = -1;
81160 INT in_FCCi_2 = -1;
81161 referenced |= 1 << 4;
81162 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81164 return cycles;
81165 #undef FLD
81168 static int
81169 model_fr450_fbnolr (SIM_CPU *current_cpu, void *sem_arg)
81171 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81172 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81173 const IDESC * UNUSED idesc = abuf->idesc;
81174 int cycles = 0;
81176 int referenced = 0;
81177 int UNUSED insn_referenced = abuf->written;
81178 INT in_GRi = -1;
81179 INT in_GRj = -1;
81180 INT in_ICCi_2 = -1;
81181 INT in_FCCi_2 = -1;
81182 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81184 return cycles;
81185 #undef FLD
81188 static int
81189 model_fr450_fbeqlr (SIM_CPU *current_cpu, void *sem_arg)
81191 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81192 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81193 const IDESC * UNUSED idesc = abuf->idesc;
81194 int cycles = 0;
81196 int referenced = 0;
81197 int UNUSED insn_referenced = abuf->written;
81198 INT in_GRi = -1;
81199 INT in_GRj = -1;
81200 INT in_ICCi_2 = -1;
81201 INT in_FCCi_2 = -1;
81202 in_FCCi_2 = FLD (in_FCCi_2);
81203 referenced |= 1 << 3;
81204 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81205 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81207 return cycles;
81208 #undef FLD
81211 static int
81212 model_fr450_fbnelr (SIM_CPU *current_cpu, void *sem_arg)
81214 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81215 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81216 const IDESC * UNUSED idesc = abuf->idesc;
81217 int cycles = 0;
81219 int referenced = 0;
81220 int UNUSED insn_referenced = abuf->written;
81221 INT in_GRi = -1;
81222 INT in_GRj = -1;
81223 INT in_ICCi_2 = -1;
81224 INT in_FCCi_2 = -1;
81225 in_FCCi_2 = FLD (in_FCCi_2);
81226 referenced |= 1 << 3;
81227 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81228 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81230 return cycles;
81231 #undef FLD
81234 static int
81235 model_fr450_fblglr (SIM_CPU *current_cpu, void *sem_arg)
81237 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81238 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81239 const IDESC * UNUSED idesc = abuf->idesc;
81240 int cycles = 0;
81242 int referenced = 0;
81243 int UNUSED insn_referenced = abuf->written;
81244 INT in_GRi = -1;
81245 INT in_GRj = -1;
81246 INT in_ICCi_2 = -1;
81247 INT in_FCCi_2 = -1;
81248 in_FCCi_2 = FLD (in_FCCi_2);
81249 referenced |= 1 << 3;
81250 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81251 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81253 return cycles;
81254 #undef FLD
81257 static int
81258 model_fr450_fbuelr (SIM_CPU *current_cpu, void *sem_arg)
81260 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81261 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81262 const IDESC * UNUSED idesc = abuf->idesc;
81263 int cycles = 0;
81265 int referenced = 0;
81266 int UNUSED insn_referenced = abuf->written;
81267 INT in_GRi = -1;
81268 INT in_GRj = -1;
81269 INT in_ICCi_2 = -1;
81270 INT in_FCCi_2 = -1;
81271 in_FCCi_2 = FLD (in_FCCi_2);
81272 referenced |= 1 << 3;
81273 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81274 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81276 return cycles;
81277 #undef FLD
81280 static int
81281 model_fr450_fbullr (SIM_CPU *current_cpu, void *sem_arg)
81283 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81284 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81285 const IDESC * UNUSED idesc = abuf->idesc;
81286 int cycles = 0;
81288 int referenced = 0;
81289 int UNUSED insn_referenced = abuf->written;
81290 INT in_GRi = -1;
81291 INT in_GRj = -1;
81292 INT in_ICCi_2 = -1;
81293 INT in_FCCi_2 = -1;
81294 in_FCCi_2 = FLD (in_FCCi_2);
81295 referenced |= 1 << 3;
81296 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81297 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81299 return cycles;
81300 #undef FLD
81303 static int
81304 model_fr450_fbgelr (SIM_CPU *current_cpu, void *sem_arg)
81306 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81307 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81308 const IDESC * UNUSED idesc = abuf->idesc;
81309 int cycles = 0;
81311 int referenced = 0;
81312 int UNUSED insn_referenced = abuf->written;
81313 INT in_GRi = -1;
81314 INT in_GRj = -1;
81315 INT in_ICCi_2 = -1;
81316 INT in_FCCi_2 = -1;
81317 in_FCCi_2 = FLD (in_FCCi_2);
81318 referenced |= 1 << 3;
81319 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81320 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81322 return cycles;
81323 #undef FLD
81326 static int
81327 model_fr450_fbltlr (SIM_CPU *current_cpu, void *sem_arg)
81329 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81330 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81331 const IDESC * UNUSED idesc = abuf->idesc;
81332 int cycles = 0;
81334 int referenced = 0;
81335 int UNUSED insn_referenced = abuf->written;
81336 INT in_GRi = -1;
81337 INT in_GRj = -1;
81338 INT in_ICCi_2 = -1;
81339 INT in_FCCi_2 = -1;
81340 in_FCCi_2 = FLD (in_FCCi_2);
81341 referenced |= 1 << 3;
81342 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81343 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81345 return cycles;
81346 #undef FLD
81349 static int
81350 model_fr450_fbugelr (SIM_CPU *current_cpu, void *sem_arg)
81352 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81354 const IDESC * UNUSED idesc = abuf->idesc;
81355 int cycles = 0;
81357 int referenced = 0;
81358 int UNUSED insn_referenced = abuf->written;
81359 INT in_GRi = -1;
81360 INT in_GRj = -1;
81361 INT in_ICCi_2 = -1;
81362 INT in_FCCi_2 = -1;
81363 in_FCCi_2 = FLD (in_FCCi_2);
81364 referenced |= 1 << 3;
81365 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81366 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81368 return cycles;
81369 #undef FLD
81372 static int
81373 model_fr450_fbuglr (SIM_CPU *current_cpu, void *sem_arg)
81375 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81376 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81377 const IDESC * UNUSED idesc = abuf->idesc;
81378 int cycles = 0;
81380 int referenced = 0;
81381 int UNUSED insn_referenced = abuf->written;
81382 INT in_GRi = -1;
81383 INT in_GRj = -1;
81384 INT in_ICCi_2 = -1;
81385 INT in_FCCi_2 = -1;
81386 in_FCCi_2 = FLD (in_FCCi_2);
81387 referenced |= 1 << 3;
81388 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81389 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81391 return cycles;
81392 #undef FLD
81395 static int
81396 model_fr450_fblelr (SIM_CPU *current_cpu, void *sem_arg)
81398 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81399 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81400 const IDESC * UNUSED idesc = abuf->idesc;
81401 int cycles = 0;
81403 int referenced = 0;
81404 int UNUSED insn_referenced = abuf->written;
81405 INT in_GRi = -1;
81406 INT in_GRj = -1;
81407 INT in_ICCi_2 = -1;
81408 INT in_FCCi_2 = -1;
81409 in_FCCi_2 = FLD (in_FCCi_2);
81410 referenced |= 1 << 3;
81411 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81412 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81414 return cycles;
81415 #undef FLD
81418 static int
81419 model_fr450_fbgtlr (SIM_CPU *current_cpu, void *sem_arg)
81421 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81422 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81423 const IDESC * UNUSED idesc = abuf->idesc;
81424 int cycles = 0;
81426 int referenced = 0;
81427 int UNUSED insn_referenced = abuf->written;
81428 INT in_GRi = -1;
81429 INT in_GRj = -1;
81430 INT in_ICCi_2 = -1;
81431 INT in_FCCi_2 = -1;
81432 in_FCCi_2 = FLD (in_FCCi_2);
81433 referenced |= 1 << 3;
81434 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81435 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81437 return cycles;
81438 #undef FLD
81441 static int
81442 model_fr450_fbulelr (SIM_CPU *current_cpu, void *sem_arg)
81444 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81445 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81446 const IDESC * UNUSED idesc = abuf->idesc;
81447 int cycles = 0;
81449 int referenced = 0;
81450 int UNUSED insn_referenced = abuf->written;
81451 INT in_GRi = -1;
81452 INT in_GRj = -1;
81453 INT in_ICCi_2 = -1;
81454 INT in_FCCi_2 = -1;
81455 in_FCCi_2 = FLD (in_FCCi_2);
81456 referenced |= 1 << 3;
81457 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81458 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81460 return cycles;
81461 #undef FLD
81464 static int
81465 model_fr450_fbulr (SIM_CPU *current_cpu, void *sem_arg)
81467 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81468 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81469 const IDESC * UNUSED idesc = abuf->idesc;
81470 int cycles = 0;
81472 int referenced = 0;
81473 int UNUSED insn_referenced = abuf->written;
81474 INT in_GRi = -1;
81475 INT in_GRj = -1;
81476 INT in_ICCi_2 = -1;
81477 INT in_FCCi_2 = -1;
81478 in_FCCi_2 = FLD (in_FCCi_2);
81479 referenced |= 1 << 3;
81480 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81481 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81483 return cycles;
81484 #undef FLD
81487 static int
81488 model_fr450_fbolr (SIM_CPU *current_cpu, void *sem_arg)
81490 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81491 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81492 const IDESC * UNUSED idesc = abuf->idesc;
81493 int cycles = 0;
81495 int referenced = 0;
81496 int UNUSED insn_referenced = abuf->written;
81497 INT in_GRi = -1;
81498 INT in_GRj = -1;
81499 INT in_ICCi_2 = -1;
81500 INT in_FCCi_2 = -1;
81501 in_FCCi_2 = FLD (in_FCCi_2);
81502 referenced |= 1 << 3;
81503 if (insn_referenced & (1 << 3)) referenced |= 1 << 4;
81504 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81506 return cycles;
81507 #undef FLD
81510 static int
81511 model_fr450_bcralr (SIM_CPU *current_cpu, void *sem_arg)
81513 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81514 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81515 const IDESC * UNUSED idesc = abuf->idesc;
81516 int cycles = 0;
81518 int referenced = 0;
81519 int UNUSED insn_referenced = abuf->written;
81520 INT in_GRi = -1;
81521 INT in_GRj = -1;
81522 INT in_ICCi_2 = -1;
81523 INT in_FCCi_2 = -1;
81524 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
81525 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81527 return cycles;
81528 #undef FLD
81531 static int
81532 model_fr450_bcnolr (SIM_CPU *current_cpu, void *sem_arg)
81534 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81535 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81536 const IDESC * UNUSED idesc = abuf->idesc;
81537 int cycles = 0;
81539 int referenced = 0;
81540 int UNUSED insn_referenced = abuf->written;
81541 INT in_GRi = -1;
81542 INT in_GRj = -1;
81543 INT in_ICCi_2 = -1;
81544 INT in_FCCi_2 = -1;
81545 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81547 return cycles;
81548 #undef FLD
81551 static int
81552 model_fr450_bceqlr (SIM_CPU *current_cpu, void *sem_arg)
81554 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81555 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81556 const IDESC * UNUSED idesc = abuf->idesc;
81557 int cycles = 0;
81559 int referenced = 0;
81560 int UNUSED insn_referenced = abuf->written;
81561 INT in_GRi = -1;
81562 INT in_GRj = -1;
81563 INT in_ICCi_2 = -1;
81564 INT in_FCCi_2 = -1;
81565 in_ICCi_2 = FLD (in_ICCi_2);
81566 referenced |= 1 << 2;
81567 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81568 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81570 return cycles;
81571 #undef FLD
81574 static int
81575 model_fr450_bcnelr (SIM_CPU *current_cpu, void *sem_arg)
81577 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81578 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81579 const IDESC * UNUSED idesc = abuf->idesc;
81580 int cycles = 0;
81582 int referenced = 0;
81583 int UNUSED insn_referenced = abuf->written;
81584 INT in_GRi = -1;
81585 INT in_GRj = -1;
81586 INT in_ICCi_2 = -1;
81587 INT in_FCCi_2 = -1;
81588 in_ICCi_2 = FLD (in_ICCi_2);
81589 referenced |= 1 << 2;
81590 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81591 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81593 return cycles;
81594 #undef FLD
81597 static int
81598 model_fr450_bclelr (SIM_CPU *current_cpu, void *sem_arg)
81600 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81601 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81602 const IDESC * UNUSED idesc = abuf->idesc;
81603 int cycles = 0;
81605 int referenced = 0;
81606 int UNUSED insn_referenced = abuf->written;
81607 INT in_GRi = -1;
81608 INT in_GRj = -1;
81609 INT in_ICCi_2 = -1;
81610 INT in_FCCi_2 = -1;
81611 in_ICCi_2 = FLD (in_ICCi_2);
81612 referenced |= 1 << 2;
81613 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81614 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81616 return cycles;
81617 #undef FLD
81620 static int
81621 model_fr450_bcgtlr (SIM_CPU *current_cpu, void *sem_arg)
81623 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81624 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81625 const IDESC * UNUSED idesc = abuf->idesc;
81626 int cycles = 0;
81628 int referenced = 0;
81629 int UNUSED insn_referenced = abuf->written;
81630 INT in_GRi = -1;
81631 INT in_GRj = -1;
81632 INT in_ICCi_2 = -1;
81633 INT in_FCCi_2 = -1;
81634 in_ICCi_2 = FLD (in_ICCi_2);
81635 referenced |= 1 << 2;
81636 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81637 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81639 return cycles;
81640 #undef FLD
81643 static int
81644 model_fr450_bcltlr (SIM_CPU *current_cpu, void *sem_arg)
81646 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81647 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81648 const IDESC * UNUSED idesc = abuf->idesc;
81649 int cycles = 0;
81651 int referenced = 0;
81652 int UNUSED insn_referenced = abuf->written;
81653 INT in_GRi = -1;
81654 INT in_GRj = -1;
81655 INT in_ICCi_2 = -1;
81656 INT in_FCCi_2 = -1;
81657 in_ICCi_2 = FLD (in_ICCi_2);
81658 referenced |= 1 << 2;
81659 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81660 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81662 return cycles;
81663 #undef FLD
81666 static int
81667 model_fr450_bcgelr (SIM_CPU *current_cpu, void *sem_arg)
81669 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81670 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81671 const IDESC * UNUSED idesc = abuf->idesc;
81672 int cycles = 0;
81674 int referenced = 0;
81675 int UNUSED insn_referenced = abuf->written;
81676 INT in_GRi = -1;
81677 INT in_GRj = -1;
81678 INT in_ICCi_2 = -1;
81679 INT in_FCCi_2 = -1;
81680 in_ICCi_2 = FLD (in_ICCi_2);
81681 referenced |= 1 << 2;
81682 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81683 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81685 return cycles;
81686 #undef FLD
81689 static int
81690 model_fr450_bclslr (SIM_CPU *current_cpu, void *sem_arg)
81692 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81693 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81694 const IDESC * UNUSED idesc = abuf->idesc;
81695 int cycles = 0;
81697 int referenced = 0;
81698 int UNUSED insn_referenced = abuf->written;
81699 INT in_GRi = -1;
81700 INT in_GRj = -1;
81701 INT in_ICCi_2 = -1;
81702 INT in_FCCi_2 = -1;
81703 in_ICCi_2 = FLD (in_ICCi_2);
81704 referenced |= 1 << 2;
81705 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81706 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81708 return cycles;
81709 #undef FLD
81712 static int
81713 model_fr450_bchilr (SIM_CPU *current_cpu, void *sem_arg)
81715 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81716 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81717 const IDESC * UNUSED idesc = abuf->idesc;
81718 int cycles = 0;
81720 int referenced = 0;
81721 int UNUSED insn_referenced = abuf->written;
81722 INT in_GRi = -1;
81723 INT in_GRj = -1;
81724 INT in_ICCi_2 = -1;
81725 INT in_FCCi_2 = -1;
81726 in_ICCi_2 = FLD (in_ICCi_2);
81727 referenced |= 1 << 2;
81728 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81729 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81731 return cycles;
81732 #undef FLD
81735 static int
81736 model_fr450_bcclr (SIM_CPU *current_cpu, void *sem_arg)
81738 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81739 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81740 const IDESC * UNUSED idesc = abuf->idesc;
81741 int cycles = 0;
81743 int referenced = 0;
81744 int UNUSED insn_referenced = abuf->written;
81745 INT in_GRi = -1;
81746 INT in_GRj = -1;
81747 INT in_ICCi_2 = -1;
81748 INT in_FCCi_2 = -1;
81749 in_ICCi_2 = FLD (in_ICCi_2);
81750 referenced |= 1 << 2;
81751 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81752 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81754 return cycles;
81755 #undef FLD
81758 static int
81759 model_fr450_bcnclr (SIM_CPU *current_cpu, void *sem_arg)
81761 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81762 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81763 const IDESC * UNUSED idesc = abuf->idesc;
81764 int cycles = 0;
81766 int referenced = 0;
81767 int UNUSED insn_referenced = abuf->written;
81768 INT in_GRi = -1;
81769 INT in_GRj = -1;
81770 INT in_ICCi_2 = -1;
81771 INT in_FCCi_2 = -1;
81772 in_ICCi_2 = FLD (in_ICCi_2);
81773 referenced |= 1 << 2;
81774 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81775 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81777 return cycles;
81778 #undef FLD
81781 static int
81782 model_fr450_bcnlr (SIM_CPU *current_cpu, void *sem_arg)
81784 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81785 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81786 const IDESC * UNUSED idesc = abuf->idesc;
81787 int cycles = 0;
81789 int referenced = 0;
81790 int UNUSED insn_referenced = abuf->written;
81791 INT in_GRi = -1;
81792 INT in_GRj = -1;
81793 INT in_ICCi_2 = -1;
81794 INT in_FCCi_2 = -1;
81795 in_ICCi_2 = FLD (in_ICCi_2);
81796 referenced |= 1 << 2;
81797 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81798 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81800 return cycles;
81801 #undef FLD
81804 static int
81805 model_fr450_bcplr (SIM_CPU *current_cpu, void *sem_arg)
81807 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81808 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81809 const IDESC * UNUSED idesc = abuf->idesc;
81810 int cycles = 0;
81812 int referenced = 0;
81813 int UNUSED insn_referenced = abuf->written;
81814 INT in_GRi = -1;
81815 INT in_GRj = -1;
81816 INT in_ICCi_2 = -1;
81817 INT in_FCCi_2 = -1;
81818 in_ICCi_2 = FLD (in_ICCi_2);
81819 referenced |= 1 << 2;
81820 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81821 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81823 return cycles;
81824 #undef FLD
81827 static int
81828 model_fr450_bcvlr (SIM_CPU *current_cpu, void *sem_arg)
81830 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81831 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81832 const IDESC * UNUSED idesc = abuf->idesc;
81833 int cycles = 0;
81835 int referenced = 0;
81836 int UNUSED insn_referenced = abuf->written;
81837 INT in_GRi = -1;
81838 INT in_GRj = -1;
81839 INT in_ICCi_2 = -1;
81840 INT in_FCCi_2 = -1;
81841 in_ICCi_2 = FLD (in_ICCi_2);
81842 referenced |= 1 << 2;
81843 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81844 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81846 return cycles;
81847 #undef FLD
81850 static int
81851 model_fr450_bcnvlr (SIM_CPU *current_cpu, void *sem_arg)
81853 #define FLD(f) abuf->fields.sfmt_bceqlr.f
81854 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81855 const IDESC * UNUSED idesc = abuf->idesc;
81856 int cycles = 0;
81858 int referenced = 0;
81859 int UNUSED insn_referenced = abuf->written;
81860 INT in_GRi = -1;
81861 INT in_GRj = -1;
81862 INT in_ICCi_2 = -1;
81863 INT in_FCCi_2 = -1;
81864 in_ICCi_2 = FLD (in_ICCi_2);
81865 referenced |= 1 << 2;
81866 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81867 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81869 return cycles;
81870 #undef FLD
81873 static int
81874 model_fr450_fcbralr (SIM_CPU *current_cpu, void *sem_arg)
81876 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81877 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81878 const IDESC * UNUSED idesc = abuf->idesc;
81879 int cycles = 0;
81881 int referenced = 0;
81882 int UNUSED insn_referenced = abuf->written;
81883 INT in_GRi = -1;
81884 INT in_GRj = -1;
81885 INT in_ICCi_2 = -1;
81886 INT in_FCCi_2 = -1;
81887 if (insn_referenced & (1 << 5)) referenced |= 1 << 4;
81888 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81890 return cycles;
81891 #undef FLD
81894 static int
81895 model_fr450_fcbnolr (SIM_CPU *current_cpu, void *sem_arg)
81897 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81898 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81899 const IDESC * UNUSED idesc = abuf->idesc;
81900 int cycles = 0;
81902 int referenced = 0;
81903 int UNUSED insn_referenced = abuf->written;
81904 INT in_GRi = -1;
81905 INT in_GRj = -1;
81906 INT in_ICCi_2 = -1;
81907 INT in_FCCi_2 = -1;
81908 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81910 return cycles;
81911 #undef FLD
81914 static int
81915 model_fr450_fcbeqlr (SIM_CPU *current_cpu, void *sem_arg)
81917 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81918 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81919 const IDESC * UNUSED idesc = abuf->idesc;
81920 int cycles = 0;
81922 int referenced = 0;
81923 int UNUSED insn_referenced = abuf->written;
81924 INT in_GRi = -1;
81925 INT in_GRj = -1;
81926 INT in_ICCi_2 = -1;
81927 INT in_FCCi_2 = -1;
81928 in_FCCi_2 = FLD (in_FCCi_2);
81929 referenced |= 1 << 3;
81930 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81931 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81933 return cycles;
81934 #undef FLD
81937 static int
81938 model_fr450_fcbnelr (SIM_CPU *current_cpu, void *sem_arg)
81940 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81941 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81942 const IDESC * UNUSED idesc = abuf->idesc;
81943 int cycles = 0;
81945 int referenced = 0;
81946 int UNUSED insn_referenced = abuf->written;
81947 INT in_GRi = -1;
81948 INT in_GRj = -1;
81949 INT in_ICCi_2 = -1;
81950 INT in_FCCi_2 = -1;
81951 in_FCCi_2 = FLD (in_FCCi_2);
81952 referenced |= 1 << 3;
81953 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81954 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81956 return cycles;
81957 #undef FLD
81960 static int
81961 model_fr450_fcblglr (SIM_CPU *current_cpu, void *sem_arg)
81963 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81964 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81965 const IDESC * UNUSED idesc = abuf->idesc;
81966 int cycles = 0;
81968 int referenced = 0;
81969 int UNUSED insn_referenced = abuf->written;
81970 INT in_GRi = -1;
81971 INT in_GRj = -1;
81972 INT in_ICCi_2 = -1;
81973 INT in_FCCi_2 = -1;
81974 in_FCCi_2 = FLD (in_FCCi_2);
81975 referenced |= 1 << 3;
81976 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
81977 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
81979 return cycles;
81980 #undef FLD
81983 static int
81984 model_fr450_fcbuelr (SIM_CPU *current_cpu, void *sem_arg)
81986 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
81987 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
81988 const IDESC * UNUSED idesc = abuf->idesc;
81989 int cycles = 0;
81991 int referenced = 0;
81992 int UNUSED insn_referenced = abuf->written;
81993 INT in_GRi = -1;
81994 INT in_GRj = -1;
81995 INT in_ICCi_2 = -1;
81996 INT in_FCCi_2 = -1;
81997 in_FCCi_2 = FLD (in_FCCi_2);
81998 referenced |= 1 << 3;
81999 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82000 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82002 return cycles;
82003 #undef FLD
82006 static int
82007 model_fr450_fcbullr (SIM_CPU *current_cpu, void *sem_arg)
82009 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82010 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82011 const IDESC * UNUSED idesc = abuf->idesc;
82012 int cycles = 0;
82014 int referenced = 0;
82015 int UNUSED insn_referenced = abuf->written;
82016 INT in_GRi = -1;
82017 INT in_GRj = -1;
82018 INT in_ICCi_2 = -1;
82019 INT in_FCCi_2 = -1;
82020 in_FCCi_2 = FLD (in_FCCi_2);
82021 referenced |= 1 << 3;
82022 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82023 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82025 return cycles;
82026 #undef FLD
82029 static int
82030 model_fr450_fcbgelr (SIM_CPU *current_cpu, void *sem_arg)
82032 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82033 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82034 const IDESC * UNUSED idesc = abuf->idesc;
82035 int cycles = 0;
82037 int referenced = 0;
82038 int UNUSED insn_referenced = abuf->written;
82039 INT in_GRi = -1;
82040 INT in_GRj = -1;
82041 INT in_ICCi_2 = -1;
82042 INT in_FCCi_2 = -1;
82043 in_FCCi_2 = FLD (in_FCCi_2);
82044 referenced |= 1 << 3;
82045 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82046 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82048 return cycles;
82049 #undef FLD
82052 static int
82053 model_fr450_fcbltlr (SIM_CPU *current_cpu, void *sem_arg)
82055 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82056 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82057 const IDESC * UNUSED idesc = abuf->idesc;
82058 int cycles = 0;
82060 int referenced = 0;
82061 int UNUSED insn_referenced = abuf->written;
82062 INT in_GRi = -1;
82063 INT in_GRj = -1;
82064 INT in_ICCi_2 = -1;
82065 INT in_FCCi_2 = -1;
82066 in_FCCi_2 = FLD (in_FCCi_2);
82067 referenced |= 1 << 3;
82068 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82069 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82071 return cycles;
82072 #undef FLD
82075 static int
82076 model_fr450_fcbugelr (SIM_CPU *current_cpu, void *sem_arg)
82078 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82079 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82080 const IDESC * UNUSED idesc = abuf->idesc;
82081 int cycles = 0;
82083 int referenced = 0;
82084 int UNUSED insn_referenced = abuf->written;
82085 INT in_GRi = -1;
82086 INT in_GRj = -1;
82087 INT in_ICCi_2 = -1;
82088 INT in_FCCi_2 = -1;
82089 in_FCCi_2 = FLD (in_FCCi_2);
82090 referenced |= 1 << 3;
82091 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82092 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82094 return cycles;
82095 #undef FLD
82098 static int
82099 model_fr450_fcbuglr (SIM_CPU *current_cpu, void *sem_arg)
82101 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82102 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82103 const IDESC * UNUSED idesc = abuf->idesc;
82104 int cycles = 0;
82106 int referenced = 0;
82107 int UNUSED insn_referenced = abuf->written;
82108 INT in_GRi = -1;
82109 INT in_GRj = -1;
82110 INT in_ICCi_2 = -1;
82111 INT in_FCCi_2 = -1;
82112 in_FCCi_2 = FLD (in_FCCi_2);
82113 referenced |= 1 << 3;
82114 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82115 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82117 return cycles;
82118 #undef FLD
82121 static int
82122 model_fr450_fcblelr (SIM_CPU *current_cpu, void *sem_arg)
82124 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82126 const IDESC * UNUSED idesc = abuf->idesc;
82127 int cycles = 0;
82129 int referenced = 0;
82130 int UNUSED insn_referenced = abuf->written;
82131 INT in_GRi = -1;
82132 INT in_GRj = -1;
82133 INT in_ICCi_2 = -1;
82134 INT in_FCCi_2 = -1;
82135 in_FCCi_2 = FLD (in_FCCi_2);
82136 referenced |= 1 << 3;
82137 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82138 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82140 return cycles;
82141 #undef FLD
82144 static int
82145 model_fr450_fcbgtlr (SIM_CPU *current_cpu, void *sem_arg)
82147 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82148 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82149 const IDESC * UNUSED idesc = abuf->idesc;
82150 int cycles = 0;
82152 int referenced = 0;
82153 int UNUSED insn_referenced = abuf->written;
82154 INT in_GRi = -1;
82155 INT in_GRj = -1;
82156 INT in_ICCi_2 = -1;
82157 INT in_FCCi_2 = -1;
82158 in_FCCi_2 = FLD (in_FCCi_2);
82159 referenced |= 1 << 3;
82160 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82161 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82163 return cycles;
82164 #undef FLD
82167 static int
82168 model_fr450_fcbulelr (SIM_CPU *current_cpu, void *sem_arg)
82170 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82171 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82172 const IDESC * UNUSED idesc = abuf->idesc;
82173 int cycles = 0;
82175 int referenced = 0;
82176 int UNUSED insn_referenced = abuf->written;
82177 INT in_GRi = -1;
82178 INT in_GRj = -1;
82179 INT in_ICCi_2 = -1;
82180 INT in_FCCi_2 = -1;
82181 in_FCCi_2 = FLD (in_FCCi_2);
82182 referenced |= 1 << 3;
82183 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82184 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82186 return cycles;
82187 #undef FLD
82190 static int
82191 model_fr450_fcbulr (SIM_CPU *current_cpu, void *sem_arg)
82193 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82194 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82195 const IDESC * UNUSED idesc = abuf->idesc;
82196 int cycles = 0;
82198 int referenced = 0;
82199 int UNUSED insn_referenced = abuf->written;
82200 INT in_GRi = -1;
82201 INT in_GRj = -1;
82202 INT in_ICCi_2 = -1;
82203 INT in_FCCi_2 = -1;
82204 in_FCCi_2 = FLD (in_FCCi_2);
82205 referenced |= 1 << 3;
82206 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82207 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82209 return cycles;
82210 #undef FLD
82213 static int
82214 model_fr450_fcbolr (SIM_CPU *current_cpu, void *sem_arg)
82216 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
82217 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82218 const IDESC * UNUSED idesc = abuf->idesc;
82219 int cycles = 0;
82221 int referenced = 0;
82222 int UNUSED insn_referenced = abuf->written;
82223 INT in_GRi = -1;
82224 INT in_GRj = -1;
82225 INT in_ICCi_2 = -1;
82226 INT in_FCCi_2 = -1;
82227 in_FCCi_2 = FLD (in_FCCi_2);
82228 referenced |= 1 << 3;
82229 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
82230 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82232 return cycles;
82233 #undef FLD
82236 static int
82237 model_fr450_jmpl (SIM_CPU *current_cpu, void *sem_arg)
82239 #define FLD(f) abuf->fields.sfmt_cjmpl.f
82240 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82241 const IDESC * UNUSED idesc = abuf->idesc;
82242 int cycles = 0;
82244 int referenced = 0;
82245 int UNUSED insn_referenced = abuf->written;
82246 INT in_GRi = -1;
82247 INT in_GRj = -1;
82248 INT in_ICCi_2 = -1;
82249 INT in_FCCi_2 = -1;
82250 in_GRi = FLD (in_GRi);
82251 in_GRj = FLD (in_GRj);
82252 referenced |= 1 << 0;
82253 referenced |= 1 << 1;
82254 referenced |= 1 << 4;
82255 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82257 return cycles;
82258 #undef FLD
82261 static int
82262 model_fr450_calll (SIM_CPU *current_cpu, void *sem_arg)
82264 #define FLD(f) abuf->fields.sfmt_cjmpl.f
82265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82266 const IDESC * UNUSED idesc = abuf->idesc;
82267 int cycles = 0;
82269 int referenced = 0;
82270 int UNUSED insn_referenced = abuf->written;
82271 INT in_GRi = -1;
82272 INT in_GRj = -1;
82273 INT in_ICCi_2 = -1;
82274 INT in_FCCi_2 = -1;
82275 in_GRi = FLD (in_GRi);
82276 in_GRj = FLD (in_GRj);
82277 referenced |= 1 << 0;
82278 referenced |= 1 << 1;
82279 referenced |= 1 << 4;
82280 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82282 return cycles;
82283 #undef FLD
82286 static int
82287 model_fr450_jmpil (SIM_CPU *current_cpu, void *sem_arg)
82289 #define FLD(f) abuf->fields.sfmt_jmpil.f
82290 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82291 const IDESC * UNUSED idesc = abuf->idesc;
82292 int cycles = 0;
82294 int referenced = 0;
82295 int UNUSED insn_referenced = abuf->written;
82296 INT in_GRi = -1;
82297 INT in_GRj = -1;
82298 INT in_ICCi_2 = -1;
82299 INT in_FCCi_2 = -1;
82300 in_GRi = FLD (in_GRi);
82301 referenced |= 1 << 0;
82302 referenced |= 1 << 4;
82303 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82305 return cycles;
82306 #undef FLD
82309 static int
82310 model_fr450_callil (SIM_CPU *current_cpu, void *sem_arg)
82312 #define FLD(f) abuf->fields.sfmt_jmpil.f
82313 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82314 const IDESC * UNUSED idesc = abuf->idesc;
82315 int cycles = 0;
82317 int referenced = 0;
82318 int UNUSED insn_referenced = abuf->written;
82319 INT in_GRi = -1;
82320 INT in_GRj = -1;
82321 INT in_ICCi_2 = -1;
82322 INT in_FCCi_2 = -1;
82323 in_GRi = FLD (in_GRi);
82324 referenced |= 1 << 0;
82325 referenced |= 1 << 4;
82326 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82328 return cycles;
82329 #undef FLD
82332 static int
82333 model_fr450_call (SIM_CPU *current_cpu, void *sem_arg)
82335 #define FLD(f) abuf->fields.sfmt_call.f
82336 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82337 const IDESC * UNUSED idesc = abuf->idesc;
82338 int cycles = 0;
82340 int referenced = 0;
82341 int UNUSED insn_referenced = abuf->written;
82342 INT in_GRi = -1;
82343 INT in_GRj = -1;
82344 INT in_ICCi_2 = -1;
82345 INT in_FCCi_2 = -1;
82346 referenced |= 1 << 4;
82347 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82349 return cycles;
82350 #undef FLD
82353 static int
82354 model_fr450_rett (SIM_CPU *current_cpu, void *sem_arg)
82356 #define FLD(f) abuf->fields.sfmt_rett.f
82357 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82358 const IDESC * UNUSED idesc = abuf->idesc;
82359 int cycles = 0;
82361 int referenced = 0;
82362 int UNUSED insn_referenced = abuf->written;
82363 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
82365 return cycles;
82366 #undef FLD
82369 static int
82370 model_fr450_rei (SIM_CPU *current_cpu, void *sem_arg)
82372 #define FLD(f) abuf->fields.sfmt_empty.f
82373 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82374 const IDESC * UNUSED idesc = abuf->idesc;
82375 int cycles = 0;
82377 int referenced = 0;
82378 int UNUSED insn_referenced = abuf->written;
82379 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
82381 return cycles;
82382 #undef FLD
82385 static int
82386 model_fr450_tra (SIM_CPU *current_cpu, void *sem_arg)
82388 #define FLD(f) abuf->fields.sfmt_ftne.f
82389 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82390 const IDESC * UNUSED idesc = abuf->idesc;
82391 int cycles = 0;
82393 int referenced = 0;
82394 int UNUSED insn_referenced = abuf->written;
82395 INT in_GRi = -1;
82396 INT in_GRj = -1;
82397 INT in_ICCi_2 = -1;
82398 INT in_FCCi_2 = -1;
82399 in_GRi = FLD (in_GRi);
82400 in_GRj = FLD (in_GRj);
82401 referenced |= 1 << 0;
82402 referenced |= 1 << 1;
82403 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82405 return cycles;
82406 #undef FLD
82409 static int
82410 model_fr450_tno (SIM_CPU *current_cpu, void *sem_arg)
82412 #define FLD(f) abuf->fields.sfmt_empty.f
82413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82414 const IDESC * UNUSED idesc = abuf->idesc;
82415 int cycles = 0;
82417 int referenced = 0;
82418 int UNUSED insn_referenced = abuf->written;
82419 INT in_GRi = -1;
82420 INT in_GRj = -1;
82421 INT in_ICCi_2 = -1;
82422 INT in_FCCi_2 = -1;
82423 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82425 return cycles;
82426 #undef FLD
82429 static int
82430 model_fr450_teq (SIM_CPU *current_cpu, void *sem_arg)
82432 #define FLD(f) abuf->fields.sfmt_teq.f
82433 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82434 const IDESC * UNUSED idesc = abuf->idesc;
82435 int cycles = 0;
82437 int referenced = 0;
82438 int UNUSED insn_referenced = abuf->written;
82439 INT in_GRi = -1;
82440 INT in_GRj = -1;
82441 INT in_ICCi_2 = -1;
82442 INT in_FCCi_2 = -1;
82443 in_GRi = FLD (in_GRi);
82444 in_GRj = FLD (in_GRj);
82445 in_ICCi_2 = FLD (in_ICCi_2);
82446 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82447 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82448 referenced |= 1 << 2;
82449 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82451 return cycles;
82452 #undef FLD
82455 static int
82456 model_fr450_tne (SIM_CPU *current_cpu, void *sem_arg)
82458 #define FLD(f) abuf->fields.sfmt_teq.f
82459 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82460 const IDESC * UNUSED idesc = abuf->idesc;
82461 int cycles = 0;
82463 int referenced = 0;
82464 int UNUSED insn_referenced = abuf->written;
82465 INT in_GRi = -1;
82466 INT in_GRj = -1;
82467 INT in_ICCi_2 = -1;
82468 INT in_FCCi_2 = -1;
82469 in_GRi = FLD (in_GRi);
82470 in_GRj = FLD (in_GRj);
82471 in_ICCi_2 = FLD (in_ICCi_2);
82472 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82473 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82474 referenced |= 1 << 2;
82475 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82477 return cycles;
82478 #undef FLD
82481 static int
82482 model_fr450_tle (SIM_CPU *current_cpu, void *sem_arg)
82484 #define FLD(f) abuf->fields.sfmt_teq.f
82485 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82486 const IDESC * UNUSED idesc = abuf->idesc;
82487 int cycles = 0;
82489 int referenced = 0;
82490 int UNUSED insn_referenced = abuf->written;
82491 INT in_GRi = -1;
82492 INT in_GRj = -1;
82493 INT in_ICCi_2 = -1;
82494 INT in_FCCi_2 = -1;
82495 in_GRi = FLD (in_GRi);
82496 in_GRj = FLD (in_GRj);
82497 in_ICCi_2 = FLD (in_ICCi_2);
82498 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82499 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82500 referenced |= 1 << 2;
82501 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82503 return cycles;
82504 #undef FLD
82507 static int
82508 model_fr450_tgt (SIM_CPU *current_cpu, void *sem_arg)
82510 #define FLD(f) abuf->fields.sfmt_teq.f
82511 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82512 const IDESC * UNUSED idesc = abuf->idesc;
82513 int cycles = 0;
82515 int referenced = 0;
82516 int UNUSED insn_referenced = abuf->written;
82517 INT in_GRi = -1;
82518 INT in_GRj = -1;
82519 INT in_ICCi_2 = -1;
82520 INT in_FCCi_2 = -1;
82521 in_GRi = FLD (in_GRi);
82522 in_GRj = FLD (in_GRj);
82523 in_ICCi_2 = FLD (in_ICCi_2);
82524 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82525 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82526 referenced |= 1 << 2;
82527 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82529 return cycles;
82530 #undef FLD
82533 static int
82534 model_fr450_tlt (SIM_CPU *current_cpu, void *sem_arg)
82536 #define FLD(f) abuf->fields.sfmt_teq.f
82537 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82538 const IDESC * UNUSED idesc = abuf->idesc;
82539 int cycles = 0;
82541 int referenced = 0;
82542 int UNUSED insn_referenced = abuf->written;
82543 INT in_GRi = -1;
82544 INT in_GRj = -1;
82545 INT in_ICCi_2 = -1;
82546 INT in_FCCi_2 = -1;
82547 in_GRi = FLD (in_GRi);
82548 in_GRj = FLD (in_GRj);
82549 in_ICCi_2 = FLD (in_ICCi_2);
82550 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82551 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82552 referenced |= 1 << 2;
82553 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82555 return cycles;
82556 #undef FLD
82559 static int
82560 model_fr450_tge (SIM_CPU *current_cpu, void *sem_arg)
82562 #define FLD(f) abuf->fields.sfmt_teq.f
82563 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82564 const IDESC * UNUSED idesc = abuf->idesc;
82565 int cycles = 0;
82567 int referenced = 0;
82568 int UNUSED insn_referenced = abuf->written;
82569 INT in_GRi = -1;
82570 INT in_GRj = -1;
82571 INT in_ICCi_2 = -1;
82572 INT in_FCCi_2 = -1;
82573 in_GRi = FLD (in_GRi);
82574 in_GRj = FLD (in_GRj);
82575 in_ICCi_2 = FLD (in_ICCi_2);
82576 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82577 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82578 referenced |= 1 << 2;
82579 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82581 return cycles;
82582 #undef FLD
82585 static int
82586 model_fr450_tls (SIM_CPU *current_cpu, void *sem_arg)
82588 #define FLD(f) abuf->fields.sfmt_teq.f
82589 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82590 const IDESC * UNUSED idesc = abuf->idesc;
82591 int cycles = 0;
82593 int referenced = 0;
82594 int UNUSED insn_referenced = abuf->written;
82595 INT in_GRi = -1;
82596 INT in_GRj = -1;
82597 INT in_ICCi_2 = -1;
82598 INT in_FCCi_2 = -1;
82599 in_GRi = FLD (in_GRi);
82600 in_GRj = FLD (in_GRj);
82601 in_ICCi_2 = FLD (in_ICCi_2);
82602 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82603 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82604 referenced |= 1 << 2;
82605 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82607 return cycles;
82608 #undef FLD
82611 static int
82612 model_fr450_thi (SIM_CPU *current_cpu, void *sem_arg)
82614 #define FLD(f) abuf->fields.sfmt_teq.f
82615 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82616 const IDESC * UNUSED idesc = abuf->idesc;
82617 int cycles = 0;
82619 int referenced = 0;
82620 int UNUSED insn_referenced = abuf->written;
82621 INT in_GRi = -1;
82622 INT in_GRj = -1;
82623 INT in_ICCi_2 = -1;
82624 INT in_FCCi_2 = -1;
82625 in_GRi = FLD (in_GRi);
82626 in_GRj = FLD (in_GRj);
82627 in_ICCi_2 = FLD (in_ICCi_2);
82628 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82629 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82630 referenced |= 1 << 2;
82631 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82633 return cycles;
82634 #undef FLD
82637 static int
82638 model_fr450_tc (SIM_CPU *current_cpu, void *sem_arg)
82640 #define FLD(f) abuf->fields.sfmt_teq.f
82641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82642 const IDESC * UNUSED idesc = abuf->idesc;
82643 int cycles = 0;
82645 int referenced = 0;
82646 int UNUSED insn_referenced = abuf->written;
82647 INT in_GRi = -1;
82648 INT in_GRj = -1;
82649 INT in_ICCi_2 = -1;
82650 INT in_FCCi_2 = -1;
82651 in_GRi = FLD (in_GRi);
82652 in_GRj = FLD (in_GRj);
82653 in_ICCi_2 = FLD (in_ICCi_2);
82654 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82655 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82656 referenced |= 1 << 2;
82657 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82659 return cycles;
82660 #undef FLD
82663 static int
82664 model_fr450_tnc (SIM_CPU *current_cpu, void *sem_arg)
82666 #define FLD(f) abuf->fields.sfmt_teq.f
82667 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82668 const IDESC * UNUSED idesc = abuf->idesc;
82669 int cycles = 0;
82671 int referenced = 0;
82672 int UNUSED insn_referenced = abuf->written;
82673 INT in_GRi = -1;
82674 INT in_GRj = -1;
82675 INT in_ICCi_2 = -1;
82676 INT in_FCCi_2 = -1;
82677 in_GRi = FLD (in_GRi);
82678 in_GRj = FLD (in_GRj);
82679 in_ICCi_2 = FLD (in_ICCi_2);
82680 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82681 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82682 referenced |= 1 << 2;
82683 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82685 return cycles;
82686 #undef FLD
82689 static int
82690 model_fr450_tn (SIM_CPU *current_cpu, void *sem_arg)
82692 #define FLD(f) abuf->fields.sfmt_teq.f
82693 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82694 const IDESC * UNUSED idesc = abuf->idesc;
82695 int cycles = 0;
82697 int referenced = 0;
82698 int UNUSED insn_referenced = abuf->written;
82699 INT in_GRi = -1;
82700 INT in_GRj = -1;
82701 INT in_ICCi_2 = -1;
82702 INT in_FCCi_2 = -1;
82703 in_GRi = FLD (in_GRi);
82704 in_GRj = FLD (in_GRj);
82705 in_ICCi_2 = FLD (in_ICCi_2);
82706 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82707 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82708 referenced |= 1 << 2;
82709 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82711 return cycles;
82712 #undef FLD
82715 static int
82716 model_fr450_tp (SIM_CPU *current_cpu, void *sem_arg)
82718 #define FLD(f) abuf->fields.sfmt_teq.f
82719 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82720 const IDESC * UNUSED idesc = abuf->idesc;
82721 int cycles = 0;
82723 int referenced = 0;
82724 int UNUSED insn_referenced = abuf->written;
82725 INT in_GRi = -1;
82726 INT in_GRj = -1;
82727 INT in_ICCi_2 = -1;
82728 INT in_FCCi_2 = -1;
82729 in_GRi = FLD (in_GRi);
82730 in_GRj = FLD (in_GRj);
82731 in_ICCi_2 = FLD (in_ICCi_2);
82732 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82733 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82734 referenced |= 1 << 2;
82735 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82737 return cycles;
82738 #undef FLD
82741 static int
82742 model_fr450_tv (SIM_CPU *current_cpu, void *sem_arg)
82744 #define FLD(f) abuf->fields.sfmt_teq.f
82745 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82746 const IDESC * UNUSED idesc = abuf->idesc;
82747 int cycles = 0;
82749 int referenced = 0;
82750 int UNUSED insn_referenced = abuf->written;
82751 INT in_GRi = -1;
82752 INT in_GRj = -1;
82753 INT in_ICCi_2 = -1;
82754 INT in_FCCi_2 = -1;
82755 in_GRi = FLD (in_GRi);
82756 in_GRj = FLD (in_GRj);
82757 in_ICCi_2 = FLD (in_ICCi_2);
82758 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82759 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82760 referenced |= 1 << 2;
82761 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82763 return cycles;
82764 #undef FLD
82767 static int
82768 model_fr450_tnv (SIM_CPU *current_cpu, void *sem_arg)
82770 #define FLD(f) abuf->fields.sfmt_teq.f
82771 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82772 const IDESC * UNUSED idesc = abuf->idesc;
82773 int cycles = 0;
82775 int referenced = 0;
82776 int UNUSED insn_referenced = abuf->written;
82777 INT in_GRi = -1;
82778 INT in_GRj = -1;
82779 INT in_ICCi_2 = -1;
82780 INT in_FCCi_2 = -1;
82781 in_GRi = FLD (in_GRi);
82782 in_GRj = FLD (in_GRj);
82783 in_ICCi_2 = FLD (in_ICCi_2);
82784 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
82785 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
82786 referenced |= 1 << 2;
82787 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82789 return cycles;
82790 #undef FLD
82793 static int
82794 model_fr450_ftra (SIM_CPU *current_cpu, void *sem_arg)
82796 #define FLD(f) abuf->fields.sfmt_ftne.f
82797 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82798 const IDESC * UNUSED idesc = abuf->idesc;
82799 int cycles = 0;
82801 int referenced = 0;
82802 int UNUSED insn_referenced = abuf->written;
82803 INT in_GRi = -1;
82804 INT in_GRj = -1;
82805 INT in_ICCi_2 = -1;
82806 INT in_FCCi_2 = -1;
82807 in_GRi = FLD (in_GRi);
82808 in_GRj = FLD (in_GRj);
82809 referenced |= 1 << 0;
82810 referenced |= 1 << 1;
82811 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82813 return cycles;
82814 #undef FLD
82817 static int
82818 model_fr450_ftno (SIM_CPU *current_cpu, void *sem_arg)
82820 #define FLD(f) abuf->fields.sfmt_empty.f
82821 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82822 const IDESC * UNUSED idesc = abuf->idesc;
82823 int cycles = 0;
82825 int referenced = 0;
82826 int UNUSED insn_referenced = abuf->written;
82827 INT in_GRi = -1;
82828 INT in_GRj = -1;
82829 INT in_ICCi_2 = -1;
82830 INT in_FCCi_2 = -1;
82831 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82833 return cycles;
82834 #undef FLD
82837 static int
82838 model_fr450_ftne (SIM_CPU *current_cpu, void *sem_arg)
82840 #define FLD(f) abuf->fields.sfmt_ftne.f
82841 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82842 const IDESC * UNUSED idesc = abuf->idesc;
82843 int cycles = 0;
82845 int referenced = 0;
82846 int UNUSED insn_referenced = abuf->written;
82847 INT in_GRi = -1;
82848 INT in_GRj = -1;
82849 INT in_ICCi_2 = -1;
82850 INT in_FCCi_2 = -1;
82851 in_GRi = FLD (in_GRi);
82852 in_GRj = FLD (in_GRj);
82853 in_FCCi_2 = FLD (in_FCCi_2);
82854 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
82855 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
82856 referenced |= 1 << 3;
82857 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82859 return cycles;
82860 #undef FLD
82863 static int
82864 model_fr450_fteq (SIM_CPU *current_cpu, void *sem_arg)
82866 #define FLD(f) abuf->fields.sfmt_ftne.f
82867 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82868 const IDESC * UNUSED idesc = abuf->idesc;
82869 int cycles = 0;
82871 int referenced = 0;
82872 int UNUSED insn_referenced = abuf->written;
82873 INT in_GRi = -1;
82874 INT in_GRj = -1;
82875 INT in_ICCi_2 = -1;
82876 INT in_FCCi_2 = -1;
82877 in_GRi = FLD (in_GRi);
82878 in_GRj = FLD (in_GRj);
82879 in_FCCi_2 = FLD (in_FCCi_2);
82880 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
82881 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
82882 referenced |= 1 << 3;
82883 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82885 return cycles;
82886 #undef FLD
82889 static int
82890 model_fr450_ftlg (SIM_CPU *current_cpu, void *sem_arg)
82892 #define FLD(f) abuf->fields.sfmt_ftne.f
82893 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82894 const IDESC * UNUSED idesc = abuf->idesc;
82895 int cycles = 0;
82897 int referenced = 0;
82898 int UNUSED insn_referenced = abuf->written;
82899 INT in_GRi = -1;
82900 INT in_GRj = -1;
82901 INT in_ICCi_2 = -1;
82902 INT in_FCCi_2 = -1;
82903 in_GRi = FLD (in_GRi);
82904 in_GRj = FLD (in_GRj);
82905 in_FCCi_2 = FLD (in_FCCi_2);
82906 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
82907 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
82908 referenced |= 1 << 3;
82909 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82911 return cycles;
82912 #undef FLD
82915 static int
82916 model_fr450_ftue (SIM_CPU *current_cpu, void *sem_arg)
82918 #define FLD(f) abuf->fields.sfmt_ftne.f
82919 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82920 const IDESC * UNUSED idesc = abuf->idesc;
82921 int cycles = 0;
82923 int referenced = 0;
82924 int UNUSED insn_referenced = abuf->written;
82925 INT in_GRi = -1;
82926 INT in_GRj = -1;
82927 INT in_ICCi_2 = -1;
82928 INT in_FCCi_2 = -1;
82929 in_GRi = FLD (in_GRi);
82930 in_GRj = FLD (in_GRj);
82931 in_FCCi_2 = FLD (in_FCCi_2);
82932 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
82933 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
82934 referenced |= 1 << 3;
82935 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82937 return cycles;
82938 #undef FLD
82941 static int
82942 model_fr450_ftul (SIM_CPU *current_cpu, void *sem_arg)
82944 #define FLD(f) abuf->fields.sfmt_ftne.f
82945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82946 const IDESC * UNUSED idesc = abuf->idesc;
82947 int cycles = 0;
82949 int referenced = 0;
82950 int UNUSED insn_referenced = abuf->written;
82951 INT in_GRi = -1;
82952 INT in_GRj = -1;
82953 INT in_ICCi_2 = -1;
82954 INT in_FCCi_2 = -1;
82955 in_GRi = FLD (in_GRi);
82956 in_GRj = FLD (in_GRj);
82957 in_FCCi_2 = FLD (in_FCCi_2);
82958 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
82959 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
82960 referenced |= 1 << 3;
82961 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82963 return cycles;
82964 #undef FLD
82967 static int
82968 model_fr450_ftge (SIM_CPU *current_cpu, void *sem_arg)
82970 #define FLD(f) abuf->fields.sfmt_ftne.f
82971 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82972 const IDESC * UNUSED idesc = abuf->idesc;
82973 int cycles = 0;
82975 int referenced = 0;
82976 int UNUSED insn_referenced = abuf->written;
82977 INT in_GRi = -1;
82978 INT in_GRj = -1;
82979 INT in_ICCi_2 = -1;
82980 INT in_FCCi_2 = -1;
82981 in_GRi = FLD (in_GRi);
82982 in_GRj = FLD (in_GRj);
82983 in_FCCi_2 = FLD (in_FCCi_2);
82984 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
82985 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
82986 referenced |= 1 << 3;
82987 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
82989 return cycles;
82990 #undef FLD
82993 static int
82994 model_fr450_ftlt (SIM_CPU *current_cpu, void *sem_arg)
82996 #define FLD(f) abuf->fields.sfmt_ftne.f
82997 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
82998 const IDESC * UNUSED idesc = abuf->idesc;
82999 int cycles = 0;
83001 int referenced = 0;
83002 int UNUSED insn_referenced = abuf->written;
83003 INT in_GRi = -1;
83004 INT in_GRj = -1;
83005 INT in_ICCi_2 = -1;
83006 INT in_FCCi_2 = -1;
83007 in_GRi = FLD (in_GRi);
83008 in_GRj = FLD (in_GRj);
83009 in_FCCi_2 = FLD (in_FCCi_2);
83010 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83011 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83012 referenced |= 1 << 3;
83013 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83015 return cycles;
83016 #undef FLD
83019 static int
83020 model_fr450_ftuge (SIM_CPU *current_cpu, void *sem_arg)
83022 #define FLD(f) abuf->fields.sfmt_ftne.f
83023 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83024 const IDESC * UNUSED idesc = abuf->idesc;
83025 int cycles = 0;
83027 int referenced = 0;
83028 int UNUSED insn_referenced = abuf->written;
83029 INT in_GRi = -1;
83030 INT in_GRj = -1;
83031 INT in_ICCi_2 = -1;
83032 INT in_FCCi_2 = -1;
83033 in_GRi = FLD (in_GRi);
83034 in_GRj = FLD (in_GRj);
83035 in_FCCi_2 = FLD (in_FCCi_2);
83036 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83037 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83038 referenced |= 1 << 3;
83039 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83041 return cycles;
83042 #undef FLD
83045 static int
83046 model_fr450_ftug (SIM_CPU *current_cpu, void *sem_arg)
83048 #define FLD(f) abuf->fields.sfmt_ftne.f
83049 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83050 const IDESC * UNUSED idesc = abuf->idesc;
83051 int cycles = 0;
83053 int referenced = 0;
83054 int UNUSED insn_referenced = abuf->written;
83055 INT in_GRi = -1;
83056 INT in_GRj = -1;
83057 INT in_ICCi_2 = -1;
83058 INT in_FCCi_2 = -1;
83059 in_GRi = FLD (in_GRi);
83060 in_GRj = FLD (in_GRj);
83061 in_FCCi_2 = FLD (in_FCCi_2);
83062 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83063 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83064 referenced |= 1 << 3;
83065 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83067 return cycles;
83068 #undef FLD
83071 static int
83072 model_fr450_ftle (SIM_CPU *current_cpu, void *sem_arg)
83074 #define FLD(f) abuf->fields.sfmt_ftne.f
83075 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83076 const IDESC * UNUSED idesc = abuf->idesc;
83077 int cycles = 0;
83079 int referenced = 0;
83080 int UNUSED insn_referenced = abuf->written;
83081 INT in_GRi = -1;
83082 INT in_GRj = -1;
83083 INT in_ICCi_2 = -1;
83084 INT in_FCCi_2 = -1;
83085 in_GRi = FLD (in_GRi);
83086 in_GRj = FLD (in_GRj);
83087 in_FCCi_2 = FLD (in_FCCi_2);
83088 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83089 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83090 referenced |= 1 << 3;
83091 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83093 return cycles;
83094 #undef FLD
83097 static int
83098 model_fr450_ftgt (SIM_CPU *current_cpu, void *sem_arg)
83100 #define FLD(f) abuf->fields.sfmt_ftne.f
83101 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83102 const IDESC * UNUSED idesc = abuf->idesc;
83103 int cycles = 0;
83105 int referenced = 0;
83106 int UNUSED insn_referenced = abuf->written;
83107 INT in_GRi = -1;
83108 INT in_GRj = -1;
83109 INT in_ICCi_2 = -1;
83110 INT in_FCCi_2 = -1;
83111 in_GRi = FLD (in_GRi);
83112 in_GRj = FLD (in_GRj);
83113 in_FCCi_2 = FLD (in_FCCi_2);
83114 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83115 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83116 referenced |= 1 << 3;
83117 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83119 return cycles;
83120 #undef FLD
83123 static int
83124 model_fr450_ftule (SIM_CPU *current_cpu, void *sem_arg)
83126 #define FLD(f) abuf->fields.sfmt_ftne.f
83127 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83128 const IDESC * UNUSED idesc = abuf->idesc;
83129 int cycles = 0;
83131 int referenced = 0;
83132 int UNUSED insn_referenced = abuf->written;
83133 INT in_GRi = -1;
83134 INT in_GRj = -1;
83135 INT in_ICCi_2 = -1;
83136 INT in_FCCi_2 = -1;
83137 in_GRi = FLD (in_GRi);
83138 in_GRj = FLD (in_GRj);
83139 in_FCCi_2 = FLD (in_FCCi_2);
83140 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83141 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83142 referenced |= 1 << 3;
83143 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83145 return cycles;
83146 #undef FLD
83149 static int
83150 model_fr450_ftu (SIM_CPU *current_cpu, void *sem_arg)
83152 #define FLD(f) abuf->fields.sfmt_ftne.f
83153 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83154 const IDESC * UNUSED idesc = abuf->idesc;
83155 int cycles = 0;
83157 int referenced = 0;
83158 int UNUSED insn_referenced = abuf->written;
83159 INT in_GRi = -1;
83160 INT in_GRj = -1;
83161 INT in_ICCi_2 = -1;
83162 INT in_FCCi_2 = -1;
83163 in_GRi = FLD (in_GRi);
83164 in_GRj = FLD (in_GRj);
83165 in_FCCi_2 = FLD (in_FCCi_2);
83166 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83167 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83168 referenced |= 1 << 3;
83169 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83171 return cycles;
83172 #undef FLD
83175 static int
83176 model_fr450_fto (SIM_CPU *current_cpu, void *sem_arg)
83178 #define FLD(f) abuf->fields.sfmt_ftne.f
83179 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83180 const IDESC * UNUSED idesc = abuf->idesc;
83181 int cycles = 0;
83183 int referenced = 0;
83184 int UNUSED insn_referenced = abuf->written;
83185 INT in_GRi = -1;
83186 INT in_GRj = -1;
83187 INT in_ICCi_2 = -1;
83188 INT in_FCCi_2 = -1;
83189 in_GRi = FLD (in_GRi);
83190 in_GRj = FLD (in_GRj);
83191 in_FCCi_2 = FLD (in_FCCi_2);
83192 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83193 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
83194 referenced |= 1 << 3;
83195 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83197 return cycles;
83198 #undef FLD
83201 static int
83202 model_fr450_tira (SIM_CPU *current_cpu, void *sem_arg)
83204 #define FLD(f) abuf->fields.sfmt_ftine.f
83205 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83206 const IDESC * UNUSED idesc = abuf->idesc;
83207 int cycles = 0;
83209 int referenced = 0;
83210 int UNUSED insn_referenced = abuf->written;
83211 INT in_GRi = -1;
83212 INT in_GRj = -1;
83213 INT in_ICCi_2 = -1;
83214 INT in_FCCi_2 = -1;
83215 in_GRi = FLD (in_GRi);
83216 referenced |= 1 << 0;
83217 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83219 return cycles;
83220 #undef FLD
83223 static int
83224 model_fr450_tino (SIM_CPU *current_cpu, void *sem_arg)
83226 #define FLD(f) abuf->fields.sfmt_empty.f
83227 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83228 const IDESC * UNUSED idesc = abuf->idesc;
83229 int cycles = 0;
83231 int referenced = 0;
83232 int UNUSED insn_referenced = abuf->written;
83233 INT in_GRi = -1;
83234 INT in_GRj = -1;
83235 INT in_ICCi_2 = -1;
83236 INT in_FCCi_2 = -1;
83237 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83239 return cycles;
83240 #undef FLD
83243 static int
83244 model_fr450_tieq (SIM_CPU *current_cpu, void *sem_arg)
83246 #define FLD(f) abuf->fields.sfmt_tieq.f
83247 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83248 const IDESC * UNUSED idesc = abuf->idesc;
83249 int cycles = 0;
83251 int referenced = 0;
83252 int UNUSED insn_referenced = abuf->written;
83253 INT in_GRi = -1;
83254 INT in_GRj = -1;
83255 INT in_ICCi_2 = -1;
83256 INT in_FCCi_2 = -1;
83257 in_GRi = FLD (in_GRi);
83258 in_ICCi_2 = FLD (in_ICCi_2);
83259 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83260 referenced |= 1 << 2;
83261 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83263 return cycles;
83264 #undef FLD
83267 static int
83268 model_fr450_tine (SIM_CPU *current_cpu, void *sem_arg)
83270 #define FLD(f) abuf->fields.sfmt_tieq.f
83271 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83272 const IDESC * UNUSED idesc = abuf->idesc;
83273 int cycles = 0;
83275 int referenced = 0;
83276 int UNUSED insn_referenced = abuf->written;
83277 INT in_GRi = -1;
83278 INT in_GRj = -1;
83279 INT in_ICCi_2 = -1;
83280 INT in_FCCi_2 = -1;
83281 in_GRi = FLD (in_GRi);
83282 in_ICCi_2 = FLD (in_ICCi_2);
83283 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83284 referenced |= 1 << 2;
83285 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83287 return cycles;
83288 #undef FLD
83291 static int
83292 model_fr450_tile (SIM_CPU *current_cpu, void *sem_arg)
83294 #define FLD(f) abuf->fields.sfmt_tieq.f
83295 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83296 const IDESC * UNUSED idesc = abuf->idesc;
83297 int cycles = 0;
83299 int referenced = 0;
83300 int UNUSED insn_referenced = abuf->written;
83301 INT in_GRi = -1;
83302 INT in_GRj = -1;
83303 INT in_ICCi_2 = -1;
83304 INT in_FCCi_2 = -1;
83305 in_GRi = FLD (in_GRi);
83306 in_ICCi_2 = FLD (in_ICCi_2);
83307 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83308 referenced |= 1 << 2;
83309 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83311 return cycles;
83312 #undef FLD
83315 static int
83316 model_fr450_tigt (SIM_CPU *current_cpu, void *sem_arg)
83318 #define FLD(f) abuf->fields.sfmt_tieq.f
83319 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83320 const IDESC * UNUSED idesc = abuf->idesc;
83321 int cycles = 0;
83323 int referenced = 0;
83324 int UNUSED insn_referenced = abuf->written;
83325 INT in_GRi = -1;
83326 INT in_GRj = -1;
83327 INT in_ICCi_2 = -1;
83328 INT in_FCCi_2 = -1;
83329 in_GRi = FLD (in_GRi);
83330 in_ICCi_2 = FLD (in_ICCi_2);
83331 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83332 referenced |= 1 << 2;
83333 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83335 return cycles;
83336 #undef FLD
83339 static int
83340 model_fr450_tilt (SIM_CPU *current_cpu, void *sem_arg)
83342 #define FLD(f) abuf->fields.sfmt_tieq.f
83343 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83344 const IDESC * UNUSED idesc = abuf->idesc;
83345 int cycles = 0;
83347 int referenced = 0;
83348 int UNUSED insn_referenced = abuf->written;
83349 INT in_GRi = -1;
83350 INT in_GRj = -1;
83351 INT in_ICCi_2 = -1;
83352 INT in_FCCi_2 = -1;
83353 in_GRi = FLD (in_GRi);
83354 in_ICCi_2 = FLD (in_ICCi_2);
83355 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83356 referenced |= 1 << 2;
83357 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83359 return cycles;
83360 #undef FLD
83363 static int
83364 model_fr450_tige (SIM_CPU *current_cpu, void *sem_arg)
83366 #define FLD(f) abuf->fields.sfmt_tieq.f
83367 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83368 const IDESC * UNUSED idesc = abuf->idesc;
83369 int cycles = 0;
83371 int referenced = 0;
83372 int UNUSED insn_referenced = abuf->written;
83373 INT in_GRi = -1;
83374 INT in_GRj = -1;
83375 INT in_ICCi_2 = -1;
83376 INT in_FCCi_2 = -1;
83377 in_GRi = FLD (in_GRi);
83378 in_ICCi_2 = FLD (in_ICCi_2);
83379 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83380 referenced |= 1 << 2;
83381 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83383 return cycles;
83384 #undef FLD
83387 static int
83388 model_fr450_tils (SIM_CPU *current_cpu, void *sem_arg)
83390 #define FLD(f) abuf->fields.sfmt_tieq.f
83391 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83392 const IDESC * UNUSED idesc = abuf->idesc;
83393 int cycles = 0;
83395 int referenced = 0;
83396 int UNUSED insn_referenced = abuf->written;
83397 INT in_GRi = -1;
83398 INT in_GRj = -1;
83399 INT in_ICCi_2 = -1;
83400 INT in_FCCi_2 = -1;
83401 in_GRi = FLD (in_GRi);
83402 in_ICCi_2 = FLD (in_ICCi_2);
83403 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83404 referenced |= 1 << 2;
83405 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83407 return cycles;
83408 #undef FLD
83411 static int
83412 model_fr450_tihi (SIM_CPU *current_cpu, void *sem_arg)
83414 #define FLD(f) abuf->fields.sfmt_tieq.f
83415 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83416 const IDESC * UNUSED idesc = abuf->idesc;
83417 int cycles = 0;
83419 int referenced = 0;
83420 int UNUSED insn_referenced = abuf->written;
83421 INT in_GRi = -1;
83422 INT in_GRj = -1;
83423 INT in_ICCi_2 = -1;
83424 INT in_FCCi_2 = -1;
83425 in_GRi = FLD (in_GRi);
83426 in_ICCi_2 = FLD (in_ICCi_2);
83427 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83428 referenced |= 1 << 2;
83429 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83431 return cycles;
83432 #undef FLD
83435 static int
83436 model_fr450_tic (SIM_CPU *current_cpu, void *sem_arg)
83438 #define FLD(f) abuf->fields.sfmt_tieq.f
83439 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83440 const IDESC * UNUSED idesc = abuf->idesc;
83441 int cycles = 0;
83443 int referenced = 0;
83444 int UNUSED insn_referenced = abuf->written;
83445 INT in_GRi = -1;
83446 INT in_GRj = -1;
83447 INT in_ICCi_2 = -1;
83448 INT in_FCCi_2 = -1;
83449 in_GRi = FLD (in_GRi);
83450 in_ICCi_2 = FLD (in_ICCi_2);
83451 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83452 referenced |= 1 << 2;
83453 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83455 return cycles;
83456 #undef FLD
83459 static int
83460 model_fr450_tinc (SIM_CPU *current_cpu, void *sem_arg)
83462 #define FLD(f) abuf->fields.sfmt_tieq.f
83463 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83464 const IDESC * UNUSED idesc = abuf->idesc;
83465 int cycles = 0;
83467 int referenced = 0;
83468 int UNUSED insn_referenced = abuf->written;
83469 INT in_GRi = -1;
83470 INT in_GRj = -1;
83471 INT in_ICCi_2 = -1;
83472 INT in_FCCi_2 = -1;
83473 in_GRi = FLD (in_GRi);
83474 in_ICCi_2 = FLD (in_ICCi_2);
83475 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83476 referenced |= 1 << 2;
83477 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83479 return cycles;
83480 #undef FLD
83483 static int
83484 model_fr450_tin (SIM_CPU *current_cpu, void *sem_arg)
83486 #define FLD(f) abuf->fields.sfmt_tieq.f
83487 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83488 const IDESC * UNUSED idesc = abuf->idesc;
83489 int cycles = 0;
83491 int referenced = 0;
83492 int UNUSED insn_referenced = abuf->written;
83493 INT in_GRi = -1;
83494 INT in_GRj = -1;
83495 INT in_ICCi_2 = -1;
83496 INT in_FCCi_2 = -1;
83497 in_GRi = FLD (in_GRi);
83498 in_ICCi_2 = FLD (in_ICCi_2);
83499 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83500 referenced |= 1 << 2;
83501 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83503 return cycles;
83504 #undef FLD
83507 static int
83508 model_fr450_tip (SIM_CPU *current_cpu, void *sem_arg)
83510 #define FLD(f) abuf->fields.sfmt_tieq.f
83511 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83512 const IDESC * UNUSED idesc = abuf->idesc;
83513 int cycles = 0;
83515 int referenced = 0;
83516 int UNUSED insn_referenced = abuf->written;
83517 INT in_GRi = -1;
83518 INT in_GRj = -1;
83519 INT in_ICCi_2 = -1;
83520 INT in_FCCi_2 = -1;
83521 in_GRi = FLD (in_GRi);
83522 in_ICCi_2 = FLD (in_ICCi_2);
83523 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83524 referenced |= 1 << 2;
83525 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83527 return cycles;
83528 #undef FLD
83531 static int
83532 model_fr450_tiv (SIM_CPU *current_cpu, void *sem_arg)
83534 #define FLD(f) abuf->fields.sfmt_tieq.f
83535 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83536 const IDESC * UNUSED idesc = abuf->idesc;
83537 int cycles = 0;
83539 int referenced = 0;
83540 int UNUSED insn_referenced = abuf->written;
83541 INT in_GRi = -1;
83542 INT in_GRj = -1;
83543 INT in_ICCi_2 = -1;
83544 INT in_FCCi_2 = -1;
83545 in_GRi = FLD (in_GRi);
83546 in_ICCi_2 = FLD (in_ICCi_2);
83547 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83548 referenced |= 1 << 2;
83549 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83551 return cycles;
83552 #undef FLD
83555 static int
83556 model_fr450_tinv (SIM_CPU *current_cpu, void *sem_arg)
83558 #define FLD(f) abuf->fields.sfmt_tieq.f
83559 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83560 const IDESC * UNUSED idesc = abuf->idesc;
83561 int cycles = 0;
83563 int referenced = 0;
83564 int UNUSED insn_referenced = abuf->written;
83565 INT in_GRi = -1;
83566 INT in_GRj = -1;
83567 INT in_ICCi_2 = -1;
83568 INT in_FCCi_2 = -1;
83569 in_GRi = FLD (in_GRi);
83570 in_ICCi_2 = FLD (in_ICCi_2);
83571 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
83572 referenced |= 1 << 2;
83573 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83575 return cycles;
83576 #undef FLD
83579 static int
83580 model_fr450_ftira (SIM_CPU *current_cpu, void *sem_arg)
83582 #define FLD(f) abuf->fields.sfmt_ftine.f
83583 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83584 const IDESC * UNUSED idesc = abuf->idesc;
83585 int cycles = 0;
83587 int referenced = 0;
83588 int UNUSED insn_referenced = abuf->written;
83589 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
83591 return cycles;
83592 #undef FLD
83595 static int
83596 model_fr450_ftino (SIM_CPU *current_cpu, void *sem_arg)
83598 #define FLD(f) abuf->fields.sfmt_empty.f
83599 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83600 const IDESC * UNUSED idesc = abuf->idesc;
83601 int cycles = 0;
83603 int referenced = 0;
83604 int UNUSED insn_referenced = abuf->written;
83605 INT in_GRi = -1;
83606 INT in_GRj = -1;
83607 INT in_ICCi_2 = -1;
83608 INT in_FCCi_2 = -1;
83609 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83611 return cycles;
83612 #undef FLD
83615 static int
83616 model_fr450_ftine (SIM_CPU *current_cpu, void *sem_arg)
83618 #define FLD(f) abuf->fields.sfmt_ftine.f
83619 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83620 const IDESC * UNUSED idesc = abuf->idesc;
83621 int cycles = 0;
83623 int referenced = 0;
83624 int UNUSED insn_referenced = abuf->written;
83625 INT in_GRi = -1;
83626 INT in_GRj = -1;
83627 INT in_ICCi_2 = -1;
83628 INT in_FCCi_2 = -1;
83629 in_GRi = FLD (in_GRi);
83630 in_FCCi_2 = FLD (in_FCCi_2);
83631 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83632 referenced |= 1 << 3;
83633 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83635 return cycles;
83636 #undef FLD
83639 static int
83640 model_fr450_ftieq (SIM_CPU *current_cpu, void *sem_arg)
83642 #define FLD(f) abuf->fields.sfmt_ftine.f
83643 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83644 const IDESC * UNUSED idesc = abuf->idesc;
83645 int cycles = 0;
83647 int referenced = 0;
83648 int UNUSED insn_referenced = abuf->written;
83649 INT in_GRi = -1;
83650 INT in_GRj = -1;
83651 INT in_ICCi_2 = -1;
83652 INT in_FCCi_2 = -1;
83653 in_GRi = FLD (in_GRi);
83654 in_FCCi_2 = FLD (in_FCCi_2);
83655 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83656 referenced |= 1 << 3;
83657 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83659 return cycles;
83660 #undef FLD
83663 static int
83664 model_fr450_ftilg (SIM_CPU *current_cpu, void *sem_arg)
83666 #define FLD(f) abuf->fields.sfmt_ftine.f
83667 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83668 const IDESC * UNUSED idesc = abuf->idesc;
83669 int cycles = 0;
83671 int referenced = 0;
83672 int UNUSED insn_referenced = abuf->written;
83673 INT in_GRi = -1;
83674 INT in_GRj = -1;
83675 INT in_ICCi_2 = -1;
83676 INT in_FCCi_2 = -1;
83677 in_GRi = FLD (in_GRi);
83678 in_FCCi_2 = FLD (in_FCCi_2);
83679 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83680 referenced |= 1 << 3;
83681 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83683 return cycles;
83684 #undef FLD
83687 static int
83688 model_fr450_ftiue (SIM_CPU *current_cpu, void *sem_arg)
83690 #define FLD(f) abuf->fields.sfmt_ftine.f
83691 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83692 const IDESC * UNUSED idesc = abuf->idesc;
83693 int cycles = 0;
83695 int referenced = 0;
83696 int UNUSED insn_referenced = abuf->written;
83697 INT in_GRi = -1;
83698 INT in_GRj = -1;
83699 INT in_ICCi_2 = -1;
83700 INT in_FCCi_2 = -1;
83701 in_GRi = FLD (in_GRi);
83702 in_FCCi_2 = FLD (in_FCCi_2);
83703 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83704 referenced |= 1 << 3;
83705 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83707 return cycles;
83708 #undef FLD
83711 static int
83712 model_fr450_ftiul (SIM_CPU *current_cpu, void *sem_arg)
83714 #define FLD(f) abuf->fields.sfmt_ftine.f
83715 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83716 const IDESC * UNUSED idesc = abuf->idesc;
83717 int cycles = 0;
83719 int referenced = 0;
83720 int UNUSED insn_referenced = abuf->written;
83721 INT in_GRi = -1;
83722 INT in_GRj = -1;
83723 INT in_ICCi_2 = -1;
83724 INT in_FCCi_2 = -1;
83725 in_GRi = FLD (in_GRi);
83726 in_FCCi_2 = FLD (in_FCCi_2);
83727 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83728 referenced |= 1 << 3;
83729 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83731 return cycles;
83732 #undef FLD
83735 static int
83736 model_fr450_ftige (SIM_CPU *current_cpu, void *sem_arg)
83738 #define FLD(f) abuf->fields.sfmt_ftine.f
83739 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83740 const IDESC * UNUSED idesc = abuf->idesc;
83741 int cycles = 0;
83743 int referenced = 0;
83744 int UNUSED insn_referenced = abuf->written;
83745 INT in_GRi = -1;
83746 INT in_GRj = -1;
83747 INT in_ICCi_2 = -1;
83748 INT in_FCCi_2 = -1;
83749 in_GRi = FLD (in_GRi);
83750 in_FCCi_2 = FLD (in_FCCi_2);
83751 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83752 referenced |= 1 << 3;
83753 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83755 return cycles;
83756 #undef FLD
83759 static int
83760 model_fr450_ftilt (SIM_CPU *current_cpu, void *sem_arg)
83762 #define FLD(f) abuf->fields.sfmt_ftine.f
83763 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83764 const IDESC * UNUSED idesc = abuf->idesc;
83765 int cycles = 0;
83767 int referenced = 0;
83768 int UNUSED insn_referenced = abuf->written;
83769 INT in_GRi = -1;
83770 INT in_GRj = -1;
83771 INT in_ICCi_2 = -1;
83772 INT in_FCCi_2 = -1;
83773 in_GRi = FLD (in_GRi);
83774 in_FCCi_2 = FLD (in_FCCi_2);
83775 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83776 referenced |= 1 << 3;
83777 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83779 return cycles;
83780 #undef FLD
83783 static int
83784 model_fr450_ftiuge (SIM_CPU *current_cpu, void *sem_arg)
83786 #define FLD(f) abuf->fields.sfmt_ftine.f
83787 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83788 const IDESC * UNUSED idesc = abuf->idesc;
83789 int cycles = 0;
83791 int referenced = 0;
83792 int UNUSED insn_referenced = abuf->written;
83793 INT in_GRi = -1;
83794 INT in_GRj = -1;
83795 INT in_ICCi_2 = -1;
83796 INT in_FCCi_2 = -1;
83797 in_GRi = FLD (in_GRi);
83798 in_FCCi_2 = FLD (in_FCCi_2);
83799 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83800 referenced |= 1 << 3;
83801 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83803 return cycles;
83804 #undef FLD
83807 static int
83808 model_fr450_ftiug (SIM_CPU *current_cpu, void *sem_arg)
83810 #define FLD(f) abuf->fields.sfmt_ftine.f
83811 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83812 const IDESC * UNUSED idesc = abuf->idesc;
83813 int cycles = 0;
83815 int referenced = 0;
83816 int UNUSED insn_referenced = abuf->written;
83817 INT in_GRi = -1;
83818 INT in_GRj = -1;
83819 INT in_ICCi_2 = -1;
83820 INT in_FCCi_2 = -1;
83821 in_GRi = FLD (in_GRi);
83822 in_FCCi_2 = FLD (in_FCCi_2);
83823 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83824 referenced |= 1 << 3;
83825 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83827 return cycles;
83828 #undef FLD
83831 static int
83832 model_fr450_ftile (SIM_CPU *current_cpu, void *sem_arg)
83834 #define FLD(f) abuf->fields.sfmt_ftine.f
83835 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83836 const IDESC * UNUSED idesc = abuf->idesc;
83837 int cycles = 0;
83839 int referenced = 0;
83840 int UNUSED insn_referenced = abuf->written;
83841 INT in_GRi = -1;
83842 INT in_GRj = -1;
83843 INT in_ICCi_2 = -1;
83844 INT in_FCCi_2 = -1;
83845 in_GRi = FLD (in_GRi);
83846 in_FCCi_2 = FLD (in_FCCi_2);
83847 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83848 referenced |= 1 << 3;
83849 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83851 return cycles;
83852 #undef FLD
83855 static int
83856 model_fr450_ftigt (SIM_CPU *current_cpu, void *sem_arg)
83858 #define FLD(f) abuf->fields.sfmt_ftine.f
83859 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83860 const IDESC * UNUSED idesc = abuf->idesc;
83861 int cycles = 0;
83863 int referenced = 0;
83864 int UNUSED insn_referenced = abuf->written;
83865 INT in_GRi = -1;
83866 INT in_GRj = -1;
83867 INT in_ICCi_2 = -1;
83868 INT in_FCCi_2 = -1;
83869 in_GRi = FLD (in_GRi);
83870 in_FCCi_2 = FLD (in_FCCi_2);
83871 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83872 referenced |= 1 << 3;
83873 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83875 return cycles;
83876 #undef FLD
83879 static int
83880 model_fr450_ftiule (SIM_CPU *current_cpu, void *sem_arg)
83882 #define FLD(f) abuf->fields.sfmt_ftine.f
83883 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83884 const IDESC * UNUSED idesc = abuf->idesc;
83885 int cycles = 0;
83887 int referenced = 0;
83888 int UNUSED insn_referenced = abuf->written;
83889 INT in_GRi = -1;
83890 INT in_GRj = -1;
83891 INT in_ICCi_2 = -1;
83892 INT in_FCCi_2 = -1;
83893 in_GRi = FLD (in_GRi);
83894 in_FCCi_2 = FLD (in_FCCi_2);
83895 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83896 referenced |= 1 << 3;
83897 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83899 return cycles;
83900 #undef FLD
83903 static int
83904 model_fr450_ftiu (SIM_CPU *current_cpu, void *sem_arg)
83906 #define FLD(f) abuf->fields.sfmt_ftine.f
83907 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83908 const IDESC * UNUSED idesc = abuf->idesc;
83909 int cycles = 0;
83911 int referenced = 0;
83912 int UNUSED insn_referenced = abuf->written;
83913 INT in_GRi = -1;
83914 INT in_GRj = -1;
83915 INT in_ICCi_2 = -1;
83916 INT in_FCCi_2 = -1;
83917 in_GRi = FLD (in_GRi);
83918 in_FCCi_2 = FLD (in_FCCi_2);
83919 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83920 referenced |= 1 << 3;
83921 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83923 return cycles;
83924 #undef FLD
83927 static int
83928 model_fr450_ftio (SIM_CPU *current_cpu, void *sem_arg)
83930 #define FLD(f) abuf->fields.sfmt_ftine.f
83931 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83932 const IDESC * UNUSED idesc = abuf->idesc;
83933 int cycles = 0;
83935 int referenced = 0;
83936 int UNUSED insn_referenced = abuf->written;
83937 INT in_GRi = -1;
83938 INT in_GRj = -1;
83939 INT in_ICCi_2 = -1;
83940 INT in_FCCi_2 = -1;
83941 in_GRi = FLD (in_GRi);
83942 in_FCCi_2 = FLD (in_FCCi_2);
83943 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
83944 referenced |= 1 << 3;
83945 cycles += frvbf_model_fr450_u_trap (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
83947 return cycles;
83948 #undef FLD
83951 static int
83952 model_fr450_break (SIM_CPU *current_cpu, void *sem_arg)
83954 #define FLD(f) abuf->fields.sfmt_break.f
83955 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83956 const IDESC * UNUSED idesc = abuf->idesc;
83957 int cycles = 0;
83959 int referenced = 0;
83960 int UNUSED insn_referenced = abuf->written;
83961 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
83963 return cycles;
83964 #undef FLD
83967 static int
83968 model_fr450_mtrap (SIM_CPU *current_cpu, void *sem_arg)
83970 #define FLD(f) abuf->fields.sfmt_empty.f
83971 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83972 const IDESC * UNUSED idesc = abuf->idesc;
83973 int cycles = 0;
83975 int referenced = 0;
83976 int UNUSED insn_referenced = abuf->written;
83977 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
83979 return cycles;
83980 #undef FLD
83983 static int
83984 model_fr450_andcr (SIM_CPU *current_cpu, void *sem_arg)
83986 #define FLD(f) abuf->fields.sfmt_andcr.f
83987 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
83988 const IDESC * UNUSED idesc = abuf->idesc;
83989 int cycles = 0;
83991 int referenced = 0;
83992 int UNUSED insn_referenced = abuf->written;
83993 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
83995 return cycles;
83996 #undef FLD
83999 static int
84000 model_fr450_orcr (SIM_CPU *current_cpu, void *sem_arg)
84002 #define FLD(f) abuf->fields.sfmt_andcr.f
84003 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84004 const IDESC * UNUSED idesc = abuf->idesc;
84005 int cycles = 0;
84007 int referenced = 0;
84008 int UNUSED insn_referenced = abuf->written;
84009 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84011 return cycles;
84012 #undef FLD
84015 static int
84016 model_fr450_xorcr (SIM_CPU *current_cpu, void *sem_arg)
84018 #define FLD(f) abuf->fields.sfmt_andcr.f
84019 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84020 const IDESC * UNUSED idesc = abuf->idesc;
84021 int cycles = 0;
84023 int referenced = 0;
84024 int UNUSED insn_referenced = abuf->written;
84025 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84027 return cycles;
84028 #undef FLD
84031 static int
84032 model_fr450_nandcr (SIM_CPU *current_cpu, void *sem_arg)
84034 #define FLD(f) abuf->fields.sfmt_andcr.f
84035 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84036 const IDESC * UNUSED idesc = abuf->idesc;
84037 int cycles = 0;
84039 int referenced = 0;
84040 int UNUSED insn_referenced = abuf->written;
84041 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84043 return cycles;
84044 #undef FLD
84047 static int
84048 model_fr450_norcr (SIM_CPU *current_cpu, void *sem_arg)
84050 #define FLD(f) abuf->fields.sfmt_andcr.f
84051 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84052 const IDESC * UNUSED idesc = abuf->idesc;
84053 int cycles = 0;
84055 int referenced = 0;
84056 int UNUSED insn_referenced = abuf->written;
84057 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84059 return cycles;
84060 #undef FLD
84063 static int
84064 model_fr450_andncr (SIM_CPU *current_cpu, void *sem_arg)
84066 #define FLD(f) abuf->fields.sfmt_andcr.f
84067 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84068 const IDESC * UNUSED idesc = abuf->idesc;
84069 int cycles = 0;
84071 int referenced = 0;
84072 int UNUSED insn_referenced = abuf->written;
84073 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84075 return cycles;
84076 #undef FLD
84079 static int
84080 model_fr450_orncr (SIM_CPU *current_cpu, void *sem_arg)
84082 #define FLD(f) abuf->fields.sfmt_andcr.f
84083 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84084 const IDESC * UNUSED idesc = abuf->idesc;
84085 int cycles = 0;
84087 int referenced = 0;
84088 int UNUSED insn_referenced = abuf->written;
84089 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84091 return cycles;
84092 #undef FLD
84095 static int
84096 model_fr450_nandncr (SIM_CPU *current_cpu, void *sem_arg)
84098 #define FLD(f) abuf->fields.sfmt_andcr.f
84099 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84100 const IDESC * UNUSED idesc = abuf->idesc;
84101 int cycles = 0;
84103 int referenced = 0;
84104 int UNUSED insn_referenced = abuf->written;
84105 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84107 return cycles;
84108 #undef FLD
84111 static int
84112 model_fr450_norncr (SIM_CPU *current_cpu, void *sem_arg)
84114 #define FLD(f) abuf->fields.sfmt_andcr.f
84115 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84116 const IDESC * UNUSED idesc = abuf->idesc;
84117 int cycles = 0;
84119 int referenced = 0;
84120 int UNUSED insn_referenced = abuf->written;
84121 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84123 return cycles;
84124 #undef FLD
84127 static int
84128 model_fr450_notcr (SIM_CPU *current_cpu, void *sem_arg)
84130 #define FLD(f) abuf->fields.sfmt_andcr.f
84131 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84132 const IDESC * UNUSED idesc = abuf->idesc;
84133 int cycles = 0;
84135 int referenced = 0;
84136 int UNUSED insn_referenced = abuf->written;
84137 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
84139 return cycles;
84140 #undef FLD
84143 static int
84144 model_fr450_ckra (SIM_CPU *current_cpu, void *sem_arg)
84146 #define FLD(f) abuf->fields.sfmt_cckeq.f
84147 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84148 const IDESC * UNUSED idesc = abuf->idesc;
84149 int cycles = 0;
84151 int referenced = 0;
84152 int UNUSED insn_referenced = abuf->written;
84153 INT in_ICCi_3 = -1;
84154 INT in_FCCi_3 = -1;
84155 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84157 return cycles;
84158 #undef FLD
84161 static int
84162 model_fr450_ckno (SIM_CPU *current_cpu, void *sem_arg)
84164 #define FLD(f) abuf->fields.sfmt_cckeq.f
84165 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84166 const IDESC * UNUSED idesc = abuf->idesc;
84167 int cycles = 0;
84169 int referenced = 0;
84170 int UNUSED insn_referenced = abuf->written;
84171 INT in_ICCi_3 = -1;
84172 INT in_FCCi_3 = -1;
84173 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84175 return cycles;
84176 #undef FLD
84179 static int
84180 model_fr450_ckeq (SIM_CPU *current_cpu, void *sem_arg)
84182 #define FLD(f) abuf->fields.sfmt_cckeq.f
84183 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84184 const IDESC * UNUSED idesc = abuf->idesc;
84185 int cycles = 0;
84187 int referenced = 0;
84188 int UNUSED insn_referenced = abuf->written;
84189 INT in_ICCi_3 = -1;
84190 INT in_FCCi_3 = -1;
84191 in_ICCi_3 = FLD (in_ICCi_3);
84192 referenced |= 1 << 0;
84193 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84195 return cycles;
84196 #undef FLD
84199 static int
84200 model_fr450_ckne (SIM_CPU *current_cpu, void *sem_arg)
84202 #define FLD(f) abuf->fields.sfmt_cckeq.f
84203 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84204 const IDESC * UNUSED idesc = abuf->idesc;
84205 int cycles = 0;
84207 int referenced = 0;
84208 int UNUSED insn_referenced = abuf->written;
84209 INT in_ICCi_3 = -1;
84210 INT in_FCCi_3 = -1;
84211 in_ICCi_3 = FLD (in_ICCi_3);
84212 referenced |= 1 << 0;
84213 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84215 return cycles;
84216 #undef FLD
84219 static int
84220 model_fr450_ckle (SIM_CPU *current_cpu, void *sem_arg)
84222 #define FLD(f) abuf->fields.sfmt_cckeq.f
84223 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84224 const IDESC * UNUSED idesc = abuf->idesc;
84225 int cycles = 0;
84227 int referenced = 0;
84228 int UNUSED insn_referenced = abuf->written;
84229 INT in_ICCi_3 = -1;
84230 INT in_FCCi_3 = -1;
84231 in_ICCi_3 = FLD (in_ICCi_3);
84232 referenced |= 1 << 0;
84233 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84235 return cycles;
84236 #undef FLD
84239 static int
84240 model_fr450_ckgt (SIM_CPU *current_cpu, void *sem_arg)
84242 #define FLD(f) abuf->fields.sfmt_cckeq.f
84243 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84244 const IDESC * UNUSED idesc = abuf->idesc;
84245 int cycles = 0;
84247 int referenced = 0;
84248 int UNUSED insn_referenced = abuf->written;
84249 INT in_ICCi_3 = -1;
84250 INT in_FCCi_3 = -1;
84251 in_ICCi_3 = FLD (in_ICCi_3);
84252 referenced |= 1 << 0;
84253 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84255 return cycles;
84256 #undef FLD
84259 static int
84260 model_fr450_cklt (SIM_CPU *current_cpu, void *sem_arg)
84262 #define FLD(f) abuf->fields.sfmt_cckeq.f
84263 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84264 const IDESC * UNUSED idesc = abuf->idesc;
84265 int cycles = 0;
84267 int referenced = 0;
84268 int UNUSED insn_referenced = abuf->written;
84269 INT in_ICCi_3 = -1;
84270 INT in_FCCi_3 = -1;
84271 in_ICCi_3 = FLD (in_ICCi_3);
84272 referenced |= 1 << 0;
84273 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84275 return cycles;
84276 #undef FLD
84279 static int
84280 model_fr450_ckge (SIM_CPU *current_cpu, void *sem_arg)
84282 #define FLD(f) abuf->fields.sfmt_cckeq.f
84283 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84284 const IDESC * UNUSED idesc = abuf->idesc;
84285 int cycles = 0;
84287 int referenced = 0;
84288 int UNUSED insn_referenced = abuf->written;
84289 INT in_ICCi_3 = -1;
84290 INT in_FCCi_3 = -1;
84291 in_ICCi_3 = FLD (in_ICCi_3);
84292 referenced |= 1 << 0;
84293 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84295 return cycles;
84296 #undef FLD
84299 static int
84300 model_fr450_ckls (SIM_CPU *current_cpu, void *sem_arg)
84302 #define FLD(f) abuf->fields.sfmt_cckeq.f
84303 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84304 const IDESC * UNUSED idesc = abuf->idesc;
84305 int cycles = 0;
84307 int referenced = 0;
84308 int UNUSED insn_referenced = abuf->written;
84309 INT in_ICCi_3 = -1;
84310 INT in_FCCi_3 = -1;
84311 in_ICCi_3 = FLD (in_ICCi_3);
84312 referenced |= 1 << 0;
84313 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84315 return cycles;
84316 #undef FLD
84319 static int
84320 model_fr450_ckhi (SIM_CPU *current_cpu, void *sem_arg)
84322 #define FLD(f) abuf->fields.sfmt_cckeq.f
84323 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84324 const IDESC * UNUSED idesc = abuf->idesc;
84325 int cycles = 0;
84327 int referenced = 0;
84328 int UNUSED insn_referenced = abuf->written;
84329 INT in_ICCi_3 = -1;
84330 INT in_FCCi_3 = -1;
84331 in_ICCi_3 = FLD (in_ICCi_3);
84332 referenced |= 1 << 0;
84333 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84335 return cycles;
84336 #undef FLD
84339 static int
84340 model_fr450_ckc (SIM_CPU *current_cpu, void *sem_arg)
84342 #define FLD(f) abuf->fields.sfmt_cckeq.f
84343 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84344 const IDESC * UNUSED idesc = abuf->idesc;
84345 int cycles = 0;
84347 int referenced = 0;
84348 int UNUSED insn_referenced = abuf->written;
84349 INT in_ICCi_3 = -1;
84350 INT in_FCCi_3 = -1;
84351 in_ICCi_3 = FLD (in_ICCi_3);
84352 referenced |= 1 << 0;
84353 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84355 return cycles;
84356 #undef FLD
84359 static int
84360 model_fr450_cknc (SIM_CPU *current_cpu, void *sem_arg)
84362 #define FLD(f) abuf->fields.sfmt_cckeq.f
84363 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84364 const IDESC * UNUSED idesc = abuf->idesc;
84365 int cycles = 0;
84367 int referenced = 0;
84368 int UNUSED insn_referenced = abuf->written;
84369 INT in_ICCi_3 = -1;
84370 INT in_FCCi_3 = -1;
84371 in_ICCi_3 = FLD (in_ICCi_3);
84372 referenced |= 1 << 0;
84373 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84375 return cycles;
84376 #undef FLD
84379 static int
84380 model_fr450_ckn (SIM_CPU *current_cpu, void *sem_arg)
84382 #define FLD(f) abuf->fields.sfmt_cckeq.f
84383 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84384 const IDESC * UNUSED idesc = abuf->idesc;
84385 int cycles = 0;
84387 int referenced = 0;
84388 int UNUSED insn_referenced = abuf->written;
84389 INT in_ICCi_3 = -1;
84390 INT in_FCCi_3 = -1;
84391 in_ICCi_3 = FLD (in_ICCi_3);
84392 referenced |= 1 << 0;
84393 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84395 return cycles;
84396 #undef FLD
84399 static int
84400 model_fr450_ckp (SIM_CPU *current_cpu, void *sem_arg)
84402 #define FLD(f) abuf->fields.sfmt_cckeq.f
84403 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84404 const IDESC * UNUSED idesc = abuf->idesc;
84405 int cycles = 0;
84407 int referenced = 0;
84408 int UNUSED insn_referenced = abuf->written;
84409 INT in_ICCi_3 = -1;
84410 INT in_FCCi_3 = -1;
84411 in_ICCi_3 = FLD (in_ICCi_3);
84412 referenced |= 1 << 0;
84413 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84415 return cycles;
84416 #undef FLD
84419 static int
84420 model_fr450_ckv (SIM_CPU *current_cpu, void *sem_arg)
84422 #define FLD(f) abuf->fields.sfmt_cckeq.f
84423 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84424 const IDESC * UNUSED idesc = abuf->idesc;
84425 int cycles = 0;
84427 int referenced = 0;
84428 int UNUSED insn_referenced = abuf->written;
84429 INT in_ICCi_3 = -1;
84430 INT in_FCCi_3 = -1;
84431 in_ICCi_3 = FLD (in_ICCi_3);
84432 referenced |= 1 << 0;
84433 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84435 return cycles;
84436 #undef FLD
84439 static int
84440 model_fr450_cknv (SIM_CPU *current_cpu, void *sem_arg)
84442 #define FLD(f) abuf->fields.sfmt_cckeq.f
84443 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84444 const IDESC * UNUSED idesc = abuf->idesc;
84445 int cycles = 0;
84447 int referenced = 0;
84448 int UNUSED insn_referenced = abuf->written;
84449 INT in_ICCi_3 = -1;
84450 INT in_FCCi_3 = -1;
84451 in_ICCi_3 = FLD (in_ICCi_3);
84452 referenced |= 1 << 0;
84453 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84455 return cycles;
84456 #undef FLD
84459 static int
84460 model_fr450_fckra (SIM_CPU *current_cpu, void *sem_arg)
84462 #define FLD(f) abuf->fields.sfmt_cfckne.f
84463 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84464 const IDESC * UNUSED idesc = abuf->idesc;
84465 int cycles = 0;
84467 int referenced = 0;
84468 int UNUSED insn_referenced = abuf->written;
84469 INT in_ICCi_3 = -1;
84470 INT in_FCCi_3 = -1;
84471 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84473 return cycles;
84474 #undef FLD
84477 static int
84478 model_fr450_fckno (SIM_CPU *current_cpu, void *sem_arg)
84480 #define FLD(f) abuf->fields.sfmt_cfckne.f
84481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84482 const IDESC * UNUSED idesc = abuf->idesc;
84483 int cycles = 0;
84485 int referenced = 0;
84486 int UNUSED insn_referenced = abuf->written;
84487 INT in_ICCi_3 = -1;
84488 INT in_FCCi_3 = -1;
84489 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84491 return cycles;
84492 #undef FLD
84495 static int
84496 model_fr450_fckne (SIM_CPU *current_cpu, void *sem_arg)
84498 #define FLD(f) abuf->fields.sfmt_cfckne.f
84499 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84500 const IDESC * UNUSED idesc = abuf->idesc;
84501 int cycles = 0;
84503 int referenced = 0;
84504 int UNUSED insn_referenced = abuf->written;
84505 INT in_ICCi_3 = -1;
84506 INT in_FCCi_3 = -1;
84507 in_FCCi_3 = FLD (in_FCCi_3);
84508 referenced |= 1 << 1;
84509 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84511 return cycles;
84512 #undef FLD
84515 static int
84516 model_fr450_fckeq (SIM_CPU *current_cpu, void *sem_arg)
84518 #define FLD(f) abuf->fields.sfmt_cfckne.f
84519 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84520 const IDESC * UNUSED idesc = abuf->idesc;
84521 int cycles = 0;
84523 int referenced = 0;
84524 int UNUSED insn_referenced = abuf->written;
84525 INT in_ICCi_3 = -1;
84526 INT in_FCCi_3 = -1;
84527 in_FCCi_3 = FLD (in_FCCi_3);
84528 referenced |= 1 << 1;
84529 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84531 return cycles;
84532 #undef FLD
84535 static int
84536 model_fr450_fcklg (SIM_CPU *current_cpu, void *sem_arg)
84538 #define FLD(f) abuf->fields.sfmt_cfckne.f
84539 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84540 const IDESC * UNUSED idesc = abuf->idesc;
84541 int cycles = 0;
84543 int referenced = 0;
84544 int UNUSED insn_referenced = abuf->written;
84545 INT in_ICCi_3 = -1;
84546 INT in_FCCi_3 = -1;
84547 in_FCCi_3 = FLD (in_FCCi_3);
84548 referenced |= 1 << 1;
84549 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84551 return cycles;
84552 #undef FLD
84555 static int
84556 model_fr450_fckue (SIM_CPU *current_cpu, void *sem_arg)
84558 #define FLD(f) abuf->fields.sfmt_cfckne.f
84559 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84560 const IDESC * UNUSED idesc = abuf->idesc;
84561 int cycles = 0;
84563 int referenced = 0;
84564 int UNUSED insn_referenced = abuf->written;
84565 INT in_ICCi_3 = -1;
84566 INT in_FCCi_3 = -1;
84567 in_FCCi_3 = FLD (in_FCCi_3);
84568 referenced |= 1 << 1;
84569 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84571 return cycles;
84572 #undef FLD
84575 static int
84576 model_fr450_fckul (SIM_CPU *current_cpu, void *sem_arg)
84578 #define FLD(f) abuf->fields.sfmt_cfckne.f
84579 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84580 const IDESC * UNUSED idesc = abuf->idesc;
84581 int cycles = 0;
84583 int referenced = 0;
84584 int UNUSED insn_referenced = abuf->written;
84585 INT in_ICCi_3 = -1;
84586 INT in_FCCi_3 = -1;
84587 in_FCCi_3 = FLD (in_FCCi_3);
84588 referenced |= 1 << 1;
84589 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84591 return cycles;
84592 #undef FLD
84595 static int
84596 model_fr450_fckge (SIM_CPU *current_cpu, void *sem_arg)
84598 #define FLD(f) abuf->fields.sfmt_cfckne.f
84599 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84600 const IDESC * UNUSED idesc = abuf->idesc;
84601 int cycles = 0;
84603 int referenced = 0;
84604 int UNUSED insn_referenced = abuf->written;
84605 INT in_ICCi_3 = -1;
84606 INT in_FCCi_3 = -1;
84607 in_FCCi_3 = FLD (in_FCCi_3);
84608 referenced |= 1 << 1;
84609 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84611 return cycles;
84612 #undef FLD
84615 static int
84616 model_fr450_fcklt (SIM_CPU *current_cpu, void *sem_arg)
84618 #define FLD(f) abuf->fields.sfmt_cfckne.f
84619 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84620 const IDESC * UNUSED idesc = abuf->idesc;
84621 int cycles = 0;
84623 int referenced = 0;
84624 int UNUSED insn_referenced = abuf->written;
84625 INT in_ICCi_3 = -1;
84626 INT in_FCCi_3 = -1;
84627 in_FCCi_3 = FLD (in_FCCi_3);
84628 referenced |= 1 << 1;
84629 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84631 return cycles;
84632 #undef FLD
84635 static int
84636 model_fr450_fckuge (SIM_CPU *current_cpu, void *sem_arg)
84638 #define FLD(f) abuf->fields.sfmt_cfckne.f
84639 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84640 const IDESC * UNUSED idesc = abuf->idesc;
84641 int cycles = 0;
84643 int referenced = 0;
84644 int UNUSED insn_referenced = abuf->written;
84645 INT in_ICCi_3 = -1;
84646 INT in_FCCi_3 = -1;
84647 in_FCCi_3 = FLD (in_FCCi_3);
84648 referenced |= 1 << 1;
84649 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84651 return cycles;
84652 #undef FLD
84655 static int
84656 model_fr450_fckug (SIM_CPU *current_cpu, void *sem_arg)
84658 #define FLD(f) abuf->fields.sfmt_cfckne.f
84659 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84660 const IDESC * UNUSED idesc = abuf->idesc;
84661 int cycles = 0;
84663 int referenced = 0;
84664 int UNUSED insn_referenced = abuf->written;
84665 INT in_ICCi_3 = -1;
84666 INT in_FCCi_3 = -1;
84667 in_FCCi_3 = FLD (in_FCCi_3);
84668 referenced |= 1 << 1;
84669 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84671 return cycles;
84672 #undef FLD
84675 static int
84676 model_fr450_fckle (SIM_CPU *current_cpu, void *sem_arg)
84678 #define FLD(f) abuf->fields.sfmt_cfckne.f
84679 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84680 const IDESC * UNUSED idesc = abuf->idesc;
84681 int cycles = 0;
84683 int referenced = 0;
84684 int UNUSED insn_referenced = abuf->written;
84685 INT in_ICCi_3 = -1;
84686 INT in_FCCi_3 = -1;
84687 in_FCCi_3 = FLD (in_FCCi_3);
84688 referenced |= 1 << 1;
84689 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84691 return cycles;
84692 #undef FLD
84695 static int
84696 model_fr450_fckgt (SIM_CPU *current_cpu, void *sem_arg)
84698 #define FLD(f) abuf->fields.sfmt_cfckne.f
84699 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84700 const IDESC * UNUSED idesc = abuf->idesc;
84701 int cycles = 0;
84703 int referenced = 0;
84704 int UNUSED insn_referenced = abuf->written;
84705 INT in_ICCi_3 = -1;
84706 INT in_FCCi_3 = -1;
84707 in_FCCi_3 = FLD (in_FCCi_3);
84708 referenced |= 1 << 1;
84709 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84711 return cycles;
84712 #undef FLD
84715 static int
84716 model_fr450_fckule (SIM_CPU *current_cpu, void *sem_arg)
84718 #define FLD(f) abuf->fields.sfmt_cfckne.f
84719 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84720 const IDESC * UNUSED idesc = abuf->idesc;
84721 int cycles = 0;
84723 int referenced = 0;
84724 int UNUSED insn_referenced = abuf->written;
84725 INT in_ICCi_3 = -1;
84726 INT in_FCCi_3 = -1;
84727 in_FCCi_3 = FLD (in_FCCi_3);
84728 referenced |= 1 << 1;
84729 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84731 return cycles;
84732 #undef FLD
84735 static int
84736 model_fr450_fcku (SIM_CPU *current_cpu, void *sem_arg)
84738 #define FLD(f) abuf->fields.sfmt_cfckne.f
84739 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84740 const IDESC * UNUSED idesc = abuf->idesc;
84741 int cycles = 0;
84743 int referenced = 0;
84744 int UNUSED insn_referenced = abuf->written;
84745 INT in_ICCi_3 = -1;
84746 INT in_FCCi_3 = -1;
84747 in_FCCi_3 = FLD (in_FCCi_3);
84748 referenced |= 1 << 1;
84749 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84751 return cycles;
84752 #undef FLD
84755 static int
84756 model_fr450_fcko (SIM_CPU *current_cpu, void *sem_arg)
84758 #define FLD(f) abuf->fields.sfmt_cfckne.f
84759 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84760 const IDESC * UNUSED idesc = abuf->idesc;
84761 int cycles = 0;
84763 int referenced = 0;
84764 int UNUSED insn_referenced = abuf->written;
84765 INT in_ICCi_3 = -1;
84766 INT in_FCCi_3 = -1;
84767 in_FCCi_3 = FLD (in_FCCi_3);
84768 referenced |= 1 << 1;
84769 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84771 return cycles;
84772 #undef FLD
84775 static int
84776 model_fr450_cckra (SIM_CPU *current_cpu, void *sem_arg)
84778 #define FLD(f) abuf->fields.sfmt_cckeq.f
84779 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84780 const IDESC * UNUSED idesc = abuf->idesc;
84781 int cycles = 0;
84783 int referenced = 0;
84784 int UNUSED insn_referenced = abuf->written;
84785 INT in_ICCi_3 = -1;
84786 INT in_FCCi_3 = -1;
84787 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84789 return cycles;
84790 #undef FLD
84793 static int
84794 model_fr450_cckno (SIM_CPU *current_cpu, void *sem_arg)
84796 #define FLD(f) abuf->fields.sfmt_cckeq.f
84797 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84798 const IDESC * UNUSED idesc = abuf->idesc;
84799 int cycles = 0;
84801 int referenced = 0;
84802 int UNUSED insn_referenced = abuf->written;
84803 INT in_ICCi_3 = -1;
84804 INT in_FCCi_3 = -1;
84805 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84807 return cycles;
84808 #undef FLD
84811 static int
84812 model_fr450_cckeq (SIM_CPU *current_cpu, void *sem_arg)
84814 #define FLD(f) abuf->fields.sfmt_cckeq.f
84815 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84816 const IDESC * UNUSED idesc = abuf->idesc;
84817 int cycles = 0;
84819 int referenced = 0;
84820 int UNUSED insn_referenced = abuf->written;
84821 INT in_ICCi_3 = -1;
84822 INT in_FCCi_3 = -1;
84823 in_ICCi_3 = FLD (in_ICCi_3);
84824 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84825 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84827 return cycles;
84828 #undef FLD
84831 static int
84832 model_fr450_cckne (SIM_CPU *current_cpu, void *sem_arg)
84834 #define FLD(f) abuf->fields.sfmt_cckeq.f
84835 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84836 const IDESC * UNUSED idesc = abuf->idesc;
84837 int cycles = 0;
84839 int referenced = 0;
84840 int UNUSED insn_referenced = abuf->written;
84841 INT in_ICCi_3 = -1;
84842 INT in_FCCi_3 = -1;
84843 in_ICCi_3 = FLD (in_ICCi_3);
84844 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84845 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84847 return cycles;
84848 #undef FLD
84851 static int
84852 model_fr450_cckle (SIM_CPU *current_cpu, void *sem_arg)
84854 #define FLD(f) abuf->fields.sfmt_cckeq.f
84855 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84856 const IDESC * UNUSED idesc = abuf->idesc;
84857 int cycles = 0;
84859 int referenced = 0;
84860 int UNUSED insn_referenced = abuf->written;
84861 INT in_ICCi_3 = -1;
84862 INT in_FCCi_3 = -1;
84863 in_ICCi_3 = FLD (in_ICCi_3);
84864 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84865 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84867 return cycles;
84868 #undef FLD
84871 static int
84872 model_fr450_cckgt (SIM_CPU *current_cpu, void *sem_arg)
84874 #define FLD(f) abuf->fields.sfmt_cckeq.f
84875 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84876 const IDESC * UNUSED idesc = abuf->idesc;
84877 int cycles = 0;
84879 int referenced = 0;
84880 int UNUSED insn_referenced = abuf->written;
84881 INT in_ICCi_3 = -1;
84882 INT in_FCCi_3 = -1;
84883 in_ICCi_3 = FLD (in_ICCi_3);
84884 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84885 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84887 return cycles;
84888 #undef FLD
84891 static int
84892 model_fr450_ccklt (SIM_CPU *current_cpu, void *sem_arg)
84894 #define FLD(f) abuf->fields.sfmt_cckeq.f
84895 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84896 const IDESC * UNUSED idesc = abuf->idesc;
84897 int cycles = 0;
84899 int referenced = 0;
84900 int UNUSED insn_referenced = abuf->written;
84901 INT in_ICCi_3 = -1;
84902 INT in_FCCi_3 = -1;
84903 in_ICCi_3 = FLD (in_ICCi_3);
84904 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84905 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84907 return cycles;
84908 #undef FLD
84911 static int
84912 model_fr450_cckge (SIM_CPU *current_cpu, void *sem_arg)
84914 #define FLD(f) abuf->fields.sfmt_cckeq.f
84915 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84916 const IDESC * UNUSED idesc = abuf->idesc;
84917 int cycles = 0;
84919 int referenced = 0;
84920 int UNUSED insn_referenced = abuf->written;
84921 INT in_ICCi_3 = -1;
84922 INT in_FCCi_3 = -1;
84923 in_ICCi_3 = FLD (in_ICCi_3);
84924 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84925 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84927 return cycles;
84928 #undef FLD
84931 static int
84932 model_fr450_cckls (SIM_CPU *current_cpu, void *sem_arg)
84934 #define FLD(f) abuf->fields.sfmt_cckeq.f
84935 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84936 const IDESC * UNUSED idesc = abuf->idesc;
84937 int cycles = 0;
84939 int referenced = 0;
84940 int UNUSED insn_referenced = abuf->written;
84941 INT in_ICCi_3 = -1;
84942 INT in_FCCi_3 = -1;
84943 in_ICCi_3 = FLD (in_ICCi_3);
84944 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84945 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84947 return cycles;
84948 #undef FLD
84951 static int
84952 model_fr450_cckhi (SIM_CPU *current_cpu, void *sem_arg)
84954 #define FLD(f) abuf->fields.sfmt_cckeq.f
84955 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84956 const IDESC * UNUSED idesc = abuf->idesc;
84957 int cycles = 0;
84959 int referenced = 0;
84960 int UNUSED insn_referenced = abuf->written;
84961 INT in_ICCi_3 = -1;
84962 INT in_FCCi_3 = -1;
84963 in_ICCi_3 = FLD (in_ICCi_3);
84964 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84965 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84967 return cycles;
84968 #undef FLD
84971 static int
84972 model_fr450_cckc (SIM_CPU *current_cpu, void *sem_arg)
84974 #define FLD(f) abuf->fields.sfmt_cckeq.f
84975 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84976 const IDESC * UNUSED idesc = abuf->idesc;
84977 int cycles = 0;
84979 int referenced = 0;
84980 int UNUSED insn_referenced = abuf->written;
84981 INT in_ICCi_3 = -1;
84982 INT in_FCCi_3 = -1;
84983 in_ICCi_3 = FLD (in_ICCi_3);
84984 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
84985 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
84987 return cycles;
84988 #undef FLD
84991 static int
84992 model_fr450_ccknc (SIM_CPU *current_cpu, void *sem_arg)
84994 #define FLD(f) abuf->fields.sfmt_cckeq.f
84995 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
84996 const IDESC * UNUSED idesc = abuf->idesc;
84997 int cycles = 0;
84999 int referenced = 0;
85000 int UNUSED insn_referenced = abuf->written;
85001 INT in_ICCi_3 = -1;
85002 INT in_FCCi_3 = -1;
85003 in_ICCi_3 = FLD (in_ICCi_3);
85004 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
85005 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85007 return cycles;
85008 #undef FLD
85011 static int
85012 model_fr450_cckn (SIM_CPU *current_cpu, void *sem_arg)
85014 #define FLD(f) abuf->fields.sfmt_cckeq.f
85015 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85016 const IDESC * UNUSED idesc = abuf->idesc;
85017 int cycles = 0;
85019 int referenced = 0;
85020 int UNUSED insn_referenced = abuf->written;
85021 INT in_ICCi_3 = -1;
85022 INT in_FCCi_3 = -1;
85023 in_ICCi_3 = FLD (in_ICCi_3);
85024 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
85025 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85027 return cycles;
85028 #undef FLD
85031 static int
85032 model_fr450_cckp (SIM_CPU *current_cpu, void *sem_arg)
85034 #define FLD(f) abuf->fields.sfmt_cckeq.f
85035 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85036 const IDESC * UNUSED idesc = abuf->idesc;
85037 int cycles = 0;
85039 int referenced = 0;
85040 int UNUSED insn_referenced = abuf->written;
85041 INT in_ICCi_3 = -1;
85042 INT in_FCCi_3 = -1;
85043 in_ICCi_3 = FLD (in_ICCi_3);
85044 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
85045 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85047 return cycles;
85048 #undef FLD
85051 static int
85052 model_fr450_cckv (SIM_CPU *current_cpu, void *sem_arg)
85054 #define FLD(f) abuf->fields.sfmt_cckeq.f
85055 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85056 const IDESC * UNUSED idesc = abuf->idesc;
85057 int cycles = 0;
85059 int referenced = 0;
85060 int UNUSED insn_referenced = abuf->written;
85061 INT in_ICCi_3 = -1;
85062 INT in_FCCi_3 = -1;
85063 in_ICCi_3 = FLD (in_ICCi_3);
85064 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
85065 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85067 return cycles;
85068 #undef FLD
85071 static int
85072 model_fr450_ccknv (SIM_CPU *current_cpu, void *sem_arg)
85074 #define FLD(f) abuf->fields.sfmt_cckeq.f
85075 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85076 const IDESC * UNUSED idesc = abuf->idesc;
85077 int cycles = 0;
85079 int referenced = 0;
85080 int UNUSED insn_referenced = abuf->written;
85081 INT in_ICCi_3 = -1;
85082 INT in_FCCi_3 = -1;
85083 in_ICCi_3 = FLD (in_ICCi_3);
85084 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
85085 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85087 return cycles;
85088 #undef FLD
85091 static int
85092 model_fr450_cfckra (SIM_CPU *current_cpu, void *sem_arg)
85094 #define FLD(f) abuf->fields.sfmt_cfckne.f
85095 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85096 const IDESC * UNUSED idesc = abuf->idesc;
85097 int cycles = 0;
85099 int referenced = 0;
85100 int UNUSED insn_referenced = abuf->written;
85101 INT in_ICCi_3 = -1;
85102 INT in_FCCi_3 = -1;
85103 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85105 return cycles;
85106 #undef FLD
85109 static int
85110 model_fr450_cfckno (SIM_CPU *current_cpu, void *sem_arg)
85112 #define FLD(f) abuf->fields.sfmt_cfckne.f
85113 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85114 const IDESC * UNUSED idesc = abuf->idesc;
85115 int cycles = 0;
85117 int referenced = 0;
85118 int UNUSED insn_referenced = abuf->written;
85119 INT in_ICCi_3 = -1;
85120 INT in_FCCi_3 = -1;
85121 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85123 return cycles;
85124 #undef FLD
85127 static int
85128 model_fr450_cfckne (SIM_CPU *current_cpu, void *sem_arg)
85130 #define FLD(f) abuf->fields.sfmt_cfckne.f
85131 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85132 const IDESC * UNUSED idesc = abuf->idesc;
85133 int cycles = 0;
85135 int referenced = 0;
85136 int UNUSED insn_referenced = abuf->written;
85137 INT in_ICCi_3 = -1;
85138 INT in_FCCi_3 = -1;
85139 in_FCCi_3 = FLD (in_FCCi_3);
85140 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85141 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85143 return cycles;
85144 #undef FLD
85147 static int
85148 model_fr450_cfckeq (SIM_CPU *current_cpu, void *sem_arg)
85150 #define FLD(f) abuf->fields.sfmt_cfckne.f
85151 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85152 const IDESC * UNUSED idesc = abuf->idesc;
85153 int cycles = 0;
85155 int referenced = 0;
85156 int UNUSED insn_referenced = abuf->written;
85157 INT in_ICCi_3 = -1;
85158 INT in_FCCi_3 = -1;
85159 in_FCCi_3 = FLD (in_FCCi_3);
85160 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85161 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85163 return cycles;
85164 #undef FLD
85167 static int
85168 model_fr450_cfcklg (SIM_CPU *current_cpu, void *sem_arg)
85170 #define FLD(f) abuf->fields.sfmt_cfckne.f
85171 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85172 const IDESC * UNUSED idesc = abuf->idesc;
85173 int cycles = 0;
85175 int referenced = 0;
85176 int UNUSED insn_referenced = abuf->written;
85177 INT in_ICCi_3 = -1;
85178 INT in_FCCi_3 = -1;
85179 in_FCCi_3 = FLD (in_FCCi_3);
85180 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85181 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85183 return cycles;
85184 #undef FLD
85187 static int
85188 model_fr450_cfckue (SIM_CPU *current_cpu, void *sem_arg)
85190 #define FLD(f) abuf->fields.sfmt_cfckne.f
85191 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85192 const IDESC * UNUSED idesc = abuf->idesc;
85193 int cycles = 0;
85195 int referenced = 0;
85196 int UNUSED insn_referenced = abuf->written;
85197 INT in_ICCi_3 = -1;
85198 INT in_FCCi_3 = -1;
85199 in_FCCi_3 = FLD (in_FCCi_3);
85200 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85201 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85203 return cycles;
85204 #undef FLD
85207 static int
85208 model_fr450_cfckul (SIM_CPU *current_cpu, void *sem_arg)
85210 #define FLD(f) abuf->fields.sfmt_cfckne.f
85211 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85212 const IDESC * UNUSED idesc = abuf->idesc;
85213 int cycles = 0;
85215 int referenced = 0;
85216 int UNUSED insn_referenced = abuf->written;
85217 INT in_ICCi_3 = -1;
85218 INT in_FCCi_3 = -1;
85219 in_FCCi_3 = FLD (in_FCCi_3);
85220 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85221 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85223 return cycles;
85224 #undef FLD
85227 static int
85228 model_fr450_cfckge (SIM_CPU *current_cpu, void *sem_arg)
85230 #define FLD(f) abuf->fields.sfmt_cfckne.f
85231 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85232 const IDESC * UNUSED idesc = abuf->idesc;
85233 int cycles = 0;
85235 int referenced = 0;
85236 int UNUSED insn_referenced = abuf->written;
85237 INT in_ICCi_3 = -1;
85238 INT in_FCCi_3 = -1;
85239 in_FCCi_3 = FLD (in_FCCi_3);
85240 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85241 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85243 return cycles;
85244 #undef FLD
85247 static int
85248 model_fr450_cfcklt (SIM_CPU *current_cpu, void *sem_arg)
85250 #define FLD(f) abuf->fields.sfmt_cfckne.f
85251 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85252 const IDESC * UNUSED idesc = abuf->idesc;
85253 int cycles = 0;
85255 int referenced = 0;
85256 int UNUSED insn_referenced = abuf->written;
85257 INT in_ICCi_3 = -1;
85258 INT in_FCCi_3 = -1;
85259 in_FCCi_3 = FLD (in_FCCi_3);
85260 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85261 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85263 return cycles;
85264 #undef FLD
85267 static int
85268 model_fr450_cfckuge (SIM_CPU *current_cpu, void *sem_arg)
85270 #define FLD(f) abuf->fields.sfmt_cfckne.f
85271 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85272 const IDESC * UNUSED idesc = abuf->idesc;
85273 int cycles = 0;
85275 int referenced = 0;
85276 int UNUSED insn_referenced = abuf->written;
85277 INT in_ICCi_3 = -1;
85278 INT in_FCCi_3 = -1;
85279 in_FCCi_3 = FLD (in_FCCi_3);
85280 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85281 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85283 return cycles;
85284 #undef FLD
85287 static int
85288 model_fr450_cfckug (SIM_CPU *current_cpu, void *sem_arg)
85290 #define FLD(f) abuf->fields.sfmt_cfckne.f
85291 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85292 const IDESC * UNUSED idesc = abuf->idesc;
85293 int cycles = 0;
85295 int referenced = 0;
85296 int UNUSED insn_referenced = abuf->written;
85297 INT in_ICCi_3 = -1;
85298 INT in_FCCi_3 = -1;
85299 in_FCCi_3 = FLD (in_FCCi_3);
85300 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85301 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85303 return cycles;
85304 #undef FLD
85307 static int
85308 model_fr450_cfckle (SIM_CPU *current_cpu, void *sem_arg)
85310 #define FLD(f) abuf->fields.sfmt_cfckne.f
85311 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85312 const IDESC * UNUSED idesc = abuf->idesc;
85313 int cycles = 0;
85315 int referenced = 0;
85316 int UNUSED insn_referenced = abuf->written;
85317 INT in_ICCi_3 = -1;
85318 INT in_FCCi_3 = -1;
85319 in_FCCi_3 = FLD (in_FCCi_3);
85320 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85321 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85323 return cycles;
85324 #undef FLD
85327 static int
85328 model_fr450_cfckgt (SIM_CPU *current_cpu, void *sem_arg)
85330 #define FLD(f) abuf->fields.sfmt_cfckne.f
85331 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85332 const IDESC * UNUSED idesc = abuf->idesc;
85333 int cycles = 0;
85335 int referenced = 0;
85336 int UNUSED insn_referenced = abuf->written;
85337 INT in_ICCi_3 = -1;
85338 INT in_FCCi_3 = -1;
85339 in_FCCi_3 = FLD (in_FCCi_3);
85340 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85341 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85343 return cycles;
85344 #undef FLD
85347 static int
85348 model_fr450_cfckule (SIM_CPU *current_cpu, void *sem_arg)
85350 #define FLD(f) abuf->fields.sfmt_cfckne.f
85351 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85352 const IDESC * UNUSED idesc = abuf->idesc;
85353 int cycles = 0;
85355 int referenced = 0;
85356 int UNUSED insn_referenced = abuf->written;
85357 INT in_ICCi_3 = -1;
85358 INT in_FCCi_3 = -1;
85359 in_FCCi_3 = FLD (in_FCCi_3);
85360 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85361 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85363 return cycles;
85364 #undef FLD
85367 static int
85368 model_fr450_cfcku (SIM_CPU *current_cpu, void *sem_arg)
85370 #define FLD(f) abuf->fields.sfmt_cfckne.f
85371 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85372 const IDESC * UNUSED idesc = abuf->idesc;
85373 int cycles = 0;
85375 int referenced = 0;
85376 int UNUSED insn_referenced = abuf->written;
85377 INT in_ICCi_3 = -1;
85378 INT in_FCCi_3 = -1;
85379 in_FCCi_3 = FLD (in_FCCi_3);
85380 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85381 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85383 return cycles;
85384 #undef FLD
85387 static int
85388 model_fr450_cfcko (SIM_CPU *current_cpu, void *sem_arg)
85390 #define FLD(f) abuf->fields.sfmt_cfckne.f
85391 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85392 const IDESC * UNUSED idesc = abuf->idesc;
85393 int cycles = 0;
85395 int referenced = 0;
85396 int UNUSED insn_referenced = abuf->written;
85397 INT in_ICCi_3 = -1;
85398 INT in_FCCi_3 = -1;
85399 in_FCCi_3 = FLD (in_FCCi_3);
85400 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85401 cycles += frvbf_model_fr450_u_check (current_cpu, idesc, 0, referenced, in_ICCi_3, in_FCCi_3);
85403 return cycles;
85404 #undef FLD
85407 static int
85408 model_fr450_cjmpl (SIM_CPU *current_cpu, void *sem_arg)
85410 #define FLD(f) abuf->fields.sfmt_cjmpl.f
85411 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85412 const IDESC * UNUSED idesc = abuf->idesc;
85413 int cycles = 0;
85415 int referenced = 0;
85416 int UNUSED insn_referenced = abuf->written;
85417 INT in_GRi = -1;
85418 INT in_GRj = -1;
85419 INT in_ICCi_2 = -1;
85420 INT in_FCCi_2 = -1;
85421 in_GRi = FLD (in_GRi);
85422 in_GRj = FLD (in_GRj);
85423 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
85424 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
85425 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
85426 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
85428 return cycles;
85429 #undef FLD
85432 static int
85433 model_fr450_ccalll (SIM_CPU *current_cpu, void *sem_arg)
85435 #define FLD(f) abuf->fields.sfmt_cjmpl.f
85436 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85437 const IDESC * UNUSED idesc = abuf->idesc;
85438 int cycles = 0;
85440 int referenced = 0;
85441 int UNUSED insn_referenced = abuf->written;
85442 INT in_GRi = -1;
85443 INT in_GRj = -1;
85444 INT in_ICCi_2 = -1;
85445 INT in_FCCi_2 = -1;
85446 in_GRi = FLD (in_GRi);
85447 in_GRj = FLD (in_GRj);
85448 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
85449 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
85450 if (insn_referenced & (1 << 6)) referenced |= 1 << 4;
85451 cycles += frvbf_model_fr450_u_branch (current_cpu, idesc, 0, referenced, in_GRi, in_GRj, in_ICCi_2, in_FCCi_2);
85453 return cycles;
85454 #undef FLD
85457 static int
85458 model_fr450_ici (SIM_CPU *current_cpu, void *sem_arg)
85460 #define FLD(f) abuf->fields.sfmt_icpl.f
85461 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85462 const IDESC * UNUSED idesc = abuf->idesc;
85463 int cycles = 0;
85465 int referenced = 0;
85466 int UNUSED insn_referenced = abuf->written;
85467 INT in_GRi = -1;
85468 INT in_GRj = -1;
85469 in_GRi = FLD (in_GRi);
85470 in_GRj = FLD (in_GRj);
85471 referenced |= 1 << 0;
85472 referenced |= 1 << 1;
85473 cycles += frvbf_model_fr450_u_ici (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85475 return cycles;
85476 #undef FLD
85479 static int
85480 model_fr450_dci (SIM_CPU *current_cpu, void *sem_arg)
85482 #define FLD(f) abuf->fields.sfmt_icpl.f
85483 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85484 const IDESC * UNUSED idesc = abuf->idesc;
85485 int cycles = 0;
85487 int referenced = 0;
85488 int UNUSED insn_referenced = abuf->written;
85489 INT in_GRi = -1;
85490 INT in_GRj = -1;
85491 in_GRi = FLD (in_GRi);
85492 in_GRj = FLD (in_GRj);
85493 referenced |= 1 << 0;
85494 referenced |= 1 << 1;
85495 cycles += frvbf_model_fr450_u_dci (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85497 return cycles;
85498 #undef FLD
85501 static int
85502 model_fr450_icei (SIM_CPU *current_cpu, void *sem_arg)
85504 #define FLD(f) abuf->fields.sfmt_icei.f
85505 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85506 const IDESC * UNUSED idesc = abuf->idesc;
85507 int cycles = 0;
85509 int referenced = 0;
85510 int UNUSED insn_referenced = abuf->written;
85511 INT in_GRi = -1;
85512 INT in_GRj = -1;
85513 in_GRi = FLD (in_GRi);
85514 in_GRj = FLD (in_GRj);
85515 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
85516 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85517 cycles += frvbf_model_fr450_u_ici (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85519 return cycles;
85520 #undef FLD
85523 static int
85524 model_fr450_dcei (SIM_CPU *current_cpu, void *sem_arg)
85526 #define FLD(f) abuf->fields.sfmt_icei.f
85527 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85528 const IDESC * UNUSED idesc = abuf->idesc;
85529 int cycles = 0;
85531 int referenced = 0;
85532 int UNUSED insn_referenced = abuf->written;
85533 INT in_GRi = -1;
85534 INT in_GRj = -1;
85535 in_GRi = FLD (in_GRi);
85536 in_GRj = FLD (in_GRj);
85537 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
85538 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85539 cycles += frvbf_model_fr450_u_dci (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85541 return cycles;
85542 #undef FLD
85545 static int
85546 model_fr450_dcf (SIM_CPU *current_cpu, void *sem_arg)
85548 #define FLD(f) abuf->fields.sfmt_icpl.f
85549 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85550 const IDESC * UNUSED idesc = abuf->idesc;
85551 int cycles = 0;
85553 int referenced = 0;
85554 int UNUSED insn_referenced = abuf->written;
85555 INT in_GRi = -1;
85556 INT in_GRj = -1;
85557 in_GRi = FLD (in_GRi);
85558 in_GRj = FLD (in_GRj);
85559 referenced |= 1 << 0;
85560 referenced |= 1 << 1;
85561 cycles += frvbf_model_fr450_u_dcf (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85563 return cycles;
85564 #undef FLD
85567 static int
85568 model_fr450_dcef (SIM_CPU *current_cpu, void *sem_arg)
85570 #define FLD(f) abuf->fields.sfmt_icei.f
85571 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85572 const IDESC * UNUSED idesc = abuf->idesc;
85573 int cycles = 0;
85575 int referenced = 0;
85576 int UNUSED insn_referenced = abuf->written;
85577 INT in_GRi = -1;
85578 INT in_GRj = -1;
85579 in_GRi = FLD (in_GRi);
85580 in_GRj = FLD (in_GRj);
85581 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
85582 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
85583 cycles += frvbf_model_fr450_u_dcf (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85585 return cycles;
85586 #undef FLD
85589 static int
85590 model_fr450_witlb (SIM_CPU *current_cpu, void *sem_arg)
85592 #define FLD(f) abuf->fields.sfmt_empty.f
85593 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85594 const IDESC * UNUSED idesc = abuf->idesc;
85595 int cycles = 0;
85597 int referenced = 0;
85598 int UNUSED insn_referenced = abuf->written;
85599 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85601 return cycles;
85602 #undef FLD
85605 static int
85606 model_fr450_wdtlb (SIM_CPU *current_cpu, void *sem_arg)
85608 #define FLD(f) abuf->fields.sfmt_empty.f
85609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85610 const IDESC * UNUSED idesc = abuf->idesc;
85611 int cycles = 0;
85613 int referenced = 0;
85614 int UNUSED insn_referenced = abuf->written;
85615 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85617 return cycles;
85618 #undef FLD
85621 static int
85622 model_fr450_itlbi (SIM_CPU *current_cpu, void *sem_arg)
85624 #define FLD(f) abuf->fields.sfmt_empty.f
85625 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85626 const IDESC * UNUSED idesc = abuf->idesc;
85627 int cycles = 0;
85629 int referenced = 0;
85630 int UNUSED insn_referenced = abuf->written;
85631 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85633 return cycles;
85634 #undef FLD
85637 static int
85638 model_fr450_dtlbi (SIM_CPU *current_cpu, void *sem_arg)
85640 #define FLD(f) abuf->fields.sfmt_empty.f
85641 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85642 const IDESC * UNUSED idesc = abuf->idesc;
85643 int cycles = 0;
85645 int referenced = 0;
85646 int UNUSED insn_referenced = abuf->written;
85647 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85649 return cycles;
85650 #undef FLD
85653 static int
85654 model_fr450_icpl (SIM_CPU *current_cpu, void *sem_arg)
85656 #define FLD(f) abuf->fields.sfmt_icpl.f
85657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85658 const IDESC * UNUSED idesc = abuf->idesc;
85659 int cycles = 0;
85661 int referenced = 0;
85662 int UNUSED insn_referenced = abuf->written;
85663 INT in_GRi = -1;
85664 INT in_GRj = -1;
85665 in_GRi = FLD (in_GRi);
85666 in_GRj = FLD (in_GRj);
85667 referenced |= 1 << 0;
85668 referenced |= 1 << 1;
85669 cycles += frvbf_model_fr450_u_icpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85671 return cycles;
85672 #undef FLD
85675 static int
85676 model_fr450_dcpl (SIM_CPU *current_cpu, void *sem_arg)
85678 #define FLD(f) abuf->fields.sfmt_icpl.f
85679 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85680 const IDESC * UNUSED idesc = abuf->idesc;
85681 int cycles = 0;
85683 int referenced = 0;
85684 int UNUSED insn_referenced = abuf->written;
85685 INT in_GRi = -1;
85686 INT in_GRj = -1;
85687 in_GRi = FLD (in_GRi);
85688 in_GRj = FLD (in_GRj);
85689 referenced |= 1 << 0;
85690 referenced |= 1 << 1;
85691 cycles += frvbf_model_fr450_u_dcpl (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85693 return cycles;
85694 #undef FLD
85697 static int
85698 model_fr450_icul (SIM_CPU *current_cpu, void *sem_arg)
85700 #define FLD(f) abuf->fields.sfmt_jmpil.f
85701 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85702 const IDESC * UNUSED idesc = abuf->idesc;
85703 int cycles = 0;
85705 int referenced = 0;
85706 int UNUSED insn_referenced = abuf->written;
85707 INT in_GRi = -1;
85708 INT in_GRj = -1;
85709 in_GRi = FLD (in_GRi);
85710 referenced |= 1 << 0;
85711 cycles += frvbf_model_fr450_u_icul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85713 return cycles;
85714 #undef FLD
85717 static int
85718 model_fr450_dcul (SIM_CPU *current_cpu, void *sem_arg)
85720 #define FLD(f) abuf->fields.sfmt_jmpil.f
85721 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85722 const IDESC * UNUSED idesc = abuf->idesc;
85723 int cycles = 0;
85725 int referenced = 0;
85726 int UNUSED insn_referenced = abuf->written;
85727 INT in_GRi = -1;
85728 INT in_GRj = -1;
85729 in_GRi = FLD (in_GRi);
85730 referenced |= 1 << 0;
85731 cycles += frvbf_model_fr450_u_dcul (current_cpu, idesc, 0, referenced, in_GRi, in_GRj);
85733 return cycles;
85734 #undef FLD
85737 static int
85738 model_fr450_bar (SIM_CPU *current_cpu, void *sem_arg)
85740 #define FLD(f) abuf->fields.sfmt_empty.f
85741 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85742 const IDESC * UNUSED idesc = abuf->idesc;
85743 int cycles = 0;
85745 int referenced = 0;
85746 int UNUSED insn_referenced = abuf->written;
85747 cycles += frvbf_model_fr450_u_barrier (current_cpu, idesc, 0, referenced);
85749 return cycles;
85750 #undef FLD
85753 static int
85754 model_fr450_membar (SIM_CPU *current_cpu, void *sem_arg)
85756 #define FLD(f) abuf->fields.sfmt_empty.f
85757 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85758 const IDESC * UNUSED idesc = abuf->idesc;
85759 int cycles = 0;
85761 int referenced = 0;
85762 int UNUSED insn_referenced = abuf->written;
85763 cycles += frvbf_model_fr450_u_membar (current_cpu, idesc, 0, referenced);
85765 return cycles;
85766 #undef FLD
85769 static int
85770 model_fr450_lrai (SIM_CPU *current_cpu, void *sem_arg)
85772 #define FLD(f) abuf->fields.sfmt_empty.f
85773 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85774 const IDESC * UNUSED idesc = abuf->idesc;
85775 int cycles = 0;
85777 int referenced = 0;
85778 int UNUSED insn_referenced = abuf->written;
85779 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85781 return cycles;
85782 #undef FLD
85785 static int
85786 model_fr450_lrad (SIM_CPU *current_cpu, void *sem_arg)
85788 #define FLD(f) abuf->fields.sfmt_empty.f
85789 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85790 const IDESC * UNUSED idesc = abuf->idesc;
85791 int cycles = 0;
85793 int referenced = 0;
85794 int UNUSED insn_referenced = abuf->written;
85795 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85797 return cycles;
85798 #undef FLD
85801 static int
85802 model_fr450_tlbpr (SIM_CPU *current_cpu, void *sem_arg)
85804 #define FLD(f) abuf->fields.sfmt_empty.f
85805 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85806 const IDESC * UNUSED idesc = abuf->idesc;
85807 int cycles = 0;
85809 int referenced = 0;
85810 int UNUSED insn_referenced = abuf->written;
85811 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85813 return cycles;
85814 #undef FLD
85817 static int
85818 model_fr450_cop1 (SIM_CPU *current_cpu, void *sem_arg)
85820 #define FLD(f) abuf->fields.sfmt_empty.f
85821 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85822 const IDESC * UNUSED idesc = abuf->idesc;
85823 int cycles = 0;
85825 int referenced = 0;
85826 int UNUSED insn_referenced = abuf->written;
85827 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85829 return cycles;
85830 #undef FLD
85833 static int
85834 model_fr450_cop2 (SIM_CPU *current_cpu, void *sem_arg)
85836 #define FLD(f) abuf->fields.sfmt_empty.f
85837 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85838 const IDESC * UNUSED idesc = abuf->idesc;
85839 int cycles = 0;
85841 int referenced = 0;
85842 int UNUSED insn_referenced = abuf->written;
85843 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85845 return cycles;
85846 #undef FLD
85849 static int
85850 model_fr450_clrgr (SIM_CPU *current_cpu, void *sem_arg)
85852 #define FLD(f) abuf->fields.sfmt_swapi.f
85853 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85854 const IDESC * UNUSED idesc = abuf->idesc;
85855 int cycles = 0;
85857 int referenced = 0;
85858 int UNUSED insn_referenced = abuf->written;
85859 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85861 return cycles;
85862 #undef FLD
85865 static int
85866 model_fr450_clrfr (SIM_CPU *current_cpu, void *sem_arg)
85868 #define FLD(f) abuf->fields.sfmt_cfmadds.f
85869 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85870 const IDESC * UNUSED idesc = abuf->idesc;
85871 int cycles = 0;
85873 int referenced = 0;
85874 int UNUSED insn_referenced = abuf->written;
85875 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85877 return cycles;
85878 #undef FLD
85881 static int
85882 model_fr450_clrga (SIM_CPU *current_cpu, void *sem_arg)
85884 #define FLD(f) abuf->fields.sfmt_empty.f
85885 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85886 const IDESC * UNUSED idesc = abuf->idesc;
85887 int cycles = 0;
85889 int referenced = 0;
85890 int UNUSED insn_referenced = abuf->written;
85891 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85893 return cycles;
85894 #undef FLD
85897 static int
85898 model_fr450_clrfa (SIM_CPU *current_cpu, void *sem_arg)
85900 #define FLD(f) abuf->fields.sfmt_empty.f
85901 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85902 const IDESC * UNUSED idesc = abuf->idesc;
85903 int cycles = 0;
85905 int referenced = 0;
85906 int UNUSED insn_referenced = abuf->written;
85907 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85909 return cycles;
85910 #undef FLD
85913 static int
85914 model_fr450_commitgr (SIM_CPU *current_cpu, void *sem_arg)
85916 #define FLD(f) abuf->fields.sfmt_setlos.f
85917 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85918 const IDESC * UNUSED idesc = abuf->idesc;
85919 int cycles = 0;
85921 int referenced = 0;
85922 int UNUSED insn_referenced = abuf->written;
85923 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85925 return cycles;
85926 #undef FLD
85929 static int
85930 model_fr450_commitfr (SIM_CPU *current_cpu, void *sem_arg)
85932 #define FLD(f) abuf->fields.sfmt_mhsethis.f
85933 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85934 const IDESC * UNUSED idesc = abuf->idesc;
85935 int cycles = 0;
85937 int referenced = 0;
85938 int UNUSED insn_referenced = abuf->written;
85939 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85941 return cycles;
85942 #undef FLD
85945 static int
85946 model_fr450_commitga (SIM_CPU *current_cpu, void *sem_arg)
85948 #define FLD(f) abuf->fields.sfmt_empty.f
85949 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85950 const IDESC * UNUSED idesc = abuf->idesc;
85951 int cycles = 0;
85953 int referenced = 0;
85954 int UNUSED insn_referenced = abuf->written;
85955 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85957 return cycles;
85958 #undef FLD
85961 static int
85962 model_fr450_commitfa (SIM_CPU *current_cpu, void *sem_arg)
85964 #define FLD(f) abuf->fields.sfmt_empty.f
85965 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85966 const IDESC * UNUSED idesc = abuf->idesc;
85967 int cycles = 0;
85969 int referenced = 0;
85970 int UNUSED insn_referenced = abuf->written;
85971 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85973 return cycles;
85974 #undef FLD
85977 static int
85978 model_fr450_fitos (SIM_CPU *current_cpu, void *sem_arg)
85980 #define FLD(f) abuf->fields.sfmt_fditos.f
85981 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85982 const IDESC * UNUSED idesc = abuf->idesc;
85983 int cycles = 0;
85985 int referenced = 0;
85986 int UNUSED insn_referenced = abuf->written;
85987 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
85989 return cycles;
85990 #undef FLD
85993 static int
85994 model_fr450_fstoi (SIM_CPU *current_cpu, void *sem_arg)
85996 #define FLD(f) abuf->fields.sfmt_fdstoi.f
85997 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
85998 const IDESC * UNUSED idesc = abuf->idesc;
85999 int cycles = 0;
86001 int referenced = 0;
86002 int UNUSED insn_referenced = abuf->written;
86003 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86005 return cycles;
86006 #undef FLD
86009 static int
86010 model_fr450_fitod (SIM_CPU *current_cpu, void *sem_arg)
86012 #define FLD(f) abuf->fields.sfmt_fitod.f
86013 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86014 const IDESC * UNUSED idesc = abuf->idesc;
86015 int cycles = 0;
86017 int referenced = 0;
86018 int UNUSED insn_referenced = abuf->written;
86019 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86021 return cycles;
86022 #undef FLD
86025 static int
86026 model_fr450_fdtoi (SIM_CPU *current_cpu, void *sem_arg)
86028 #define FLD(f) abuf->fields.sfmt_fdtoi.f
86029 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86030 const IDESC * UNUSED idesc = abuf->idesc;
86031 int cycles = 0;
86033 int referenced = 0;
86034 int UNUSED insn_referenced = abuf->written;
86035 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86037 return cycles;
86038 #undef FLD
86041 static int
86042 model_fr450_fditos (SIM_CPU *current_cpu, void *sem_arg)
86044 #define FLD(f) abuf->fields.sfmt_fditos.f
86045 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86046 const IDESC * UNUSED idesc = abuf->idesc;
86047 int cycles = 0;
86049 int referenced = 0;
86050 int UNUSED insn_referenced = abuf->written;
86051 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86053 return cycles;
86054 #undef FLD
86057 static int
86058 model_fr450_fdstoi (SIM_CPU *current_cpu, void *sem_arg)
86060 #define FLD(f) abuf->fields.sfmt_fdstoi.f
86061 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86062 const IDESC * UNUSED idesc = abuf->idesc;
86063 int cycles = 0;
86065 int referenced = 0;
86066 int UNUSED insn_referenced = abuf->written;
86067 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86069 return cycles;
86070 #undef FLD
86073 static int
86074 model_fr450_nfditos (SIM_CPU *current_cpu, void *sem_arg)
86076 #define FLD(f) abuf->fields.sfmt_fditos.f
86077 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86078 const IDESC * UNUSED idesc = abuf->idesc;
86079 int cycles = 0;
86081 int referenced = 0;
86082 int UNUSED insn_referenced = abuf->written;
86083 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86085 return cycles;
86086 #undef FLD
86089 static int
86090 model_fr450_nfdstoi (SIM_CPU *current_cpu, void *sem_arg)
86092 #define FLD(f) abuf->fields.sfmt_fdstoi.f
86093 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86094 const IDESC * UNUSED idesc = abuf->idesc;
86095 int cycles = 0;
86097 int referenced = 0;
86098 int UNUSED insn_referenced = abuf->written;
86099 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86101 return cycles;
86102 #undef FLD
86105 static int
86106 model_fr450_cfitos (SIM_CPU *current_cpu, void *sem_arg)
86108 #define FLD(f) abuf->fields.sfmt_cfitos.f
86109 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86110 const IDESC * UNUSED idesc = abuf->idesc;
86111 int cycles = 0;
86113 int referenced = 0;
86114 int UNUSED insn_referenced = abuf->written;
86115 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86117 return cycles;
86118 #undef FLD
86121 static int
86122 model_fr450_cfstoi (SIM_CPU *current_cpu, void *sem_arg)
86124 #define FLD(f) abuf->fields.sfmt_cfstoi.f
86125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86126 const IDESC * UNUSED idesc = abuf->idesc;
86127 int cycles = 0;
86129 int referenced = 0;
86130 int UNUSED insn_referenced = abuf->written;
86131 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86133 return cycles;
86134 #undef FLD
86137 static int
86138 model_fr450_nfitos (SIM_CPU *current_cpu, void *sem_arg)
86140 #define FLD(f) abuf->fields.sfmt_fditos.f
86141 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86142 const IDESC * UNUSED idesc = abuf->idesc;
86143 int cycles = 0;
86145 int referenced = 0;
86146 int UNUSED insn_referenced = abuf->written;
86147 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86149 return cycles;
86150 #undef FLD
86153 static int
86154 model_fr450_nfstoi (SIM_CPU *current_cpu, void *sem_arg)
86156 #define FLD(f) abuf->fields.sfmt_fdstoi.f
86157 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86158 const IDESC * UNUSED idesc = abuf->idesc;
86159 int cycles = 0;
86161 int referenced = 0;
86162 int UNUSED insn_referenced = abuf->written;
86163 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86165 return cycles;
86166 #undef FLD
86169 static int
86170 model_fr450_fmovs (SIM_CPU *current_cpu, void *sem_arg)
86172 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86173 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86174 const IDESC * UNUSED idesc = abuf->idesc;
86175 int cycles = 0;
86177 int referenced = 0;
86178 int UNUSED insn_referenced = abuf->written;
86179 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86181 return cycles;
86182 #undef FLD
86185 static int
86186 model_fr450_fmovd (SIM_CPU *current_cpu, void *sem_arg)
86188 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86189 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86190 const IDESC * UNUSED idesc = abuf->idesc;
86191 int cycles = 0;
86193 int referenced = 0;
86194 int UNUSED insn_referenced = abuf->written;
86195 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86197 return cycles;
86198 #undef FLD
86201 static int
86202 model_fr450_fdmovs (SIM_CPU *current_cpu, void *sem_arg)
86204 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86205 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86206 const IDESC * UNUSED idesc = abuf->idesc;
86207 int cycles = 0;
86209 int referenced = 0;
86210 int UNUSED insn_referenced = abuf->written;
86211 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86213 return cycles;
86214 #undef FLD
86217 static int
86218 model_fr450_cfmovs (SIM_CPU *current_cpu, void *sem_arg)
86220 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86221 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86222 const IDESC * UNUSED idesc = abuf->idesc;
86223 int cycles = 0;
86225 int referenced = 0;
86226 int UNUSED insn_referenced = abuf->written;
86227 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86229 return cycles;
86230 #undef FLD
86233 static int
86234 model_fr450_fnegs (SIM_CPU *current_cpu, void *sem_arg)
86236 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86237 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86238 const IDESC * UNUSED idesc = abuf->idesc;
86239 int cycles = 0;
86241 int referenced = 0;
86242 int UNUSED insn_referenced = abuf->written;
86243 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86245 return cycles;
86246 #undef FLD
86249 static int
86250 model_fr450_fnegd (SIM_CPU *current_cpu, void *sem_arg)
86252 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86253 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86254 const IDESC * UNUSED idesc = abuf->idesc;
86255 int cycles = 0;
86257 int referenced = 0;
86258 int UNUSED insn_referenced = abuf->written;
86259 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86261 return cycles;
86262 #undef FLD
86265 static int
86266 model_fr450_fdnegs (SIM_CPU *current_cpu, void *sem_arg)
86268 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86269 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86270 const IDESC * UNUSED idesc = abuf->idesc;
86271 int cycles = 0;
86273 int referenced = 0;
86274 int UNUSED insn_referenced = abuf->written;
86275 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86277 return cycles;
86278 #undef FLD
86281 static int
86282 model_fr450_cfnegs (SIM_CPU *current_cpu, void *sem_arg)
86284 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86285 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86286 const IDESC * UNUSED idesc = abuf->idesc;
86287 int cycles = 0;
86289 int referenced = 0;
86290 int UNUSED insn_referenced = abuf->written;
86291 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86293 return cycles;
86294 #undef FLD
86297 static int
86298 model_fr450_fabss (SIM_CPU *current_cpu, void *sem_arg)
86300 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86301 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86302 const IDESC * UNUSED idesc = abuf->idesc;
86303 int cycles = 0;
86305 int referenced = 0;
86306 int UNUSED insn_referenced = abuf->written;
86307 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86309 return cycles;
86310 #undef FLD
86313 static int
86314 model_fr450_fabsd (SIM_CPU *current_cpu, void *sem_arg)
86316 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86317 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86318 const IDESC * UNUSED idesc = abuf->idesc;
86319 int cycles = 0;
86321 int referenced = 0;
86322 int UNUSED insn_referenced = abuf->written;
86323 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86325 return cycles;
86326 #undef FLD
86329 static int
86330 model_fr450_fdabss (SIM_CPU *current_cpu, void *sem_arg)
86332 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86333 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86334 const IDESC * UNUSED idesc = abuf->idesc;
86335 int cycles = 0;
86337 int referenced = 0;
86338 int UNUSED insn_referenced = abuf->written;
86339 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86341 return cycles;
86342 #undef FLD
86345 static int
86346 model_fr450_cfabss (SIM_CPU *current_cpu, void *sem_arg)
86348 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86349 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86350 const IDESC * UNUSED idesc = abuf->idesc;
86351 int cycles = 0;
86353 int referenced = 0;
86354 int UNUSED insn_referenced = abuf->written;
86355 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86357 return cycles;
86358 #undef FLD
86361 static int
86362 model_fr450_fsqrts (SIM_CPU *current_cpu, void *sem_arg)
86364 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86365 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86366 const IDESC * UNUSED idesc = abuf->idesc;
86367 int cycles = 0;
86369 int referenced = 0;
86370 int UNUSED insn_referenced = abuf->written;
86371 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86373 return cycles;
86374 #undef FLD
86377 static int
86378 model_fr450_fdsqrts (SIM_CPU *current_cpu, void *sem_arg)
86380 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86381 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86382 const IDESC * UNUSED idesc = abuf->idesc;
86383 int cycles = 0;
86385 int referenced = 0;
86386 int UNUSED insn_referenced = abuf->written;
86387 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86389 return cycles;
86390 #undef FLD
86393 static int
86394 model_fr450_nfdsqrts (SIM_CPU *current_cpu, void *sem_arg)
86396 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86397 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86398 const IDESC * UNUSED idesc = abuf->idesc;
86399 int cycles = 0;
86401 int referenced = 0;
86402 int UNUSED insn_referenced = abuf->written;
86403 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86405 return cycles;
86406 #undef FLD
86409 static int
86410 model_fr450_fsqrtd (SIM_CPU *current_cpu, void *sem_arg)
86412 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86414 const IDESC * UNUSED idesc = abuf->idesc;
86415 int cycles = 0;
86417 int referenced = 0;
86418 int UNUSED insn_referenced = abuf->written;
86419 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86421 return cycles;
86422 #undef FLD
86425 static int
86426 model_fr450_cfsqrts (SIM_CPU *current_cpu, void *sem_arg)
86428 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86429 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86430 const IDESC * UNUSED idesc = abuf->idesc;
86431 int cycles = 0;
86433 int referenced = 0;
86434 int UNUSED insn_referenced = abuf->written;
86435 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86437 return cycles;
86438 #undef FLD
86441 static int
86442 model_fr450_nfsqrts (SIM_CPU *current_cpu, void *sem_arg)
86444 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86445 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86446 const IDESC * UNUSED idesc = abuf->idesc;
86447 int cycles = 0;
86449 int referenced = 0;
86450 int UNUSED insn_referenced = abuf->written;
86451 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86453 return cycles;
86454 #undef FLD
86457 static int
86458 model_fr450_fadds (SIM_CPU *current_cpu, void *sem_arg)
86460 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86461 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86462 const IDESC * UNUSED idesc = abuf->idesc;
86463 int cycles = 0;
86465 int referenced = 0;
86466 int UNUSED insn_referenced = abuf->written;
86467 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86469 return cycles;
86470 #undef FLD
86473 static int
86474 model_fr450_fsubs (SIM_CPU *current_cpu, void *sem_arg)
86476 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86477 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86478 const IDESC * UNUSED idesc = abuf->idesc;
86479 int cycles = 0;
86481 int referenced = 0;
86482 int UNUSED insn_referenced = abuf->written;
86483 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86485 return cycles;
86486 #undef FLD
86489 static int
86490 model_fr450_fmuls (SIM_CPU *current_cpu, void *sem_arg)
86492 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86493 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86494 const IDESC * UNUSED idesc = abuf->idesc;
86495 int cycles = 0;
86497 int referenced = 0;
86498 int UNUSED insn_referenced = abuf->written;
86499 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86501 return cycles;
86502 #undef FLD
86505 static int
86506 model_fr450_fdivs (SIM_CPU *current_cpu, void *sem_arg)
86508 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86510 const IDESC * UNUSED idesc = abuf->idesc;
86511 int cycles = 0;
86513 int referenced = 0;
86514 int UNUSED insn_referenced = abuf->written;
86515 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86517 return cycles;
86518 #undef FLD
86521 static int
86522 model_fr450_faddd (SIM_CPU *current_cpu, void *sem_arg)
86524 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86525 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86526 const IDESC * UNUSED idesc = abuf->idesc;
86527 int cycles = 0;
86529 int referenced = 0;
86530 int UNUSED insn_referenced = abuf->written;
86531 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86533 return cycles;
86534 #undef FLD
86537 static int
86538 model_fr450_fsubd (SIM_CPU *current_cpu, void *sem_arg)
86540 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86541 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86542 const IDESC * UNUSED idesc = abuf->idesc;
86543 int cycles = 0;
86545 int referenced = 0;
86546 int UNUSED insn_referenced = abuf->written;
86547 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86549 return cycles;
86550 #undef FLD
86553 static int
86554 model_fr450_fmuld (SIM_CPU *current_cpu, void *sem_arg)
86556 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86557 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86558 const IDESC * UNUSED idesc = abuf->idesc;
86559 int cycles = 0;
86561 int referenced = 0;
86562 int UNUSED insn_referenced = abuf->written;
86563 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86565 return cycles;
86566 #undef FLD
86569 static int
86570 model_fr450_fdivd (SIM_CPU *current_cpu, void *sem_arg)
86572 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86573 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86574 const IDESC * UNUSED idesc = abuf->idesc;
86575 int cycles = 0;
86577 int referenced = 0;
86578 int UNUSED insn_referenced = abuf->written;
86579 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86581 return cycles;
86582 #undef FLD
86585 static int
86586 model_fr450_cfadds (SIM_CPU *current_cpu, void *sem_arg)
86588 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86589 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86590 const IDESC * UNUSED idesc = abuf->idesc;
86591 int cycles = 0;
86593 int referenced = 0;
86594 int UNUSED insn_referenced = abuf->written;
86595 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86597 return cycles;
86598 #undef FLD
86601 static int
86602 model_fr450_cfsubs (SIM_CPU *current_cpu, void *sem_arg)
86604 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86605 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86606 const IDESC * UNUSED idesc = abuf->idesc;
86607 int cycles = 0;
86609 int referenced = 0;
86610 int UNUSED insn_referenced = abuf->written;
86611 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86613 return cycles;
86614 #undef FLD
86617 static int
86618 model_fr450_cfmuls (SIM_CPU *current_cpu, void *sem_arg)
86620 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86621 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86622 const IDESC * UNUSED idesc = abuf->idesc;
86623 int cycles = 0;
86625 int referenced = 0;
86626 int UNUSED insn_referenced = abuf->written;
86627 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86629 return cycles;
86630 #undef FLD
86633 static int
86634 model_fr450_cfdivs (SIM_CPU *current_cpu, void *sem_arg)
86636 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86637 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86638 const IDESC * UNUSED idesc = abuf->idesc;
86639 int cycles = 0;
86641 int referenced = 0;
86642 int UNUSED insn_referenced = abuf->written;
86643 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86645 return cycles;
86646 #undef FLD
86649 static int
86650 model_fr450_nfadds (SIM_CPU *current_cpu, void *sem_arg)
86652 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86654 const IDESC * UNUSED idesc = abuf->idesc;
86655 int cycles = 0;
86657 int referenced = 0;
86658 int UNUSED insn_referenced = abuf->written;
86659 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86661 return cycles;
86662 #undef FLD
86665 static int
86666 model_fr450_nfsubs (SIM_CPU *current_cpu, void *sem_arg)
86668 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86669 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86670 const IDESC * UNUSED idesc = abuf->idesc;
86671 int cycles = 0;
86673 int referenced = 0;
86674 int UNUSED insn_referenced = abuf->written;
86675 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86677 return cycles;
86678 #undef FLD
86681 static int
86682 model_fr450_nfmuls (SIM_CPU *current_cpu, void *sem_arg)
86684 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86685 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86686 const IDESC * UNUSED idesc = abuf->idesc;
86687 int cycles = 0;
86689 int referenced = 0;
86690 int UNUSED insn_referenced = abuf->written;
86691 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86693 return cycles;
86694 #undef FLD
86697 static int
86698 model_fr450_nfdivs (SIM_CPU *current_cpu, void *sem_arg)
86700 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86701 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86702 const IDESC * UNUSED idesc = abuf->idesc;
86703 int cycles = 0;
86705 int referenced = 0;
86706 int UNUSED insn_referenced = abuf->written;
86707 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86709 return cycles;
86710 #undef FLD
86713 static int
86714 model_fr450_fcmps (SIM_CPU *current_cpu, void *sem_arg)
86716 #define FLD(f) abuf->fields.sfmt_cfcmps.f
86717 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86718 const IDESC * UNUSED idesc = abuf->idesc;
86719 int cycles = 0;
86721 int referenced = 0;
86722 int UNUSED insn_referenced = abuf->written;
86723 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86725 return cycles;
86726 #undef FLD
86729 static int
86730 model_fr450_fcmpd (SIM_CPU *current_cpu, void *sem_arg)
86732 #define FLD(f) abuf->fields.sfmt_fcmpd.f
86733 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86734 const IDESC * UNUSED idesc = abuf->idesc;
86735 int cycles = 0;
86737 int referenced = 0;
86738 int UNUSED insn_referenced = abuf->written;
86739 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86741 return cycles;
86742 #undef FLD
86745 static int
86746 model_fr450_cfcmps (SIM_CPU *current_cpu, void *sem_arg)
86748 #define FLD(f) abuf->fields.sfmt_cfcmps.f
86749 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86750 const IDESC * UNUSED idesc = abuf->idesc;
86751 int cycles = 0;
86753 int referenced = 0;
86754 int UNUSED insn_referenced = abuf->written;
86755 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86757 return cycles;
86758 #undef FLD
86761 static int
86762 model_fr450_fdcmps (SIM_CPU *current_cpu, void *sem_arg)
86764 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
86765 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86766 const IDESC * UNUSED idesc = abuf->idesc;
86767 int cycles = 0;
86769 int referenced = 0;
86770 int UNUSED insn_referenced = abuf->written;
86771 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86773 return cycles;
86774 #undef FLD
86777 static int
86778 model_fr450_fmadds (SIM_CPU *current_cpu, void *sem_arg)
86780 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86781 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86782 const IDESC * UNUSED idesc = abuf->idesc;
86783 int cycles = 0;
86785 int referenced = 0;
86786 int UNUSED insn_referenced = abuf->written;
86787 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86789 return cycles;
86790 #undef FLD
86793 static int
86794 model_fr450_fmsubs (SIM_CPU *current_cpu, void *sem_arg)
86796 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86797 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86798 const IDESC * UNUSED idesc = abuf->idesc;
86799 int cycles = 0;
86801 int referenced = 0;
86802 int UNUSED insn_referenced = abuf->written;
86803 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86805 return cycles;
86806 #undef FLD
86809 static int
86810 model_fr450_fmaddd (SIM_CPU *current_cpu, void *sem_arg)
86812 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86813 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86814 const IDESC * UNUSED idesc = abuf->idesc;
86815 int cycles = 0;
86817 int referenced = 0;
86818 int UNUSED insn_referenced = abuf->written;
86819 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86821 return cycles;
86822 #undef FLD
86825 static int
86826 model_fr450_fmsubd (SIM_CPU *current_cpu, void *sem_arg)
86828 #define FLD(f) abuf->fields.sfmt_fmaddd.f
86829 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86830 const IDESC * UNUSED idesc = abuf->idesc;
86831 int cycles = 0;
86833 int referenced = 0;
86834 int UNUSED insn_referenced = abuf->written;
86835 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86837 return cycles;
86838 #undef FLD
86841 static int
86842 model_fr450_fdmadds (SIM_CPU *current_cpu, void *sem_arg)
86844 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86845 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86846 const IDESC * UNUSED idesc = abuf->idesc;
86847 int cycles = 0;
86849 int referenced = 0;
86850 int UNUSED insn_referenced = abuf->written;
86851 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86853 return cycles;
86854 #undef FLD
86857 static int
86858 model_fr450_nfdmadds (SIM_CPU *current_cpu, void *sem_arg)
86860 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86861 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86862 const IDESC * UNUSED idesc = abuf->idesc;
86863 int cycles = 0;
86865 int referenced = 0;
86866 int UNUSED insn_referenced = abuf->written;
86867 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86869 return cycles;
86870 #undef FLD
86873 static int
86874 model_fr450_cfmadds (SIM_CPU *current_cpu, void *sem_arg)
86876 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86877 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86878 const IDESC * UNUSED idesc = abuf->idesc;
86879 int cycles = 0;
86881 int referenced = 0;
86882 int UNUSED insn_referenced = abuf->written;
86883 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86885 return cycles;
86886 #undef FLD
86889 static int
86890 model_fr450_cfmsubs (SIM_CPU *current_cpu, void *sem_arg)
86892 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86893 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86894 const IDESC * UNUSED idesc = abuf->idesc;
86895 int cycles = 0;
86897 int referenced = 0;
86898 int UNUSED insn_referenced = abuf->written;
86899 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86901 return cycles;
86902 #undef FLD
86905 static int
86906 model_fr450_nfmadds (SIM_CPU *current_cpu, void *sem_arg)
86908 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86910 const IDESC * UNUSED idesc = abuf->idesc;
86911 int cycles = 0;
86913 int referenced = 0;
86914 int UNUSED insn_referenced = abuf->written;
86915 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86917 return cycles;
86918 #undef FLD
86921 static int
86922 model_fr450_nfmsubs (SIM_CPU *current_cpu, void *sem_arg)
86924 #define FLD(f) abuf->fields.sfmt_cfmadds.f
86925 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86926 const IDESC * UNUSED idesc = abuf->idesc;
86927 int cycles = 0;
86929 int referenced = 0;
86930 int UNUSED insn_referenced = abuf->written;
86931 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86933 return cycles;
86934 #undef FLD
86937 static int
86938 model_fr450_fmas (SIM_CPU *current_cpu, void *sem_arg)
86940 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86941 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86942 const IDESC * UNUSED idesc = abuf->idesc;
86943 int cycles = 0;
86945 int referenced = 0;
86946 int UNUSED insn_referenced = abuf->written;
86947 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86949 return cycles;
86950 #undef FLD
86953 static int
86954 model_fr450_fmss (SIM_CPU *current_cpu, void *sem_arg)
86956 #define FLD(f) abuf->fields.sfmt_fdmadds.f
86957 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86958 const IDESC * UNUSED idesc = abuf->idesc;
86959 int cycles = 0;
86961 int referenced = 0;
86962 int UNUSED insn_referenced = abuf->written;
86963 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86965 return cycles;
86966 #undef FLD
86969 static int
86970 model_fr450_fdmas (SIM_CPU *current_cpu, void *sem_arg)
86972 #define FLD(f) abuf->fields.sfmt_fdmas.f
86973 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86974 const IDESC * UNUSED idesc = abuf->idesc;
86975 int cycles = 0;
86977 int referenced = 0;
86978 int UNUSED insn_referenced = abuf->written;
86979 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86981 return cycles;
86982 #undef FLD
86985 static int
86986 model_fr450_fdmss (SIM_CPU *current_cpu, void *sem_arg)
86988 #define FLD(f) abuf->fields.sfmt_fdmas.f
86989 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
86990 const IDESC * UNUSED idesc = abuf->idesc;
86991 int cycles = 0;
86993 int referenced = 0;
86994 int UNUSED insn_referenced = abuf->written;
86995 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
86997 return cycles;
86998 #undef FLD
87001 static int
87002 model_fr450_nfdmas (SIM_CPU *current_cpu, void *sem_arg)
87004 #define FLD(f) abuf->fields.sfmt_fdmas.f
87005 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87006 const IDESC * UNUSED idesc = abuf->idesc;
87007 int cycles = 0;
87009 int referenced = 0;
87010 int UNUSED insn_referenced = abuf->written;
87011 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87013 return cycles;
87014 #undef FLD
87017 static int
87018 model_fr450_nfdmss (SIM_CPU *current_cpu, void *sem_arg)
87020 #define FLD(f) abuf->fields.sfmt_fdmas.f
87021 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87022 const IDESC * UNUSED idesc = abuf->idesc;
87023 int cycles = 0;
87025 int referenced = 0;
87026 int UNUSED insn_referenced = abuf->written;
87027 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87029 return cycles;
87030 #undef FLD
87033 static int
87034 model_fr450_cfmas (SIM_CPU *current_cpu, void *sem_arg)
87036 #define FLD(f) abuf->fields.sfmt_cfmas.f
87037 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87038 const IDESC * UNUSED idesc = abuf->idesc;
87039 int cycles = 0;
87041 int referenced = 0;
87042 int UNUSED insn_referenced = abuf->written;
87043 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87045 return cycles;
87046 #undef FLD
87049 static int
87050 model_fr450_cfmss (SIM_CPU *current_cpu, void *sem_arg)
87052 #define FLD(f) abuf->fields.sfmt_cfmas.f
87053 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87054 const IDESC * UNUSED idesc = abuf->idesc;
87055 int cycles = 0;
87057 int referenced = 0;
87058 int UNUSED insn_referenced = abuf->written;
87059 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87061 return cycles;
87062 #undef FLD
87065 static int
87066 model_fr450_fmad (SIM_CPU *current_cpu, void *sem_arg)
87068 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87069 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87070 const IDESC * UNUSED idesc = abuf->idesc;
87071 int cycles = 0;
87073 int referenced = 0;
87074 int UNUSED insn_referenced = abuf->written;
87075 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87077 return cycles;
87078 #undef FLD
87081 static int
87082 model_fr450_fmsd (SIM_CPU *current_cpu, void *sem_arg)
87084 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87085 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87086 const IDESC * UNUSED idesc = abuf->idesc;
87087 int cycles = 0;
87089 int referenced = 0;
87090 int UNUSED insn_referenced = abuf->written;
87091 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87093 return cycles;
87094 #undef FLD
87097 static int
87098 model_fr450_nfmas (SIM_CPU *current_cpu, void *sem_arg)
87100 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87101 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87102 const IDESC * UNUSED idesc = abuf->idesc;
87103 int cycles = 0;
87105 int referenced = 0;
87106 int UNUSED insn_referenced = abuf->written;
87107 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87109 return cycles;
87110 #undef FLD
87113 static int
87114 model_fr450_nfmss (SIM_CPU *current_cpu, void *sem_arg)
87116 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87118 const IDESC * UNUSED idesc = abuf->idesc;
87119 int cycles = 0;
87121 int referenced = 0;
87122 int UNUSED insn_referenced = abuf->written;
87123 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87125 return cycles;
87126 #undef FLD
87129 static int
87130 model_fr450_fdadds (SIM_CPU *current_cpu, void *sem_arg)
87132 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87133 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87134 const IDESC * UNUSED idesc = abuf->idesc;
87135 int cycles = 0;
87137 int referenced = 0;
87138 int UNUSED insn_referenced = abuf->written;
87139 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87141 return cycles;
87142 #undef FLD
87145 static int
87146 model_fr450_fdsubs (SIM_CPU *current_cpu, void *sem_arg)
87148 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87149 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87150 const IDESC * UNUSED idesc = abuf->idesc;
87151 int cycles = 0;
87153 int referenced = 0;
87154 int UNUSED insn_referenced = abuf->written;
87155 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87157 return cycles;
87158 #undef FLD
87161 static int
87162 model_fr450_fdmuls (SIM_CPU *current_cpu, void *sem_arg)
87164 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87165 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87166 const IDESC * UNUSED idesc = abuf->idesc;
87167 int cycles = 0;
87169 int referenced = 0;
87170 int UNUSED insn_referenced = abuf->written;
87171 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87173 return cycles;
87174 #undef FLD
87177 static int
87178 model_fr450_fddivs (SIM_CPU *current_cpu, void *sem_arg)
87180 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87181 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87182 const IDESC * UNUSED idesc = abuf->idesc;
87183 int cycles = 0;
87185 int referenced = 0;
87186 int UNUSED insn_referenced = abuf->written;
87187 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87189 return cycles;
87190 #undef FLD
87193 static int
87194 model_fr450_fdsads (SIM_CPU *current_cpu, void *sem_arg)
87196 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87197 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87198 const IDESC * UNUSED idesc = abuf->idesc;
87199 int cycles = 0;
87201 int referenced = 0;
87202 int UNUSED insn_referenced = abuf->written;
87203 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87205 return cycles;
87206 #undef FLD
87209 static int
87210 model_fr450_fdmulcs (SIM_CPU *current_cpu, void *sem_arg)
87212 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87213 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87214 const IDESC * UNUSED idesc = abuf->idesc;
87215 int cycles = 0;
87217 int referenced = 0;
87218 int UNUSED insn_referenced = abuf->written;
87219 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87221 return cycles;
87222 #undef FLD
87225 static int
87226 model_fr450_nfdmulcs (SIM_CPU *current_cpu, void *sem_arg)
87228 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87229 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87230 const IDESC * UNUSED idesc = abuf->idesc;
87231 int cycles = 0;
87233 int referenced = 0;
87234 int UNUSED insn_referenced = abuf->written;
87235 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87237 return cycles;
87238 #undef FLD
87241 static int
87242 model_fr450_nfdadds (SIM_CPU *current_cpu, void *sem_arg)
87244 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87245 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87246 const IDESC * UNUSED idesc = abuf->idesc;
87247 int cycles = 0;
87249 int referenced = 0;
87250 int UNUSED insn_referenced = abuf->written;
87251 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87253 return cycles;
87254 #undef FLD
87257 static int
87258 model_fr450_nfdsubs (SIM_CPU *current_cpu, void *sem_arg)
87260 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87261 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87262 const IDESC * UNUSED idesc = abuf->idesc;
87263 int cycles = 0;
87265 int referenced = 0;
87266 int UNUSED insn_referenced = abuf->written;
87267 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87269 return cycles;
87270 #undef FLD
87273 static int
87274 model_fr450_nfdmuls (SIM_CPU *current_cpu, void *sem_arg)
87276 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87277 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87278 const IDESC * UNUSED idesc = abuf->idesc;
87279 int cycles = 0;
87281 int referenced = 0;
87282 int UNUSED insn_referenced = abuf->written;
87283 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87285 return cycles;
87286 #undef FLD
87289 static int
87290 model_fr450_nfddivs (SIM_CPU *current_cpu, void *sem_arg)
87292 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87293 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87294 const IDESC * UNUSED idesc = abuf->idesc;
87295 int cycles = 0;
87297 int referenced = 0;
87298 int UNUSED insn_referenced = abuf->written;
87299 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87301 return cycles;
87302 #undef FLD
87305 static int
87306 model_fr450_nfdsads (SIM_CPU *current_cpu, void *sem_arg)
87308 #define FLD(f) abuf->fields.sfmt_fdmadds.f
87309 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87310 const IDESC * UNUSED idesc = abuf->idesc;
87311 int cycles = 0;
87313 int referenced = 0;
87314 int UNUSED insn_referenced = abuf->written;
87315 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87317 return cycles;
87318 #undef FLD
87321 static int
87322 model_fr450_nfdcmps (SIM_CPU *current_cpu, void *sem_arg)
87324 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
87325 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87326 const IDESC * UNUSED idesc = abuf->idesc;
87327 int cycles = 0;
87329 int referenced = 0;
87330 int UNUSED insn_referenced = abuf->written;
87331 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
87333 return cycles;
87334 #undef FLD
87337 static int
87338 model_fr450_mhsetlos (SIM_CPU *current_cpu, void *sem_arg)
87340 #define FLD(f) abuf->fields.sfmt_mhsetlos.f
87341 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87342 const IDESC * UNUSED idesc = abuf->idesc;
87343 int cycles = 0;
87345 int referenced = 0;
87346 int UNUSED insn_referenced = abuf->written;
87347 INT out_FRkhi = -1;
87348 INT out_FRklo = -1;
87349 out_FRklo = FLD (out_FRklo);
87350 referenced |= 1 << 1;
87351 cycles += frvbf_model_fr450_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
87353 return cycles;
87354 #undef FLD
87357 static int
87358 model_fr450_mhsethis (SIM_CPU *current_cpu, void *sem_arg)
87360 #define FLD(f) abuf->fields.sfmt_mhsethis.f
87361 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87362 const IDESC * UNUSED idesc = abuf->idesc;
87363 int cycles = 0;
87365 int referenced = 0;
87366 int UNUSED insn_referenced = abuf->written;
87367 INT out_FRkhi = -1;
87368 INT out_FRklo = -1;
87369 out_FRkhi = FLD (out_FRkhi);
87370 referenced |= 1 << 0;
87371 cycles += frvbf_model_fr450_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
87373 return cycles;
87374 #undef FLD
87377 static int
87378 model_fr450_mhdsets (SIM_CPU *current_cpu, void *sem_arg)
87380 #define FLD(f) abuf->fields.sfmt_mhdsets.f
87381 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87382 const IDESC * UNUSED idesc = abuf->idesc;
87383 int cycles = 0;
87385 int referenced = 0;
87386 int UNUSED insn_referenced = abuf->written;
87387 INT in_FRinti = -1;
87388 INT in_FRintj = -1;
87389 INT out_FRintk = -1;
87390 out_FRintk = FLD (out_FRintk);
87391 referenced |= 1 << 2;
87392 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87394 return cycles;
87395 #undef FLD
87398 static int
87399 model_fr450_mhsetloh (SIM_CPU *current_cpu, void *sem_arg)
87401 #define FLD(f) abuf->fields.sfmt_mhsetloh.f
87402 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87403 const IDESC * UNUSED idesc = abuf->idesc;
87404 int cycles = 0;
87406 int referenced = 0;
87407 int UNUSED insn_referenced = abuf->written;
87408 INT out_FRkhi = -1;
87409 INT out_FRklo = -1;
87410 out_FRklo = FLD (out_FRklo);
87411 referenced |= 1 << 1;
87412 cycles += frvbf_model_fr450_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
87414 return cycles;
87415 #undef FLD
87418 static int
87419 model_fr450_mhsethih (SIM_CPU *current_cpu, void *sem_arg)
87421 #define FLD(f) abuf->fields.sfmt_mhsethih.f
87422 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87423 const IDESC * UNUSED idesc = abuf->idesc;
87424 int cycles = 0;
87426 int referenced = 0;
87427 int UNUSED insn_referenced = abuf->written;
87428 INT out_FRkhi = -1;
87429 INT out_FRklo = -1;
87430 out_FRkhi = FLD (out_FRkhi);
87431 referenced |= 1 << 0;
87432 cycles += frvbf_model_fr450_u_media_hilo (current_cpu, idesc, 0, referenced, out_FRkhi, out_FRklo);
87434 return cycles;
87435 #undef FLD
87438 static int
87439 model_fr450_mhdseth (SIM_CPU *current_cpu, void *sem_arg)
87441 #define FLD(f) abuf->fields.sfmt_mhdseth.f
87442 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87443 const IDESC * UNUSED idesc = abuf->idesc;
87444 int cycles = 0;
87446 int referenced = 0;
87447 int UNUSED insn_referenced = abuf->written;
87448 INT in_FRinti = -1;
87449 INT in_FRintj = -1;
87450 INT out_FRintk = -1;
87451 out_FRintk = FLD (out_FRintk);
87452 referenced |= 1 << 2;
87453 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87455 return cycles;
87456 #undef FLD
87459 static int
87460 model_fr450_mand (SIM_CPU *current_cpu, void *sem_arg)
87462 #define FLD(f) abuf->fields.sfmt_mwcut.f
87463 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87464 const IDESC * UNUSED idesc = abuf->idesc;
87465 int cycles = 0;
87467 int referenced = 0;
87468 int UNUSED insn_referenced = abuf->written;
87469 INT in_FRinti = -1;
87470 INT in_FRintj = -1;
87471 INT out_FRintk = -1;
87472 in_FRinti = FLD (in_FRinti);
87473 in_FRintj = FLD (in_FRintj);
87474 out_FRintk = FLD (out_FRintk);
87475 referenced |= 1 << 0;
87476 referenced |= 1 << 1;
87477 referenced |= 1 << 2;
87478 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87480 return cycles;
87481 #undef FLD
87484 static int
87485 model_fr450_mor (SIM_CPU *current_cpu, void *sem_arg)
87487 #define FLD(f) abuf->fields.sfmt_mwcut.f
87488 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87489 const IDESC * UNUSED idesc = abuf->idesc;
87490 int cycles = 0;
87492 int referenced = 0;
87493 int UNUSED insn_referenced = abuf->written;
87494 INT in_FRinti = -1;
87495 INT in_FRintj = -1;
87496 INT out_FRintk = -1;
87497 in_FRinti = FLD (in_FRinti);
87498 in_FRintj = FLD (in_FRintj);
87499 out_FRintk = FLD (out_FRintk);
87500 referenced |= 1 << 0;
87501 referenced |= 1 << 1;
87502 referenced |= 1 << 2;
87503 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87505 return cycles;
87506 #undef FLD
87509 static int
87510 model_fr450_mxor (SIM_CPU *current_cpu, void *sem_arg)
87512 #define FLD(f) abuf->fields.sfmt_mwcut.f
87513 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87514 const IDESC * UNUSED idesc = abuf->idesc;
87515 int cycles = 0;
87517 int referenced = 0;
87518 int UNUSED insn_referenced = abuf->written;
87519 INT in_FRinti = -1;
87520 INT in_FRintj = -1;
87521 INT out_FRintk = -1;
87522 in_FRinti = FLD (in_FRinti);
87523 in_FRintj = FLD (in_FRintj);
87524 out_FRintk = FLD (out_FRintk);
87525 referenced |= 1 << 0;
87526 referenced |= 1 << 1;
87527 referenced |= 1 << 2;
87528 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87530 return cycles;
87531 #undef FLD
87534 static int
87535 model_fr450_cmand (SIM_CPU *current_cpu, void *sem_arg)
87537 #define FLD(f) abuf->fields.sfmt_cmand.f
87538 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87539 const IDESC * UNUSED idesc = abuf->idesc;
87540 int cycles = 0;
87542 int referenced = 0;
87543 int UNUSED insn_referenced = abuf->written;
87544 INT in_FRinti = -1;
87545 INT in_FRintj = -1;
87546 INT out_FRintk = -1;
87547 in_FRinti = FLD (in_FRinti);
87548 in_FRintj = FLD (in_FRintj);
87549 out_FRintk = FLD (out_FRintk);
87550 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
87551 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
87552 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
87553 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87555 return cycles;
87556 #undef FLD
87559 static int
87560 model_fr450_cmor (SIM_CPU *current_cpu, void *sem_arg)
87562 #define FLD(f) abuf->fields.sfmt_cmand.f
87563 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87564 const IDESC * UNUSED idesc = abuf->idesc;
87565 int cycles = 0;
87567 int referenced = 0;
87568 int UNUSED insn_referenced = abuf->written;
87569 INT in_FRinti = -1;
87570 INT in_FRintj = -1;
87571 INT out_FRintk = -1;
87572 in_FRinti = FLD (in_FRinti);
87573 in_FRintj = FLD (in_FRintj);
87574 out_FRintk = FLD (out_FRintk);
87575 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
87576 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
87577 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
87578 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87580 return cycles;
87581 #undef FLD
87584 static int
87585 model_fr450_cmxor (SIM_CPU *current_cpu, void *sem_arg)
87587 #define FLD(f) abuf->fields.sfmt_cmand.f
87588 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87589 const IDESC * UNUSED idesc = abuf->idesc;
87590 int cycles = 0;
87592 int referenced = 0;
87593 int UNUSED insn_referenced = abuf->written;
87594 INT in_FRinti = -1;
87595 INT in_FRintj = -1;
87596 INT out_FRintk = -1;
87597 in_FRinti = FLD (in_FRinti);
87598 in_FRintj = FLD (in_FRintj);
87599 out_FRintk = FLD (out_FRintk);
87600 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
87601 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
87602 if (insn_referenced & (1 << 4)) referenced |= 1 << 2;
87603 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87605 return cycles;
87606 #undef FLD
87609 static int
87610 model_fr450_mnot (SIM_CPU *current_cpu, void *sem_arg)
87612 #define FLD(f) abuf->fields.sfmt_mcut.f
87613 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87614 const IDESC * UNUSED idesc = abuf->idesc;
87615 int cycles = 0;
87617 int referenced = 0;
87618 int UNUSED insn_referenced = abuf->written;
87619 INT in_FRinti = -1;
87620 INT in_FRintj = -1;
87621 INT out_FRintk = -1;
87622 in_FRintj = FLD (in_FRintj);
87623 out_FRintk = FLD (out_FRintk);
87624 referenced |= 1 << 1;
87625 referenced |= 1 << 2;
87626 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87628 return cycles;
87629 #undef FLD
87632 static int
87633 model_fr450_cmnot (SIM_CPU *current_cpu, void *sem_arg)
87635 #define FLD(f) abuf->fields.sfmt_cmand.f
87636 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87637 const IDESC * UNUSED idesc = abuf->idesc;
87638 int cycles = 0;
87640 int referenced = 0;
87641 int UNUSED insn_referenced = abuf->written;
87642 INT in_FRinti = -1;
87643 INT in_FRintj = -1;
87644 INT out_FRintk = -1;
87645 in_FRintj = FLD (in_FRintj);
87646 out_FRintk = FLD (out_FRintk);
87647 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
87648 if (insn_referenced & (1 << 3)) referenced |= 1 << 2;
87649 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87651 return cycles;
87652 #undef FLD
87655 static int
87656 model_fr450_mrotli (SIM_CPU *current_cpu, void *sem_arg)
87658 #define FLD(f) abuf->fields.sfmt_mwcuti.f
87659 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87660 const IDESC * UNUSED idesc = abuf->idesc;
87661 int cycles = 0;
87663 int referenced = 0;
87664 int UNUSED insn_referenced = abuf->written;
87665 INT in_FRinti = -1;
87666 INT in_FRintj = -1;
87667 INT out_FRintk = -1;
87668 in_FRinti = FLD (in_FRinti);
87669 out_FRintk = FLD (out_FRintk);
87670 referenced |= 1 << 0;
87671 referenced |= 1 << 2;
87672 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87674 return cycles;
87675 #undef FLD
87678 static int
87679 model_fr450_mrotri (SIM_CPU *current_cpu, void *sem_arg)
87681 #define FLD(f) abuf->fields.sfmt_mwcuti.f
87682 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87683 const IDESC * UNUSED idesc = abuf->idesc;
87684 int cycles = 0;
87686 int referenced = 0;
87687 int UNUSED insn_referenced = abuf->written;
87688 INT in_FRinti = -1;
87689 INT in_FRintj = -1;
87690 INT out_FRintk = -1;
87691 in_FRinti = FLD (in_FRinti);
87692 out_FRintk = FLD (out_FRintk);
87693 referenced |= 1 << 0;
87694 referenced |= 1 << 2;
87695 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87697 return cycles;
87698 #undef FLD
87701 static int
87702 model_fr450_mwcut (SIM_CPU *current_cpu, void *sem_arg)
87704 #define FLD(f) abuf->fields.sfmt_mwcut.f
87705 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87706 const IDESC * UNUSED idesc = abuf->idesc;
87707 int cycles = 0;
87709 int referenced = 0;
87710 int UNUSED insn_referenced = abuf->written;
87711 INT in_FRinti = -1;
87712 INT in_FRintj = -1;
87713 INT out_FRintk = -1;
87714 in_FRinti = FLD (in_FRinti);
87715 in_FRintj = FLD (in_FRintj);
87716 out_FRintk = FLD (out_FRintk);
87717 referenced |= 1 << 0;
87718 referenced |= 1 << 1;
87719 referenced |= 1 << 2;
87720 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87722 return cycles;
87723 #undef FLD
87726 static int
87727 model_fr450_mwcuti (SIM_CPU *current_cpu, void *sem_arg)
87729 #define FLD(f) abuf->fields.sfmt_mwcuti.f
87730 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87731 const IDESC * UNUSED idesc = abuf->idesc;
87732 int cycles = 0;
87734 int referenced = 0;
87735 int UNUSED insn_referenced = abuf->written;
87736 INT in_FRinti = -1;
87737 INT in_FRintj = -1;
87738 INT out_FRintk = -1;
87739 in_FRinti = FLD (in_FRinti);
87740 out_FRintk = FLD (out_FRintk);
87741 referenced |= 1 << 0;
87742 referenced |= 1 << 2;
87743 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87745 return cycles;
87746 #undef FLD
87749 static int
87750 model_fr450_mcut (SIM_CPU *current_cpu, void *sem_arg)
87752 #define FLD(f) abuf->fields.sfmt_mcut.f
87753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87754 const IDESC * UNUSED idesc = abuf->idesc;
87755 int cycles = 0;
87757 int referenced = 0;
87758 int UNUSED insn_referenced = abuf->written;
87759 INT in_ACC40Si = -1;
87760 INT in_FRintj = -1;
87761 INT out_ACC40Sk = -1;
87762 INT out_FRintk = -1;
87763 in_ACC40Si = FLD (in_ACC40Si);
87764 in_FRintj = FLD (in_FRintj);
87765 out_FRintk = FLD (out_FRintk);
87766 referenced |= 1 << 0;
87767 referenced |= 1 << 1;
87768 referenced |= 1 << 3;
87769 cycles += frvbf_model_fr450_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
87771 return cycles;
87772 #undef FLD
87775 static int
87776 model_fr450_mcuti (SIM_CPU *current_cpu, void *sem_arg)
87778 #define FLD(f) abuf->fields.sfmt_mcuti.f
87779 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87780 const IDESC * UNUSED idesc = abuf->idesc;
87781 int cycles = 0;
87783 int referenced = 0;
87784 int UNUSED insn_referenced = abuf->written;
87785 INT in_ACC40Si = -1;
87786 INT in_FRintj = -1;
87787 INT out_ACC40Sk = -1;
87788 INT out_FRintk = -1;
87789 in_ACC40Si = FLD (in_ACC40Si);
87790 out_FRintk = FLD (out_FRintk);
87791 referenced |= 1 << 0;
87792 referenced |= 1 << 3;
87793 cycles += frvbf_model_fr450_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
87795 return cycles;
87796 #undef FLD
87799 static int
87800 model_fr450_mcutss (SIM_CPU *current_cpu, void *sem_arg)
87802 #define FLD(f) abuf->fields.sfmt_mcut.f
87803 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87804 const IDESC * UNUSED idesc = abuf->idesc;
87805 int cycles = 0;
87807 int referenced = 0;
87808 int UNUSED insn_referenced = abuf->written;
87809 INT in_ACC40Si = -1;
87810 INT in_FRintj = -1;
87811 INT out_ACC40Sk = -1;
87812 INT out_FRintk = -1;
87813 in_ACC40Si = FLD (in_ACC40Si);
87814 in_FRintj = FLD (in_FRintj);
87815 out_FRintk = FLD (out_FRintk);
87816 referenced |= 1 << 0;
87817 referenced |= 1 << 1;
87818 referenced |= 1 << 3;
87819 cycles += frvbf_model_fr450_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
87821 return cycles;
87822 #undef FLD
87825 static int
87826 model_fr450_mcutssi (SIM_CPU *current_cpu, void *sem_arg)
87828 #define FLD(f) abuf->fields.sfmt_mcuti.f
87829 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87830 const IDESC * UNUSED idesc = abuf->idesc;
87831 int cycles = 0;
87833 int referenced = 0;
87834 int UNUSED insn_referenced = abuf->written;
87835 INT in_ACC40Si = -1;
87836 INT in_FRintj = -1;
87837 INT out_ACC40Sk = -1;
87838 INT out_FRintk = -1;
87839 in_ACC40Si = FLD (in_ACC40Si);
87840 out_FRintk = FLD (out_FRintk);
87841 referenced |= 1 << 0;
87842 referenced |= 1 << 3;
87843 cycles += frvbf_model_fr450_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
87845 return cycles;
87846 #undef FLD
87849 static int
87850 model_fr450_mdcutssi (SIM_CPU *current_cpu, void *sem_arg)
87852 #define FLD(f) abuf->fields.sfmt_mdcutssi.f
87853 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87854 const IDESC * UNUSED idesc = abuf->idesc;
87855 int cycles = 0;
87857 int referenced = 0;
87858 int UNUSED insn_referenced = abuf->written;
87859 INT in_ACC40Si = -1;
87860 INT out_FRintk = -1;
87861 in_ACC40Si = FLD (in_ACC40Si);
87862 out_FRintk = FLD (out_FRintkeven);
87863 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
87864 cycles += frvbf_model_fr450_u_media_4_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_FRintk);
87866 return cycles;
87867 #undef FLD
87870 static int
87871 model_fr450_maveh (SIM_CPU *current_cpu, void *sem_arg)
87873 #define FLD(f) abuf->fields.sfmt_mwcut.f
87874 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87875 const IDESC * UNUSED idesc = abuf->idesc;
87876 int cycles = 0;
87878 int referenced = 0;
87879 int UNUSED insn_referenced = abuf->written;
87880 INT in_FRinti = -1;
87881 INT in_FRintj = -1;
87882 INT out_FRintk = -1;
87883 in_FRinti = FLD (in_FRinti);
87884 in_FRintj = FLD (in_FRintj);
87885 out_FRintk = FLD (out_FRintk);
87886 referenced |= 1 << 0;
87887 referenced |= 1 << 1;
87888 referenced |= 1 << 2;
87889 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87891 return cycles;
87892 #undef FLD
87895 static int
87896 model_fr450_msllhi (SIM_CPU *current_cpu, void *sem_arg)
87898 #define FLD(f) abuf->fields.sfmt_msllhi.f
87899 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87900 const IDESC * UNUSED idesc = abuf->idesc;
87901 int cycles = 0;
87903 int referenced = 0;
87904 int UNUSED insn_referenced = abuf->written;
87905 INT in_FRinti = -1;
87906 INT in_FRintj = -1;
87907 INT out_FRintk = -1;
87908 in_FRinti = FLD (in_FRinti);
87909 out_FRintk = FLD (out_FRintk);
87910 referenced |= 1 << 0;
87911 referenced |= 1 << 2;
87912 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87914 return cycles;
87915 #undef FLD
87918 static int
87919 model_fr450_msrlhi (SIM_CPU *current_cpu, void *sem_arg)
87921 #define FLD(f) abuf->fields.sfmt_msllhi.f
87922 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87923 const IDESC * UNUSED idesc = abuf->idesc;
87924 int cycles = 0;
87926 int referenced = 0;
87927 int UNUSED insn_referenced = abuf->written;
87928 INT in_FRinti = -1;
87929 INT in_FRintj = -1;
87930 INT out_FRintk = -1;
87931 in_FRinti = FLD (in_FRinti);
87932 out_FRintk = FLD (out_FRintk);
87933 referenced |= 1 << 0;
87934 referenced |= 1 << 2;
87935 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87937 return cycles;
87938 #undef FLD
87941 static int
87942 model_fr450_msrahi (SIM_CPU *current_cpu, void *sem_arg)
87944 #define FLD(f) abuf->fields.sfmt_msllhi.f
87945 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87946 const IDESC * UNUSED idesc = abuf->idesc;
87947 int cycles = 0;
87949 int referenced = 0;
87950 int UNUSED insn_referenced = abuf->written;
87951 INT in_FRinti = -1;
87952 INT out_FRintk = -1;
87953 in_FRinti = FLD (in_FRinti);
87954 out_FRintk = FLD (out_FRintk);
87955 referenced |= 1 << 0;
87956 referenced |= 1 << 1;
87957 cycles += frvbf_model_fr450_u_media_6 (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
87959 return cycles;
87960 #undef FLD
87963 static int
87964 model_fr450_mdrotli (SIM_CPU *current_cpu, void *sem_arg)
87966 #define FLD(f) abuf->fields.sfmt_mdrotli.f
87967 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87968 const IDESC * UNUSED idesc = abuf->idesc;
87969 int cycles = 0;
87971 int referenced = 0;
87972 int UNUSED insn_referenced = abuf->written;
87973 INT in_FRinti = -1;
87974 INT in_FRintj = -1;
87975 INT out_FRintk = -1;
87976 in_FRinti = FLD (in_FRintieven);
87977 out_FRintk = FLD (out_FRintkeven);
87978 cycles += frvbf_model_fr450_u_media_3_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
87980 return cycles;
87981 #undef FLD
87984 static int
87985 model_fr450_mcplhi (SIM_CPU *current_cpu, void *sem_arg)
87987 #define FLD(f) abuf->fields.sfmt_mcplhi.f
87988 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
87989 const IDESC * UNUSED idesc = abuf->idesc;
87990 int cycles = 0;
87992 int referenced = 0;
87993 int UNUSED insn_referenced = abuf->written;
87994 INT in_FRinti = -1;
87995 INT out_FRintk = -1;
87996 in_FRinti = FLD (in_FRinti);
87997 out_FRintk = FLD (out_FRintk);
87998 referenced |= 1 << 0;
87999 referenced |= 1 << 1;
88000 cycles += frvbf_model_fr450_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
88002 return cycles;
88003 #undef FLD
88006 static int
88007 model_fr450_mcpli (SIM_CPU *current_cpu, void *sem_arg)
88009 #define FLD(f) abuf->fields.sfmt_mwcuti.f
88010 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88011 const IDESC * UNUSED idesc = abuf->idesc;
88012 int cycles = 0;
88014 int referenced = 0;
88015 int UNUSED insn_referenced = abuf->written;
88016 INT in_FRinti = -1;
88017 INT out_FRintk = -1;
88018 in_FRinti = FLD (in_FRinti);
88019 out_FRintk = FLD (out_FRintk);
88020 referenced |= 1 << 0;
88021 referenced |= 1 << 1;
88022 cycles += frvbf_model_fr450_u_media_3_dual (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
88024 return cycles;
88025 #undef FLD
88028 static int
88029 model_fr450_msaths (SIM_CPU *current_cpu, void *sem_arg)
88031 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88032 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88033 const IDESC * UNUSED idesc = abuf->idesc;
88034 int cycles = 0;
88036 int referenced = 0;
88037 int UNUSED insn_referenced = abuf->written;
88038 INT in_FRinti = -1;
88039 INT in_FRintj = -1;
88040 INT out_FRintk = -1;
88041 in_FRinti = FLD (in_FRinti);
88042 in_FRintj = FLD (in_FRintj);
88043 referenced |= 1 << 0;
88044 referenced |= 1 << 1;
88045 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88047 return cycles;
88048 #undef FLD
88051 static int
88052 model_fr450_mqsaths (SIM_CPU *current_cpu, void *sem_arg)
88054 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88055 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88056 const IDESC * UNUSED idesc = abuf->idesc;
88057 int cycles = 0;
88059 int referenced = 0;
88060 int UNUSED insn_referenced = abuf->written;
88061 INT in_FRinti = -1;
88062 INT in_FRintj = -1;
88063 INT out_FRintk = -1;
88064 in_FRinti = FLD (in_FRintieven);
88065 in_FRintj = FLD (in_FRintjeven);
88066 out_FRintk = FLD (out_FRintkeven);
88067 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88069 return cycles;
88070 #undef FLD
88073 static int
88074 model_fr450_msathu (SIM_CPU *current_cpu, void *sem_arg)
88076 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88077 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88078 const IDESC * UNUSED idesc = abuf->idesc;
88079 int cycles = 0;
88081 int referenced = 0;
88082 int UNUSED insn_referenced = abuf->written;
88083 INT in_FRinti = -1;
88084 INT in_FRintj = -1;
88085 INT out_FRintk = -1;
88086 in_FRinti = FLD (in_FRinti);
88087 in_FRintj = FLD (in_FRintj);
88088 referenced |= 1 << 0;
88089 referenced |= 1 << 1;
88090 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88092 return cycles;
88093 #undef FLD
88096 static int
88097 model_fr450_mcmpsh (SIM_CPU *current_cpu, void *sem_arg)
88099 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
88100 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88101 const IDESC * UNUSED idesc = abuf->idesc;
88102 int cycles = 0;
88104 int referenced = 0;
88105 int UNUSED insn_referenced = abuf->written;
88106 INT in_FRinti = -1;
88107 INT in_FRintj = -1;
88108 INT out_FCCk = -1;
88109 in_FRinti = FLD (in_FRinti);
88110 in_FRintj = FLD (in_FRintj);
88111 out_FCCk = FLD (out_FCCk);
88112 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88113 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
88114 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
88115 cycles += frvbf_model_fr450_u_media_7 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FCCk);
88117 return cycles;
88118 #undef FLD
88121 static int
88122 model_fr450_mcmpuh (SIM_CPU *current_cpu, void *sem_arg)
88124 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
88125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88126 const IDESC * UNUSED idesc = abuf->idesc;
88127 int cycles = 0;
88129 int referenced = 0;
88130 int UNUSED insn_referenced = abuf->written;
88131 INT in_FRinti = -1;
88132 INT in_FRintj = -1;
88133 INT out_FCCk = -1;
88134 in_FRinti = FLD (in_FRinti);
88135 in_FRintj = FLD (in_FRintj);
88136 out_FCCk = FLD (out_FCCk);
88137 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88138 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
88139 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
88140 cycles += frvbf_model_fr450_u_media_7 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FCCk);
88142 return cycles;
88143 #undef FLD
88146 static int
88147 model_fr450_mabshs (SIM_CPU *current_cpu, void *sem_arg)
88149 #define FLD(f) abuf->fields.sfmt_mabshs.f
88150 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88151 const IDESC * UNUSED idesc = abuf->idesc;
88152 int cycles = 0;
88154 int referenced = 0;
88155 int UNUSED insn_referenced = abuf->written;
88156 INT in_FRinti = -1;
88157 INT in_FRintj = -1;
88158 INT out_FRintk = -1;
88159 in_FRintj = FLD (in_FRintj);
88160 out_FRintk = FLD (out_FRintk);
88161 referenced |= 1 << 1;
88162 referenced |= 1 << 2;
88163 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88165 return cycles;
88166 #undef FLD
88169 static int
88170 model_fr450_maddhss (SIM_CPU *current_cpu, void *sem_arg)
88172 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88173 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88174 const IDESC * UNUSED idesc = abuf->idesc;
88175 int cycles = 0;
88177 int referenced = 0;
88178 int UNUSED insn_referenced = abuf->written;
88179 INT in_FRinti = -1;
88180 INT in_FRintj = -1;
88181 INT out_FRintk = -1;
88182 in_FRinti = FLD (in_FRinti);
88183 in_FRintj = FLD (in_FRintj);
88184 referenced |= 1 << 0;
88185 referenced |= 1 << 1;
88186 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88188 return cycles;
88189 #undef FLD
88192 static int
88193 model_fr450_maddhus (SIM_CPU *current_cpu, void *sem_arg)
88195 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88196 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88197 const IDESC * UNUSED idesc = abuf->idesc;
88198 int cycles = 0;
88200 int referenced = 0;
88201 int UNUSED insn_referenced = abuf->written;
88202 INT in_FRinti = -1;
88203 INT in_FRintj = -1;
88204 INT out_FRintk = -1;
88205 in_FRinti = FLD (in_FRinti);
88206 in_FRintj = FLD (in_FRintj);
88207 referenced |= 1 << 0;
88208 referenced |= 1 << 1;
88209 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88211 return cycles;
88212 #undef FLD
88215 static int
88216 model_fr450_msubhss (SIM_CPU *current_cpu, void *sem_arg)
88218 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88219 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88220 const IDESC * UNUSED idesc = abuf->idesc;
88221 int cycles = 0;
88223 int referenced = 0;
88224 int UNUSED insn_referenced = abuf->written;
88225 INT in_FRinti = -1;
88226 INT in_FRintj = -1;
88227 INT out_FRintk = -1;
88228 in_FRinti = FLD (in_FRinti);
88229 in_FRintj = FLD (in_FRintj);
88230 referenced |= 1 << 0;
88231 referenced |= 1 << 1;
88232 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88234 return cycles;
88235 #undef FLD
88238 static int
88239 model_fr450_msubhus (SIM_CPU *current_cpu, void *sem_arg)
88241 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88242 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88243 const IDESC * UNUSED idesc = abuf->idesc;
88244 int cycles = 0;
88246 int referenced = 0;
88247 int UNUSED insn_referenced = abuf->written;
88248 INT in_FRinti = -1;
88249 INT in_FRintj = -1;
88250 INT out_FRintk = -1;
88251 in_FRinti = FLD (in_FRinti);
88252 in_FRintj = FLD (in_FRintj);
88253 referenced |= 1 << 0;
88254 referenced |= 1 << 1;
88255 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88257 return cycles;
88258 #undef FLD
88261 static int
88262 model_fr450_cmaddhss (SIM_CPU *current_cpu, void *sem_arg)
88264 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88265 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88266 const IDESC * UNUSED idesc = abuf->idesc;
88267 int cycles = 0;
88269 int referenced = 0;
88270 int UNUSED insn_referenced = abuf->written;
88271 INT in_FRinti = -1;
88272 INT in_FRintj = -1;
88273 INT out_FRintk = -1;
88274 in_FRinti = FLD (in_FRinti);
88275 in_FRintj = FLD (in_FRintj);
88276 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
88277 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
88278 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88280 return cycles;
88281 #undef FLD
88284 static int
88285 model_fr450_cmaddhus (SIM_CPU *current_cpu, void *sem_arg)
88287 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88288 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88289 const IDESC * UNUSED idesc = abuf->idesc;
88290 int cycles = 0;
88292 int referenced = 0;
88293 int UNUSED insn_referenced = abuf->written;
88294 INT in_FRinti = -1;
88295 INT in_FRintj = -1;
88296 INT out_FRintk = -1;
88297 in_FRinti = FLD (in_FRinti);
88298 in_FRintj = FLD (in_FRintj);
88299 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
88300 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
88301 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88303 return cycles;
88304 #undef FLD
88307 static int
88308 model_fr450_cmsubhss (SIM_CPU *current_cpu, void *sem_arg)
88310 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88311 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88312 const IDESC * UNUSED idesc = abuf->idesc;
88313 int cycles = 0;
88315 int referenced = 0;
88316 int UNUSED insn_referenced = abuf->written;
88317 INT in_FRinti = -1;
88318 INT in_FRintj = -1;
88319 INT out_FRintk = -1;
88320 in_FRinti = FLD (in_FRinti);
88321 in_FRintj = FLD (in_FRintj);
88322 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
88323 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
88324 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88326 return cycles;
88327 #undef FLD
88330 static int
88331 model_fr450_cmsubhus (SIM_CPU *current_cpu, void *sem_arg)
88333 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
88334 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88335 const IDESC * UNUSED idesc = abuf->idesc;
88336 int cycles = 0;
88338 int referenced = 0;
88339 int UNUSED insn_referenced = abuf->written;
88340 INT in_FRinti = -1;
88341 INT in_FRintj = -1;
88342 INT out_FRintk = -1;
88343 in_FRinti = FLD (in_FRinti);
88344 in_FRintj = FLD (in_FRintj);
88345 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
88346 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
88347 cycles += frvbf_model_fr450_u_media_1 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88349 return cycles;
88350 #undef FLD
88353 static int
88354 model_fr450_mqaddhss (SIM_CPU *current_cpu, void *sem_arg)
88356 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88357 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88358 const IDESC * UNUSED idesc = abuf->idesc;
88359 int cycles = 0;
88361 int referenced = 0;
88362 int UNUSED insn_referenced = abuf->written;
88363 INT in_FRinti = -1;
88364 INT in_FRintj = -1;
88365 INT out_FRintk = -1;
88366 in_FRinti = FLD (in_FRintieven);
88367 in_FRintj = FLD (in_FRintjeven);
88368 out_FRintk = FLD (out_FRintkeven);
88369 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88371 return cycles;
88372 #undef FLD
88375 static int
88376 model_fr450_mqaddhus (SIM_CPU *current_cpu, void *sem_arg)
88378 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88379 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88380 const IDESC * UNUSED idesc = abuf->idesc;
88381 int cycles = 0;
88383 int referenced = 0;
88384 int UNUSED insn_referenced = abuf->written;
88385 INT in_FRinti = -1;
88386 INT in_FRintj = -1;
88387 INT out_FRintk = -1;
88388 in_FRinti = FLD (in_FRintieven);
88389 in_FRintj = FLD (in_FRintjeven);
88390 out_FRintk = FLD (out_FRintkeven);
88391 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88393 return cycles;
88394 #undef FLD
88397 static int
88398 model_fr450_mqsubhss (SIM_CPU *current_cpu, void *sem_arg)
88400 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88401 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88402 const IDESC * UNUSED idesc = abuf->idesc;
88403 int cycles = 0;
88405 int referenced = 0;
88406 int UNUSED insn_referenced = abuf->written;
88407 INT in_FRinti = -1;
88408 INT in_FRintj = -1;
88409 INT out_FRintk = -1;
88410 in_FRinti = FLD (in_FRintieven);
88411 in_FRintj = FLD (in_FRintjeven);
88412 out_FRintk = FLD (out_FRintkeven);
88413 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88415 return cycles;
88416 #undef FLD
88419 static int
88420 model_fr450_mqsubhus (SIM_CPU *current_cpu, void *sem_arg)
88422 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88423 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88424 const IDESC * UNUSED idesc = abuf->idesc;
88425 int cycles = 0;
88427 int referenced = 0;
88428 int UNUSED insn_referenced = abuf->written;
88429 INT in_FRinti = -1;
88430 INT in_FRintj = -1;
88431 INT out_FRintk = -1;
88432 in_FRinti = FLD (in_FRintieven);
88433 in_FRintj = FLD (in_FRintjeven);
88434 out_FRintk = FLD (out_FRintkeven);
88435 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88437 return cycles;
88438 #undef FLD
88441 static int
88442 model_fr450_cmqaddhss (SIM_CPU *current_cpu, void *sem_arg)
88444 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88445 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88446 const IDESC * UNUSED idesc = abuf->idesc;
88447 int cycles = 0;
88449 int referenced = 0;
88450 int UNUSED insn_referenced = abuf->written;
88451 INT in_FRinti = -1;
88452 INT in_FRintj = -1;
88453 INT out_FRintk = -1;
88454 in_FRinti = FLD (in_FRintieven);
88455 in_FRintj = FLD (in_FRintjeven);
88456 out_FRintk = FLD (out_FRintkeven);
88457 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88459 return cycles;
88460 #undef FLD
88463 static int
88464 model_fr450_cmqaddhus (SIM_CPU *current_cpu, void *sem_arg)
88466 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88467 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88468 const IDESC * UNUSED idesc = abuf->idesc;
88469 int cycles = 0;
88471 int referenced = 0;
88472 int UNUSED insn_referenced = abuf->written;
88473 INT in_FRinti = -1;
88474 INT in_FRintj = -1;
88475 INT out_FRintk = -1;
88476 in_FRinti = FLD (in_FRintieven);
88477 in_FRintj = FLD (in_FRintjeven);
88478 out_FRintk = FLD (out_FRintkeven);
88479 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88481 return cycles;
88482 #undef FLD
88485 static int
88486 model_fr450_cmqsubhss (SIM_CPU *current_cpu, void *sem_arg)
88488 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88489 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88490 const IDESC * UNUSED idesc = abuf->idesc;
88491 int cycles = 0;
88493 int referenced = 0;
88494 int UNUSED insn_referenced = abuf->written;
88495 INT in_FRinti = -1;
88496 INT in_FRintj = -1;
88497 INT out_FRintk = -1;
88498 in_FRinti = FLD (in_FRintieven);
88499 in_FRintj = FLD (in_FRintjeven);
88500 out_FRintk = FLD (out_FRintkeven);
88501 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88503 return cycles;
88504 #undef FLD
88507 static int
88508 model_fr450_cmqsubhus (SIM_CPU *current_cpu, void *sem_arg)
88510 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88511 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88512 const IDESC * UNUSED idesc = abuf->idesc;
88513 int cycles = 0;
88515 int referenced = 0;
88516 int UNUSED insn_referenced = abuf->written;
88517 INT in_FRinti = -1;
88518 INT in_FRintj = -1;
88519 INT out_FRintk = -1;
88520 in_FRinti = FLD (in_FRintieven);
88521 in_FRintj = FLD (in_FRintjeven);
88522 out_FRintk = FLD (out_FRintkeven);
88523 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88525 return cycles;
88526 #undef FLD
88529 static int
88530 model_fr450_mqlclrhs (SIM_CPU *current_cpu, void *sem_arg)
88532 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88533 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88534 const IDESC * UNUSED idesc = abuf->idesc;
88535 int cycles = 0;
88537 int referenced = 0;
88538 int UNUSED insn_referenced = abuf->written;
88539 INT in_FRinti = -1;
88540 INT in_FRintj = -1;
88541 INT out_FRintk = -1;
88542 in_FRinti = FLD (in_FRintieven);
88543 in_FRintj = FLD (in_FRintjeven);
88544 out_FRintk = FLD (out_FRintkeven);
88545 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88547 return cycles;
88548 #undef FLD
88551 static int
88552 model_fr450_mqlmths (SIM_CPU *current_cpu, void *sem_arg)
88554 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
88555 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88556 const IDESC * UNUSED idesc = abuf->idesc;
88557 int cycles = 0;
88559 int referenced = 0;
88560 int UNUSED insn_referenced = abuf->written;
88561 INT in_FRinti = -1;
88562 INT in_FRintj = -1;
88563 INT out_FRintk = -1;
88564 in_FRinti = FLD (in_FRintieven);
88565 in_FRintj = FLD (in_FRintjeven);
88566 out_FRintk = FLD (out_FRintkeven);
88567 cycles += frvbf_model_fr450_u_media_1_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88569 return cycles;
88570 #undef FLD
88573 static int
88574 model_fr450_mqsllhi (SIM_CPU *current_cpu, void *sem_arg)
88576 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
88577 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88578 const IDESC * UNUSED idesc = abuf->idesc;
88579 int cycles = 0;
88581 int referenced = 0;
88582 int UNUSED insn_referenced = abuf->written;
88583 INT in_FRinti = -1;
88584 INT in_FRintj = -1;
88585 INT out_FRintk = -1;
88586 in_FRinti = FLD (in_FRintieven);
88587 in_FRintj = FLD (in_FRintieven);
88588 out_FRintk = FLD (out_FRintkeven);
88589 cycles += frvbf_model_fr450_u_media_3_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88591 return cycles;
88592 #undef FLD
88595 static int
88596 model_fr450_mqsrahi (SIM_CPU *current_cpu, void *sem_arg)
88598 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
88599 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88600 const IDESC * UNUSED idesc = abuf->idesc;
88601 int cycles = 0;
88603 int referenced = 0;
88604 int UNUSED insn_referenced = abuf->written;
88605 INT in_FRinti = -1;
88606 INT in_FRintj = -1;
88607 INT out_FRintk = -1;
88608 in_FRinti = FLD (in_FRintieven);
88609 in_FRintj = FLD (in_FRintieven);
88610 out_FRintk = FLD (out_FRintkeven);
88611 cycles += frvbf_model_fr450_u_media_3_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
88613 return cycles;
88614 #undef FLD
88617 static int
88618 model_fr450_maddaccs (SIM_CPU *current_cpu, void *sem_arg)
88620 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
88621 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88622 const IDESC * UNUSED idesc = abuf->idesc;
88623 int cycles = 0;
88625 int referenced = 0;
88626 int UNUSED insn_referenced = abuf->written;
88627 INT in_ACC40Si = -1;
88628 INT out_ACC40Sk = -1;
88629 in_ACC40Si = FLD (in_ACC40Si);
88630 out_ACC40Sk = FLD (out_ACC40Sk);
88631 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88632 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
88633 cycles += frvbf_model_fr450_u_media_2_acc (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
88635 return cycles;
88636 #undef FLD
88639 static int
88640 model_fr450_msubaccs (SIM_CPU *current_cpu, void *sem_arg)
88642 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
88643 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88644 const IDESC * UNUSED idesc = abuf->idesc;
88645 int cycles = 0;
88647 int referenced = 0;
88648 int UNUSED insn_referenced = abuf->written;
88649 INT in_ACC40Si = -1;
88650 INT out_ACC40Sk = -1;
88651 in_ACC40Si = FLD (in_ACC40Si);
88652 out_ACC40Sk = FLD (out_ACC40Sk);
88653 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88654 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
88655 cycles += frvbf_model_fr450_u_media_2_acc (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
88657 return cycles;
88658 #undef FLD
88661 static int
88662 model_fr450_mdaddaccs (SIM_CPU *current_cpu, void *sem_arg)
88664 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
88665 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88666 const IDESC * UNUSED idesc = abuf->idesc;
88667 int cycles = 0;
88669 int referenced = 0;
88670 int UNUSED insn_referenced = abuf->written;
88671 INT in_ACC40Si = -1;
88672 INT out_ACC40Sk = -1;
88673 in_ACC40Si = FLD (in_ACC40Si);
88674 out_ACC40Sk = FLD (out_ACC40Sk);
88675 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88676 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
88677 cycles += frvbf_model_fr450_u_media_2_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
88679 return cycles;
88680 #undef FLD
88683 static int
88684 model_fr450_mdsubaccs (SIM_CPU *current_cpu, void *sem_arg)
88686 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
88687 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88688 const IDESC * UNUSED idesc = abuf->idesc;
88689 int cycles = 0;
88691 int referenced = 0;
88692 int UNUSED insn_referenced = abuf->written;
88693 INT in_ACC40Si = -1;
88694 INT out_ACC40Sk = -1;
88695 in_ACC40Si = FLD (in_ACC40Si);
88696 out_ACC40Sk = FLD (out_ACC40Sk);
88697 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88698 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
88699 cycles += frvbf_model_fr450_u_media_2_acc_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
88701 return cycles;
88702 #undef FLD
88705 static int
88706 model_fr450_masaccs (SIM_CPU *current_cpu, void *sem_arg)
88708 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
88709 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88710 const IDESC * UNUSED idesc = abuf->idesc;
88711 int cycles = 0;
88713 int referenced = 0;
88714 int UNUSED insn_referenced = abuf->written;
88715 INT in_ACC40Si = -1;
88716 INT out_ACC40Sk = -1;
88717 in_ACC40Si = FLD (in_ACC40Si);
88718 out_ACC40Sk = FLD (out_ACC40Sk);
88719 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88720 if (insn_referenced & (1 << 4)) referenced |= 1 << 1;
88721 cycles += frvbf_model_fr450_u_media_2_add_sub (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
88723 return cycles;
88724 #undef FLD
88727 static int
88728 model_fr450_mdasaccs (SIM_CPU *current_cpu, void *sem_arg)
88730 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
88731 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88732 const IDESC * UNUSED idesc = abuf->idesc;
88733 int cycles = 0;
88735 int referenced = 0;
88736 int UNUSED insn_referenced = abuf->written;
88737 INT in_ACC40Si = -1;
88738 INT out_ACC40Sk = -1;
88739 in_ACC40Si = FLD (in_ACC40Si);
88740 out_ACC40Sk = FLD (out_ACC40Sk);
88741 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88742 if (insn_referenced & (1 << 6)) referenced |= 1 << 1;
88743 cycles += frvbf_model_fr450_u_media_2_add_sub_dual (current_cpu, idesc, 0, referenced, in_ACC40Si, out_ACC40Sk);
88745 return cycles;
88746 #undef FLD
88749 static int
88750 model_fr450_mmulhs (SIM_CPU *current_cpu, void *sem_arg)
88752 #define FLD(f) abuf->fields.sfmt_cmmachs.f
88753 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88754 const IDESC * UNUSED idesc = abuf->idesc;
88755 int cycles = 0;
88757 int referenced = 0;
88758 int UNUSED insn_referenced = abuf->written;
88759 INT in_FRinti = -1;
88760 INT in_FRintj = -1;
88761 INT out_ACC40Sk = -1;
88762 INT out_ACC40Uk = -1;
88763 in_FRinti = FLD (in_FRinti);
88764 in_FRintj = FLD (in_FRintj);
88765 out_ACC40Sk = FLD (out_ACC40Sk);
88766 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88767 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
88768 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
88769 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88771 return cycles;
88772 #undef FLD
88775 static int
88776 model_fr450_mmulhu (SIM_CPU *current_cpu, void *sem_arg)
88778 #define FLD(f) abuf->fields.sfmt_cmmachs.f
88779 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88780 const IDESC * UNUSED idesc = abuf->idesc;
88781 int cycles = 0;
88783 int referenced = 0;
88784 int UNUSED insn_referenced = abuf->written;
88785 INT in_FRinti = -1;
88786 INT in_FRintj = -1;
88787 INT out_ACC40Sk = -1;
88788 INT out_ACC40Uk = -1;
88789 in_FRinti = FLD (in_FRinti);
88790 in_FRintj = FLD (in_FRintj);
88791 out_ACC40Sk = FLD (out_ACC40Sk);
88792 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88793 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
88794 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
88795 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88797 return cycles;
88798 #undef FLD
88801 static int
88802 model_fr450_mmulxhs (SIM_CPU *current_cpu, void *sem_arg)
88804 #define FLD(f) abuf->fields.sfmt_cmmachs.f
88805 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88806 const IDESC * UNUSED idesc = abuf->idesc;
88807 int cycles = 0;
88809 int referenced = 0;
88810 int UNUSED insn_referenced = abuf->written;
88811 INT in_FRinti = -1;
88812 INT in_FRintj = -1;
88813 INT out_ACC40Sk = -1;
88814 INT out_ACC40Uk = -1;
88815 in_FRinti = FLD (in_FRinti);
88816 in_FRintj = FLD (in_FRintj);
88817 out_ACC40Sk = FLD (out_ACC40Sk);
88818 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88819 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
88820 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
88821 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88823 return cycles;
88824 #undef FLD
88827 static int
88828 model_fr450_mmulxhu (SIM_CPU *current_cpu, void *sem_arg)
88830 #define FLD(f) abuf->fields.sfmt_cmmachs.f
88831 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88832 const IDESC * UNUSED idesc = abuf->idesc;
88833 int cycles = 0;
88835 int referenced = 0;
88836 int UNUSED insn_referenced = abuf->written;
88837 INT in_FRinti = -1;
88838 INT in_FRintj = -1;
88839 INT out_ACC40Sk = -1;
88840 INT out_ACC40Uk = -1;
88841 in_FRinti = FLD (in_FRinti);
88842 in_FRintj = FLD (in_FRintj);
88843 out_ACC40Sk = FLD (out_ACC40Sk);
88844 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
88845 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
88846 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
88847 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88849 return cycles;
88850 #undef FLD
88853 static int
88854 model_fr450_cmmulhs (SIM_CPU *current_cpu, void *sem_arg)
88856 #define FLD(f) abuf->fields.sfmt_cmmachs.f
88857 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88858 const IDESC * UNUSED idesc = abuf->idesc;
88859 int cycles = 0;
88861 int referenced = 0;
88862 int UNUSED insn_referenced = abuf->written;
88863 INT in_FRinti = -1;
88864 INT in_FRintj = -1;
88865 INT out_ACC40Sk = -1;
88866 INT out_ACC40Uk = -1;
88867 in_FRinti = FLD (in_FRinti);
88868 in_FRintj = FLD (in_FRintj);
88869 out_ACC40Sk = FLD (out_ACC40Sk);
88870 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
88871 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
88872 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
88873 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88875 return cycles;
88876 #undef FLD
88879 static int
88880 model_fr450_cmmulhu (SIM_CPU *current_cpu, void *sem_arg)
88882 #define FLD(f) abuf->fields.sfmt_cmmachs.f
88883 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88884 const IDESC * UNUSED idesc = abuf->idesc;
88885 int cycles = 0;
88887 int referenced = 0;
88888 int UNUSED insn_referenced = abuf->written;
88889 INT in_FRinti = -1;
88890 INT in_FRintj = -1;
88891 INT out_ACC40Sk = -1;
88892 INT out_ACC40Uk = -1;
88893 in_FRinti = FLD (in_FRinti);
88894 in_FRintj = FLD (in_FRintj);
88895 out_ACC40Sk = FLD (out_ACC40Sk);
88896 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
88897 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
88898 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
88899 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88901 return cycles;
88902 #undef FLD
88905 static int
88906 model_fr450_mqmulhs (SIM_CPU *current_cpu, void *sem_arg)
88908 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
88909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88910 const IDESC * UNUSED idesc = abuf->idesc;
88911 int cycles = 0;
88913 int referenced = 0;
88914 int UNUSED insn_referenced = abuf->written;
88915 INT in_FRinti = -1;
88916 INT in_FRintj = -1;
88917 INT out_ACC40Sk = -1;
88918 INT out_ACC40Uk = -1;
88919 out_ACC40Sk = FLD (out_ACC40Sk);
88920 in_FRinti = FLD (in_FRintieven);
88921 in_FRintj = FLD (in_FRintjeven);
88922 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
88923 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88925 return cycles;
88926 #undef FLD
88929 static int
88930 model_fr450_mqmulhu (SIM_CPU *current_cpu, void *sem_arg)
88932 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
88933 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88934 const IDESC * UNUSED idesc = abuf->idesc;
88935 int cycles = 0;
88937 int referenced = 0;
88938 int UNUSED insn_referenced = abuf->written;
88939 INT in_FRinti = -1;
88940 INT in_FRintj = -1;
88941 INT out_ACC40Sk = -1;
88942 INT out_ACC40Uk = -1;
88943 out_ACC40Sk = FLD (out_ACC40Sk);
88944 in_FRinti = FLD (in_FRintieven);
88945 in_FRintj = FLD (in_FRintjeven);
88946 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
88947 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88949 return cycles;
88950 #undef FLD
88953 static int
88954 model_fr450_mqmulxhs (SIM_CPU *current_cpu, void *sem_arg)
88956 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
88957 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88958 const IDESC * UNUSED idesc = abuf->idesc;
88959 int cycles = 0;
88961 int referenced = 0;
88962 int UNUSED insn_referenced = abuf->written;
88963 INT in_FRinti = -1;
88964 INT in_FRintj = -1;
88965 INT out_ACC40Sk = -1;
88966 INT out_ACC40Uk = -1;
88967 out_ACC40Sk = FLD (out_ACC40Sk);
88968 in_FRinti = FLD (in_FRintieven);
88969 in_FRintj = FLD (in_FRintjeven);
88970 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
88971 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88973 return cycles;
88974 #undef FLD
88977 static int
88978 model_fr450_mqmulxhu (SIM_CPU *current_cpu, void *sem_arg)
88980 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
88981 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
88982 const IDESC * UNUSED idesc = abuf->idesc;
88983 int cycles = 0;
88985 int referenced = 0;
88986 int UNUSED insn_referenced = abuf->written;
88987 INT in_FRinti = -1;
88988 INT in_FRintj = -1;
88989 INT out_ACC40Sk = -1;
88990 INT out_ACC40Uk = -1;
88991 out_ACC40Sk = FLD (out_ACC40Sk);
88992 in_FRinti = FLD (in_FRintieven);
88993 in_FRintj = FLD (in_FRintjeven);
88994 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
88995 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
88997 return cycles;
88998 #undef FLD
89001 static int
89002 model_fr450_cmqmulhs (SIM_CPU *current_cpu, void *sem_arg)
89004 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89005 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89006 const IDESC * UNUSED idesc = abuf->idesc;
89007 int cycles = 0;
89009 int referenced = 0;
89010 int UNUSED insn_referenced = abuf->written;
89011 INT in_FRinti = -1;
89012 INT in_FRintj = -1;
89013 INT out_ACC40Sk = -1;
89014 INT out_ACC40Uk = -1;
89015 out_ACC40Sk = FLD (out_ACC40Sk);
89016 in_FRinti = FLD (in_FRintieven);
89017 in_FRintj = FLD (in_FRintjeven);
89018 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
89019 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89021 return cycles;
89022 #undef FLD
89025 static int
89026 model_fr450_cmqmulhu (SIM_CPU *current_cpu, void *sem_arg)
89028 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89029 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89030 const IDESC * UNUSED idesc = abuf->idesc;
89031 int cycles = 0;
89033 int referenced = 0;
89034 int UNUSED insn_referenced = abuf->written;
89035 INT in_FRinti = -1;
89036 INT in_FRintj = -1;
89037 INT out_ACC40Sk = -1;
89038 INT out_ACC40Uk = -1;
89039 out_ACC40Sk = FLD (out_ACC40Sk);
89040 in_FRinti = FLD (in_FRintieven);
89041 in_FRintj = FLD (in_FRintjeven);
89042 if (insn_referenced & (1 << 15)) referenced |= 1 << 2;
89043 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89045 return cycles;
89046 #undef FLD
89049 static int
89050 model_fr450_mmachs (SIM_CPU *current_cpu, void *sem_arg)
89052 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89053 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89054 const IDESC * UNUSED idesc = abuf->idesc;
89055 int cycles = 0;
89057 int referenced = 0;
89058 int UNUSED insn_referenced = abuf->written;
89059 INT in_FRinti = -1;
89060 INT in_FRintj = -1;
89061 INT out_ACC40Sk = -1;
89062 INT out_ACC40Uk = -1;
89063 in_FRinti = FLD (in_FRinti);
89064 in_FRintj = FLD (in_FRintj);
89065 out_ACC40Sk = FLD (out_ACC40Sk);
89066 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89067 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89068 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
89069 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89071 return cycles;
89072 #undef FLD
89075 static int
89076 model_fr450_mmachu (SIM_CPU *current_cpu, void *sem_arg)
89078 #define FLD(f) abuf->fields.sfmt_cmmachu.f
89079 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89080 const IDESC * UNUSED idesc = abuf->idesc;
89081 int cycles = 0;
89083 int referenced = 0;
89084 int UNUSED insn_referenced = abuf->written;
89085 INT in_FRinti = -1;
89086 INT in_FRintj = -1;
89087 INT out_ACC40Sk = -1;
89088 INT out_ACC40Uk = -1;
89089 in_FRinti = FLD (in_FRinti);
89090 in_FRintj = FLD (in_FRintj);
89091 out_ACC40Uk = FLD (out_ACC40Uk);
89092 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89093 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89094 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
89095 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89097 return cycles;
89098 #undef FLD
89101 static int
89102 model_fr450_mmrdhs (SIM_CPU *current_cpu, void *sem_arg)
89104 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89105 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89106 const IDESC * UNUSED idesc = abuf->idesc;
89107 int cycles = 0;
89109 int referenced = 0;
89110 int UNUSED insn_referenced = abuf->written;
89111 INT in_FRinti = -1;
89112 INT in_FRintj = -1;
89113 INT out_ACC40Sk = -1;
89114 INT out_ACC40Uk = -1;
89115 in_FRinti = FLD (in_FRinti);
89116 in_FRintj = FLD (in_FRintj);
89117 out_ACC40Sk = FLD (out_ACC40Sk);
89118 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89119 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89120 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
89121 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89123 return cycles;
89124 #undef FLD
89127 static int
89128 model_fr450_mmrdhu (SIM_CPU *current_cpu, void *sem_arg)
89130 #define FLD(f) abuf->fields.sfmt_cmmachu.f
89131 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89132 const IDESC * UNUSED idesc = abuf->idesc;
89133 int cycles = 0;
89135 int referenced = 0;
89136 int UNUSED insn_referenced = abuf->written;
89137 INT in_FRinti = -1;
89138 INT in_FRintj = -1;
89139 INT out_ACC40Sk = -1;
89140 INT out_ACC40Uk = -1;
89141 in_FRinti = FLD (in_FRinti);
89142 in_FRintj = FLD (in_FRintj);
89143 out_ACC40Uk = FLD (out_ACC40Uk);
89144 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89145 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89146 if (insn_referenced & (1 << 11)) referenced |= 1 << 3;
89147 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89149 return cycles;
89150 #undef FLD
89153 static int
89154 model_fr450_cmmachs (SIM_CPU *current_cpu, void *sem_arg)
89156 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89157 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89158 const IDESC * UNUSED idesc = abuf->idesc;
89159 int cycles = 0;
89161 int referenced = 0;
89162 int UNUSED insn_referenced = abuf->written;
89163 INT in_FRinti = -1;
89164 INT in_FRintj = -1;
89165 INT out_ACC40Sk = -1;
89166 INT out_ACC40Uk = -1;
89167 in_FRinti = FLD (in_FRinti);
89168 in_FRintj = FLD (in_FRintj);
89169 out_ACC40Sk = FLD (out_ACC40Sk);
89170 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
89171 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
89172 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
89173 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89175 return cycles;
89176 #undef FLD
89179 static int
89180 model_fr450_cmmachu (SIM_CPU *current_cpu, void *sem_arg)
89182 #define FLD(f) abuf->fields.sfmt_cmmachu.f
89183 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89184 const IDESC * UNUSED idesc = abuf->idesc;
89185 int cycles = 0;
89187 int referenced = 0;
89188 int UNUSED insn_referenced = abuf->written;
89189 INT in_FRinti = -1;
89190 INT in_FRintj = -1;
89191 INT out_ACC40Sk = -1;
89192 INT out_ACC40Uk = -1;
89193 in_FRinti = FLD (in_FRinti);
89194 in_FRintj = FLD (in_FRintj);
89195 out_ACC40Uk = FLD (out_ACC40Uk);
89196 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
89197 if (insn_referenced & (1 << 3)) referenced |= 1 << 1;
89198 if (insn_referenced & (1 << 13)) referenced |= 1 << 3;
89199 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89201 return cycles;
89202 #undef FLD
89205 static int
89206 model_fr450_mqmachs (SIM_CPU *current_cpu, void *sem_arg)
89208 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89209 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89210 const IDESC * UNUSED idesc = abuf->idesc;
89211 int cycles = 0;
89213 int referenced = 0;
89214 int UNUSED insn_referenced = abuf->written;
89215 INT in_FRinti = -1;
89216 INT in_FRintj = -1;
89217 INT out_ACC40Sk = -1;
89218 INT out_ACC40Uk = -1;
89219 out_ACC40Sk = FLD (out_ACC40Sk);
89220 in_FRinti = FLD (in_FRintieven);
89221 in_FRintj = FLD (in_FRintjeven);
89222 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
89223 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89225 return cycles;
89226 #undef FLD
89229 static int
89230 model_fr450_mqmachu (SIM_CPU *current_cpu, void *sem_arg)
89232 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
89233 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89234 const IDESC * UNUSED idesc = abuf->idesc;
89235 int cycles = 0;
89237 int referenced = 0;
89238 int UNUSED insn_referenced = abuf->written;
89239 INT in_FRinti = -1;
89240 INT in_FRintj = -1;
89241 INT out_ACC40Sk = -1;
89242 INT out_ACC40Uk = -1;
89243 out_ACC40Uk = FLD (out_ACC40Uk);
89244 in_FRinti = FLD (in_FRintieven);
89245 in_FRintj = FLD (in_FRintjeven);
89246 if (insn_referenced & (1 << 17)) referenced |= 1 << 3;
89247 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89249 return cycles;
89250 #undef FLD
89253 static int
89254 model_fr450_cmqmachs (SIM_CPU *current_cpu, void *sem_arg)
89256 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89257 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89258 const IDESC * UNUSED idesc = abuf->idesc;
89259 int cycles = 0;
89261 int referenced = 0;
89262 int UNUSED insn_referenced = abuf->written;
89263 INT in_FRinti = -1;
89264 INT in_FRintj = -1;
89265 INT out_ACC40Sk = -1;
89266 INT out_ACC40Uk = -1;
89267 out_ACC40Sk = FLD (out_ACC40Sk);
89268 in_FRinti = FLD (in_FRintieven);
89269 in_FRintj = FLD (in_FRintjeven);
89270 if (insn_referenced & (1 << 19)) referenced |= 1 << 2;
89271 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89273 return cycles;
89274 #undef FLD
89277 static int
89278 model_fr450_cmqmachu (SIM_CPU *current_cpu, void *sem_arg)
89280 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
89281 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89282 const IDESC * UNUSED idesc = abuf->idesc;
89283 int cycles = 0;
89285 int referenced = 0;
89286 int UNUSED insn_referenced = abuf->written;
89287 INT in_FRinti = -1;
89288 INT in_FRintj = -1;
89289 INT out_ACC40Sk = -1;
89290 INT out_ACC40Uk = -1;
89291 out_ACC40Uk = FLD (out_ACC40Uk);
89292 in_FRinti = FLD (in_FRintieven);
89293 in_FRintj = FLD (in_FRintjeven);
89294 if (insn_referenced & (1 << 19)) referenced |= 1 << 3;
89295 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89297 return cycles;
89298 #undef FLD
89301 static int
89302 model_fr450_mqxmachs (SIM_CPU *current_cpu, void *sem_arg)
89304 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89305 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89306 const IDESC * UNUSED idesc = abuf->idesc;
89307 int cycles = 0;
89309 int referenced = 0;
89310 int UNUSED insn_referenced = abuf->written;
89311 INT in_FRinti = -1;
89312 INT in_FRintj = -1;
89313 INT out_ACC40Sk = -1;
89314 INT out_ACC40Uk = -1;
89315 out_ACC40Sk = FLD (out_ACC40Sk);
89316 in_FRinti = FLD (in_FRintieven);
89317 in_FRintj = FLD (in_FRintjeven);
89318 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
89319 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89321 return cycles;
89322 #undef FLD
89325 static int
89326 model_fr450_mqxmacxhs (SIM_CPU *current_cpu, void *sem_arg)
89328 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89329 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89330 const IDESC * UNUSED idesc = abuf->idesc;
89331 int cycles = 0;
89333 int referenced = 0;
89334 int UNUSED insn_referenced = abuf->written;
89335 INT in_FRinti = -1;
89336 INT in_FRintj = -1;
89337 INT out_ACC40Sk = -1;
89338 INT out_ACC40Uk = -1;
89339 out_ACC40Sk = FLD (out_ACC40Sk);
89340 in_FRinti = FLD (in_FRintieven);
89341 in_FRintj = FLD (in_FRintjeven);
89342 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
89343 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89345 return cycles;
89346 #undef FLD
89349 static int
89350 model_fr450_mqmacxhs (SIM_CPU *current_cpu, void *sem_arg)
89352 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89353 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89354 const IDESC * UNUSED idesc = abuf->idesc;
89355 int cycles = 0;
89357 int referenced = 0;
89358 int UNUSED insn_referenced = abuf->written;
89359 INT in_FRinti = -1;
89360 INT in_FRintj = -1;
89361 INT out_ACC40Sk = -1;
89362 INT out_ACC40Uk = -1;
89363 out_ACC40Sk = FLD (out_ACC40Sk);
89364 in_FRinti = FLD (in_FRintieven);
89365 in_FRintj = FLD (in_FRintjeven);
89366 if (insn_referenced & (1 << 17)) referenced |= 1 << 2;
89367 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89369 return cycles;
89370 #undef FLD
89373 static int
89374 model_fr450_mcpxrs (SIM_CPU *current_cpu, void *sem_arg)
89376 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89377 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89378 const IDESC * UNUSED idesc = abuf->idesc;
89379 int cycles = 0;
89381 int referenced = 0;
89382 int UNUSED insn_referenced = abuf->written;
89383 INT in_FRinti = -1;
89384 INT in_FRintj = -1;
89385 INT out_ACC40Sk = -1;
89386 INT out_ACC40Uk = -1;
89387 in_FRinti = FLD (in_FRinti);
89388 in_FRintj = FLD (in_FRintj);
89389 out_ACC40Sk = FLD (out_ACC40Sk);
89390 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
89391 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
89392 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
89393 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89395 return cycles;
89396 #undef FLD
89399 static int
89400 model_fr450_mcpxru (SIM_CPU *current_cpu, void *sem_arg)
89402 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89403 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89404 const IDESC * UNUSED idesc = abuf->idesc;
89405 int cycles = 0;
89407 int referenced = 0;
89408 int UNUSED insn_referenced = abuf->written;
89409 INT in_FRinti = -1;
89410 INT in_FRintj = -1;
89411 INT out_ACC40Sk = -1;
89412 INT out_ACC40Uk = -1;
89413 in_FRinti = FLD (in_FRinti);
89414 in_FRintj = FLD (in_FRintj);
89415 out_ACC40Sk = FLD (out_ACC40Sk);
89416 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
89417 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
89418 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
89419 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89421 return cycles;
89422 #undef FLD
89425 static int
89426 model_fr450_mcpxis (SIM_CPU *current_cpu, void *sem_arg)
89428 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89429 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89430 const IDESC * UNUSED idesc = abuf->idesc;
89431 int cycles = 0;
89433 int referenced = 0;
89434 int UNUSED insn_referenced = abuf->written;
89435 INT in_FRinti = -1;
89436 INT in_FRintj = -1;
89437 INT out_ACC40Sk = -1;
89438 INT out_ACC40Uk = -1;
89439 in_FRinti = FLD (in_FRinti);
89440 in_FRintj = FLD (in_FRintj);
89441 out_ACC40Sk = FLD (out_ACC40Sk);
89442 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
89443 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
89444 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
89445 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89447 return cycles;
89448 #undef FLD
89451 static int
89452 model_fr450_mcpxiu (SIM_CPU *current_cpu, void *sem_arg)
89454 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89455 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89456 const IDESC * UNUSED idesc = abuf->idesc;
89457 int cycles = 0;
89459 int referenced = 0;
89460 int UNUSED insn_referenced = abuf->written;
89461 INT in_FRinti = -1;
89462 INT in_FRintj = -1;
89463 INT out_ACC40Sk = -1;
89464 INT out_ACC40Uk = -1;
89465 in_FRinti = FLD (in_FRinti);
89466 in_FRintj = FLD (in_FRintj);
89467 out_ACC40Sk = FLD (out_ACC40Sk);
89468 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
89469 if (insn_referenced & (1 << 1)) referenced |= 1 << 1;
89470 if (insn_referenced & (1 << 9)) referenced |= 1 << 2;
89471 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89473 return cycles;
89474 #undef FLD
89477 static int
89478 model_fr450_cmcpxrs (SIM_CPU *current_cpu, void *sem_arg)
89480 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89481 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89482 const IDESC * UNUSED idesc = abuf->idesc;
89483 int cycles = 0;
89485 int referenced = 0;
89486 int UNUSED insn_referenced = abuf->written;
89487 INT in_FRinti = -1;
89488 INT in_FRintj = -1;
89489 INT out_ACC40Sk = -1;
89490 INT out_ACC40Uk = -1;
89491 in_FRinti = FLD (in_FRinti);
89492 in_FRintj = FLD (in_FRintj);
89493 out_ACC40Sk = FLD (out_ACC40Sk);
89494 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89495 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89496 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
89497 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89499 return cycles;
89500 #undef FLD
89503 static int
89504 model_fr450_cmcpxru (SIM_CPU *current_cpu, void *sem_arg)
89506 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89507 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89508 const IDESC * UNUSED idesc = abuf->idesc;
89509 int cycles = 0;
89511 int referenced = 0;
89512 int UNUSED insn_referenced = abuf->written;
89513 INT in_FRinti = -1;
89514 INT in_FRintj = -1;
89515 INT out_ACC40Sk = -1;
89516 INT out_ACC40Uk = -1;
89517 in_FRinti = FLD (in_FRinti);
89518 in_FRintj = FLD (in_FRintj);
89519 out_ACC40Sk = FLD (out_ACC40Sk);
89520 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89521 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89522 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
89523 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89525 return cycles;
89526 #undef FLD
89529 static int
89530 model_fr450_cmcpxis (SIM_CPU *current_cpu, void *sem_arg)
89532 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89533 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89534 const IDESC * UNUSED idesc = abuf->idesc;
89535 int cycles = 0;
89537 int referenced = 0;
89538 int UNUSED insn_referenced = abuf->written;
89539 INT in_FRinti = -1;
89540 INT in_FRintj = -1;
89541 INT out_ACC40Sk = -1;
89542 INT out_ACC40Uk = -1;
89543 in_FRinti = FLD (in_FRinti);
89544 in_FRintj = FLD (in_FRintj);
89545 out_ACC40Sk = FLD (out_ACC40Sk);
89546 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89547 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89548 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
89549 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89551 return cycles;
89552 #undef FLD
89555 static int
89556 model_fr450_cmcpxiu (SIM_CPU *current_cpu, void *sem_arg)
89558 #define FLD(f) abuf->fields.sfmt_cmmachs.f
89559 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89560 const IDESC * UNUSED idesc = abuf->idesc;
89561 int cycles = 0;
89563 int referenced = 0;
89564 int UNUSED insn_referenced = abuf->written;
89565 INT in_FRinti = -1;
89566 INT in_FRintj = -1;
89567 INT out_ACC40Sk = -1;
89568 INT out_ACC40Uk = -1;
89569 in_FRinti = FLD (in_FRinti);
89570 in_FRintj = FLD (in_FRintj);
89571 out_ACC40Sk = FLD (out_ACC40Sk);
89572 if (insn_referenced & (1 << 1)) referenced |= 1 << 0;
89573 if (insn_referenced & (1 << 2)) referenced |= 1 << 1;
89574 if (insn_referenced & (1 << 11)) referenced |= 1 << 2;
89575 cycles += frvbf_model_fr450_u_media_2 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89577 return cycles;
89578 #undef FLD
89581 static int
89582 model_fr450_mqcpxrs (SIM_CPU *current_cpu, void *sem_arg)
89584 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89585 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89586 const IDESC * UNUSED idesc = abuf->idesc;
89587 int cycles = 0;
89589 int referenced = 0;
89590 int UNUSED insn_referenced = abuf->written;
89591 INT in_FRinti = -1;
89592 INT in_FRintj = -1;
89593 INT out_ACC40Sk = -1;
89594 INT out_ACC40Uk = -1;
89595 out_ACC40Sk = FLD (out_ACC40Sk);
89596 in_FRinti = FLD (in_FRintieven);
89597 in_FRintj = FLD (in_FRintjeven);
89598 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
89599 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89601 return cycles;
89602 #undef FLD
89605 static int
89606 model_fr450_mqcpxru (SIM_CPU *current_cpu, void *sem_arg)
89608 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89609 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89610 const IDESC * UNUSED idesc = abuf->idesc;
89611 int cycles = 0;
89613 int referenced = 0;
89614 int UNUSED insn_referenced = abuf->written;
89615 INT in_FRinti = -1;
89616 INT in_FRintj = -1;
89617 INT out_ACC40Sk = -1;
89618 INT out_ACC40Uk = -1;
89619 out_ACC40Sk = FLD (out_ACC40Sk);
89620 in_FRinti = FLD (in_FRintieven);
89621 in_FRintj = FLD (in_FRintjeven);
89622 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
89623 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89625 return cycles;
89626 #undef FLD
89629 static int
89630 model_fr450_mqcpxis (SIM_CPU *current_cpu, void *sem_arg)
89632 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89633 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89634 const IDESC * UNUSED idesc = abuf->idesc;
89635 int cycles = 0;
89637 int referenced = 0;
89638 int UNUSED insn_referenced = abuf->written;
89639 INT in_FRinti = -1;
89640 INT in_FRintj = -1;
89641 INT out_ACC40Sk = -1;
89642 INT out_ACC40Uk = -1;
89643 out_ACC40Sk = FLD (out_ACC40Sk);
89644 in_FRinti = FLD (in_FRintieven);
89645 in_FRintj = FLD (in_FRintjeven);
89646 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
89647 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89649 return cycles;
89650 #undef FLD
89653 static int
89654 model_fr450_mqcpxiu (SIM_CPU *current_cpu, void *sem_arg)
89656 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
89657 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89658 const IDESC * UNUSED idesc = abuf->idesc;
89659 int cycles = 0;
89661 int referenced = 0;
89662 int UNUSED insn_referenced = abuf->written;
89663 INT in_FRinti = -1;
89664 INT in_FRintj = -1;
89665 INT out_ACC40Sk = -1;
89666 INT out_ACC40Uk = -1;
89667 out_ACC40Sk = FLD (out_ACC40Sk);
89668 in_FRinti = FLD (in_FRintieven);
89669 in_FRintj = FLD (in_FRintjeven);
89670 if (insn_referenced & (1 << 13)) referenced |= 1 << 2;
89671 cycles += frvbf_model_fr450_u_media_2_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_ACC40Sk, out_ACC40Uk);
89673 return cycles;
89674 #undef FLD
89677 static int
89678 model_fr450_mexpdhw (SIM_CPU *current_cpu, void *sem_arg)
89680 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
89681 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89682 const IDESC * UNUSED idesc = abuf->idesc;
89683 int cycles = 0;
89685 int referenced = 0;
89686 int UNUSED insn_referenced = abuf->written;
89687 INT in_FRinti = -1;
89688 INT in_FRintj = -1;
89689 INT out_FRintk = -1;
89690 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
89692 return cycles;
89693 #undef FLD
89696 static int
89697 model_fr450_cmexpdhw (SIM_CPU *current_cpu, void *sem_arg)
89699 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
89700 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89701 const IDESC * UNUSED idesc = abuf->idesc;
89702 int cycles = 0;
89704 int referenced = 0;
89705 int UNUSED insn_referenced = abuf->written;
89706 INT in_FRinti = -1;
89707 INT in_FRintj = -1;
89708 INT out_FRintk = -1;
89709 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
89711 return cycles;
89712 #undef FLD
89715 static int
89716 model_fr450_mexpdhd (SIM_CPU *current_cpu, void *sem_arg)
89718 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
89719 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89720 const IDESC * UNUSED idesc = abuf->idesc;
89721 int cycles = 0;
89723 int referenced = 0;
89724 int UNUSED insn_referenced = abuf->written;
89725 INT in_FRinti = -1;
89726 INT out_FRintk = -1;
89727 out_FRintk = FLD (out_FRintkeven);
89728 cycles += frvbf_model_fr450_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
89730 return cycles;
89731 #undef FLD
89734 static int
89735 model_fr450_cmexpdhd (SIM_CPU *current_cpu, void *sem_arg)
89737 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
89738 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89739 const IDESC * UNUSED idesc = abuf->idesc;
89740 int cycles = 0;
89742 int referenced = 0;
89743 int UNUSED insn_referenced = abuf->written;
89744 INT in_FRinti = -1;
89745 INT out_FRintk = -1;
89746 out_FRintk = FLD (out_FRintkeven);
89747 cycles += frvbf_model_fr450_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
89749 return cycles;
89750 #undef FLD
89753 static int
89754 model_fr450_mpackh (SIM_CPU *current_cpu, void *sem_arg)
89756 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
89757 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89758 const IDESC * UNUSED idesc = abuf->idesc;
89759 int cycles = 0;
89761 int referenced = 0;
89762 int UNUSED insn_referenced = abuf->written;
89763 INT in_FRinti = -1;
89764 INT in_FRintj = -1;
89765 INT out_FRintk = -1;
89766 cycles += frvbf_model_fr450_u_media_3 (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
89768 return cycles;
89769 #undef FLD
89772 static int
89773 model_fr450_mdpackh (SIM_CPU *current_cpu, void *sem_arg)
89775 #define FLD(f) abuf->fields.sfmt_mdpackh.f
89776 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89777 const IDESC * UNUSED idesc = abuf->idesc;
89778 int cycles = 0;
89780 int referenced = 0;
89781 int UNUSED insn_referenced = abuf->written;
89782 INT in_FRinti = -1;
89783 INT in_FRintj = -1;
89784 INT out_FRintk = -1;
89785 in_FRinti = FLD (in_FRintieven);
89786 in_FRintj = FLD (in_FRintjeven);
89787 out_FRintk = FLD (out_FRintkeven);
89788 cycles += frvbf_model_fr450_u_media_3_quad (current_cpu, idesc, 0, referenced, in_FRinti, in_FRintj, out_FRintk);
89790 return cycles;
89791 #undef FLD
89794 static int
89795 model_fr450_munpackh (SIM_CPU *current_cpu, void *sem_arg)
89797 #define FLD(f) abuf->fields.sfmt_munpackh.f
89798 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89799 const IDESC * UNUSED idesc = abuf->idesc;
89800 int cycles = 0;
89802 int referenced = 0;
89803 int UNUSED insn_referenced = abuf->written;
89804 INT in_FRinti = -1;
89805 INT out_FRintk = -1;
89806 in_FRinti = FLD (in_FRinti);
89807 out_FRintk = FLD (out_FRintkeven);
89808 if (insn_referenced & (1 << 0)) referenced |= 1 << 0;
89809 cycles += frvbf_model_fr450_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
89811 return cycles;
89812 #undef FLD
89815 static int
89816 model_fr450_mdunpackh (SIM_CPU *current_cpu, void *sem_arg)
89818 #define FLD(f) abuf->fields.sfmt_mdunpackh.f
89819 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89820 const IDESC * UNUSED idesc = abuf->idesc;
89821 int cycles = 0;
89823 int referenced = 0;
89824 int UNUSED insn_referenced = abuf->written;
89825 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
89827 return cycles;
89828 #undef FLD
89831 static int
89832 model_fr450_mbtoh (SIM_CPU *current_cpu, void *sem_arg)
89834 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
89835 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89836 const IDESC * UNUSED idesc = abuf->idesc;
89837 int cycles = 0;
89839 int referenced = 0;
89840 int UNUSED insn_referenced = abuf->written;
89841 INT in_FRinti = -1;
89842 INT out_FRintk = -1;
89843 out_FRintk = FLD (out_FRintkeven);
89844 cycles += frvbf_model_fr450_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
89846 return cycles;
89847 #undef FLD
89850 static int
89851 model_fr450_cmbtoh (SIM_CPU *current_cpu, void *sem_arg)
89853 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
89854 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89855 const IDESC * UNUSED idesc = abuf->idesc;
89856 int cycles = 0;
89858 int referenced = 0;
89859 int UNUSED insn_referenced = abuf->written;
89860 INT in_FRinti = -1;
89861 INT out_FRintk = -1;
89862 out_FRintk = FLD (out_FRintkeven);
89863 cycles += frvbf_model_fr450_u_media_dual_expand (current_cpu, idesc, 0, referenced, in_FRinti, out_FRintk);
89865 return cycles;
89866 #undef FLD
89869 static int
89870 model_fr450_mhtob (SIM_CPU *current_cpu, void *sem_arg)
89872 #define FLD(f) abuf->fields.sfmt_cmhtob.f
89873 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89874 const IDESC * UNUSED idesc = abuf->idesc;
89875 int cycles = 0;
89877 int referenced = 0;
89878 int UNUSED insn_referenced = abuf->written;
89879 INT in_FRintj = -1;
89880 INT out_FRintk = -1;
89881 out_FRintk = FLD (out_FRintk);
89882 in_FRintj = FLD (in_FRintjeven);
89883 referenced |= 1 << 1;
89884 cycles += frvbf_model_fr450_u_media_dual_htob (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
89886 return cycles;
89887 #undef FLD
89890 static int
89891 model_fr450_cmhtob (SIM_CPU *current_cpu, void *sem_arg)
89893 #define FLD(f) abuf->fields.sfmt_cmhtob.f
89894 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89895 const IDESC * UNUSED idesc = abuf->idesc;
89896 int cycles = 0;
89898 int referenced = 0;
89899 int UNUSED insn_referenced = abuf->written;
89900 INT in_FRintj = -1;
89901 INT out_FRintk = -1;
89902 out_FRintk = FLD (out_FRintk);
89903 in_FRintj = FLD (in_FRintjeven);
89904 referenced |= 1 << 1;
89905 cycles += frvbf_model_fr450_u_media_dual_htob (current_cpu, idesc, 0, referenced, in_FRintj, out_FRintk);
89907 return cycles;
89908 #undef FLD
89911 static int
89912 model_fr450_mbtohe (SIM_CPU *current_cpu, void *sem_arg)
89914 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
89915 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89916 const IDESC * UNUSED idesc = abuf->idesc;
89917 int cycles = 0;
89919 int referenced = 0;
89920 int UNUSED insn_referenced = abuf->written;
89921 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
89923 return cycles;
89924 #undef FLD
89927 static int
89928 model_fr450_cmbtohe (SIM_CPU *current_cpu, void *sem_arg)
89930 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
89931 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89932 const IDESC * UNUSED idesc = abuf->idesc;
89933 int cycles = 0;
89935 int referenced = 0;
89936 int UNUSED insn_referenced = abuf->written;
89937 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
89939 return cycles;
89940 #undef FLD
89943 static int
89944 model_fr450_mnop (SIM_CPU *current_cpu, void *sem_arg)
89946 #define FLD(f) abuf->fields.sfmt_empty.f
89947 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89948 const IDESC * UNUSED idesc = abuf->idesc;
89949 int cycles = 0;
89951 int referenced = 0;
89952 int UNUSED insn_referenced = abuf->written;
89953 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
89955 return cycles;
89956 #undef FLD
89959 static int
89960 model_fr450_mclracc_0 (SIM_CPU *current_cpu, void *sem_arg)
89962 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
89963 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89964 const IDESC * UNUSED idesc = abuf->idesc;
89965 int cycles = 0;
89967 int referenced = 0;
89968 int UNUSED insn_referenced = abuf->written;
89969 INT in_ACC40Si = -1;
89970 INT in_FRintj = -1;
89971 INT out_ACC40Sk = -1;
89972 INT out_FRintk = -1;
89973 cycles += frvbf_model_fr450_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
89975 return cycles;
89976 #undef FLD
89979 static int
89980 model_fr450_mclracc_1 (SIM_CPU *current_cpu, void *sem_arg)
89982 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
89983 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
89984 const IDESC * UNUSED idesc = abuf->idesc;
89985 int cycles = 0;
89987 int referenced = 0;
89988 int UNUSED insn_referenced = abuf->written;
89989 cycles += frvbf_model_fr450_u_media_4_mclracca (current_cpu, idesc, 0, referenced);
89991 return cycles;
89992 #undef FLD
89995 static int
89996 model_fr450_mrdacc (SIM_CPU *current_cpu, void *sem_arg)
89998 #define FLD(f) abuf->fields.sfmt_mcuti.f
89999 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90000 const IDESC * UNUSED idesc = abuf->idesc;
90001 int cycles = 0;
90003 int referenced = 0;
90004 int UNUSED insn_referenced = abuf->written;
90005 INT in_ACC40Si = -1;
90006 INT in_FRintj = -1;
90007 INT out_ACC40Sk = -1;
90008 INT out_FRintk = -1;
90009 in_ACC40Si = FLD (in_ACC40Si);
90010 out_FRintk = FLD (out_FRintk);
90011 referenced |= 1 << 0;
90012 referenced |= 1 << 3;
90013 cycles += frvbf_model_fr450_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
90015 return cycles;
90016 #undef FLD
90019 static int
90020 model_fr450_mrdaccg (SIM_CPU *current_cpu, void *sem_arg)
90022 #define FLD(f) abuf->fields.sfmt_mrdaccg.f
90023 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90024 const IDESC * UNUSED idesc = abuf->idesc;
90025 int cycles = 0;
90027 int referenced = 0;
90028 int UNUSED insn_referenced = abuf->written;
90029 INT in_ACCGi = -1;
90030 INT in_FRinti = -1;
90031 INT out_ACCGk = -1;
90032 INT out_FRintk = -1;
90033 in_ACCGi = FLD (in_ACCGi);
90034 out_FRintk = FLD (out_FRintk);
90035 referenced |= 1 << 0;
90036 referenced |= 1 << 3;
90037 cycles += frvbf_model_fr450_u_media_4_accg (current_cpu, idesc, 0, referenced, in_ACCGi, in_FRinti, out_ACCGk, out_FRintk);
90039 return cycles;
90040 #undef FLD
90043 static int
90044 model_fr450_mwtacc (SIM_CPU *current_cpu, void *sem_arg)
90046 #define FLD(f) abuf->fields.sfmt_cmmachs.f
90047 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90048 const IDESC * UNUSED idesc = abuf->idesc;
90049 int cycles = 0;
90051 int referenced = 0;
90052 int UNUSED insn_referenced = abuf->written;
90053 INT in_ACC40Si = -1;
90054 INT in_FRintj = -1;
90055 INT out_ACC40Sk = -1;
90056 INT out_FRintk = -1;
90057 out_ACC40Sk = FLD (out_ACC40Sk);
90058 referenced |= 1 << 2;
90059 cycles += frvbf_model_fr450_u_media_4 (current_cpu, idesc, 0, referenced, in_ACC40Si, in_FRintj, out_ACC40Sk, out_FRintk);
90061 return cycles;
90062 #undef FLD
90065 static int
90066 model_fr450_mwtaccg (SIM_CPU *current_cpu, void *sem_arg)
90068 #define FLD(f) abuf->fields.sfmt_mwtaccg.f
90069 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90070 const IDESC * UNUSED idesc = abuf->idesc;
90071 int cycles = 0;
90073 int referenced = 0;
90074 int UNUSED insn_referenced = abuf->written;
90075 INT in_ACCGi = -1;
90076 INT in_FRinti = -1;
90077 INT out_ACCGk = -1;
90078 INT out_FRintk = -1;
90079 in_FRinti = FLD (in_FRinti);
90080 out_ACCGk = FLD (out_ACCGk);
90081 referenced |= 1 << 1;
90082 referenced |= 1 << 2;
90083 cycles += frvbf_model_fr450_u_media_4_accg (current_cpu, idesc, 0, referenced, in_ACCGi, in_FRinti, out_ACCGk, out_FRintk);
90085 return cycles;
90086 #undef FLD
90089 static int
90090 model_fr450_mcop1 (SIM_CPU *current_cpu, void *sem_arg)
90092 #define FLD(f) abuf->fields.sfmt_empty.f
90093 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90094 const IDESC * UNUSED idesc = abuf->idesc;
90095 int cycles = 0;
90097 int referenced = 0;
90098 int UNUSED insn_referenced = abuf->written;
90099 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
90101 return cycles;
90102 #undef FLD
90105 static int
90106 model_fr450_mcop2 (SIM_CPU *current_cpu, void *sem_arg)
90108 #define FLD(f) abuf->fields.sfmt_empty.f
90109 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90110 const IDESC * UNUSED idesc = abuf->idesc;
90111 int cycles = 0;
90113 int referenced = 0;
90114 int UNUSED insn_referenced = abuf->written;
90115 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
90117 return cycles;
90118 #undef FLD
90121 static int
90122 model_fr450_fnop (SIM_CPU *current_cpu, void *sem_arg)
90124 #define FLD(f) abuf->fields.sfmt_empty.f
90125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90126 const IDESC * UNUSED idesc = abuf->idesc;
90127 int cycles = 0;
90129 int referenced = 0;
90130 int UNUSED insn_referenced = abuf->written;
90131 cycles += frvbf_model_fr450_u_exec (current_cpu, idesc, 0, referenced);
90133 return cycles;
90134 #undef FLD
90137 static int
90138 model_simple_add (SIM_CPU *current_cpu, void *sem_arg)
90140 #define FLD(f) abuf->fields.sfmt_addcc.f
90141 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90142 const IDESC * UNUSED idesc = abuf->idesc;
90143 int cycles = 0;
90145 int referenced = 0;
90146 int UNUSED insn_referenced = abuf->written;
90147 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90149 return cycles;
90150 #undef FLD
90153 static int
90154 model_simple_sub (SIM_CPU *current_cpu, void *sem_arg)
90156 #define FLD(f) abuf->fields.sfmt_addcc.f
90157 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90158 const IDESC * UNUSED idesc = abuf->idesc;
90159 int cycles = 0;
90161 int referenced = 0;
90162 int UNUSED insn_referenced = abuf->written;
90163 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90165 return cycles;
90166 #undef FLD
90169 static int
90170 model_simple_and (SIM_CPU *current_cpu, void *sem_arg)
90172 #define FLD(f) abuf->fields.sfmt_addcc.f
90173 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90174 const IDESC * UNUSED idesc = abuf->idesc;
90175 int cycles = 0;
90177 int referenced = 0;
90178 int UNUSED insn_referenced = abuf->written;
90179 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90181 return cycles;
90182 #undef FLD
90185 static int
90186 model_simple_or (SIM_CPU *current_cpu, void *sem_arg)
90188 #define FLD(f) abuf->fields.sfmt_addcc.f
90189 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90190 const IDESC * UNUSED idesc = abuf->idesc;
90191 int cycles = 0;
90193 int referenced = 0;
90194 int UNUSED insn_referenced = abuf->written;
90195 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90197 return cycles;
90198 #undef FLD
90201 static int
90202 model_simple_xor (SIM_CPU *current_cpu, void *sem_arg)
90204 #define FLD(f) abuf->fields.sfmt_addcc.f
90205 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90206 const IDESC * UNUSED idesc = abuf->idesc;
90207 int cycles = 0;
90209 int referenced = 0;
90210 int UNUSED insn_referenced = abuf->written;
90211 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90213 return cycles;
90214 #undef FLD
90217 static int
90218 model_simple_not (SIM_CPU *current_cpu, void *sem_arg)
90220 #define FLD(f) abuf->fields.sfmt_scutss.f
90221 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90222 const IDESC * UNUSED idesc = abuf->idesc;
90223 int cycles = 0;
90225 int referenced = 0;
90226 int UNUSED insn_referenced = abuf->written;
90227 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90229 return cycles;
90230 #undef FLD
90233 static int
90234 model_simple_sdiv (SIM_CPU *current_cpu, void *sem_arg)
90236 #define FLD(f) abuf->fields.sfmt_addcc.f
90237 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90238 const IDESC * UNUSED idesc = abuf->idesc;
90239 int cycles = 0;
90241 int referenced = 0;
90242 int UNUSED insn_referenced = abuf->written;
90243 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90245 return cycles;
90246 #undef FLD
90249 static int
90250 model_simple_nsdiv (SIM_CPU *current_cpu, void *sem_arg)
90252 #define FLD(f) abuf->fields.sfmt_addcc.f
90253 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90254 const IDESC * UNUSED idesc = abuf->idesc;
90255 int cycles = 0;
90257 int referenced = 0;
90258 int UNUSED insn_referenced = abuf->written;
90259 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90261 return cycles;
90262 #undef FLD
90265 static int
90266 model_simple_udiv (SIM_CPU *current_cpu, void *sem_arg)
90268 #define FLD(f) abuf->fields.sfmt_addcc.f
90269 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90270 const IDESC * UNUSED idesc = abuf->idesc;
90271 int cycles = 0;
90273 int referenced = 0;
90274 int UNUSED insn_referenced = abuf->written;
90275 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90277 return cycles;
90278 #undef FLD
90281 static int
90282 model_simple_nudiv (SIM_CPU *current_cpu, void *sem_arg)
90284 #define FLD(f) abuf->fields.sfmt_addcc.f
90285 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90286 const IDESC * UNUSED idesc = abuf->idesc;
90287 int cycles = 0;
90289 int referenced = 0;
90290 int UNUSED insn_referenced = abuf->written;
90291 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90293 return cycles;
90294 #undef FLD
90297 static int
90298 model_simple_smul (SIM_CPU *current_cpu, void *sem_arg)
90300 #define FLD(f) abuf->fields.sfmt_smulcc.f
90301 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90302 const IDESC * UNUSED idesc = abuf->idesc;
90303 int cycles = 0;
90305 int referenced = 0;
90306 int UNUSED insn_referenced = abuf->written;
90307 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90309 return cycles;
90310 #undef FLD
90313 static int
90314 model_simple_umul (SIM_CPU *current_cpu, void *sem_arg)
90316 #define FLD(f) abuf->fields.sfmt_smulcc.f
90317 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90318 const IDESC * UNUSED idesc = abuf->idesc;
90319 int cycles = 0;
90321 int referenced = 0;
90322 int UNUSED insn_referenced = abuf->written;
90323 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90325 return cycles;
90326 #undef FLD
90329 static int
90330 model_simple_smu (SIM_CPU *current_cpu, void *sem_arg)
90332 #define FLD(f) abuf->fields.sfmt_smass.f
90333 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90334 const IDESC * UNUSED idesc = abuf->idesc;
90335 int cycles = 0;
90337 int referenced = 0;
90338 int UNUSED insn_referenced = abuf->written;
90339 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90341 return cycles;
90342 #undef FLD
90345 static int
90346 model_simple_smass (SIM_CPU *current_cpu, void *sem_arg)
90348 #define FLD(f) abuf->fields.sfmt_smass.f
90349 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90350 const IDESC * UNUSED idesc = abuf->idesc;
90351 int cycles = 0;
90353 int referenced = 0;
90354 int UNUSED insn_referenced = abuf->written;
90355 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90357 return cycles;
90358 #undef FLD
90361 static int
90362 model_simple_smsss (SIM_CPU *current_cpu, void *sem_arg)
90364 #define FLD(f) abuf->fields.sfmt_smass.f
90365 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90366 const IDESC * UNUSED idesc = abuf->idesc;
90367 int cycles = 0;
90369 int referenced = 0;
90370 int UNUSED insn_referenced = abuf->written;
90371 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90373 return cycles;
90374 #undef FLD
90377 static int
90378 model_simple_sll (SIM_CPU *current_cpu, void *sem_arg)
90380 #define FLD(f) abuf->fields.sfmt_addcc.f
90381 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90382 const IDESC * UNUSED idesc = abuf->idesc;
90383 int cycles = 0;
90385 int referenced = 0;
90386 int UNUSED insn_referenced = abuf->written;
90387 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90389 return cycles;
90390 #undef FLD
90393 static int
90394 model_simple_srl (SIM_CPU *current_cpu, void *sem_arg)
90396 #define FLD(f) abuf->fields.sfmt_addcc.f
90397 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90398 const IDESC * UNUSED idesc = abuf->idesc;
90399 int cycles = 0;
90401 int referenced = 0;
90402 int UNUSED insn_referenced = abuf->written;
90403 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90405 return cycles;
90406 #undef FLD
90409 static int
90410 model_simple_sra (SIM_CPU *current_cpu, void *sem_arg)
90412 #define FLD(f) abuf->fields.sfmt_addcc.f
90413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90414 const IDESC * UNUSED idesc = abuf->idesc;
90415 int cycles = 0;
90417 int referenced = 0;
90418 int UNUSED insn_referenced = abuf->written;
90419 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90421 return cycles;
90422 #undef FLD
90425 static int
90426 model_simple_slass (SIM_CPU *current_cpu, void *sem_arg)
90428 #define FLD(f) abuf->fields.sfmt_addcc.f
90429 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90430 const IDESC * UNUSED idesc = abuf->idesc;
90431 int cycles = 0;
90433 int referenced = 0;
90434 int UNUSED insn_referenced = abuf->written;
90435 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90437 return cycles;
90438 #undef FLD
90441 static int
90442 model_simple_scutss (SIM_CPU *current_cpu, void *sem_arg)
90444 #define FLD(f) abuf->fields.sfmt_scutss.f
90445 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90446 const IDESC * UNUSED idesc = abuf->idesc;
90447 int cycles = 0;
90449 int referenced = 0;
90450 int UNUSED insn_referenced = abuf->written;
90451 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90453 return cycles;
90454 #undef FLD
90457 static int
90458 model_simple_scan (SIM_CPU *current_cpu, void *sem_arg)
90460 #define FLD(f) abuf->fields.sfmt_addcc.f
90461 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90462 const IDESC * UNUSED idesc = abuf->idesc;
90463 int cycles = 0;
90465 int referenced = 0;
90466 int UNUSED insn_referenced = abuf->written;
90467 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90469 return cycles;
90470 #undef FLD
90473 static int
90474 model_simple_cadd (SIM_CPU *current_cpu, void *sem_arg)
90476 #define FLD(f) abuf->fields.sfmt_cswap.f
90477 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90478 const IDESC * UNUSED idesc = abuf->idesc;
90479 int cycles = 0;
90481 int referenced = 0;
90482 int UNUSED insn_referenced = abuf->written;
90483 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90485 return cycles;
90486 #undef FLD
90489 static int
90490 model_simple_csub (SIM_CPU *current_cpu, void *sem_arg)
90492 #define FLD(f) abuf->fields.sfmt_cswap.f
90493 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90494 const IDESC * UNUSED idesc = abuf->idesc;
90495 int cycles = 0;
90497 int referenced = 0;
90498 int UNUSED insn_referenced = abuf->written;
90499 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90501 return cycles;
90502 #undef FLD
90505 static int
90506 model_simple_cand (SIM_CPU *current_cpu, void *sem_arg)
90508 #define FLD(f) abuf->fields.sfmt_cswap.f
90509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90510 const IDESC * UNUSED idesc = abuf->idesc;
90511 int cycles = 0;
90513 int referenced = 0;
90514 int UNUSED insn_referenced = abuf->written;
90515 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90517 return cycles;
90518 #undef FLD
90521 static int
90522 model_simple_cor (SIM_CPU *current_cpu, void *sem_arg)
90524 #define FLD(f) abuf->fields.sfmt_cswap.f
90525 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90526 const IDESC * UNUSED idesc = abuf->idesc;
90527 int cycles = 0;
90529 int referenced = 0;
90530 int UNUSED insn_referenced = abuf->written;
90531 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90533 return cycles;
90534 #undef FLD
90537 static int
90538 model_simple_cxor (SIM_CPU *current_cpu, void *sem_arg)
90540 #define FLD(f) abuf->fields.sfmt_cswap.f
90541 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90542 const IDESC * UNUSED idesc = abuf->idesc;
90543 int cycles = 0;
90545 int referenced = 0;
90546 int UNUSED insn_referenced = abuf->written;
90547 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90549 return cycles;
90550 #undef FLD
90553 static int
90554 model_simple_cnot (SIM_CPU *current_cpu, void *sem_arg)
90556 #define FLD(f) abuf->fields.sfmt_cswap.f
90557 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90558 const IDESC * UNUSED idesc = abuf->idesc;
90559 int cycles = 0;
90561 int referenced = 0;
90562 int UNUSED insn_referenced = abuf->written;
90563 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90565 return cycles;
90566 #undef FLD
90569 static int
90570 model_simple_csmul (SIM_CPU *current_cpu, void *sem_arg)
90572 #define FLD(f) abuf->fields.sfmt_clddu.f
90573 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90574 const IDESC * UNUSED idesc = abuf->idesc;
90575 int cycles = 0;
90577 int referenced = 0;
90578 int UNUSED insn_referenced = abuf->written;
90579 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90581 return cycles;
90582 #undef FLD
90585 static int
90586 model_simple_csdiv (SIM_CPU *current_cpu, void *sem_arg)
90588 #define FLD(f) abuf->fields.sfmt_cswap.f
90589 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90590 const IDESC * UNUSED idesc = abuf->idesc;
90591 int cycles = 0;
90593 int referenced = 0;
90594 int UNUSED insn_referenced = abuf->written;
90595 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90597 return cycles;
90598 #undef FLD
90601 static int
90602 model_simple_cudiv (SIM_CPU *current_cpu, void *sem_arg)
90604 #define FLD(f) abuf->fields.sfmt_cswap.f
90605 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90606 const IDESC * UNUSED idesc = abuf->idesc;
90607 int cycles = 0;
90609 int referenced = 0;
90610 int UNUSED insn_referenced = abuf->written;
90611 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90613 return cycles;
90614 #undef FLD
90617 static int
90618 model_simple_csll (SIM_CPU *current_cpu, void *sem_arg)
90620 #define FLD(f) abuf->fields.sfmt_cswap.f
90621 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90622 const IDESC * UNUSED idesc = abuf->idesc;
90623 int cycles = 0;
90625 int referenced = 0;
90626 int UNUSED insn_referenced = abuf->written;
90627 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90629 return cycles;
90630 #undef FLD
90633 static int
90634 model_simple_csrl (SIM_CPU *current_cpu, void *sem_arg)
90636 #define FLD(f) abuf->fields.sfmt_cswap.f
90637 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90638 const IDESC * UNUSED idesc = abuf->idesc;
90639 int cycles = 0;
90641 int referenced = 0;
90642 int UNUSED insn_referenced = abuf->written;
90643 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90645 return cycles;
90646 #undef FLD
90649 static int
90650 model_simple_csra (SIM_CPU *current_cpu, void *sem_arg)
90652 #define FLD(f) abuf->fields.sfmt_cswap.f
90653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90654 const IDESC * UNUSED idesc = abuf->idesc;
90655 int cycles = 0;
90657 int referenced = 0;
90658 int UNUSED insn_referenced = abuf->written;
90659 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90661 return cycles;
90662 #undef FLD
90665 static int
90666 model_simple_cscan (SIM_CPU *current_cpu, void *sem_arg)
90668 #define FLD(f) abuf->fields.sfmt_cswap.f
90669 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90670 const IDESC * UNUSED idesc = abuf->idesc;
90671 int cycles = 0;
90673 int referenced = 0;
90674 int UNUSED insn_referenced = abuf->written;
90675 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90677 return cycles;
90678 #undef FLD
90681 static int
90682 model_simple_addcc (SIM_CPU *current_cpu, void *sem_arg)
90684 #define FLD(f) abuf->fields.sfmt_addcc.f
90685 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90686 const IDESC * UNUSED idesc = abuf->idesc;
90687 int cycles = 0;
90689 int referenced = 0;
90690 int UNUSED insn_referenced = abuf->written;
90691 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90693 return cycles;
90694 #undef FLD
90697 static int
90698 model_simple_subcc (SIM_CPU *current_cpu, void *sem_arg)
90700 #define FLD(f) abuf->fields.sfmt_addcc.f
90701 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90702 const IDESC * UNUSED idesc = abuf->idesc;
90703 int cycles = 0;
90705 int referenced = 0;
90706 int UNUSED insn_referenced = abuf->written;
90707 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90709 return cycles;
90710 #undef FLD
90713 static int
90714 model_simple_andcc (SIM_CPU *current_cpu, void *sem_arg)
90716 #define FLD(f) abuf->fields.sfmt_addcc.f
90717 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90718 const IDESC * UNUSED idesc = abuf->idesc;
90719 int cycles = 0;
90721 int referenced = 0;
90722 int UNUSED insn_referenced = abuf->written;
90723 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90725 return cycles;
90726 #undef FLD
90729 static int
90730 model_simple_orcc (SIM_CPU *current_cpu, void *sem_arg)
90732 #define FLD(f) abuf->fields.sfmt_addcc.f
90733 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90734 const IDESC * UNUSED idesc = abuf->idesc;
90735 int cycles = 0;
90737 int referenced = 0;
90738 int UNUSED insn_referenced = abuf->written;
90739 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90741 return cycles;
90742 #undef FLD
90745 static int
90746 model_simple_xorcc (SIM_CPU *current_cpu, void *sem_arg)
90748 #define FLD(f) abuf->fields.sfmt_addcc.f
90749 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90750 const IDESC * UNUSED idesc = abuf->idesc;
90751 int cycles = 0;
90753 int referenced = 0;
90754 int UNUSED insn_referenced = abuf->written;
90755 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90757 return cycles;
90758 #undef FLD
90761 static int
90762 model_simple_sllcc (SIM_CPU *current_cpu, void *sem_arg)
90764 #define FLD(f) abuf->fields.sfmt_addcc.f
90765 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90766 const IDESC * UNUSED idesc = abuf->idesc;
90767 int cycles = 0;
90769 int referenced = 0;
90770 int UNUSED insn_referenced = abuf->written;
90771 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90773 return cycles;
90774 #undef FLD
90777 static int
90778 model_simple_srlcc (SIM_CPU *current_cpu, void *sem_arg)
90780 #define FLD(f) abuf->fields.sfmt_addcc.f
90781 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90782 const IDESC * UNUSED idesc = abuf->idesc;
90783 int cycles = 0;
90785 int referenced = 0;
90786 int UNUSED insn_referenced = abuf->written;
90787 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90789 return cycles;
90790 #undef FLD
90793 static int
90794 model_simple_sracc (SIM_CPU *current_cpu, void *sem_arg)
90796 #define FLD(f) abuf->fields.sfmt_addcc.f
90797 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90798 const IDESC * UNUSED idesc = abuf->idesc;
90799 int cycles = 0;
90801 int referenced = 0;
90802 int UNUSED insn_referenced = abuf->written;
90803 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90805 return cycles;
90806 #undef FLD
90809 static int
90810 model_simple_smulcc (SIM_CPU *current_cpu, void *sem_arg)
90812 #define FLD(f) abuf->fields.sfmt_smulcc.f
90813 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90814 const IDESC * UNUSED idesc = abuf->idesc;
90815 int cycles = 0;
90817 int referenced = 0;
90818 int UNUSED insn_referenced = abuf->written;
90819 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90821 return cycles;
90822 #undef FLD
90825 static int
90826 model_simple_umulcc (SIM_CPU *current_cpu, void *sem_arg)
90828 #define FLD(f) abuf->fields.sfmt_smulcc.f
90829 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90830 const IDESC * UNUSED idesc = abuf->idesc;
90831 int cycles = 0;
90833 int referenced = 0;
90834 int UNUSED insn_referenced = abuf->written;
90835 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90837 return cycles;
90838 #undef FLD
90841 static int
90842 model_simple_caddcc (SIM_CPU *current_cpu, void *sem_arg)
90844 #define FLD(f) abuf->fields.sfmt_caddcc.f
90845 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90846 const IDESC * UNUSED idesc = abuf->idesc;
90847 int cycles = 0;
90849 int referenced = 0;
90850 int UNUSED insn_referenced = abuf->written;
90851 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90853 return cycles;
90854 #undef FLD
90857 static int
90858 model_simple_csubcc (SIM_CPU *current_cpu, void *sem_arg)
90860 #define FLD(f) abuf->fields.sfmt_caddcc.f
90861 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90862 const IDESC * UNUSED idesc = abuf->idesc;
90863 int cycles = 0;
90865 int referenced = 0;
90866 int UNUSED insn_referenced = abuf->written;
90867 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90869 return cycles;
90870 #undef FLD
90873 static int
90874 model_simple_csmulcc (SIM_CPU *current_cpu, void *sem_arg)
90876 #define FLD(f) abuf->fields.sfmt_csmulcc.f
90877 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90878 const IDESC * UNUSED idesc = abuf->idesc;
90879 int cycles = 0;
90881 int referenced = 0;
90882 int UNUSED insn_referenced = abuf->written;
90883 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90885 return cycles;
90886 #undef FLD
90889 static int
90890 model_simple_candcc (SIM_CPU *current_cpu, void *sem_arg)
90892 #define FLD(f) abuf->fields.sfmt_caddcc.f
90893 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90894 const IDESC * UNUSED idesc = abuf->idesc;
90895 int cycles = 0;
90897 int referenced = 0;
90898 int UNUSED insn_referenced = abuf->written;
90899 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90901 return cycles;
90902 #undef FLD
90905 static int
90906 model_simple_corcc (SIM_CPU *current_cpu, void *sem_arg)
90908 #define FLD(f) abuf->fields.sfmt_caddcc.f
90909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90910 const IDESC * UNUSED idesc = abuf->idesc;
90911 int cycles = 0;
90913 int referenced = 0;
90914 int UNUSED insn_referenced = abuf->written;
90915 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90917 return cycles;
90918 #undef FLD
90921 static int
90922 model_simple_cxorcc (SIM_CPU *current_cpu, void *sem_arg)
90924 #define FLD(f) abuf->fields.sfmt_caddcc.f
90925 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90926 const IDESC * UNUSED idesc = abuf->idesc;
90927 int cycles = 0;
90929 int referenced = 0;
90930 int UNUSED insn_referenced = abuf->written;
90931 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90933 return cycles;
90934 #undef FLD
90937 static int
90938 model_simple_csllcc (SIM_CPU *current_cpu, void *sem_arg)
90940 #define FLD(f) abuf->fields.sfmt_caddcc.f
90941 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90942 const IDESC * UNUSED idesc = abuf->idesc;
90943 int cycles = 0;
90945 int referenced = 0;
90946 int UNUSED insn_referenced = abuf->written;
90947 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90949 return cycles;
90950 #undef FLD
90953 static int
90954 model_simple_csrlcc (SIM_CPU *current_cpu, void *sem_arg)
90956 #define FLD(f) abuf->fields.sfmt_caddcc.f
90957 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90958 const IDESC * UNUSED idesc = abuf->idesc;
90959 int cycles = 0;
90961 int referenced = 0;
90962 int UNUSED insn_referenced = abuf->written;
90963 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90965 return cycles;
90966 #undef FLD
90969 static int
90970 model_simple_csracc (SIM_CPU *current_cpu, void *sem_arg)
90972 #define FLD(f) abuf->fields.sfmt_caddcc.f
90973 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90974 const IDESC * UNUSED idesc = abuf->idesc;
90975 int cycles = 0;
90977 int referenced = 0;
90978 int UNUSED insn_referenced = abuf->written;
90979 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90981 return cycles;
90982 #undef FLD
90985 static int
90986 model_simple_addx (SIM_CPU *current_cpu, void *sem_arg)
90988 #define FLD(f) abuf->fields.sfmt_addcc.f
90989 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
90990 const IDESC * UNUSED idesc = abuf->idesc;
90991 int cycles = 0;
90993 int referenced = 0;
90994 int UNUSED insn_referenced = abuf->written;
90995 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
90997 return cycles;
90998 #undef FLD
91001 static int
91002 model_simple_subx (SIM_CPU *current_cpu, void *sem_arg)
91004 #define FLD(f) abuf->fields.sfmt_addcc.f
91005 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91006 const IDESC * UNUSED idesc = abuf->idesc;
91007 int cycles = 0;
91009 int referenced = 0;
91010 int UNUSED insn_referenced = abuf->written;
91011 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91013 return cycles;
91014 #undef FLD
91017 static int
91018 model_simple_addxcc (SIM_CPU *current_cpu, void *sem_arg)
91020 #define FLD(f) abuf->fields.sfmt_addcc.f
91021 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91022 const IDESC * UNUSED idesc = abuf->idesc;
91023 int cycles = 0;
91025 int referenced = 0;
91026 int UNUSED insn_referenced = abuf->written;
91027 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91029 return cycles;
91030 #undef FLD
91033 static int
91034 model_simple_subxcc (SIM_CPU *current_cpu, void *sem_arg)
91036 #define FLD(f) abuf->fields.sfmt_addcc.f
91037 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91038 const IDESC * UNUSED idesc = abuf->idesc;
91039 int cycles = 0;
91041 int referenced = 0;
91042 int UNUSED insn_referenced = abuf->written;
91043 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91045 return cycles;
91046 #undef FLD
91049 static int
91050 model_simple_addss (SIM_CPU *current_cpu, void *sem_arg)
91052 #define FLD(f) abuf->fields.sfmt_addcc.f
91053 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91054 const IDESC * UNUSED idesc = abuf->idesc;
91055 int cycles = 0;
91057 int referenced = 0;
91058 int UNUSED insn_referenced = abuf->written;
91059 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91061 return cycles;
91062 #undef FLD
91065 static int
91066 model_simple_subss (SIM_CPU *current_cpu, void *sem_arg)
91068 #define FLD(f) abuf->fields.sfmt_addcc.f
91069 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91070 const IDESC * UNUSED idesc = abuf->idesc;
91071 int cycles = 0;
91073 int referenced = 0;
91074 int UNUSED insn_referenced = abuf->written;
91075 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91077 return cycles;
91078 #undef FLD
91081 static int
91082 model_simple_addi (SIM_CPU *current_cpu, void *sem_arg)
91084 #define FLD(f) abuf->fields.sfmt_swapi.f
91085 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91086 const IDESC * UNUSED idesc = abuf->idesc;
91087 int cycles = 0;
91089 int referenced = 0;
91090 int UNUSED insn_referenced = abuf->written;
91091 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91093 return cycles;
91094 #undef FLD
91097 static int
91098 model_simple_subi (SIM_CPU *current_cpu, void *sem_arg)
91100 #define FLD(f) abuf->fields.sfmt_swapi.f
91101 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91102 const IDESC * UNUSED idesc = abuf->idesc;
91103 int cycles = 0;
91105 int referenced = 0;
91106 int UNUSED insn_referenced = abuf->written;
91107 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91109 return cycles;
91110 #undef FLD
91113 static int
91114 model_simple_andi (SIM_CPU *current_cpu, void *sem_arg)
91116 #define FLD(f) abuf->fields.sfmt_swapi.f
91117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91118 const IDESC * UNUSED idesc = abuf->idesc;
91119 int cycles = 0;
91121 int referenced = 0;
91122 int UNUSED insn_referenced = abuf->written;
91123 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91125 return cycles;
91126 #undef FLD
91129 static int
91130 model_simple_ori (SIM_CPU *current_cpu, void *sem_arg)
91132 #define FLD(f) abuf->fields.sfmt_swapi.f
91133 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91134 const IDESC * UNUSED idesc = abuf->idesc;
91135 int cycles = 0;
91137 int referenced = 0;
91138 int UNUSED insn_referenced = abuf->written;
91139 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91141 return cycles;
91142 #undef FLD
91145 static int
91146 model_simple_xori (SIM_CPU *current_cpu, void *sem_arg)
91148 #define FLD(f) abuf->fields.sfmt_swapi.f
91149 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91150 const IDESC * UNUSED idesc = abuf->idesc;
91151 int cycles = 0;
91153 int referenced = 0;
91154 int UNUSED insn_referenced = abuf->written;
91155 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91157 return cycles;
91158 #undef FLD
91161 static int
91162 model_simple_sdivi (SIM_CPU *current_cpu, void *sem_arg)
91164 #define FLD(f) abuf->fields.sfmt_swapi.f
91165 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91166 const IDESC * UNUSED idesc = abuf->idesc;
91167 int cycles = 0;
91169 int referenced = 0;
91170 int UNUSED insn_referenced = abuf->written;
91171 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91173 return cycles;
91174 #undef FLD
91177 static int
91178 model_simple_nsdivi (SIM_CPU *current_cpu, void *sem_arg)
91180 #define FLD(f) abuf->fields.sfmt_swapi.f
91181 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91182 const IDESC * UNUSED idesc = abuf->idesc;
91183 int cycles = 0;
91185 int referenced = 0;
91186 int UNUSED insn_referenced = abuf->written;
91187 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91189 return cycles;
91190 #undef FLD
91193 static int
91194 model_simple_udivi (SIM_CPU *current_cpu, void *sem_arg)
91196 #define FLD(f) abuf->fields.sfmt_swapi.f
91197 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91198 const IDESC * UNUSED idesc = abuf->idesc;
91199 int cycles = 0;
91201 int referenced = 0;
91202 int UNUSED insn_referenced = abuf->written;
91203 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91205 return cycles;
91206 #undef FLD
91209 static int
91210 model_simple_nudivi (SIM_CPU *current_cpu, void *sem_arg)
91212 #define FLD(f) abuf->fields.sfmt_swapi.f
91213 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91214 const IDESC * UNUSED idesc = abuf->idesc;
91215 int cycles = 0;
91217 int referenced = 0;
91218 int UNUSED insn_referenced = abuf->written;
91219 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91221 return cycles;
91222 #undef FLD
91225 static int
91226 model_simple_smuli (SIM_CPU *current_cpu, void *sem_arg)
91228 #define FLD(f) abuf->fields.sfmt_smuli.f
91229 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91230 const IDESC * UNUSED idesc = abuf->idesc;
91231 int cycles = 0;
91233 int referenced = 0;
91234 int UNUSED insn_referenced = abuf->written;
91235 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91237 return cycles;
91238 #undef FLD
91241 static int
91242 model_simple_umuli (SIM_CPU *current_cpu, void *sem_arg)
91244 #define FLD(f) abuf->fields.sfmt_smuli.f
91245 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91246 const IDESC * UNUSED idesc = abuf->idesc;
91247 int cycles = 0;
91249 int referenced = 0;
91250 int UNUSED insn_referenced = abuf->written;
91251 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91253 return cycles;
91254 #undef FLD
91257 static int
91258 model_simple_slli (SIM_CPU *current_cpu, void *sem_arg)
91260 #define FLD(f) abuf->fields.sfmt_swapi.f
91261 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91262 const IDESC * UNUSED idesc = abuf->idesc;
91263 int cycles = 0;
91265 int referenced = 0;
91266 int UNUSED insn_referenced = abuf->written;
91267 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91269 return cycles;
91270 #undef FLD
91273 static int
91274 model_simple_srli (SIM_CPU *current_cpu, void *sem_arg)
91276 #define FLD(f) abuf->fields.sfmt_swapi.f
91277 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91278 const IDESC * UNUSED idesc = abuf->idesc;
91279 int cycles = 0;
91281 int referenced = 0;
91282 int UNUSED insn_referenced = abuf->written;
91283 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91285 return cycles;
91286 #undef FLD
91289 static int
91290 model_simple_srai (SIM_CPU *current_cpu, void *sem_arg)
91292 #define FLD(f) abuf->fields.sfmt_swapi.f
91293 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91294 const IDESC * UNUSED idesc = abuf->idesc;
91295 int cycles = 0;
91297 int referenced = 0;
91298 int UNUSED insn_referenced = abuf->written;
91299 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91301 return cycles;
91302 #undef FLD
91305 static int
91306 model_simple_scani (SIM_CPU *current_cpu, void *sem_arg)
91308 #define FLD(f) abuf->fields.sfmt_swapi.f
91309 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91310 const IDESC * UNUSED idesc = abuf->idesc;
91311 int cycles = 0;
91313 int referenced = 0;
91314 int UNUSED insn_referenced = abuf->written;
91315 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91317 return cycles;
91318 #undef FLD
91321 static int
91322 model_simple_addicc (SIM_CPU *current_cpu, void *sem_arg)
91324 #define FLD(f) abuf->fields.sfmt_addicc.f
91325 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91326 const IDESC * UNUSED idesc = abuf->idesc;
91327 int cycles = 0;
91329 int referenced = 0;
91330 int UNUSED insn_referenced = abuf->written;
91331 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91333 return cycles;
91334 #undef FLD
91337 static int
91338 model_simple_subicc (SIM_CPU *current_cpu, void *sem_arg)
91340 #define FLD(f) abuf->fields.sfmt_addicc.f
91341 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91342 const IDESC * UNUSED idesc = abuf->idesc;
91343 int cycles = 0;
91345 int referenced = 0;
91346 int UNUSED insn_referenced = abuf->written;
91347 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91349 return cycles;
91350 #undef FLD
91353 static int
91354 model_simple_andicc (SIM_CPU *current_cpu, void *sem_arg)
91356 #define FLD(f) abuf->fields.sfmt_addicc.f
91357 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91358 const IDESC * UNUSED idesc = abuf->idesc;
91359 int cycles = 0;
91361 int referenced = 0;
91362 int UNUSED insn_referenced = abuf->written;
91363 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91365 return cycles;
91366 #undef FLD
91369 static int
91370 model_simple_oricc (SIM_CPU *current_cpu, void *sem_arg)
91372 #define FLD(f) abuf->fields.sfmt_addicc.f
91373 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91374 const IDESC * UNUSED idesc = abuf->idesc;
91375 int cycles = 0;
91377 int referenced = 0;
91378 int UNUSED insn_referenced = abuf->written;
91379 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91381 return cycles;
91382 #undef FLD
91385 static int
91386 model_simple_xoricc (SIM_CPU *current_cpu, void *sem_arg)
91388 #define FLD(f) abuf->fields.sfmt_addicc.f
91389 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91390 const IDESC * UNUSED idesc = abuf->idesc;
91391 int cycles = 0;
91393 int referenced = 0;
91394 int UNUSED insn_referenced = abuf->written;
91395 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91397 return cycles;
91398 #undef FLD
91401 static int
91402 model_simple_smulicc (SIM_CPU *current_cpu, void *sem_arg)
91404 #define FLD(f) abuf->fields.sfmt_smulicc.f
91405 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91406 const IDESC * UNUSED idesc = abuf->idesc;
91407 int cycles = 0;
91409 int referenced = 0;
91410 int UNUSED insn_referenced = abuf->written;
91411 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91413 return cycles;
91414 #undef FLD
91417 static int
91418 model_simple_umulicc (SIM_CPU *current_cpu, void *sem_arg)
91420 #define FLD(f) abuf->fields.sfmt_smulicc.f
91421 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91422 const IDESC * UNUSED idesc = abuf->idesc;
91423 int cycles = 0;
91425 int referenced = 0;
91426 int UNUSED insn_referenced = abuf->written;
91427 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91429 return cycles;
91430 #undef FLD
91433 static int
91434 model_simple_sllicc (SIM_CPU *current_cpu, void *sem_arg)
91436 #define FLD(f) abuf->fields.sfmt_addicc.f
91437 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91438 const IDESC * UNUSED idesc = abuf->idesc;
91439 int cycles = 0;
91441 int referenced = 0;
91442 int UNUSED insn_referenced = abuf->written;
91443 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91445 return cycles;
91446 #undef FLD
91449 static int
91450 model_simple_srlicc (SIM_CPU *current_cpu, void *sem_arg)
91452 #define FLD(f) abuf->fields.sfmt_addicc.f
91453 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91454 const IDESC * UNUSED idesc = abuf->idesc;
91455 int cycles = 0;
91457 int referenced = 0;
91458 int UNUSED insn_referenced = abuf->written;
91459 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91461 return cycles;
91462 #undef FLD
91465 static int
91466 model_simple_sraicc (SIM_CPU *current_cpu, void *sem_arg)
91468 #define FLD(f) abuf->fields.sfmt_addicc.f
91469 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91470 const IDESC * UNUSED idesc = abuf->idesc;
91471 int cycles = 0;
91473 int referenced = 0;
91474 int UNUSED insn_referenced = abuf->written;
91475 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91477 return cycles;
91478 #undef FLD
91481 static int
91482 model_simple_addxi (SIM_CPU *current_cpu, void *sem_arg)
91484 #define FLD(f) abuf->fields.sfmt_addicc.f
91485 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91486 const IDESC * UNUSED idesc = abuf->idesc;
91487 int cycles = 0;
91489 int referenced = 0;
91490 int UNUSED insn_referenced = abuf->written;
91491 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91493 return cycles;
91494 #undef FLD
91497 static int
91498 model_simple_subxi (SIM_CPU *current_cpu, void *sem_arg)
91500 #define FLD(f) abuf->fields.sfmt_addicc.f
91501 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91502 const IDESC * UNUSED idesc = abuf->idesc;
91503 int cycles = 0;
91505 int referenced = 0;
91506 int UNUSED insn_referenced = abuf->written;
91507 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91509 return cycles;
91510 #undef FLD
91513 static int
91514 model_simple_addxicc (SIM_CPU *current_cpu, void *sem_arg)
91516 #define FLD(f) abuf->fields.sfmt_addicc.f
91517 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91518 const IDESC * UNUSED idesc = abuf->idesc;
91519 int cycles = 0;
91521 int referenced = 0;
91522 int UNUSED insn_referenced = abuf->written;
91523 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91525 return cycles;
91526 #undef FLD
91529 static int
91530 model_simple_subxicc (SIM_CPU *current_cpu, void *sem_arg)
91532 #define FLD(f) abuf->fields.sfmt_addicc.f
91533 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91534 const IDESC * UNUSED idesc = abuf->idesc;
91535 int cycles = 0;
91537 int referenced = 0;
91538 int UNUSED insn_referenced = abuf->written;
91539 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91541 return cycles;
91542 #undef FLD
91545 static int
91546 model_simple_cmpb (SIM_CPU *current_cpu, void *sem_arg)
91548 #define FLD(f) abuf->fields.sfmt_smulcc.f
91549 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91550 const IDESC * UNUSED idesc = abuf->idesc;
91551 int cycles = 0;
91553 int referenced = 0;
91554 int UNUSED insn_referenced = abuf->written;
91555 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91557 return cycles;
91558 #undef FLD
91561 static int
91562 model_simple_cmpba (SIM_CPU *current_cpu, void *sem_arg)
91564 #define FLD(f) abuf->fields.sfmt_smulcc.f
91565 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91566 const IDESC * UNUSED idesc = abuf->idesc;
91567 int cycles = 0;
91569 int referenced = 0;
91570 int UNUSED insn_referenced = abuf->written;
91571 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91573 return cycles;
91574 #undef FLD
91577 static int
91578 model_simple_setlo (SIM_CPU *current_cpu, void *sem_arg)
91580 #define FLD(f) abuf->fields.sfmt_setlo.f
91581 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91582 const IDESC * UNUSED idesc = abuf->idesc;
91583 int cycles = 0;
91585 int referenced = 0;
91586 int UNUSED insn_referenced = abuf->written;
91587 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91589 return cycles;
91590 #undef FLD
91593 static int
91594 model_simple_sethi (SIM_CPU *current_cpu, void *sem_arg)
91596 #define FLD(f) abuf->fields.sfmt_sethi.f
91597 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91598 const IDESC * UNUSED idesc = abuf->idesc;
91599 int cycles = 0;
91601 int referenced = 0;
91602 int UNUSED insn_referenced = abuf->written;
91603 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91605 return cycles;
91606 #undef FLD
91609 static int
91610 model_simple_setlos (SIM_CPU *current_cpu, void *sem_arg)
91612 #define FLD(f) abuf->fields.sfmt_setlos.f
91613 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91614 const IDESC * UNUSED idesc = abuf->idesc;
91615 int cycles = 0;
91617 int referenced = 0;
91618 int UNUSED insn_referenced = abuf->written;
91619 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91621 return cycles;
91622 #undef FLD
91625 static int
91626 model_simple_ldsb (SIM_CPU *current_cpu, void *sem_arg)
91628 #define FLD(f) abuf->fields.sfmt_addcc.f
91629 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91630 const IDESC * UNUSED idesc = abuf->idesc;
91631 int cycles = 0;
91633 int referenced = 0;
91634 int UNUSED insn_referenced = abuf->written;
91635 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91637 return cycles;
91638 #undef FLD
91641 static int
91642 model_simple_ldub (SIM_CPU *current_cpu, void *sem_arg)
91644 #define FLD(f) abuf->fields.sfmt_addcc.f
91645 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91646 const IDESC * UNUSED idesc = abuf->idesc;
91647 int cycles = 0;
91649 int referenced = 0;
91650 int UNUSED insn_referenced = abuf->written;
91651 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91653 return cycles;
91654 #undef FLD
91657 static int
91658 model_simple_ldsh (SIM_CPU *current_cpu, void *sem_arg)
91660 #define FLD(f) abuf->fields.sfmt_addcc.f
91661 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91662 const IDESC * UNUSED idesc = abuf->idesc;
91663 int cycles = 0;
91665 int referenced = 0;
91666 int UNUSED insn_referenced = abuf->written;
91667 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91669 return cycles;
91670 #undef FLD
91673 static int
91674 model_simple_lduh (SIM_CPU *current_cpu, void *sem_arg)
91676 #define FLD(f) abuf->fields.sfmt_addcc.f
91677 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91678 const IDESC * UNUSED idesc = abuf->idesc;
91679 int cycles = 0;
91681 int referenced = 0;
91682 int UNUSED insn_referenced = abuf->written;
91683 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91685 return cycles;
91686 #undef FLD
91689 static int
91690 model_simple_ld (SIM_CPU *current_cpu, void *sem_arg)
91692 #define FLD(f) abuf->fields.sfmt_addcc.f
91693 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91694 const IDESC * UNUSED idesc = abuf->idesc;
91695 int cycles = 0;
91697 int referenced = 0;
91698 int UNUSED insn_referenced = abuf->written;
91699 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91701 return cycles;
91702 #undef FLD
91705 static int
91706 model_simple_ldbf (SIM_CPU *current_cpu, void *sem_arg)
91708 #define FLD(f) abuf->fields.sfmt_cldbfu.f
91709 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91710 const IDESC * UNUSED idesc = abuf->idesc;
91711 int cycles = 0;
91713 int referenced = 0;
91714 int UNUSED insn_referenced = abuf->written;
91715 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91717 return cycles;
91718 #undef FLD
91721 static int
91722 model_simple_ldhf (SIM_CPU *current_cpu, void *sem_arg)
91724 #define FLD(f) abuf->fields.sfmt_cldbfu.f
91725 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91726 const IDESC * UNUSED idesc = abuf->idesc;
91727 int cycles = 0;
91729 int referenced = 0;
91730 int UNUSED insn_referenced = abuf->written;
91731 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91733 return cycles;
91734 #undef FLD
91737 static int
91738 model_simple_ldf (SIM_CPU *current_cpu, void *sem_arg)
91740 #define FLD(f) abuf->fields.sfmt_cldbfu.f
91741 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91742 const IDESC * UNUSED idesc = abuf->idesc;
91743 int cycles = 0;
91745 int referenced = 0;
91746 int UNUSED insn_referenced = abuf->written;
91747 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91749 return cycles;
91750 #undef FLD
91753 static int
91754 model_simple_ldc (SIM_CPU *current_cpu, void *sem_arg)
91756 #define FLD(f) abuf->fields.sfmt_ldcu.f
91757 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91758 const IDESC * UNUSED idesc = abuf->idesc;
91759 int cycles = 0;
91761 int referenced = 0;
91762 int UNUSED insn_referenced = abuf->written;
91763 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91765 return cycles;
91766 #undef FLD
91769 static int
91770 model_simple_nldsb (SIM_CPU *current_cpu, void *sem_arg)
91772 #define FLD(f) abuf->fields.sfmt_addcc.f
91773 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91774 const IDESC * UNUSED idesc = abuf->idesc;
91775 int cycles = 0;
91777 int referenced = 0;
91778 int UNUSED insn_referenced = abuf->written;
91779 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91781 return cycles;
91782 #undef FLD
91785 static int
91786 model_simple_nldub (SIM_CPU *current_cpu, void *sem_arg)
91788 #define FLD(f) abuf->fields.sfmt_addcc.f
91789 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91790 const IDESC * UNUSED idesc = abuf->idesc;
91791 int cycles = 0;
91793 int referenced = 0;
91794 int UNUSED insn_referenced = abuf->written;
91795 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91797 return cycles;
91798 #undef FLD
91801 static int
91802 model_simple_nldsh (SIM_CPU *current_cpu, void *sem_arg)
91804 #define FLD(f) abuf->fields.sfmt_addcc.f
91805 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91806 const IDESC * UNUSED idesc = abuf->idesc;
91807 int cycles = 0;
91809 int referenced = 0;
91810 int UNUSED insn_referenced = abuf->written;
91811 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91813 return cycles;
91814 #undef FLD
91817 static int
91818 model_simple_nlduh (SIM_CPU *current_cpu, void *sem_arg)
91820 #define FLD(f) abuf->fields.sfmt_addcc.f
91821 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91822 const IDESC * UNUSED idesc = abuf->idesc;
91823 int cycles = 0;
91825 int referenced = 0;
91826 int UNUSED insn_referenced = abuf->written;
91827 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91829 return cycles;
91830 #undef FLD
91833 static int
91834 model_simple_nld (SIM_CPU *current_cpu, void *sem_arg)
91836 #define FLD(f) abuf->fields.sfmt_addcc.f
91837 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91838 const IDESC * UNUSED idesc = abuf->idesc;
91839 int cycles = 0;
91841 int referenced = 0;
91842 int UNUSED insn_referenced = abuf->written;
91843 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91845 return cycles;
91846 #undef FLD
91849 static int
91850 model_simple_nldbf (SIM_CPU *current_cpu, void *sem_arg)
91852 #define FLD(f) abuf->fields.sfmt_cldbfu.f
91853 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91854 const IDESC * UNUSED idesc = abuf->idesc;
91855 int cycles = 0;
91857 int referenced = 0;
91858 int UNUSED insn_referenced = abuf->written;
91859 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91861 return cycles;
91862 #undef FLD
91865 static int
91866 model_simple_nldhf (SIM_CPU *current_cpu, void *sem_arg)
91868 #define FLD(f) abuf->fields.sfmt_cldbfu.f
91869 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91870 const IDESC * UNUSED idesc = abuf->idesc;
91871 int cycles = 0;
91873 int referenced = 0;
91874 int UNUSED insn_referenced = abuf->written;
91875 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91877 return cycles;
91878 #undef FLD
91881 static int
91882 model_simple_nldf (SIM_CPU *current_cpu, void *sem_arg)
91884 #define FLD(f) abuf->fields.sfmt_cldbfu.f
91885 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91886 const IDESC * UNUSED idesc = abuf->idesc;
91887 int cycles = 0;
91889 int referenced = 0;
91890 int UNUSED insn_referenced = abuf->written;
91891 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91893 return cycles;
91894 #undef FLD
91897 static int
91898 model_simple_ldd (SIM_CPU *current_cpu, void *sem_arg)
91900 #define FLD(f) abuf->fields.sfmt_smulcc.f
91901 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91902 const IDESC * UNUSED idesc = abuf->idesc;
91903 int cycles = 0;
91905 int referenced = 0;
91906 int UNUSED insn_referenced = abuf->written;
91907 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91909 return cycles;
91910 #undef FLD
91913 static int
91914 model_simple_lddf (SIM_CPU *current_cpu, void *sem_arg)
91916 #define FLD(f) abuf->fields.sfmt_clddfu.f
91917 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91918 const IDESC * UNUSED idesc = abuf->idesc;
91919 int cycles = 0;
91921 int referenced = 0;
91922 int UNUSED insn_referenced = abuf->written;
91923 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91925 return cycles;
91926 #undef FLD
91929 static int
91930 model_simple_lddc (SIM_CPU *current_cpu, void *sem_arg)
91932 #define FLD(f) abuf->fields.sfmt_lddcu.f
91933 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91934 const IDESC * UNUSED idesc = abuf->idesc;
91935 int cycles = 0;
91937 int referenced = 0;
91938 int UNUSED insn_referenced = abuf->written;
91939 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91941 return cycles;
91942 #undef FLD
91945 static int
91946 model_simple_nldd (SIM_CPU *current_cpu, void *sem_arg)
91948 #define FLD(f) abuf->fields.sfmt_smulcc.f
91949 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91950 const IDESC * UNUSED idesc = abuf->idesc;
91951 int cycles = 0;
91953 int referenced = 0;
91954 int UNUSED insn_referenced = abuf->written;
91955 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91957 return cycles;
91958 #undef FLD
91961 static int
91962 model_simple_nlddf (SIM_CPU *current_cpu, void *sem_arg)
91964 #define FLD(f) abuf->fields.sfmt_clddfu.f
91965 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91966 const IDESC * UNUSED idesc = abuf->idesc;
91967 int cycles = 0;
91969 int referenced = 0;
91970 int UNUSED insn_referenced = abuf->written;
91971 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91973 return cycles;
91974 #undef FLD
91977 static int
91978 model_simple_ldq (SIM_CPU *current_cpu, void *sem_arg)
91980 #define FLD(f) abuf->fields.sfmt_smulcc.f
91981 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91982 const IDESC * UNUSED idesc = abuf->idesc;
91983 int cycles = 0;
91985 int referenced = 0;
91986 int UNUSED insn_referenced = abuf->written;
91987 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
91989 return cycles;
91990 #undef FLD
91993 static int
91994 model_simple_ldqf (SIM_CPU *current_cpu, void *sem_arg)
91996 #define FLD(f) abuf->fields.sfmt_cstdfu.f
91997 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
91998 const IDESC * UNUSED idesc = abuf->idesc;
91999 int cycles = 0;
92001 int referenced = 0;
92002 int UNUSED insn_referenced = abuf->written;
92003 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92005 return cycles;
92006 #undef FLD
92009 static int
92010 model_simple_ldqc (SIM_CPU *current_cpu, void *sem_arg)
92012 #define FLD(f) abuf->fields.sfmt_stdcu.f
92013 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92014 const IDESC * UNUSED idesc = abuf->idesc;
92015 int cycles = 0;
92017 int referenced = 0;
92018 int UNUSED insn_referenced = abuf->written;
92019 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92021 return cycles;
92022 #undef FLD
92025 static int
92026 model_simple_nldq (SIM_CPU *current_cpu, void *sem_arg)
92028 #define FLD(f) abuf->fields.sfmt_smulcc.f
92029 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92030 const IDESC * UNUSED idesc = abuf->idesc;
92031 int cycles = 0;
92033 int referenced = 0;
92034 int UNUSED insn_referenced = abuf->written;
92035 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92037 return cycles;
92038 #undef FLD
92041 static int
92042 model_simple_nldqf (SIM_CPU *current_cpu, void *sem_arg)
92044 #define FLD(f) abuf->fields.sfmt_cstdfu.f
92045 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92046 const IDESC * UNUSED idesc = abuf->idesc;
92047 int cycles = 0;
92049 int referenced = 0;
92050 int UNUSED insn_referenced = abuf->written;
92051 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92053 return cycles;
92054 #undef FLD
92057 static int
92058 model_simple_ldsbu (SIM_CPU *current_cpu, void *sem_arg)
92060 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92061 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92062 const IDESC * UNUSED idesc = abuf->idesc;
92063 int cycles = 0;
92065 int referenced = 0;
92066 int UNUSED insn_referenced = abuf->written;
92067 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92069 return cycles;
92070 #undef FLD
92073 static int
92074 model_simple_ldubu (SIM_CPU *current_cpu, void *sem_arg)
92076 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92077 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92078 const IDESC * UNUSED idesc = abuf->idesc;
92079 int cycles = 0;
92081 int referenced = 0;
92082 int UNUSED insn_referenced = abuf->written;
92083 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92085 return cycles;
92086 #undef FLD
92089 static int
92090 model_simple_ldshu (SIM_CPU *current_cpu, void *sem_arg)
92092 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92093 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92094 const IDESC * UNUSED idesc = abuf->idesc;
92095 int cycles = 0;
92097 int referenced = 0;
92098 int UNUSED insn_referenced = abuf->written;
92099 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92101 return cycles;
92102 #undef FLD
92105 static int
92106 model_simple_lduhu (SIM_CPU *current_cpu, void *sem_arg)
92108 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92109 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92110 const IDESC * UNUSED idesc = abuf->idesc;
92111 int cycles = 0;
92113 int referenced = 0;
92114 int UNUSED insn_referenced = abuf->written;
92115 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92117 return cycles;
92118 #undef FLD
92121 static int
92122 model_simple_ldu (SIM_CPU *current_cpu, void *sem_arg)
92124 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92126 const IDESC * UNUSED idesc = abuf->idesc;
92127 int cycles = 0;
92129 int referenced = 0;
92130 int UNUSED insn_referenced = abuf->written;
92131 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92133 return cycles;
92134 #undef FLD
92137 static int
92138 model_simple_nldsbu (SIM_CPU *current_cpu, void *sem_arg)
92140 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92141 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92142 const IDESC * UNUSED idesc = abuf->idesc;
92143 int cycles = 0;
92145 int referenced = 0;
92146 int UNUSED insn_referenced = abuf->written;
92147 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92149 return cycles;
92150 #undef FLD
92153 static int
92154 model_simple_nldubu (SIM_CPU *current_cpu, void *sem_arg)
92156 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92157 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92158 const IDESC * UNUSED idesc = abuf->idesc;
92159 int cycles = 0;
92161 int referenced = 0;
92162 int UNUSED insn_referenced = abuf->written;
92163 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92165 return cycles;
92166 #undef FLD
92169 static int
92170 model_simple_nldshu (SIM_CPU *current_cpu, void *sem_arg)
92172 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92173 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92174 const IDESC * UNUSED idesc = abuf->idesc;
92175 int cycles = 0;
92177 int referenced = 0;
92178 int UNUSED insn_referenced = abuf->written;
92179 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92181 return cycles;
92182 #undef FLD
92185 static int
92186 model_simple_nlduhu (SIM_CPU *current_cpu, void *sem_arg)
92188 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92189 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92190 const IDESC * UNUSED idesc = abuf->idesc;
92191 int cycles = 0;
92193 int referenced = 0;
92194 int UNUSED insn_referenced = abuf->written;
92195 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92197 return cycles;
92198 #undef FLD
92201 static int
92202 model_simple_nldu (SIM_CPU *current_cpu, void *sem_arg)
92204 #define FLD(f) abuf->fields.sfmt_cldsbu.f
92205 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92206 const IDESC * UNUSED idesc = abuf->idesc;
92207 int cycles = 0;
92209 int referenced = 0;
92210 int UNUSED insn_referenced = abuf->written;
92211 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92213 return cycles;
92214 #undef FLD
92217 static int
92218 model_simple_ldbfu (SIM_CPU *current_cpu, void *sem_arg)
92220 #define FLD(f) abuf->fields.sfmt_cldbfu.f
92221 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92222 const IDESC * UNUSED idesc = abuf->idesc;
92223 int cycles = 0;
92225 int referenced = 0;
92226 int UNUSED insn_referenced = abuf->written;
92227 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92229 return cycles;
92230 #undef FLD
92233 static int
92234 model_simple_ldhfu (SIM_CPU *current_cpu, void *sem_arg)
92236 #define FLD(f) abuf->fields.sfmt_cldbfu.f
92237 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92238 const IDESC * UNUSED idesc = abuf->idesc;
92239 int cycles = 0;
92241 int referenced = 0;
92242 int UNUSED insn_referenced = abuf->written;
92243 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92245 return cycles;
92246 #undef FLD
92249 static int
92250 model_simple_ldfu (SIM_CPU *current_cpu, void *sem_arg)
92252 #define FLD(f) abuf->fields.sfmt_cldbfu.f
92253 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92254 const IDESC * UNUSED idesc = abuf->idesc;
92255 int cycles = 0;
92257 int referenced = 0;
92258 int UNUSED insn_referenced = abuf->written;
92259 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92261 return cycles;
92262 #undef FLD
92265 static int
92266 model_simple_ldcu (SIM_CPU *current_cpu, void *sem_arg)
92268 #define FLD(f) abuf->fields.sfmt_ldcu.f
92269 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92270 const IDESC * UNUSED idesc = abuf->idesc;
92271 int cycles = 0;
92273 int referenced = 0;
92274 int UNUSED insn_referenced = abuf->written;
92275 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92277 return cycles;
92278 #undef FLD
92281 static int
92282 model_simple_nldbfu (SIM_CPU *current_cpu, void *sem_arg)
92284 #define FLD(f) abuf->fields.sfmt_cldbfu.f
92285 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92286 const IDESC * UNUSED idesc = abuf->idesc;
92287 int cycles = 0;
92289 int referenced = 0;
92290 int UNUSED insn_referenced = abuf->written;
92291 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92293 return cycles;
92294 #undef FLD
92297 static int
92298 model_simple_nldhfu (SIM_CPU *current_cpu, void *sem_arg)
92300 #define FLD(f) abuf->fields.sfmt_cldbfu.f
92301 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92302 const IDESC * UNUSED idesc = abuf->idesc;
92303 int cycles = 0;
92305 int referenced = 0;
92306 int UNUSED insn_referenced = abuf->written;
92307 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92309 return cycles;
92310 #undef FLD
92313 static int
92314 model_simple_nldfu (SIM_CPU *current_cpu, void *sem_arg)
92316 #define FLD(f) abuf->fields.sfmt_cldbfu.f
92317 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92318 const IDESC * UNUSED idesc = abuf->idesc;
92319 int cycles = 0;
92321 int referenced = 0;
92322 int UNUSED insn_referenced = abuf->written;
92323 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92325 return cycles;
92326 #undef FLD
92329 static int
92330 model_simple_lddu (SIM_CPU *current_cpu, void *sem_arg)
92332 #define FLD(f) abuf->fields.sfmt_clddu.f
92333 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92334 const IDESC * UNUSED idesc = abuf->idesc;
92335 int cycles = 0;
92337 int referenced = 0;
92338 int UNUSED insn_referenced = abuf->written;
92339 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92341 return cycles;
92342 #undef FLD
92345 static int
92346 model_simple_nlddu (SIM_CPU *current_cpu, void *sem_arg)
92348 #define FLD(f) abuf->fields.sfmt_clddu.f
92349 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92350 const IDESC * UNUSED idesc = abuf->idesc;
92351 int cycles = 0;
92353 int referenced = 0;
92354 int UNUSED insn_referenced = abuf->written;
92355 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92357 return cycles;
92358 #undef FLD
92361 static int
92362 model_simple_lddfu (SIM_CPU *current_cpu, void *sem_arg)
92364 #define FLD(f) abuf->fields.sfmt_clddfu.f
92365 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92366 const IDESC * UNUSED idesc = abuf->idesc;
92367 int cycles = 0;
92369 int referenced = 0;
92370 int UNUSED insn_referenced = abuf->written;
92371 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92373 return cycles;
92374 #undef FLD
92377 static int
92378 model_simple_lddcu (SIM_CPU *current_cpu, void *sem_arg)
92380 #define FLD(f) abuf->fields.sfmt_lddcu.f
92381 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92382 const IDESC * UNUSED idesc = abuf->idesc;
92383 int cycles = 0;
92385 int referenced = 0;
92386 int UNUSED insn_referenced = abuf->written;
92387 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92389 return cycles;
92390 #undef FLD
92393 static int
92394 model_simple_nlddfu (SIM_CPU *current_cpu, void *sem_arg)
92396 #define FLD(f) abuf->fields.sfmt_clddfu.f
92397 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92398 const IDESC * UNUSED idesc = abuf->idesc;
92399 int cycles = 0;
92401 int referenced = 0;
92402 int UNUSED insn_referenced = abuf->written;
92403 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92405 return cycles;
92406 #undef FLD
92409 static int
92410 model_simple_ldqu (SIM_CPU *current_cpu, void *sem_arg)
92412 #define FLD(f) abuf->fields.sfmt_cstdu.f
92413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92414 const IDESC * UNUSED idesc = abuf->idesc;
92415 int cycles = 0;
92417 int referenced = 0;
92418 int UNUSED insn_referenced = abuf->written;
92419 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92421 return cycles;
92422 #undef FLD
92425 static int
92426 model_simple_nldqu (SIM_CPU *current_cpu, void *sem_arg)
92428 #define FLD(f) abuf->fields.sfmt_cstdu.f
92429 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92430 const IDESC * UNUSED idesc = abuf->idesc;
92431 int cycles = 0;
92433 int referenced = 0;
92434 int UNUSED insn_referenced = abuf->written;
92435 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92437 return cycles;
92438 #undef FLD
92441 static int
92442 model_simple_ldqfu (SIM_CPU *current_cpu, void *sem_arg)
92444 #define FLD(f) abuf->fields.sfmt_cstdfu.f
92445 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92446 const IDESC * UNUSED idesc = abuf->idesc;
92447 int cycles = 0;
92449 int referenced = 0;
92450 int UNUSED insn_referenced = abuf->written;
92451 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92453 return cycles;
92454 #undef FLD
92457 static int
92458 model_simple_ldqcu (SIM_CPU *current_cpu, void *sem_arg)
92460 #define FLD(f) abuf->fields.sfmt_stdcu.f
92461 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92462 const IDESC * UNUSED idesc = abuf->idesc;
92463 int cycles = 0;
92465 int referenced = 0;
92466 int UNUSED insn_referenced = abuf->written;
92467 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92469 return cycles;
92470 #undef FLD
92473 static int
92474 model_simple_nldqfu (SIM_CPU *current_cpu, void *sem_arg)
92476 #define FLD(f) abuf->fields.sfmt_cstdfu.f
92477 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92478 const IDESC * UNUSED idesc = abuf->idesc;
92479 int cycles = 0;
92481 int referenced = 0;
92482 int UNUSED insn_referenced = abuf->written;
92483 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92485 return cycles;
92486 #undef FLD
92489 static int
92490 model_simple_ldsbi (SIM_CPU *current_cpu, void *sem_arg)
92492 #define FLD(f) abuf->fields.sfmt_swapi.f
92493 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92494 const IDESC * UNUSED idesc = abuf->idesc;
92495 int cycles = 0;
92497 int referenced = 0;
92498 int UNUSED insn_referenced = abuf->written;
92499 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92501 return cycles;
92502 #undef FLD
92505 static int
92506 model_simple_ldshi (SIM_CPU *current_cpu, void *sem_arg)
92508 #define FLD(f) abuf->fields.sfmt_swapi.f
92509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92510 const IDESC * UNUSED idesc = abuf->idesc;
92511 int cycles = 0;
92513 int referenced = 0;
92514 int UNUSED insn_referenced = abuf->written;
92515 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92517 return cycles;
92518 #undef FLD
92521 static int
92522 model_simple_ldi (SIM_CPU *current_cpu, void *sem_arg)
92524 #define FLD(f) abuf->fields.sfmt_swapi.f
92525 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92526 const IDESC * UNUSED idesc = abuf->idesc;
92527 int cycles = 0;
92529 int referenced = 0;
92530 int UNUSED insn_referenced = abuf->written;
92531 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92533 return cycles;
92534 #undef FLD
92537 static int
92538 model_simple_ldubi (SIM_CPU *current_cpu, void *sem_arg)
92540 #define FLD(f) abuf->fields.sfmt_swapi.f
92541 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92542 const IDESC * UNUSED idesc = abuf->idesc;
92543 int cycles = 0;
92545 int referenced = 0;
92546 int UNUSED insn_referenced = abuf->written;
92547 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92549 return cycles;
92550 #undef FLD
92553 static int
92554 model_simple_lduhi (SIM_CPU *current_cpu, void *sem_arg)
92556 #define FLD(f) abuf->fields.sfmt_swapi.f
92557 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92558 const IDESC * UNUSED idesc = abuf->idesc;
92559 int cycles = 0;
92561 int referenced = 0;
92562 int UNUSED insn_referenced = abuf->written;
92563 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92565 return cycles;
92566 #undef FLD
92569 static int
92570 model_simple_ldbfi (SIM_CPU *current_cpu, void *sem_arg)
92572 #define FLD(f) abuf->fields.sfmt_ldbfi.f
92573 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92574 const IDESC * UNUSED idesc = abuf->idesc;
92575 int cycles = 0;
92577 int referenced = 0;
92578 int UNUSED insn_referenced = abuf->written;
92579 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92581 return cycles;
92582 #undef FLD
92585 static int
92586 model_simple_ldhfi (SIM_CPU *current_cpu, void *sem_arg)
92588 #define FLD(f) abuf->fields.sfmt_ldbfi.f
92589 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92590 const IDESC * UNUSED idesc = abuf->idesc;
92591 int cycles = 0;
92593 int referenced = 0;
92594 int UNUSED insn_referenced = abuf->written;
92595 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92597 return cycles;
92598 #undef FLD
92601 static int
92602 model_simple_ldfi (SIM_CPU *current_cpu, void *sem_arg)
92604 #define FLD(f) abuf->fields.sfmt_ldbfi.f
92605 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92606 const IDESC * UNUSED idesc = abuf->idesc;
92607 int cycles = 0;
92609 int referenced = 0;
92610 int UNUSED insn_referenced = abuf->written;
92611 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92613 return cycles;
92614 #undef FLD
92617 static int
92618 model_simple_nldsbi (SIM_CPU *current_cpu, void *sem_arg)
92620 #define FLD(f) abuf->fields.sfmt_swapi.f
92621 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92622 const IDESC * UNUSED idesc = abuf->idesc;
92623 int cycles = 0;
92625 int referenced = 0;
92626 int UNUSED insn_referenced = abuf->written;
92627 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92629 return cycles;
92630 #undef FLD
92633 static int
92634 model_simple_nldubi (SIM_CPU *current_cpu, void *sem_arg)
92636 #define FLD(f) abuf->fields.sfmt_swapi.f
92637 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92638 const IDESC * UNUSED idesc = abuf->idesc;
92639 int cycles = 0;
92641 int referenced = 0;
92642 int UNUSED insn_referenced = abuf->written;
92643 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92645 return cycles;
92646 #undef FLD
92649 static int
92650 model_simple_nldshi (SIM_CPU *current_cpu, void *sem_arg)
92652 #define FLD(f) abuf->fields.sfmt_swapi.f
92653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92654 const IDESC * UNUSED idesc = abuf->idesc;
92655 int cycles = 0;
92657 int referenced = 0;
92658 int UNUSED insn_referenced = abuf->written;
92659 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92661 return cycles;
92662 #undef FLD
92665 static int
92666 model_simple_nlduhi (SIM_CPU *current_cpu, void *sem_arg)
92668 #define FLD(f) abuf->fields.sfmt_swapi.f
92669 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92670 const IDESC * UNUSED idesc = abuf->idesc;
92671 int cycles = 0;
92673 int referenced = 0;
92674 int UNUSED insn_referenced = abuf->written;
92675 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92677 return cycles;
92678 #undef FLD
92681 static int
92682 model_simple_nldi (SIM_CPU *current_cpu, void *sem_arg)
92684 #define FLD(f) abuf->fields.sfmt_swapi.f
92685 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92686 const IDESC * UNUSED idesc = abuf->idesc;
92687 int cycles = 0;
92689 int referenced = 0;
92690 int UNUSED insn_referenced = abuf->written;
92691 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92693 return cycles;
92694 #undef FLD
92697 static int
92698 model_simple_nldbfi (SIM_CPU *current_cpu, void *sem_arg)
92700 #define FLD(f) abuf->fields.sfmt_ldbfi.f
92701 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92702 const IDESC * UNUSED idesc = abuf->idesc;
92703 int cycles = 0;
92705 int referenced = 0;
92706 int UNUSED insn_referenced = abuf->written;
92707 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92709 return cycles;
92710 #undef FLD
92713 static int
92714 model_simple_nldhfi (SIM_CPU *current_cpu, void *sem_arg)
92716 #define FLD(f) abuf->fields.sfmt_ldbfi.f
92717 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92718 const IDESC * UNUSED idesc = abuf->idesc;
92719 int cycles = 0;
92721 int referenced = 0;
92722 int UNUSED insn_referenced = abuf->written;
92723 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92725 return cycles;
92726 #undef FLD
92729 static int
92730 model_simple_nldfi (SIM_CPU *current_cpu, void *sem_arg)
92732 #define FLD(f) abuf->fields.sfmt_ldbfi.f
92733 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92734 const IDESC * UNUSED idesc = abuf->idesc;
92735 int cycles = 0;
92737 int referenced = 0;
92738 int UNUSED insn_referenced = abuf->written;
92739 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92741 return cycles;
92742 #undef FLD
92745 static int
92746 model_simple_lddi (SIM_CPU *current_cpu, void *sem_arg)
92748 #define FLD(f) abuf->fields.sfmt_smuli.f
92749 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92750 const IDESC * UNUSED idesc = abuf->idesc;
92751 int cycles = 0;
92753 int referenced = 0;
92754 int UNUSED insn_referenced = abuf->written;
92755 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92757 return cycles;
92758 #undef FLD
92761 static int
92762 model_simple_lddfi (SIM_CPU *current_cpu, void *sem_arg)
92764 #define FLD(f) abuf->fields.sfmt_lddfi.f
92765 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92766 const IDESC * UNUSED idesc = abuf->idesc;
92767 int cycles = 0;
92769 int referenced = 0;
92770 int UNUSED insn_referenced = abuf->written;
92771 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92773 return cycles;
92774 #undef FLD
92777 static int
92778 model_simple_nlddi (SIM_CPU *current_cpu, void *sem_arg)
92780 #define FLD(f) abuf->fields.sfmt_smuli.f
92781 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92782 const IDESC * UNUSED idesc = abuf->idesc;
92783 int cycles = 0;
92785 int referenced = 0;
92786 int UNUSED insn_referenced = abuf->written;
92787 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92789 return cycles;
92790 #undef FLD
92793 static int
92794 model_simple_nlddfi (SIM_CPU *current_cpu, void *sem_arg)
92796 #define FLD(f) abuf->fields.sfmt_lddfi.f
92797 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92798 const IDESC * UNUSED idesc = abuf->idesc;
92799 int cycles = 0;
92801 int referenced = 0;
92802 int UNUSED insn_referenced = abuf->written;
92803 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92805 return cycles;
92806 #undef FLD
92809 static int
92810 model_simple_ldqi (SIM_CPU *current_cpu, void *sem_arg)
92812 #define FLD(f) abuf->fields.sfmt_stdi.f
92813 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92814 const IDESC * UNUSED idesc = abuf->idesc;
92815 int cycles = 0;
92817 int referenced = 0;
92818 int UNUSED insn_referenced = abuf->written;
92819 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92821 return cycles;
92822 #undef FLD
92825 static int
92826 model_simple_ldqfi (SIM_CPU *current_cpu, void *sem_arg)
92828 #define FLD(f) abuf->fields.sfmt_stdfi.f
92829 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92830 const IDESC * UNUSED idesc = abuf->idesc;
92831 int cycles = 0;
92833 int referenced = 0;
92834 int UNUSED insn_referenced = abuf->written;
92835 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92837 return cycles;
92838 #undef FLD
92841 static int
92842 model_simple_nldqfi (SIM_CPU *current_cpu, void *sem_arg)
92844 #define FLD(f) abuf->fields.sfmt_stdfi.f
92845 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92846 const IDESC * UNUSED idesc = abuf->idesc;
92847 int cycles = 0;
92849 int referenced = 0;
92850 int UNUSED insn_referenced = abuf->written;
92851 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92853 return cycles;
92854 #undef FLD
92857 static int
92858 model_simple_stb (SIM_CPU *current_cpu, void *sem_arg)
92860 #define FLD(f) abuf->fields.sfmt_cswap.f
92861 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92862 const IDESC * UNUSED idesc = abuf->idesc;
92863 int cycles = 0;
92865 int referenced = 0;
92866 int UNUSED insn_referenced = abuf->written;
92867 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92869 return cycles;
92870 #undef FLD
92873 static int
92874 model_simple_sth (SIM_CPU *current_cpu, void *sem_arg)
92876 #define FLD(f) abuf->fields.sfmt_cswap.f
92877 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92878 const IDESC * UNUSED idesc = abuf->idesc;
92879 int cycles = 0;
92881 int referenced = 0;
92882 int UNUSED insn_referenced = abuf->written;
92883 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92885 return cycles;
92886 #undef FLD
92889 static int
92890 model_simple_st (SIM_CPU *current_cpu, void *sem_arg)
92892 #define FLD(f) abuf->fields.sfmt_cswap.f
92893 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92894 const IDESC * UNUSED idesc = abuf->idesc;
92895 int cycles = 0;
92897 int referenced = 0;
92898 int UNUSED insn_referenced = abuf->written;
92899 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92901 return cycles;
92902 #undef FLD
92905 static int
92906 model_simple_stbf (SIM_CPU *current_cpu, void *sem_arg)
92908 #define FLD(f) abuf->fields.sfmt_cstbfu.f
92909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92910 const IDESC * UNUSED idesc = abuf->idesc;
92911 int cycles = 0;
92913 int referenced = 0;
92914 int UNUSED insn_referenced = abuf->written;
92915 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92917 return cycles;
92918 #undef FLD
92921 static int
92922 model_simple_sthf (SIM_CPU *current_cpu, void *sem_arg)
92924 #define FLD(f) abuf->fields.sfmt_cstbfu.f
92925 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92926 const IDESC * UNUSED idesc = abuf->idesc;
92927 int cycles = 0;
92929 int referenced = 0;
92930 int UNUSED insn_referenced = abuf->written;
92931 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92933 return cycles;
92934 #undef FLD
92937 static int
92938 model_simple_stf (SIM_CPU *current_cpu, void *sem_arg)
92940 #define FLD(f) abuf->fields.sfmt_cstbfu.f
92941 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92942 const IDESC * UNUSED idesc = abuf->idesc;
92943 int cycles = 0;
92945 int referenced = 0;
92946 int UNUSED insn_referenced = abuf->written;
92947 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92949 return cycles;
92950 #undef FLD
92953 static int
92954 model_simple_stc (SIM_CPU *current_cpu, void *sem_arg)
92956 #define FLD(f) abuf->fields.sfmt_stcu.f
92957 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92958 const IDESC * UNUSED idesc = abuf->idesc;
92959 int cycles = 0;
92961 int referenced = 0;
92962 int UNUSED insn_referenced = abuf->written;
92963 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92965 return cycles;
92966 #undef FLD
92969 static int
92970 model_simple_std (SIM_CPU *current_cpu, void *sem_arg)
92972 #define FLD(f) abuf->fields.sfmt_cstdu.f
92973 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92974 const IDESC * UNUSED idesc = abuf->idesc;
92975 int cycles = 0;
92977 int referenced = 0;
92978 int UNUSED insn_referenced = abuf->written;
92979 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92981 return cycles;
92982 #undef FLD
92985 static int
92986 model_simple_stdf (SIM_CPU *current_cpu, void *sem_arg)
92988 #define FLD(f) abuf->fields.sfmt_cstdfu.f
92989 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
92990 const IDESC * UNUSED idesc = abuf->idesc;
92991 int cycles = 0;
92993 int referenced = 0;
92994 int UNUSED insn_referenced = abuf->written;
92995 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
92997 return cycles;
92998 #undef FLD
93001 static int
93002 model_simple_stdc (SIM_CPU *current_cpu, void *sem_arg)
93004 #define FLD(f) abuf->fields.sfmt_stdcu.f
93005 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93006 const IDESC * UNUSED idesc = abuf->idesc;
93007 int cycles = 0;
93009 int referenced = 0;
93010 int UNUSED insn_referenced = abuf->written;
93011 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93013 return cycles;
93014 #undef FLD
93017 static int
93018 model_simple_stq (SIM_CPU *current_cpu, void *sem_arg)
93020 #define FLD(f) abuf->fields.sfmt_smulcc.f
93021 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93022 const IDESC * UNUSED idesc = abuf->idesc;
93023 int cycles = 0;
93025 int referenced = 0;
93026 int UNUSED insn_referenced = abuf->written;
93027 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93029 return cycles;
93030 #undef FLD
93033 static int
93034 model_simple_stqf (SIM_CPU *current_cpu, void *sem_arg)
93036 #define FLD(f) abuf->fields.sfmt_cstdfu.f
93037 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93038 const IDESC * UNUSED idesc = abuf->idesc;
93039 int cycles = 0;
93041 int referenced = 0;
93042 int UNUSED insn_referenced = abuf->written;
93043 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93045 return cycles;
93046 #undef FLD
93049 static int
93050 model_simple_stqc (SIM_CPU *current_cpu, void *sem_arg)
93052 #define FLD(f) abuf->fields.sfmt_stdcu.f
93053 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93054 const IDESC * UNUSED idesc = abuf->idesc;
93055 int cycles = 0;
93057 int referenced = 0;
93058 int UNUSED insn_referenced = abuf->written;
93059 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93061 return cycles;
93062 #undef FLD
93065 static int
93066 model_simple_stbu (SIM_CPU *current_cpu, void *sem_arg)
93068 #define FLD(f) abuf->fields.sfmt_cstbu.f
93069 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93070 const IDESC * UNUSED idesc = abuf->idesc;
93071 int cycles = 0;
93073 int referenced = 0;
93074 int UNUSED insn_referenced = abuf->written;
93075 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93077 return cycles;
93078 #undef FLD
93081 static int
93082 model_simple_sthu (SIM_CPU *current_cpu, void *sem_arg)
93084 #define FLD(f) abuf->fields.sfmt_cstbu.f
93085 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93086 const IDESC * UNUSED idesc = abuf->idesc;
93087 int cycles = 0;
93089 int referenced = 0;
93090 int UNUSED insn_referenced = abuf->written;
93091 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93093 return cycles;
93094 #undef FLD
93097 static int
93098 model_simple_stu (SIM_CPU *current_cpu, void *sem_arg)
93100 #define FLD(f) abuf->fields.sfmt_cstbu.f
93101 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93102 const IDESC * UNUSED idesc = abuf->idesc;
93103 int cycles = 0;
93105 int referenced = 0;
93106 int UNUSED insn_referenced = abuf->written;
93107 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93109 return cycles;
93110 #undef FLD
93113 static int
93114 model_simple_stbfu (SIM_CPU *current_cpu, void *sem_arg)
93116 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93118 const IDESC * UNUSED idesc = abuf->idesc;
93119 int cycles = 0;
93121 int referenced = 0;
93122 int UNUSED insn_referenced = abuf->written;
93123 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93125 return cycles;
93126 #undef FLD
93129 static int
93130 model_simple_sthfu (SIM_CPU *current_cpu, void *sem_arg)
93132 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93133 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93134 const IDESC * UNUSED idesc = abuf->idesc;
93135 int cycles = 0;
93137 int referenced = 0;
93138 int UNUSED insn_referenced = abuf->written;
93139 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93141 return cycles;
93142 #undef FLD
93145 static int
93146 model_simple_stfu (SIM_CPU *current_cpu, void *sem_arg)
93148 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93149 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93150 const IDESC * UNUSED idesc = abuf->idesc;
93151 int cycles = 0;
93153 int referenced = 0;
93154 int UNUSED insn_referenced = abuf->written;
93155 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93157 return cycles;
93158 #undef FLD
93161 static int
93162 model_simple_stcu (SIM_CPU *current_cpu, void *sem_arg)
93164 #define FLD(f) abuf->fields.sfmt_stcu.f
93165 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93166 const IDESC * UNUSED idesc = abuf->idesc;
93167 int cycles = 0;
93169 int referenced = 0;
93170 int UNUSED insn_referenced = abuf->written;
93171 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93173 return cycles;
93174 #undef FLD
93177 static int
93178 model_simple_stdu (SIM_CPU *current_cpu, void *sem_arg)
93180 #define FLD(f) abuf->fields.sfmt_cstdu.f
93181 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93182 const IDESC * UNUSED idesc = abuf->idesc;
93183 int cycles = 0;
93185 int referenced = 0;
93186 int UNUSED insn_referenced = abuf->written;
93187 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93189 return cycles;
93190 #undef FLD
93193 static int
93194 model_simple_stdfu (SIM_CPU *current_cpu, void *sem_arg)
93196 #define FLD(f) abuf->fields.sfmt_cstdfu.f
93197 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93198 const IDESC * UNUSED idesc = abuf->idesc;
93199 int cycles = 0;
93201 int referenced = 0;
93202 int UNUSED insn_referenced = abuf->written;
93203 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93205 return cycles;
93206 #undef FLD
93209 static int
93210 model_simple_stdcu (SIM_CPU *current_cpu, void *sem_arg)
93212 #define FLD(f) abuf->fields.sfmt_stdcu.f
93213 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93214 const IDESC * UNUSED idesc = abuf->idesc;
93215 int cycles = 0;
93217 int referenced = 0;
93218 int UNUSED insn_referenced = abuf->written;
93219 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93221 return cycles;
93222 #undef FLD
93225 static int
93226 model_simple_stqu (SIM_CPU *current_cpu, void *sem_arg)
93228 #define FLD(f) abuf->fields.sfmt_cstdu.f
93229 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93230 const IDESC * UNUSED idesc = abuf->idesc;
93231 int cycles = 0;
93233 int referenced = 0;
93234 int UNUSED insn_referenced = abuf->written;
93235 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93237 return cycles;
93238 #undef FLD
93241 static int
93242 model_simple_stqfu (SIM_CPU *current_cpu, void *sem_arg)
93244 #define FLD(f) abuf->fields.sfmt_cstdfu.f
93245 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93246 const IDESC * UNUSED idesc = abuf->idesc;
93247 int cycles = 0;
93249 int referenced = 0;
93250 int UNUSED insn_referenced = abuf->written;
93251 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93253 return cycles;
93254 #undef FLD
93257 static int
93258 model_simple_stqcu (SIM_CPU *current_cpu, void *sem_arg)
93260 #define FLD(f) abuf->fields.sfmt_stdcu.f
93261 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93262 const IDESC * UNUSED idesc = abuf->idesc;
93263 int cycles = 0;
93265 int referenced = 0;
93266 int UNUSED insn_referenced = abuf->written;
93267 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93269 return cycles;
93270 #undef FLD
93273 static int
93274 model_simple_cldsb (SIM_CPU *current_cpu, void *sem_arg)
93276 #define FLD(f) abuf->fields.sfmt_cswap.f
93277 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93278 const IDESC * UNUSED idesc = abuf->idesc;
93279 int cycles = 0;
93281 int referenced = 0;
93282 int UNUSED insn_referenced = abuf->written;
93283 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93285 return cycles;
93286 #undef FLD
93289 static int
93290 model_simple_cldub (SIM_CPU *current_cpu, void *sem_arg)
93292 #define FLD(f) abuf->fields.sfmt_cswap.f
93293 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93294 const IDESC * UNUSED idesc = abuf->idesc;
93295 int cycles = 0;
93297 int referenced = 0;
93298 int UNUSED insn_referenced = abuf->written;
93299 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93301 return cycles;
93302 #undef FLD
93305 static int
93306 model_simple_cldsh (SIM_CPU *current_cpu, void *sem_arg)
93308 #define FLD(f) abuf->fields.sfmt_cswap.f
93309 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93310 const IDESC * UNUSED idesc = abuf->idesc;
93311 int cycles = 0;
93313 int referenced = 0;
93314 int UNUSED insn_referenced = abuf->written;
93315 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93317 return cycles;
93318 #undef FLD
93321 static int
93322 model_simple_clduh (SIM_CPU *current_cpu, void *sem_arg)
93324 #define FLD(f) abuf->fields.sfmt_cswap.f
93325 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93326 const IDESC * UNUSED idesc = abuf->idesc;
93327 int cycles = 0;
93329 int referenced = 0;
93330 int UNUSED insn_referenced = abuf->written;
93331 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93333 return cycles;
93334 #undef FLD
93337 static int
93338 model_simple_cld (SIM_CPU *current_cpu, void *sem_arg)
93340 #define FLD(f) abuf->fields.sfmt_cswap.f
93341 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93342 const IDESC * UNUSED idesc = abuf->idesc;
93343 int cycles = 0;
93345 int referenced = 0;
93346 int UNUSED insn_referenced = abuf->written;
93347 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93349 return cycles;
93350 #undef FLD
93353 static int
93354 model_simple_cldbf (SIM_CPU *current_cpu, void *sem_arg)
93356 #define FLD(f) abuf->fields.sfmt_cldbfu.f
93357 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93358 const IDESC * UNUSED idesc = abuf->idesc;
93359 int cycles = 0;
93361 int referenced = 0;
93362 int UNUSED insn_referenced = abuf->written;
93363 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93365 return cycles;
93366 #undef FLD
93369 static int
93370 model_simple_cldhf (SIM_CPU *current_cpu, void *sem_arg)
93372 #define FLD(f) abuf->fields.sfmt_cldbfu.f
93373 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93374 const IDESC * UNUSED idesc = abuf->idesc;
93375 int cycles = 0;
93377 int referenced = 0;
93378 int UNUSED insn_referenced = abuf->written;
93379 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93381 return cycles;
93382 #undef FLD
93385 static int
93386 model_simple_cldf (SIM_CPU *current_cpu, void *sem_arg)
93388 #define FLD(f) abuf->fields.sfmt_cldbfu.f
93389 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93390 const IDESC * UNUSED idesc = abuf->idesc;
93391 int cycles = 0;
93393 int referenced = 0;
93394 int UNUSED insn_referenced = abuf->written;
93395 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93397 return cycles;
93398 #undef FLD
93401 static int
93402 model_simple_cldd (SIM_CPU *current_cpu, void *sem_arg)
93404 #define FLD(f) abuf->fields.sfmt_clddu.f
93405 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93406 const IDESC * UNUSED idesc = abuf->idesc;
93407 int cycles = 0;
93409 int referenced = 0;
93410 int UNUSED insn_referenced = abuf->written;
93411 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93413 return cycles;
93414 #undef FLD
93417 static int
93418 model_simple_clddf (SIM_CPU *current_cpu, void *sem_arg)
93420 #define FLD(f) abuf->fields.sfmt_clddfu.f
93421 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93422 const IDESC * UNUSED idesc = abuf->idesc;
93423 int cycles = 0;
93425 int referenced = 0;
93426 int UNUSED insn_referenced = abuf->written;
93427 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93429 return cycles;
93430 #undef FLD
93433 static int
93434 model_simple_cldq (SIM_CPU *current_cpu, void *sem_arg)
93436 #define FLD(f) abuf->fields.sfmt_cswap.f
93437 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93438 const IDESC * UNUSED idesc = abuf->idesc;
93439 int cycles = 0;
93441 int referenced = 0;
93442 int UNUSED insn_referenced = abuf->written;
93443 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93445 return cycles;
93446 #undef FLD
93449 static int
93450 model_simple_cldsbu (SIM_CPU *current_cpu, void *sem_arg)
93452 #define FLD(f) abuf->fields.sfmt_cldsbu.f
93453 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93454 const IDESC * UNUSED idesc = abuf->idesc;
93455 int cycles = 0;
93457 int referenced = 0;
93458 int UNUSED insn_referenced = abuf->written;
93459 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93461 return cycles;
93462 #undef FLD
93465 static int
93466 model_simple_cldubu (SIM_CPU *current_cpu, void *sem_arg)
93468 #define FLD(f) abuf->fields.sfmt_cldsbu.f
93469 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93470 const IDESC * UNUSED idesc = abuf->idesc;
93471 int cycles = 0;
93473 int referenced = 0;
93474 int UNUSED insn_referenced = abuf->written;
93475 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93477 return cycles;
93478 #undef FLD
93481 static int
93482 model_simple_cldshu (SIM_CPU *current_cpu, void *sem_arg)
93484 #define FLD(f) abuf->fields.sfmt_cldsbu.f
93485 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93486 const IDESC * UNUSED idesc = abuf->idesc;
93487 int cycles = 0;
93489 int referenced = 0;
93490 int UNUSED insn_referenced = abuf->written;
93491 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93493 return cycles;
93494 #undef FLD
93497 static int
93498 model_simple_clduhu (SIM_CPU *current_cpu, void *sem_arg)
93500 #define FLD(f) abuf->fields.sfmt_cldsbu.f
93501 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93502 const IDESC * UNUSED idesc = abuf->idesc;
93503 int cycles = 0;
93505 int referenced = 0;
93506 int UNUSED insn_referenced = abuf->written;
93507 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93509 return cycles;
93510 #undef FLD
93513 static int
93514 model_simple_cldu (SIM_CPU *current_cpu, void *sem_arg)
93516 #define FLD(f) abuf->fields.sfmt_cldsbu.f
93517 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93518 const IDESC * UNUSED idesc = abuf->idesc;
93519 int cycles = 0;
93521 int referenced = 0;
93522 int UNUSED insn_referenced = abuf->written;
93523 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93525 return cycles;
93526 #undef FLD
93529 static int
93530 model_simple_cldbfu (SIM_CPU *current_cpu, void *sem_arg)
93532 #define FLD(f) abuf->fields.sfmt_cldbfu.f
93533 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93534 const IDESC * UNUSED idesc = abuf->idesc;
93535 int cycles = 0;
93537 int referenced = 0;
93538 int UNUSED insn_referenced = abuf->written;
93539 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93541 return cycles;
93542 #undef FLD
93545 static int
93546 model_simple_cldhfu (SIM_CPU *current_cpu, void *sem_arg)
93548 #define FLD(f) abuf->fields.sfmt_cldbfu.f
93549 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93550 const IDESC * UNUSED idesc = abuf->idesc;
93551 int cycles = 0;
93553 int referenced = 0;
93554 int UNUSED insn_referenced = abuf->written;
93555 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93557 return cycles;
93558 #undef FLD
93561 static int
93562 model_simple_cldfu (SIM_CPU *current_cpu, void *sem_arg)
93564 #define FLD(f) abuf->fields.sfmt_cldbfu.f
93565 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93566 const IDESC * UNUSED idesc = abuf->idesc;
93567 int cycles = 0;
93569 int referenced = 0;
93570 int UNUSED insn_referenced = abuf->written;
93571 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93573 return cycles;
93574 #undef FLD
93577 static int
93578 model_simple_clddu (SIM_CPU *current_cpu, void *sem_arg)
93580 #define FLD(f) abuf->fields.sfmt_clddu.f
93581 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93582 const IDESC * UNUSED idesc = abuf->idesc;
93583 int cycles = 0;
93585 int referenced = 0;
93586 int UNUSED insn_referenced = abuf->written;
93587 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93589 return cycles;
93590 #undef FLD
93593 static int
93594 model_simple_clddfu (SIM_CPU *current_cpu, void *sem_arg)
93596 #define FLD(f) abuf->fields.sfmt_clddfu.f
93597 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93598 const IDESC * UNUSED idesc = abuf->idesc;
93599 int cycles = 0;
93601 int referenced = 0;
93602 int UNUSED insn_referenced = abuf->written;
93603 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93605 return cycles;
93606 #undef FLD
93609 static int
93610 model_simple_cldqu (SIM_CPU *current_cpu, void *sem_arg)
93612 #define FLD(f) abuf->fields.sfmt_cstdu.f
93613 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93614 const IDESC * UNUSED idesc = abuf->idesc;
93615 int cycles = 0;
93617 int referenced = 0;
93618 int UNUSED insn_referenced = abuf->written;
93619 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93621 return cycles;
93622 #undef FLD
93625 static int
93626 model_simple_cstb (SIM_CPU *current_cpu, void *sem_arg)
93628 #define FLD(f) abuf->fields.sfmt_cswap.f
93629 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93630 const IDESC * UNUSED idesc = abuf->idesc;
93631 int cycles = 0;
93633 int referenced = 0;
93634 int UNUSED insn_referenced = abuf->written;
93635 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93637 return cycles;
93638 #undef FLD
93641 static int
93642 model_simple_csth (SIM_CPU *current_cpu, void *sem_arg)
93644 #define FLD(f) abuf->fields.sfmt_cswap.f
93645 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93646 const IDESC * UNUSED idesc = abuf->idesc;
93647 int cycles = 0;
93649 int referenced = 0;
93650 int UNUSED insn_referenced = abuf->written;
93651 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93653 return cycles;
93654 #undef FLD
93657 static int
93658 model_simple_cst (SIM_CPU *current_cpu, void *sem_arg)
93660 #define FLD(f) abuf->fields.sfmt_cswap.f
93661 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93662 const IDESC * UNUSED idesc = abuf->idesc;
93663 int cycles = 0;
93665 int referenced = 0;
93666 int UNUSED insn_referenced = abuf->written;
93667 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93669 return cycles;
93670 #undef FLD
93673 static int
93674 model_simple_cstbf (SIM_CPU *current_cpu, void *sem_arg)
93676 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93677 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93678 const IDESC * UNUSED idesc = abuf->idesc;
93679 int cycles = 0;
93681 int referenced = 0;
93682 int UNUSED insn_referenced = abuf->written;
93683 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93685 return cycles;
93686 #undef FLD
93689 static int
93690 model_simple_csthf (SIM_CPU *current_cpu, void *sem_arg)
93692 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93693 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93694 const IDESC * UNUSED idesc = abuf->idesc;
93695 int cycles = 0;
93697 int referenced = 0;
93698 int UNUSED insn_referenced = abuf->written;
93699 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93701 return cycles;
93702 #undef FLD
93705 static int
93706 model_simple_cstf (SIM_CPU *current_cpu, void *sem_arg)
93708 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93709 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93710 const IDESC * UNUSED idesc = abuf->idesc;
93711 int cycles = 0;
93713 int referenced = 0;
93714 int UNUSED insn_referenced = abuf->written;
93715 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93717 return cycles;
93718 #undef FLD
93721 static int
93722 model_simple_cstd (SIM_CPU *current_cpu, void *sem_arg)
93724 #define FLD(f) abuf->fields.sfmt_cstdu.f
93725 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93726 const IDESC * UNUSED idesc = abuf->idesc;
93727 int cycles = 0;
93729 int referenced = 0;
93730 int UNUSED insn_referenced = abuf->written;
93731 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93733 return cycles;
93734 #undef FLD
93737 static int
93738 model_simple_cstdf (SIM_CPU *current_cpu, void *sem_arg)
93740 #define FLD(f) abuf->fields.sfmt_cstdfu.f
93741 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93742 const IDESC * UNUSED idesc = abuf->idesc;
93743 int cycles = 0;
93745 int referenced = 0;
93746 int UNUSED insn_referenced = abuf->written;
93747 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93749 return cycles;
93750 #undef FLD
93753 static int
93754 model_simple_cstq (SIM_CPU *current_cpu, void *sem_arg)
93756 #define FLD(f) abuf->fields.sfmt_cswap.f
93757 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93758 const IDESC * UNUSED idesc = abuf->idesc;
93759 int cycles = 0;
93761 int referenced = 0;
93762 int UNUSED insn_referenced = abuf->written;
93763 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93765 return cycles;
93766 #undef FLD
93769 static int
93770 model_simple_cstbu (SIM_CPU *current_cpu, void *sem_arg)
93772 #define FLD(f) abuf->fields.sfmt_cstbu.f
93773 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93774 const IDESC * UNUSED idesc = abuf->idesc;
93775 int cycles = 0;
93777 int referenced = 0;
93778 int UNUSED insn_referenced = abuf->written;
93779 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93781 return cycles;
93782 #undef FLD
93785 static int
93786 model_simple_csthu (SIM_CPU *current_cpu, void *sem_arg)
93788 #define FLD(f) abuf->fields.sfmt_cstbu.f
93789 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93790 const IDESC * UNUSED idesc = abuf->idesc;
93791 int cycles = 0;
93793 int referenced = 0;
93794 int UNUSED insn_referenced = abuf->written;
93795 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93797 return cycles;
93798 #undef FLD
93801 static int
93802 model_simple_cstu (SIM_CPU *current_cpu, void *sem_arg)
93804 #define FLD(f) abuf->fields.sfmt_cstbu.f
93805 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93806 const IDESC * UNUSED idesc = abuf->idesc;
93807 int cycles = 0;
93809 int referenced = 0;
93810 int UNUSED insn_referenced = abuf->written;
93811 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93813 return cycles;
93814 #undef FLD
93817 static int
93818 model_simple_cstbfu (SIM_CPU *current_cpu, void *sem_arg)
93820 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93821 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93822 const IDESC * UNUSED idesc = abuf->idesc;
93823 int cycles = 0;
93825 int referenced = 0;
93826 int UNUSED insn_referenced = abuf->written;
93827 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93829 return cycles;
93830 #undef FLD
93833 static int
93834 model_simple_csthfu (SIM_CPU *current_cpu, void *sem_arg)
93836 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93837 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93838 const IDESC * UNUSED idesc = abuf->idesc;
93839 int cycles = 0;
93841 int referenced = 0;
93842 int UNUSED insn_referenced = abuf->written;
93843 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93845 return cycles;
93846 #undef FLD
93849 static int
93850 model_simple_cstfu (SIM_CPU *current_cpu, void *sem_arg)
93852 #define FLD(f) abuf->fields.sfmt_cstbfu.f
93853 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93854 const IDESC * UNUSED idesc = abuf->idesc;
93855 int cycles = 0;
93857 int referenced = 0;
93858 int UNUSED insn_referenced = abuf->written;
93859 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93861 return cycles;
93862 #undef FLD
93865 static int
93866 model_simple_cstdu (SIM_CPU *current_cpu, void *sem_arg)
93868 #define FLD(f) abuf->fields.sfmt_cstdu.f
93869 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93870 const IDESC * UNUSED idesc = abuf->idesc;
93871 int cycles = 0;
93873 int referenced = 0;
93874 int UNUSED insn_referenced = abuf->written;
93875 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93877 return cycles;
93878 #undef FLD
93881 static int
93882 model_simple_cstdfu (SIM_CPU *current_cpu, void *sem_arg)
93884 #define FLD(f) abuf->fields.sfmt_cstdfu.f
93885 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93886 const IDESC * UNUSED idesc = abuf->idesc;
93887 int cycles = 0;
93889 int referenced = 0;
93890 int UNUSED insn_referenced = abuf->written;
93891 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93893 return cycles;
93894 #undef FLD
93897 static int
93898 model_simple_stbi (SIM_CPU *current_cpu, void *sem_arg)
93900 #define FLD(f) abuf->fields.sfmt_swapi.f
93901 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93902 const IDESC * UNUSED idesc = abuf->idesc;
93903 int cycles = 0;
93905 int referenced = 0;
93906 int UNUSED insn_referenced = abuf->written;
93907 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93909 return cycles;
93910 #undef FLD
93913 static int
93914 model_simple_sthi (SIM_CPU *current_cpu, void *sem_arg)
93916 #define FLD(f) abuf->fields.sfmt_swapi.f
93917 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93918 const IDESC * UNUSED idesc = abuf->idesc;
93919 int cycles = 0;
93921 int referenced = 0;
93922 int UNUSED insn_referenced = abuf->written;
93923 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93925 return cycles;
93926 #undef FLD
93929 static int
93930 model_simple_sti (SIM_CPU *current_cpu, void *sem_arg)
93932 #define FLD(f) abuf->fields.sfmt_swapi.f
93933 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93934 const IDESC * UNUSED idesc = abuf->idesc;
93935 int cycles = 0;
93937 int referenced = 0;
93938 int UNUSED insn_referenced = abuf->written;
93939 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93941 return cycles;
93942 #undef FLD
93945 static int
93946 model_simple_stbfi (SIM_CPU *current_cpu, void *sem_arg)
93948 #define FLD(f) abuf->fields.sfmt_stbfi.f
93949 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93950 const IDESC * UNUSED idesc = abuf->idesc;
93951 int cycles = 0;
93953 int referenced = 0;
93954 int UNUSED insn_referenced = abuf->written;
93955 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93957 return cycles;
93958 #undef FLD
93961 static int
93962 model_simple_sthfi (SIM_CPU *current_cpu, void *sem_arg)
93964 #define FLD(f) abuf->fields.sfmt_stbfi.f
93965 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93966 const IDESC * UNUSED idesc = abuf->idesc;
93967 int cycles = 0;
93969 int referenced = 0;
93970 int UNUSED insn_referenced = abuf->written;
93971 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93973 return cycles;
93974 #undef FLD
93977 static int
93978 model_simple_stfi (SIM_CPU *current_cpu, void *sem_arg)
93980 #define FLD(f) abuf->fields.sfmt_stbfi.f
93981 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93982 const IDESC * UNUSED idesc = abuf->idesc;
93983 int cycles = 0;
93985 int referenced = 0;
93986 int UNUSED insn_referenced = abuf->written;
93987 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
93989 return cycles;
93990 #undef FLD
93993 static int
93994 model_simple_stdi (SIM_CPU *current_cpu, void *sem_arg)
93996 #define FLD(f) abuf->fields.sfmt_stdi.f
93997 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
93998 const IDESC * UNUSED idesc = abuf->idesc;
93999 int cycles = 0;
94001 int referenced = 0;
94002 int UNUSED insn_referenced = abuf->written;
94003 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94005 return cycles;
94006 #undef FLD
94009 static int
94010 model_simple_stdfi (SIM_CPU *current_cpu, void *sem_arg)
94012 #define FLD(f) abuf->fields.sfmt_stdfi.f
94013 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94014 const IDESC * UNUSED idesc = abuf->idesc;
94015 int cycles = 0;
94017 int referenced = 0;
94018 int UNUSED insn_referenced = abuf->written;
94019 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94021 return cycles;
94022 #undef FLD
94025 static int
94026 model_simple_stqi (SIM_CPU *current_cpu, void *sem_arg)
94028 #define FLD(f) abuf->fields.sfmt_stdi.f
94029 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94030 const IDESC * UNUSED idesc = abuf->idesc;
94031 int cycles = 0;
94033 int referenced = 0;
94034 int UNUSED insn_referenced = abuf->written;
94035 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94037 return cycles;
94038 #undef FLD
94041 static int
94042 model_simple_stqfi (SIM_CPU *current_cpu, void *sem_arg)
94044 #define FLD(f) abuf->fields.sfmt_stdfi.f
94045 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94046 const IDESC * UNUSED idesc = abuf->idesc;
94047 int cycles = 0;
94049 int referenced = 0;
94050 int UNUSED insn_referenced = abuf->written;
94051 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94053 return cycles;
94054 #undef FLD
94057 static int
94058 model_simple_swap (SIM_CPU *current_cpu, void *sem_arg)
94060 #define FLD(f) abuf->fields.sfmt_cswap.f
94061 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94062 const IDESC * UNUSED idesc = abuf->idesc;
94063 int cycles = 0;
94065 int referenced = 0;
94066 int UNUSED insn_referenced = abuf->written;
94067 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94069 return cycles;
94070 #undef FLD
94073 static int
94074 model_simple_swapi (SIM_CPU *current_cpu, void *sem_arg)
94076 #define FLD(f) abuf->fields.sfmt_swapi.f
94077 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94078 const IDESC * UNUSED idesc = abuf->idesc;
94079 int cycles = 0;
94081 int referenced = 0;
94082 int UNUSED insn_referenced = abuf->written;
94083 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94085 return cycles;
94086 #undef FLD
94089 static int
94090 model_simple_cswap (SIM_CPU *current_cpu, void *sem_arg)
94092 #define FLD(f) abuf->fields.sfmt_cswap.f
94093 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94094 const IDESC * UNUSED idesc = abuf->idesc;
94095 int cycles = 0;
94097 int referenced = 0;
94098 int UNUSED insn_referenced = abuf->written;
94099 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94101 return cycles;
94102 #undef FLD
94105 static int
94106 model_simple_movgf (SIM_CPU *current_cpu, void *sem_arg)
94108 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
94109 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94110 const IDESC * UNUSED idesc = abuf->idesc;
94111 int cycles = 0;
94113 int referenced = 0;
94114 int UNUSED insn_referenced = abuf->written;
94115 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94117 return cycles;
94118 #undef FLD
94121 static int
94122 model_simple_movfg (SIM_CPU *current_cpu, void *sem_arg)
94124 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
94125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94126 const IDESC * UNUSED idesc = abuf->idesc;
94127 int cycles = 0;
94129 int referenced = 0;
94130 int UNUSED insn_referenced = abuf->written;
94131 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94133 return cycles;
94134 #undef FLD
94137 static int
94138 model_simple_movgfd (SIM_CPU *current_cpu, void *sem_arg)
94140 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
94141 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94142 const IDESC * UNUSED idesc = abuf->idesc;
94143 int cycles = 0;
94145 int referenced = 0;
94146 int UNUSED insn_referenced = abuf->written;
94147 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94149 return cycles;
94150 #undef FLD
94153 static int
94154 model_simple_movfgd (SIM_CPU *current_cpu, void *sem_arg)
94156 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
94157 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94158 const IDESC * UNUSED idesc = abuf->idesc;
94159 int cycles = 0;
94161 int referenced = 0;
94162 int UNUSED insn_referenced = abuf->written;
94163 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94165 return cycles;
94166 #undef FLD
94169 static int
94170 model_simple_movgfq (SIM_CPU *current_cpu, void *sem_arg)
94172 #define FLD(f) abuf->fields.sfmt_movgfq.f
94173 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94174 const IDESC * UNUSED idesc = abuf->idesc;
94175 int cycles = 0;
94177 int referenced = 0;
94178 int UNUSED insn_referenced = abuf->written;
94179 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94181 return cycles;
94182 #undef FLD
94185 static int
94186 model_simple_movfgq (SIM_CPU *current_cpu, void *sem_arg)
94188 #define FLD(f) abuf->fields.sfmt_movfgq.f
94189 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94190 const IDESC * UNUSED idesc = abuf->idesc;
94191 int cycles = 0;
94193 int referenced = 0;
94194 int UNUSED insn_referenced = abuf->written;
94195 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94197 return cycles;
94198 #undef FLD
94201 static int
94202 model_simple_cmovgf (SIM_CPU *current_cpu, void *sem_arg)
94204 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
94205 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94206 const IDESC * UNUSED idesc = abuf->idesc;
94207 int cycles = 0;
94209 int referenced = 0;
94210 int UNUSED insn_referenced = abuf->written;
94211 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94213 return cycles;
94214 #undef FLD
94217 static int
94218 model_simple_cmovfg (SIM_CPU *current_cpu, void *sem_arg)
94220 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
94221 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94222 const IDESC * UNUSED idesc = abuf->idesc;
94223 int cycles = 0;
94225 int referenced = 0;
94226 int UNUSED insn_referenced = abuf->written;
94227 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94229 return cycles;
94230 #undef FLD
94233 static int
94234 model_simple_cmovgfd (SIM_CPU *current_cpu, void *sem_arg)
94236 #define FLD(f) abuf->fields.sfmt_cmovgfd.f
94237 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94238 const IDESC * UNUSED idesc = abuf->idesc;
94239 int cycles = 0;
94241 int referenced = 0;
94242 int UNUSED insn_referenced = abuf->written;
94243 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94245 return cycles;
94246 #undef FLD
94249 static int
94250 model_simple_cmovfgd (SIM_CPU *current_cpu, void *sem_arg)
94252 #define FLD(f) abuf->fields.sfmt_cmovfgd.f
94253 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94254 const IDESC * UNUSED idesc = abuf->idesc;
94255 int cycles = 0;
94257 int referenced = 0;
94258 int UNUSED insn_referenced = abuf->written;
94259 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94261 return cycles;
94262 #undef FLD
94265 static int
94266 model_simple_movgs (SIM_CPU *current_cpu, void *sem_arg)
94268 #define FLD(f) abuf->fields.sfmt_movgs.f
94269 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94270 const IDESC * UNUSED idesc = abuf->idesc;
94271 int cycles = 0;
94273 int referenced = 0;
94274 int UNUSED insn_referenced = abuf->written;
94275 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94277 return cycles;
94278 #undef FLD
94281 static int
94282 model_simple_movsg (SIM_CPU *current_cpu, void *sem_arg)
94284 #define FLD(f) abuf->fields.sfmt_movsg.f
94285 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94286 const IDESC * UNUSED idesc = abuf->idesc;
94287 int cycles = 0;
94289 int referenced = 0;
94290 int UNUSED insn_referenced = abuf->written;
94291 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94293 return cycles;
94294 #undef FLD
94297 static int
94298 model_simple_bra (SIM_CPU *current_cpu, void *sem_arg)
94300 #define FLD(f) abuf->fields.sfmt_fbne.f
94301 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94302 const IDESC * UNUSED idesc = abuf->idesc;
94303 int cycles = 0;
94305 int referenced = 0;
94306 int UNUSED insn_referenced = abuf->written;
94307 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94309 return cycles;
94310 #undef FLD
94313 static int
94314 model_simple_bno (SIM_CPU *current_cpu, void *sem_arg)
94316 #define FLD(f) abuf->fields.sfmt_fbne.f
94317 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94318 const IDESC * UNUSED idesc = abuf->idesc;
94319 int cycles = 0;
94321 int referenced = 0;
94322 int UNUSED insn_referenced = abuf->written;
94323 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94325 return cycles;
94326 #undef FLD
94329 static int
94330 model_simple_beq (SIM_CPU *current_cpu, void *sem_arg)
94332 #define FLD(f) abuf->fields.sfmt_beq.f
94333 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94334 const IDESC * UNUSED idesc = abuf->idesc;
94335 int cycles = 0;
94337 int referenced = 0;
94338 int UNUSED insn_referenced = abuf->written;
94339 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94341 return cycles;
94342 #undef FLD
94345 static int
94346 model_simple_bne (SIM_CPU *current_cpu, void *sem_arg)
94348 #define FLD(f) abuf->fields.sfmt_beq.f
94349 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94350 const IDESC * UNUSED idesc = abuf->idesc;
94351 int cycles = 0;
94353 int referenced = 0;
94354 int UNUSED insn_referenced = abuf->written;
94355 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94357 return cycles;
94358 #undef FLD
94361 static int
94362 model_simple_ble (SIM_CPU *current_cpu, void *sem_arg)
94364 #define FLD(f) abuf->fields.sfmt_beq.f
94365 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94366 const IDESC * UNUSED idesc = abuf->idesc;
94367 int cycles = 0;
94369 int referenced = 0;
94370 int UNUSED insn_referenced = abuf->written;
94371 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94373 return cycles;
94374 #undef FLD
94377 static int
94378 model_simple_bgt (SIM_CPU *current_cpu, void *sem_arg)
94380 #define FLD(f) abuf->fields.sfmt_beq.f
94381 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94382 const IDESC * UNUSED idesc = abuf->idesc;
94383 int cycles = 0;
94385 int referenced = 0;
94386 int UNUSED insn_referenced = abuf->written;
94387 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94389 return cycles;
94390 #undef FLD
94393 static int
94394 model_simple_blt (SIM_CPU *current_cpu, void *sem_arg)
94396 #define FLD(f) abuf->fields.sfmt_beq.f
94397 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94398 const IDESC * UNUSED idesc = abuf->idesc;
94399 int cycles = 0;
94401 int referenced = 0;
94402 int UNUSED insn_referenced = abuf->written;
94403 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94405 return cycles;
94406 #undef FLD
94409 static int
94410 model_simple_bge (SIM_CPU *current_cpu, void *sem_arg)
94412 #define FLD(f) abuf->fields.sfmt_beq.f
94413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94414 const IDESC * UNUSED idesc = abuf->idesc;
94415 int cycles = 0;
94417 int referenced = 0;
94418 int UNUSED insn_referenced = abuf->written;
94419 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94421 return cycles;
94422 #undef FLD
94425 static int
94426 model_simple_bls (SIM_CPU *current_cpu, void *sem_arg)
94428 #define FLD(f) abuf->fields.sfmt_beq.f
94429 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94430 const IDESC * UNUSED idesc = abuf->idesc;
94431 int cycles = 0;
94433 int referenced = 0;
94434 int UNUSED insn_referenced = abuf->written;
94435 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94437 return cycles;
94438 #undef FLD
94441 static int
94442 model_simple_bhi (SIM_CPU *current_cpu, void *sem_arg)
94444 #define FLD(f) abuf->fields.sfmt_beq.f
94445 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94446 const IDESC * UNUSED idesc = abuf->idesc;
94447 int cycles = 0;
94449 int referenced = 0;
94450 int UNUSED insn_referenced = abuf->written;
94451 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94453 return cycles;
94454 #undef FLD
94457 static int
94458 model_simple_bc (SIM_CPU *current_cpu, void *sem_arg)
94460 #define FLD(f) abuf->fields.sfmt_beq.f
94461 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94462 const IDESC * UNUSED idesc = abuf->idesc;
94463 int cycles = 0;
94465 int referenced = 0;
94466 int UNUSED insn_referenced = abuf->written;
94467 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94469 return cycles;
94470 #undef FLD
94473 static int
94474 model_simple_bnc (SIM_CPU *current_cpu, void *sem_arg)
94476 #define FLD(f) abuf->fields.sfmt_beq.f
94477 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94478 const IDESC * UNUSED idesc = abuf->idesc;
94479 int cycles = 0;
94481 int referenced = 0;
94482 int UNUSED insn_referenced = abuf->written;
94483 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94485 return cycles;
94486 #undef FLD
94489 static int
94490 model_simple_bn (SIM_CPU *current_cpu, void *sem_arg)
94492 #define FLD(f) abuf->fields.sfmt_beq.f
94493 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94494 const IDESC * UNUSED idesc = abuf->idesc;
94495 int cycles = 0;
94497 int referenced = 0;
94498 int UNUSED insn_referenced = abuf->written;
94499 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94501 return cycles;
94502 #undef FLD
94505 static int
94506 model_simple_bp (SIM_CPU *current_cpu, void *sem_arg)
94508 #define FLD(f) abuf->fields.sfmt_beq.f
94509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94510 const IDESC * UNUSED idesc = abuf->idesc;
94511 int cycles = 0;
94513 int referenced = 0;
94514 int UNUSED insn_referenced = abuf->written;
94515 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94517 return cycles;
94518 #undef FLD
94521 static int
94522 model_simple_bv (SIM_CPU *current_cpu, void *sem_arg)
94524 #define FLD(f) abuf->fields.sfmt_beq.f
94525 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94526 const IDESC * UNUSED idesc = abuf->idesc;
94527 int cycles = 0;
94529 int referenced = 0;
94530 int UNUSED insn_referenced = abuf->written;
94531 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94533 return cycles;
94534 #undef FLD
94537 static int
94538 model_simple_bnv (SIM_CPU *current_cpu, void *sem_arg)
94540 #define FLD(f) abuf->fields.sfmt_beq.f
94541 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94542 const IDESC * UNUSED idesc = abuf->idesc;
94543 int cycles = 0;
94545 int referenced = 0;
94546 int UNUSED insn_referenced = abuf->written;
94547 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94549 return cycles;
94550 #undef FLD
94553 static int
94554 model_simple_fbra (SIM_CPU *current_cpu, void *sem_arg)
94556 #define FLD(f) abuf->fields.sfmt_fbne.f
94557 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94558 const IDESC * UNUSED idesc = abuf->idesc;
94559 int cycles = 0;
94561 int referenced = 0;
94562 int UNUSED insn_referenced = abuf->written;
94563 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94565 return cycles;
94566 #undef FLD
94569 static int
94570 model_simple_fbno (SIM_CPU *current_cpu, void *sem_arg)
94572 #define FLD(f) abuf->fields.sfmt_fbne.f
94573 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94574 const IDESC * UNUSED idesc = abuf->idesc;
94575 int cycles = 0;
94577 int referenced = 0;
94578 int UNUSED insn_referenced = abuf->written;
94579 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94581 return cycles;
94582 #undef FLD
94585 static int
94586 model_simple_fbne (SIM_CPU *current_cpu, void *sem_arg)
94588 #define FLD(f) abuf->fields.sfmt_fbne.f
94589 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94590 const IDESC * UNUSED idesc = abuf->idesc;
94591 int cycles = 0;
94593 int referenced = 0;
94594 int UNUSED insn_referenced = abuf->written;
94595 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94597 return cycles;
94598 #undef FLD
94601 static int
94602 model_simple_fbeq (SIM_CPU *current_cpu, void *sem_arg)
94604 #define FLD(f) abuf->fields.sfmt_fbne.f
94605 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94606 const IDESC * UNUSED idesc = abuf->idesc;
94607 int cycles = 0;
94609 int referenced = 0;
94610 int UNUSED insn_referenced = abuf->written;
94611 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94613 return cycles;
94614 #undef FLD
94617 static int
94618 model_simple_fblg (SIM_CPU *current_cpu, void *sem_arg)
94620 #define FLD(f) abuf->fields.sfmt_fbne.f
94621 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94622 const IDESC * UNUSED idesc = abuf->idesc;
94623 int cycles = 0;
94625 int referenced = 0;
94626 int UNUSED insn_referenced = abuf->written;
94627 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94629 return cycles;
94630 #undef FLD
94633 static int
94634 model_simple_fbue (SIM_CPU *current_cpu, void *sem_arg)
94636 #define FLD(f) abuf->fields.sfmt_fbne.f
94637 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94638 const IDESC * UNUSED idesc = abuf->idesc;
94639 int cycles = 0;
94641 int referenced = 0;
94642 int UNUSED insn_referenced = abuf->written;
94643 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94645 return cycles;
94646 #undef FLD
94649 static int
94650 model_simple_fbul (SIM_CPU *current_cpu, void *sem_arg)
94652 #define FLD(f) abuf->fields.sfmt_fbne.f
94653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94654 const IDESC * UNUSED idesc = abuf->idesc;
94655 int cycles = 0;
94657 int referenced = 0;
94658 int UNUSED insn_referenced = abuf->written;
94659 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94661 return cycles;
94662 #undef FLD
94665 static int
94666 model_simple_fbge (SIM_CPU *current_cpu, void *sem_arg)
94668 #define FLD(f) abuf->fields.sfmt_fbne.f
94669 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94670 const IDESC * UNUSED idesc = abuf->idesc;
94671 int cycles = 0;
94673 int referenced = 0;
94674 int UNUSED insn_referenced = abuf->written;
94675 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94677 return cycles;
94678 #undef FLD
94681 static int
94682 model_simple_fblt (SIM_CPU *current_cpu, void *sem_arg)
94684 #define FLD(f) abuf->fields.sfmt_fbne.f
94685 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94686 const IDESC * UNUSED idesc = abuf->idesc;
94687 int cycles = 0;
94689 int referenced = 0;
94690 int UNUSED insn_referenced = abuf->written;
94691 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94693 return cycles;
94694 #undef FLD
94697 static int
94698 model_simple_fbuge (SIM_CPU *current_cpu, void *sem_arg)
94700 #define FLD(f) abuf->fields.sfmt_fbne.f
94701 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94702 const IDESC * UNUSED idesc = abuf->idesc;
94703 int cycles = 0;
94705 int referenced = 0;
94706 int UNUSED insn_referenced = abuf->written;
94707 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94709 return cycles;
94710 #undef FLD
94713 static int
94714 model_simple_fbug (SIM_CPU *current_cpu, void *sem_arg)
94716 #define FLD(f) abuf->fields.sfmt_fbne.f
94717 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94718 const IDESC * UNUSED idesc = abuf->idesc;
94719 int cycles = 0;
94721 int referenced = 0;
94722 int UNUSED insn_referenced = abuf->written;
94723 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94725 return cycles;
94726 #undef FLD
94729 static int
94730 model_simple_fble (SIM_CPU *current_cpu, void *sem_arg)
94732 #define FLD(f) abuf->fields.sfmt_fbne.f
94733 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94734 const IDESC * UNUSED idesc = abuf->idesc;
94735 int cycles = 0;
94737 int referenced = 0;
94738 int UNUSED insn_referenced = abuf->written;
94739 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94741 return cycles;
94742 #undef FLD
94745 static int
94746 model_simple_fbgt (SIM_CPU *current_cpu, void *sem_arg)
94748 #define FLD(f) abuf->fields.sfmt_fbne.f
94749 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94750 const IDESC * UNUSED idesc = abuf->idesc;
94751 int cycles = 0;
94753 int referenced = 0;
94754 int UNUSED insn_referenced = abuf->written;
94755 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94757 return cycles;
94758 #undef FLD
94761 static int
94762 model_simple_fbule (SIM_CPU *current_cpu, void *sem_arg)
94764 #define FLD(f) abuf->fields.sfmt_fbne.f
94765 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94766 const IDESC * UNUSED idesc = abuf->idesc;
94767 int cycles = 0;
94769 int referenced = 0;
94770 int UNUSED insn_referenced = abuf->written;
94771 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94773 return cycles;
94774 #undef FLD
94777 static int
94778 model_simple_fbu (SIM_CPU *current_cpu, void *sem_arg)
94780 #define FLD(f) abuf->fields.sfmt_fbne.f
94781 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94782 const IDESC * UNUSED idesc = abuf->idesc;
94783 int cycles = 0;
94785 int referenced = 0;
94786 int UNUSED insn_referenced = abuf->written;
94787 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94789 return cycles;
94790 #undef FLD
94793 static int
94794 model_simple_fbo (SIM_CPU *current_cpu, void *sem_arg)
94796 #define FLD(f) abuf->fields.sfmt_fbne.f
94797 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94798 const IDESC * UNUSED idesc = abuf->idesc;
94799 int cycles = 0;
94801 int referenced = 0;
94802 int UNUSED insn_referenced = abuf->written;
94803 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94805 return cycles;
94806 #undef FLD
94809 static int
94810 model_simple_bctrlr (SIM_CPU *current_cpu, void *sem_arg)
94812 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
94813 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94814 const IDESC * UNUSED idesc = abuf->idesc;
94815 int cycles = 0;
94817 int referenced = 0;
94818 int UNUSED insn_referenced = abuf->written;
94819 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94821 return cycles;
94822 #undef FLD
94825 static int
94826 model_simple_bralr (SIM_CPU *current_cpu, void *sem_arg)
94828 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
94829 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94830 const IDESC * UNUSED idesc = abuf->idesc;
94831 int cycles = 0;
94833 int referenced = 0;
94834 int UNUSED insn_referenced = abuf->written;
94835 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94837 return cycles;
94838 #undef FLD
94841 static int
94842 model_simple_bnolr (SIM_CPU *current_cpu, void *sem_arg)
94844 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
94845 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94846 const IDESC * UNUSED idesc = abuf->idesc;
94847 int cycles = 0;
94849 int referenced = 0;
94850 int UNUSED insn_referenced = abuf->written;
94851 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94853 return cycles;
94854 #undef FLD
94857 static int
94858 model_simple_beqlr (SIM_CPU *current_cpu, void *sem_arg)
94860 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94861 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94862 const IDESC * UNUSED idesc = abuf->idesc;
94863 int cycles = 0;
94865 int referenced = 0;
94866 int UNUSED insn_referenced = abuf->written;
94867 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94869 return cycles;
94870 #undef FLD
94873 static int
94874 model_simple_bnelr (SIM_CPU *current_cpu, void *sem_arg)
94876 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94877 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94878 const IDESC * UNUSED idesc = abuf->idesc;
94879 int cycles = 0;
94881 int referenced = 0;
94882 int UNUSED insn_referenced = abuf->written;
94883 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94885 return cycles;
94886 #undef FLD
94889 static int
94890 model_simple_blelr (SIM_CPU *current_cpu, void *sem_arg)
94892 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94893 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94894 const IDESC * UNUSED idesc = abuf->idesc;
94895 int cycles = 0;
94897 int referenced = 0;
94898 int UNUSED insn_referenced = abuf->written;
94899 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94901 return cycles;
94902 #undef FLD
94905 static int
94906 model_simple_bgtlr (SIM_CPU *current_cpu, void *sem_arg)
94908 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94910 const IDESC * UNUSED idesc = abuf->idesc;
94911 int cycles = 0;
94913 int referenced = 0;
94914 int UNUSED insn_referenced = abuf->written;
94915 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94917 return cycles;
94918 #undef FLD
94921 static int
94922 model_simple_bltlr (SIM_CPU *current_cpu, void *sem_arg)
94924 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94925 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94926 const IDESC * UNUSED idesc = abuf->idesc;
94927 int cycles = 0;
94929 int referenced = 0;
94930 int UNUSED insn_referenced = abuf->written;
94931 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94933 return cycles;
94934 #undef FLD
94937 static int
94938 model_simple_bgelr (SIM_CPU *current_cpu, void *sem_arg)
94940 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94941 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94942 const IDESC * UNUSED idesc = abuf->idesc;
94943 int cycles = 0;
94945 int referenced = 0;
94946 int UNUSED insn_referenced = abuf->written;
94947 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94949 return cycles;
94950 #undef FLD
94953 static int
94954 model_simple_blslr (SIM_CPU *current_cpu, void *sem_arg)
94956 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94957 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94958 const IDESC * UNUSED idesc = abuf->idesc;
94959 int cycles = 0;
94961 int referenced = 0;
94962 int UNUSED insn_referenced = abuf->written;
94963 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94965 return cycles;
94966 #undef FLD
94969 static int
94970 model_simple_bhilr (SIM_CPU *current_cpu, void *sem_arg)
94972 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94973 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94974 const IDESC * UNUSED idesc = abuf->idesc;
94975 int cycles = 0;
94977 int referenced = 0;
94978 int UNUSED insn_referenced = abuf->written;
94979 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94981 return cycles;
94982 #undef FLD
94985 static int
94986 model_simple_bclr (SIM_CPU *current_cpu, void *sem_arg)
94988 #define FLD(f) abuf->fields.sfmt_bceqlr.f
94989 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
94990 const IDESC * UNUSED idesc = abuf->idesc;
94991 int cycles = 0;
94993 int referenced = 0;
94994 int UNUSED insn_referenced = abuf->written;
94995 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
94997 return cycles;
94998 #undef FLD
95001 static int
95002 model_simple_bnclr (SIM_CPU *current_cpu, void *sem_arg)
95004 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95005 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95006 const IDESC * UNUSED idesc = abuf->idesc;
95007 int cycles = 0;
95009 int referenced = 0;
95010 int UNUSED insn_referenced = abuf->written;
95011 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95013 return cycles;
95014 #undef FLD
95017 static int
95018 model_simple_bnlr (SIM_CPU *current_cpu, void *sem_arg)
95020 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95021 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95022 const IDESC * UNUSED idesc = abuf->idesc;
95023 int cycles = 0;
95025 int referenced = 0;
95026 int UNUSED insn_referenced = abuf->written;
95027 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95029 return cycles;
95030 #undef FLD
95033 static int
95034 model_simple_bplr (SIM_CPU *current_cpu, void *sem_arg)
95036 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95037 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95038 const IDESC * UNUSED idesc = abuf->idesc;
95039 int cycles = 0;
95041 int referenced = 0;
95042 int UNUSED insn_referenced = abuf->written;
95043 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95045 return cycles;
95046 #undef FLD
95049 static int
95050 model_simple_bvlr (SIM_CPU *current_cpu, void *sem_arg)
95052 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95053 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95054 const IDESC * UNUSED idesc = abuf->idesc;
95055 int cycles = 0;
95057 int referenced = 0;
95058 int UNUSED insn_referenced = abuf->written;
95059 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95061 return cycles;
95062 #undef FLD
95065 static int
95066 model_simple_bnvlr (SIM_CPU *current_cpu, void *sem_arg)
95068 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95069 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95070 const IDESC * UNUSED idesc = abuf->idesc;
95071 int cycles = 0;
95073 int referenced = 0;
95074 int UNUSED insn_referenced = abuf->written;
95075 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95077 return cycles;
95078 #undef FLD
95081 static int
95082 model_simple_fbralr (SIM_CPU *current_cpu, void *sem_arg)
95084 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95085 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95086 const IDESC * UNUSED idesc = abuf->idesc;
95087 int cycles = 0;
95089 int referenced = 0;
95090 int UNUSED insn_referenced = abuf->written;
95091 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95093 return cycles;
95094 #undef FLD
95097 static int
95098 model_simple_fbnolr (SIM_CPU *current_cpu, void *sem_arg)
95100 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95101 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95102 const IDESC * UNUSED idesc = abuf->idesc;
95103 int cycles = 0;
95105 int referenced = 0;
95106 int UNUSED insn_referenced = abuf->written;
95107 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95109 return cycles;
95110 #undef FLD
95113 static int
95114 model_simple_fbeqlr (SIM_CPU *current_cpu, void *sem_arg)
95116 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95118 const IDESC * UNUSED idesc = abuf->idesc;
95119 int cycles = 0;
95121 int referenced = 0;
95122 int UNUSED insn_referenced = abuf->written;
95123 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95125 return cycles;
95126 #undef FLD
95129 static int
95130 model_simple_fbnelr (SIM_CPU *current_cpu, void *sem_arg)
95132 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95133 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95134 const IDESC * UNUSED idesc = abuf->idesc;
95135 int cycles = 0;
95137 int referenced = 0;
95138 int UNUSED insn_referenced = abuf->written;
95139 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95141 return cycles;
95142 #undef FLD
95145 static int
95146 model_simple_fblglr (SIM_CPU *current_cpu, void *sem_arg)
95148 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95149 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95150 const IDESC * UNUSED idesc = abuf->idesc;
95151 int cycles = 0;
95153 int referenced = 0;
95154 int UNUSED insn_referenced = abuf->written;
95155 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95157 return cycles;
95158 #undef FLD
95161 static int
95162 model_simple_fbuelr (SIM_CPU *current_cpu, void *sem_arg)
95164 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95165 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95166 const IDESC * UNUSED idesc = abuf->idesc;
95167 int cycles = 0;
95169 int referenced = 0;
95170 int UNUSED insn_referenced = abuf->written;
95171 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95173 return cycles;
95174 #undef FLD
95177 static int
95178 model_simple_fbullr (SIM_CPU *current_cpu, void *sem_arg)
95180 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95181 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95182 const IDESC * UNUSED idesc = abuf->idesc;
95183 int cycles = 0;
95185 int referenced = 0;
95186 int UNUSED insn_referenced = abuf->written;
95187 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95189 return cycles;
95190 #undef FLD
95193 static int
95194 model_simple_fbgelr (SIM_CPU *current_cpu, void *sem_arg)
95196 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95197 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95198 const IDESC * UNUSED idesc = abuf->idesc;
95199 int cycles = 0;
95201 int referenced = 0;
95202 int UNUSED insn_referenced = abuf->written;
95203 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95205 return cycles;
95206 #undef FLD
95209 static int
95210 model_simple_fbltlr (SIM_CPU *current_cpu, void *sem_arg)
95212 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95213 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95214 const IDESC * UNUSED idesc = abuf->idesc;
95215 int cycles = 0;
95217 int referenced = 0;
95218 int UNUSED insn_referenced = abuf->written;
95219 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95221 return cycles;
95222 #undef FLD
95225 static int
95226 model_simple_fbugelr (SIM_CPU *current_cpu, void *sem_arg)
95228 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95229 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95230 const IDESC * UNUSED idesc = abuf->idesc;
95231 int cycles = 0;
95233 int referenced = 0;
95234 int UNUSED insn_referenced = abuf->written;
95235 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95237 return cycles;
95238 #undef FLD
95241 static int
95242 model_simple_fbuglr (SIM_CPU *current_cpu, void *sem_arg)
95244 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95245 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95246 const IDESC * UNUSED idesc = abuf->idesc;
95247 int cycles = 0;
95249 int referenced = 0;
95250 int UNUSED insn_referenced = abuf->written;
95251 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95253 return cycles;
95254 #undef FLD
95257 static int
95258 model_simple_fblelr (SIM_CPU *current_cpu, void *sem_arg)
95260 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95261 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95262 const IDESC * UNUSED idesc = abuf->idesc;
95263 int cycles = 0;
95265 int referenced = 0;
95266 int UNUSED insn_referenced = abuf->written;
95267 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95269 return cycles;
95270 #undef FLD
95273 static int
95274 model_simple_fbgtlr (SIM_CPU *current_cpu, void *sem_arg)
95276 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95277 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95278 const IDESC * UNUSED idesc = abuf->idesc;
95279 int cycles = 0;
95281 int referenced = 0;
95282 int UNUSED insn_referenced = abuf->written;
95283 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95285 return cycles;
95286 #undef FLD
95289 static int
95290 model_simple_fbulelr (SIM_CPU *current_cpu, void *sem_arg)
95292 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95293 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95294 const IDESC * UNUSED idesc = abuf->idesc;
95295 int cycles = 0;
95297 int referenced = 0;
95298 int UNUSED insn_referenced = abuf->written;
95299 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95301 return cycles;
95302 #undef FLD
95305 static int
95306 model_simple_fbulr (SIM_CPU *current_cpu, void *sem_arg)
95308 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95309 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95310 const IDESC * UNUSED idesc = abuf->idesc;
95311 int cycles = 0;
95313 int referenced = 0;
95314 int UNUSED insn_referenced = abuf->written;
95315 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95317 return cycles;
95318 #undef FLD
95321 static int
95322 model_simple_fbolr (SIM_CPU *current_cpu, void *sem_arg)
95324 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95325 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95326 const IDESC * UNUSED idesc = abuf->idesc;
95327 int cycles = 0;
95329 int referenced = 0;
95330 int UNUSED insn_referenced = abuf->written;
95331 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95333 return cycles;
95334 #undef FLD
95337 static int
95338 model_simple_bcralr (SIM_CPU *current_cpu, void *sem_arg)
95340 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95341 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95342 const IDESC * UNUSED idesc = abuf->idesc;
95343 int cycles = 0;
95345 int referenced = 0;
95346 int UNUSED insn_referenced = abuf->written;
95347 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95349 return cycles;
95350 #undef FLD
95353 static int
95354 model_simple_bcnolr (SIM_CPU *current_cpu, void *sem_arg)
95356 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95357 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95358 const IDESC * UNUSED idesc = abuf->idesc;
95359 int cycles = 0;
95361 int referenced = 0;
95362 int UNUSED insn_referenced = abuf->written;
95363 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95365 return cycles;
95366 #undef FLD
95369 static int
95370 model_simple_bceqlr (SIM_CPU *current_cpu, void *sem_arg)
95372 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95373 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95374 const IDESC * UNUSED idesc = abuf->idesc;
95375 int cycles = 0;
95377 int referenced = 0;
95378 int UNUSED insn_referenced = abuf->written;
95379 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95381 return cycles;
95382 #undef FLD
95385 static int
95386 model_simple_bcnelr (SIM_CPU *current_cpu, void *sem_arg)
95388 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95389 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95390 const IDESC * UNUSED idesc = abuf->idesc;
95391 int cycles = 0;
95393 int referenced = 0;
95394 int UNUSED insn_referenced = abuf->written;
95395 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95397 return cycles;
95398 #undef FLD
95401 static int
95402 model_simple_bclelr (SIM_CPU *current_cpu, void *sem_arg)
95404 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95405 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95406 const IDESC * UNUSED idesc = abuf->idesc;
95407 int cycles = 0;
95409 int referenced = 0;
95410 int UNUSED insn_referenced = abuf->written;
95411 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95413 return cycles;
95414 #undef FLD
95417 static int
95418 model_simple_bcgtlr (SIM_CPU *current_cpu, void *sem_arg)
95420 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95421 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95422 const IDESC * UNUSED idesc = abuf->idesc;
95423 int cycles = 0;
95425 int referenced = 0;
95426 int UNUSED insn_referenced = abuf->written;
95427 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95429 return cycles;
95430 #undef FLD
95433 static int
95434 model_simple_bcltlr (SIM_CPU *current_cpu, void *sem_arg)
95436 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95437 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95438 const IDESC * UNUSED idesc = abuf->idesc;
95439 int cycles = 0;
95441 int referenced = 0;
95442 int UNUSED insn_referenced = abuf->written;
95443 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95445 return cycles;
95446 #undef FLD
95449 static int
95450 model_simple_bcgelr (SIM_CPU *current_cpu, void *sem_arg)
95452 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95453 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95454 const IDESC * UNUSED idesc = abuf->idesc;
95455 int cycles = 0;
95457 int referenced = 0;
95458 int UNUSED insn_referenced = abuf->written;
95459 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95461 return cycles;
95462 #undef FLD
95465 static int
95466 model_simple_bclslr (SIM_CPU *current_cpu, void *sem_arg)
95468 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95469 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95470 const IDESC * UNUSED idesc = abuf->idesc;
95471 int cycles = 0;
95473 int referenced = 0;
95474 int UNUSED insn_referenced = abuf->written;
95475 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95477 return cycles;
95478 #undef FLD
95481 static int
95482 model_simple_bchilr (SIM_CPU *current_cpu, void *sem_arg)
95484 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95485 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95486 const IDESC * UNUSED idesc = abuf->idesc;
95487 int cycles = 0;
95489 int referenced = 0;
95490 int UNUSED insn_referenced = abuf->written;
95491 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95493 return cycles;
95494 #undef FLD
95497 static int
95498 model_simple_bcclr (SIM_CPU *current_cpu, void *sem_arg)
95500 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95501 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95502 const IDESC * UNUSED idesc = abuf->idesc;
95503 int cycles = 0;
95505 int referenced = 0;
95506 int UNUSED insn_referenced = abuf->written;
95507 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95509 return cycles;
95510 #undef FLD
95513 static int
95514 model_simple_bcnclr (SIM_CPU *current_cpu, void *sem_arg)
95516 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95517 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95518 const IDESC * UNUSED idesc = abuf->idesc;
95519 int cycles = 0;
95521 int referenced = 0;
95522 int UNUSED insn_referenced = abuf->written;
95523 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95525 return cycles;
95526 #undef FLD
95529 static int
95530 model_simple_bcnlr (SIM_CPU *current_cpu, void *sem_arg)
95532 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95533 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95534 const IDESC * UNUSED idesc = abuf->idesc;
95535 int cycles = 0;
95537 int referenced = 0;
95538 int UNUSED insn_referenced = abuf->written;
95539 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95541 return cycles;
95542 #undef FLD
95545 static int
95546 model_simple_bcplr (SIM_CPU *current_cpu, void *sem_arg)
95548 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95549 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95550 const IDESC * UNUSED idesc = abuf->idesc;
95551 int cycles = 0;
95553 int referenced = 0;
95554 int UNUSED insn_referenced = abuf->written;
95555 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95557 return cycles;
95558 #undef FLD
95561 static int
95562 model_simple_bcvlr (SIM_CPU *current_cpu, void *sem_arg)
95564 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95565 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95566 const IDESC * UNUSED idesc = abuf->idesc;
95567 int cycles = 0;
95569 int referenced = 0;
95570 int UNUSED insn_referenced = abuf->written;
95571 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95573 return cycles;
95574 #undef FLD
95577 static int
95578 model_simple_bcnvlr (SIM_CPU *current_cpu, void *sem_arg)
95580 #define FLD(f) abuf->fields.sfmt_bceqlr.f
95581 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95582 const IDESC * UNUSED idesc = abuf->idesc;
95583 int cycles = 0;
95585 int referenced = 0;
95586 int UNUSED insn_referenced = abuf->written;
95587 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95589 return cycles;
95590 #undef FLD
95593 static int
95594 model_simple_fcbralr (SIM_CPU *current_cpu, void *sem_arg)
95596 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95597 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95598 const IDESC * UNUSED idesc = abuf->idesc;
95599 int cycles = 0;
95601 int referenced = 0;
95602 int UNUSED insn_referenced = abuf->written;
95603 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95605 return cycles;
95606 #undef FLD
95609 static int
95610 model_simple_fcbnolr (SIM_CPU *current_cpu, void *sem_arg)
95612 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95613 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95614 const IDESC * UNUSED idesc = abuf->idesc;
95615 int cycles = 0;
95617 int referenced = 0;
95618 int UNUSED insn_referenced = abuf->written;
95619 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95621 return cycles;
95622 #undef FLD
95625 static int
95626 model_simple_fcbeqlr (SIM_CPU *current_cpu, void *sem_arg)
95628 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95629 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95630 const IDESC * UNUSED idesc = abuf->idesc;
95631 int cycles = 0;
95633 int referenced = 0;
95634 int UNUSED insn_referenced = abuf->written;
95635 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95637 return cycles;
95638 #undef FLD
95641 static int
95642 model_simple_fcbnelr (SIM_CPU *current_cpu, void *sem_arg)
95644 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95645 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95646 const IDESC * UNUSED idesc = abuf->idesc;
95647 int cycles = 0;
95649 int referenced = 0;
95650 int UNUSED insn_referenced = abuf->written;
95651 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95653 return cycles;
95654 #undef FLD
95657 static int
95658 model_simple_fcblglr (SIM_CPU *current_cpu, void *sem_arg)
95660 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95661 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95662 const IDESC * UNUSED idesc = abuf->idesc;
95663 int cycles = 0;
95665 int referenced = 0;
95666 int UNUSED insn_referenced = abuf->written;
95667 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95669 return cycles;
95670 #undef FLD
95673 static int
95674 model_simple_fcbuelr (SIM_CPU *current_cpu, void *sem_arg)
95676 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95677 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95678 const IDESC * UNUSED idesc = abuf->idesc;
95679 int cycles = 0;
95681 int referenced = 0;
95682 int UNUSED insn_referenced = abuf->written;
95683 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95685 return cycles;
95686 #undef FLD
95689 static int
95690 model_simple_fcbullr (SIM_CPU *current_cpu, void *sem_arg)
95692 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95693 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95694 const IDESC * UNUSED idesc = abuf->idesc;
95695 int cycles = 0;
95697 int referenced = 0;
95698 int UNUSED insn_referenced = abuf->written;
95699 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95701 return cycles;
95702 #undef FLD
95705 static int
95706 model_simple_fcbgelr (SIM_CPU *current_cpu, void *sem_arg)
95708 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95709 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95710 const IDESC * UNUSED idesc = abuf->idesc;
95711 int cycles = 0;
95713 int referenced = 0;
95714 int UNUSED insn_referenced = abuf->written;
95715 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95717 return cycles;
95718 #undef FLD
95721 static int
95722 model_simple_fcbltlr (SIM_CPU *current_cpu, void *sem_arg)
95724 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95725 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95726 const IDESC * UNUSED idesc = abuf->idesc;
95727 int cycles = 0;
95729 int referenced = 0;
95730 int UNUSED insn_referenced = abuf->written;
95731 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95733 return cycles;
95734 #undef FLD
95737 static int
95738 model_simple_fcbugelr (SIM_CPU *current_cpu, void *sem_arg)
95740 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95741 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95742 const IDESC * UNUSED idesc = abuf->idesc;
95743 int cycles = 0;
95745 int referenced = 0;
95746 int UNUSED insn_referenced = abuf->written;
95747 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95749 return cycles;
95750 #undef FLD
95753 static int
95754 model_simple_fcbuglr (SIM_CPU *current_cpu, void *sem_arg)
95756 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95757 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95758 const IDESC * UNUSED idesc = abuf->idesc;
95759 int cycles = 0;
95761 int referenced = 0;
95762 int UNUSED insn_referenced = abuf->written;
95763 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95765 return cycles;
95766 #undef FLD
95769 static int
95770 model_simple_fcblelr (SIM_CPU *current_cpu, void *sem_arg)
95772 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95773 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95774 const IDESC * UNUSED idesc = abuf->idesc;
95775 int cycles = 0;
95777 int referenced = 0;
95778 int UNUSED insn_referenced = abuf->written;
95779 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95781 return cycles;
95782 #undef FLD
95785 static int
95786 model_simple_fcbgtlr (SIM_CPU *current_cpu, void *sem_arg)
95788 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95789 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95790 const IDESC * UNUSED idesc = abuf->idesc;
95791 int cycles = 0;
95793 int referenced = 0;
95794 int UNUSED insn_referenced = abuf->written;
95795 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95797 return cycles;
95798 #undef FLD
95801 static int
95802 model_simple_fcbulelr (SIM_CPU *current_cpu, void *sem_arg)
95804 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95805 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95806 const IDESC * UNUSED idesc = abuf->idesc;
95807 int cycles = 0;
95809 int referenced = 0;
95810 int UNUSED insn_referenced = abuf->written;
95811 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95813 return cycles;
95814 #undef FLD
95817 static int
95818 model_simple_fcbulr (SIM_CPU *current_cpu, void *sem_arg)
95820 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95821 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95822 const IDESC * UNUSED idesc = abuf->idesc;
95823 int cycles = 0;
95825 int referenced = 0;
95826 int UNUSED insn_referenced = abuf->written;
95827 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95829 return cycles;
95830 #undef FLD
95833 static int
95834 model_simple_fcbolr (SIM_CPU *current_cpu, void *sem_arg)
95836 #define FLD(f) abuf->fields.sfmt_fcbeqlr.f
95837 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95838 const IDESC * UNUSED idesc = abuf->idesc;
95839 int cycles = 0;
95841 int referenced = 0;
95842 int UNUSED insn_referenced = abuf->written;
95843 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95845 return cycles;
95846 #undef FLD
95849 static int
95850 model_simple_jmpl (SIM_CPU *current_cpu, void *sem_arg)
95852 #define FLD(f) abuf->fields.sfmt_cjmpl.f
95853 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95854 const IDESC * UNUSED idesc = abuf->idesc;
95855 int cycles = 0;
95857 int referenced = 0;
95858 int UNUSED insn_referenced = abuf->written;
95859 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95861 return cycles;
95862 #undef FLD
95865 static int
95866 model_simple_calll (SIM_CPU *current_cpu, void *sem_arg)
95868 #define FLD(f) abuf->fields.sfmt_cjmpl.f
95869 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95870 const IDESC * UNUSED idesc = abuf->idesc;
95871 int cycles = 0;
95873 int referenced = 0;
95874 int UNUSED insn_referenced = abuf->written;
95875 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95877 return cycles;
95878 #undef FLD
95881 static int
95882 model_simple_jmpil (SIM_CPU *current_cpu, void *sem_arg)
95884 #define FLD(f) abuf->fields.sfmt_jmpil.f
95885 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95886 const IDESC * UNUSED idesc = abuf->idesc;
95887 int cycles = 0;
95889 int referenced = 0;
95890 int UNUSED insn_referenced = abuf->written;
95891 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95893 return cycles;
95894 #undef FLD
95897 static int
95898 model_simple_callil (SIM_CPU *current_cpu, void *sem_arg)
95900 #define FLD(f) abuf->fields.sfmt_jmpil.f
95901 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95902 const IDESC * UNUSED idesc = abuf->idesc;
95903 int cycles = 0;
95905 int referenced = 0;
95906 int UNUSED insn_referenced = abuf->written;
95907 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95909 return cycles;
95910 #undef FLD
95913 static int
95914 model_simple_call (SIM_CPU *current_cpu, void *sem_arg)
95916 #define FLD(f) abuf->fields.sfmt_call.f
95917 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95918 const IDESC * UNUSED idesc = abuf->idesc;
95919 int cycles = 0;
95921 int referenced = 0;
95922 int UNUSED insn_referenced = abuf->written;
95923 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95925 return cycles;
95926 #undef FLD
95929 static int
95930 model_simple_rett (SIM_CPU *current_cpu, void *sem_arg)
95932 #define FLD(f) abuf->fields.sfmt_rett.f
95933 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95934 const IDESC * UNUSED idesc = abuf->idesc;
95935 int cycles = 0;
95937 int referenced = 0;
95938 int UNUSED insn_referenced = abuf->written;
95939 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95941 return cycles;
95942 #undef FLD
95945 static int
95946 model_simple_rei (SIM_CPU *current_cpu, void *sem_arg)
95948 #define FLD(f) abuf->fields.sfmt_empty.f
95949 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95950 const IDESC * UNUSED idesc = abuf->idesc;
95951 int cycles = 0;
95953 int referenced = 0;
95954 int UNUSED insn_referenced = abuf->written;
95955 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95957 return cycles;
95958 #undef FLD
95961 static int
95962 model_simple_tra (SIM_CPU *current_cpu, void *sem_arg)
95964 #define FLD(f) abuf->fields.sfmt_ftne.f
95965 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95966 const IDESC * UNUSED idesc = abuf->idesc;
95967 int cycles = 0;
95969 int referenced = 0;
95970 int UNUSED insn_referenced = abuf->written;
95971 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95973 return cycles;
95974 #undef FLD
95977 static int
95978 model_simple_tno (SIM_CPU *current_cpu, void *sem_arg)
95980 #define FLD(f) abuf->fields.sfmt_empty.f
95981 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95982 const IDESC * UNUSED idesc = abuf->idesc;
95983 int cycles = 0;
95985 int referenced = 0;
95986 int UNUSED insn_referenced = abuf->written;
95987 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
95989 return cycles;
95990 #undef FLD
95993 static int
95994 model_simple_teq (SIM_CPU *current_cpu, void *sem_arg)
95996 #define FLD(f) abuf->fields.sfmt_teq.f
95997 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
95998 const IDESC * UNUSED idesc = abuf->idesc;
95999 int cycles = 0;
96001 int referenced = 0;
96002 int UNUSED insn_referenced = abuf->written;
96003 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96005 return cycles;
96006 #undef FLD
96009 static int
96010 model_simple_tne (SIM_CPU *current_cpu, void *sem_arg)
96012 #define FLD(f) abuf->fields.sfmt_teq.f
96013 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96014 const IDESC * UNUSED idesc = abuf->idesc;
96015 int cycles = 0;
96017 int referenced = 0;
96018 int UNUSED insn_referenced = abuf->written;
96019 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96021 return cycles;
96022 #undef FLD
96025 static int
96026 model_simple_tle (SIM_CPU *current_cpu, void *sem_arg)
96028 #define FLD(f) abuf->fields.sfmt_teq.f
96029 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96030 const IDESC * UNUSED idesc = abuf->idesc;
96031 int cycles = 0;
96033 int referenced = 0;
96034 int UNUSED insn_referenced = abuf->written;
96035 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96037 return cycles;
96038 #undef FLD
96041 static int
96042 model_simple_tgt (SIM_CPU *current_cpu, void *sem_arg)
96044 #define FLD(f) abuf->fields.sfmt_teq.f
96045 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96046 const IDESC * UNUSED idesc = abuf->idesc;
96047 int cycles = 0;
96049 int referenced = 0;
96050 int UNUSED insn_referenced = abuf->written;
96051 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96053 return cycles;
96054 #undef FLD
96057 static int
96058 model_simple_tlt (SIM_CPU *current_cpu, void *sem_arg)
96060 #define FLD(f) abuf->fields.sfmt_teq.f
96061 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96062 const IDESC * UNUSED idesc = abuf->idesc;
96063 int cycles = 0;
96065 int referenced = 0;
96066 int UNUSED insn_referenced = abuf->written;
96067 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96069 return cycles;
96070 #undef FLD
96073 static int
96074 model_simple_tge (SIM_CPU *current_cpu, void *sem_arg)
96076 #define FLD(f) abuf->fields.sfmt_teq.f
96077 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96078 const IDESC * UNUSED idesc = abuf->idesc;
96079 int cycles = 0;
96081 int referenced = 0;
96082 int UNUSED insn_referenced = abuf->written;
96083 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96085 return cycles;
96086 #undef FLD
96089 static int
96090 model_simple_tls (SIM_CPU *current_cpu, void *sem_arg)
96092 #define FLD(f) abuf->fields.sfmt_teq.f
96093 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96094 const IDESC * UNUSED idesc = abuf->idesc;
96095 int cycles = 0;
96097 int referenced = 0;
96098 int UNUSED insn_referenced = abuf->written;
96099 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96101 return cycles;
96102 #undef FLD
96105 static int
96106 model_simple_thi (SIM_CPU *current_cpu, void *sem_arg)
96108 #define FLD(f) abuf->fields.sfmt_teq.f
96109 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96110 const IDESC * UNUSED idesc = abuf->idesc;
96111 int cycles = 0;
96113 int referenced = 0;
96114 int UNUSED insn_referenced = abuf->written;
96115 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96117 return cycles;
96118 #undef FLD
96121 static int
96122 model_simple_tc (SIM_CPU *current_cpu, void *sem_arg)
96124 #define FLD(f) abuf->fields.sfmt_teq.f
96125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96126 const IDESC * UNUSED idesc = abuf->idesc;
96127 int cycles = 0;
96129 int referenced = 0;
96130 int UNUSED insn_referenced = abuf->written;
96131 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96133 return cycles;
96134 #undef FLD
96137 static int
96138 model_simple_tnc (SIM_CPU *current_cpu, void *sem_arg)
96140 #define FLD(f) abuf->fields.sfmt_teq.f
96141 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96142 const IDESC * UNUSED idesc = abuf->idesc;
96143 int cycles = 0;
96145 int referenced = 0;
96146 int UNUSED insn_referenced = abuf->written;
96147 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96149 return cycles;
96150 #undef FLD
96153 static int
96154 model_simple_tn (SIM_CPU *current_cpu, void *sem_arg)
96156 #define FLD(f) abuf->fields.sfmt_teq.f
96157 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96158 const IDESC * UNUSED idesc = abuf->idesc;
96159 int cycles = 0;
96161 int referenced = 0;
96162 int UNUSED insn_referenced = abuf->written;
96163 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96165 return cycles;
96166 #undef FLD
96169 static int
96170 model_simple_tp (SIM_CPU *current_cpu, void *sem_arg)
96172 #define FLD(f) abuf->fields.sfmt_teq.f
96173 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96174 const IDESC * UNUSED idesc = abuf->idesc;
96175 int cycles = 0;
96177 int referenced = 0;
96178 int UNUSED insn_referenced = abuf->written;
96179 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96181 return cycles;
96182 #undef FLD
96185 static int
96186 model_simple_tv (SIM_CPU *current_cpu, void *sem_arg)
96188 #define FLD(f) abuf->fields.sfmt_teq.f
96189 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96190 const IDESC * UNUSED idesc = abuf->idesc;
96191 int cycles = 0;
96193 int referenced = 0;
96194 int UNUSED insn_referenced = abuf->written;
96195 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96197 return cycles;
96198 #undef FLD
96201 static int
96202 model_simple_tnv (SIM_CPU *current_cpu, void *sem_arg)
96204 #define FLD(f) abuf->fields.sfmt_teq.f
96205 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96206 const IDESC * UNUSED idesc = abuf->idesc;
96207 int cycles = 0;
96209 int referenced = 0;
96210 int UNUSED insn_referenced = abuf->written;
96211 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96213 return cycles;
96214 #undef FLD
96217 static int
96218 model_simple_ftra (SIM_CPU *current_cpu, void *sem_arg)
96220 #define FLD(f) abuf->fields.sfmt_ftne.f
96221 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96222 const IDESC * UNUSED idesc = abuf->idesc;
96223 int cycles = 0;
96225 int referenced = 0;
96226 int UNUSED insn_referenced = abuf->written;
96227 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96229 return cycles;
96230 #undef FLD
96233 static int
96234 model_simple_ftno (SIM_CPU *current_cpu, void *sem_arg)
96236 #define FLD(f) abuf->fields.sfmt_empty.f
96237 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96238 const IDESC * UNUSED idesc = abuf->idesc;
96239 int cycles = 0;
96241 int referenced = 0;
96242 int UNUSED insn_referenced = abuf->written;
96243 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96245 return cycles;
96246 #undef FLD
96249 static int
96250 model_simple_ftne (SIM_CPU *current_cpu, void *sem_arg)
96252 #define FLD(f) abuf->fields.sfmt_ftne.f
96253 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96254 const IDESC * UNUSED idesc = abuf->idesc;
96255 int cycles = 0;
96257 int referenced = 0;
96258 int UNUSED insn_referenced = abuf->written;
96259 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96261 return cycles;
96262 #undef FLD
96265 static int
96266 model_simple_fteq (SIM_CPU *current_cpu, void *sem_arg)
96268 #define FLD(f) abuf->fields.sfmt_ftne.f
96269 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96270 const IDESC * UNUSED idesc = abuf->idesc;
96271 int cycles = 0;
96273 int referenced = 0;
96274 int UNUSED insn_referenced = abuf->written;
96275 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96277 return cycles;
96278 #undef FLD
96281 static int
96282 model_simple_ftlg (SIM_CPU *current_cpu, void *sem_arg)
96284 #define FLD(f) abuf->fields.sfmt_ftne.f
96285 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96286 const IDESC * UNUSED idesc = abuf->idesc;
96287 int cycles = 0;
96289 int referenced = 0;
96290 int UNUSED insn_referenced = abuf->written;
96291 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96293 return cycles;
96294 #undef FLD
96297 static int
96298 model_simple_ftue (SIM_CPU *current_cpu, void *sem_arg)
96300 #define FLD(f) abuf->fields.sfmt_ftne.f
96301 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96302 const IDESC * UNUSED idesc = abuf->idesc;
96303 int cycles = 0;
96305 int referenced = 0;
96306 int UNUSED insn_referenced = abuf->written;
96307 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96309 return cycles;
96310 #undef FLD
96313 static int
96314 model_simple_ftul (SIM_CPU *current_cpu, void *sem_arg)
96316 #define FLD(f) abuf->fields.sfmt_ftne.f
96317 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96318 const IDESC * UNUSED idesc = abuf->idesc;
96319 int cycles = 0;
96321 int referenced = 0;
96322 int UNUSED insn_referenced = abuf->written;
96323 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96325 return cycles;
96326 #undef FLD
96329 static int
96330 model_simple_ftge (SIM_CPU *current_cpu, void *sem_arg)
96332 #define FLD(f) abuf->fields.sfmt_ftne.f
96333 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96334 const IDESC * UNUSED idesc = abuf->idesc;
96335 int cycles = 0;
96337 int referenced = 0;
96338 int UNUSED insn_referenced = abuf->written;
96339 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96341 return cycles;
96342 #undef FLD
96345 static int
96346 model_simple_ftlt (SIM_CPU *current_cpu, void *sem_arg)
96348 #define FLD(f) abuf->fields.sfmt_ftne.f
96349 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96350 const IDESC * UNUSED idesc = abuf->idesc;
96351 int cycles = 0;
96353 int referenced = 0;
96354 int UNUSED insn_referenced = abuf->written;
96355 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96357 return cycles;
96358 #undef FLD
96361 static int
96362 model_simple_ftuge (SIM_CPU *current_cpu, void *sem_arg)
96364 #define FLD(f) abuf->fields.sfmt_ftne.f
96365 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96366 const IDESC * UNUSED idesc = abuf->idesc;
96367 int cycles = 0;
96369 int referenced = 0;
96370 int UNUSED insn_referenced = abuf->written;
96371 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96373 return cycles;
96374 #undef FLD
96377 static int
96378 model_simple_ftug (SIM_CPU *current_cpu, void *sem_arg)
96380 #define FLD(f) abuf->fields.sfmt_ftne.f
96381 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96382 const IDESC * UNUSED idesc = abuf->idesc;
96383 int cycles = 0;
96385 int referenced = 0;
96386 int UNUSED insn_referenced = abuf->written;
96387 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96389 return cycles;
96390 #undef FLD
96393 static int
96394 model_simple_ftle (SIM_CPU *current_cpu, void *sem_arg)
96396 #define FLD(f) abuf->fields.sfmt_ftne.f
96397 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96398 const IDESC * UNUSED idesc = abuf->idesc;
96399 int cycles = 0;
96401 int referenced = 0;
96402 int UNUSED insn_referenced = abuf->written;
96403 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96405 return cycles;
96406 #undef FLD
96409 static int
96410 model_simple_ftgt (SIM_CPU *current_cpu, void *sem_arg)
96412 #define FLD(f) abuf->fields.sfmt_ftne.f
96413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96414 const IDESC * UNUSED idesc = abuf->idesc;
96415 int cycles = 0;
96417 int referenced = 0;
96418 int UNUSED insn_referenced = abuf->written;
96419 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96421 return cycles;
96422 #undef FLD
96425 static int
96426 model_simple_ftule (SIM_CPU *current_cpu, void *sem_arg)
96428 #define FLD(f) abuf->fields.sfmt_ftne.f
96429 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96430 const IDESC * UNUSED idesc = abuf->idesc;
96431 int cycles = 0;
96433 int referenced = 0;
96434 int UNUSED insn_referenced = abuf->written;
96435 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96437 return cycles;
96438 #undef FLD
96441 static int
96442 model_simple_ftu (SIM_CPU *current_cpu, void *sem_arg)
96444 #define FLD(f) abuf->fields.sfmt_ftne.f
96445 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96446 const IDESC * UNUSED idesc = abuf->idesc;
96447 int cycles = 0;
96449 int referenced = 0;
96450 int UNUSED insn_referenced = abuf->written;
96451 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96453 return cycles;
96454 #undef FLD
96457 static int
96458 model_simple_fto (SIM_CPU *current_cpu, void *sem_arg)
96460 #define FLD(f) abuf->fields.sfmt_ftne.f
96461 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96462 const IDESC * UNUSED idesc = abuf->idesc;
96463 int cycles = 0;
96465 int referenced = 0;
96466 int UNUSED insn_referenced = abuf->written;
96467 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96469 return cycles;
96470 #undef FLD
96473 static int
96474 model_simple_tira (SIM_CPU *current_cpu, void *sem_arg)
96476 #define FLD(f) abuf->fields.sfmt_ftine.f
96477 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96478 const IDESC * UNUSED idesc = abuf->idesc;
96479 int cycles = 0;
96481 int referenced = 0;
96482 int UNUSED insn_referenced = abuf->written;
96483 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96485 return cycles;
96486 #undef FLD
96489 static int
96490 model_simple_tino (SIM_CPU *current_cpu, void *sem_arg)
96492 #define FLD(f) abuf->fields.sfmt_empty.f
96493 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96494 const IDESC * UNUSED idesc = abuf->idesc;
96495 int cycles = 0;
96497 int referenced = 0;
96498 int UNUSED insn_referenced = abuf->written;
96499 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96501 return cycles;
96502 #undef FLD
96505 static int
96506 model_simple_tieq (SIM_CPU *current_cpu, void *sem_arg)
96508 #define FLD(f) abuf->fields.sfmt_tieq.f
96509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96510 const IDESC * UNUSED idesc = abuf->idesc;
96511 int cycles = 0;
96513 int referenced = 0;
96514 int UNUSED insn_referenced = abuf->written;
96515 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96517 return cycles;
96518 #undef FLD
96521 static int
96522 model_simple_tine (SIM_CPU *current_cpu, void *sem_arg)
96524 #define FLD(f) abuf->fields.sfmt_tieq.f
96525 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96526 const IDESC * UNUSED idesc = abuf->idesc;
96527 int cycles = 0;
96529 int referenced = 0;
96530 int UNUSED insn_referenced = abuf->written;
96531 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96533 return cycles;
96534 #undef FLD
96537 static int
96538 model_simple_tile (SIM_CPU *current_cpu, void *sem_arg)
96540 #define FLD(f) abuf->fields.sfmt_tieq.f
96541 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96542 const IDESC * UNUSED idesc = abuf->idesc;
96543 int cycles = 0;
96545 int referenced = 0;
96546 int UNUSED insn_referenced = abuf->written;
96547 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96549 return cycles;
96550 #undef FLD
96553 static int
96554 model_simple_tigt (SIM_CPU *current_cpu, void *sem_arg)
96556 #define FLD(f) abuf->fields.sfmt_tieq.f
96557 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96558 const IDESC * UNUSED idesc = abuf->idesc;
96559 int cycles = 0;
96561 int referenced = 0;
96562 int UNUSED insn_referenced = abuf->written;
96563 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96565 return cycles;
96566 #undef FLD
96569 static int
96570 model_simple_tilt (SIM_CPU *current_cpu, void *sem_arg)
96572 #define FLD(f) abuf->fields.sfmt_tieq.f
96573 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96574 const IDESC * UNUSED idesc = abuf->idesc;
96575 int cycles = 0;
96577 int referenced = 0;
96578 int UNUSED insn_referenced = abuf->written;
96579 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96581 return cycles;
96582 #undef FLD
96585 static int
96586 model_simple_tige (SIM_CPU *current_cpu, void *sem_arg)
96588 #define FLD(f) abuf->fields.sfmt_tieq.f
96589 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96590 const IDESC * UNUSED idesc = abuf->idesc;
96591 int cycles = 0;
96593 int referenced = 0;
96594 int UNUSED insn_referenced = abuf->written;
96595 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96597 return cycles;
96598 #undef FLD
96601 static int
96602 model_simple_tils (SIM_CPU *current_cpu, void *sem_arg)
96604 #define FLD(f) abuf->fields.sfmt_tieq.f
96605 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96606 const IDESC * UNUSED idesc = abuf->idesc;
96607 int cycles = 0;
96609 int referenced = 0;
96610 int UNUSED insn_referenced = abuf->written;
96611 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96613 return cycles;
96614 #undef FLD
96617 static int
96618 model_simple_tihi (SIM_CPU *current_cpu, void *sem_arg)
96620 #define FLD(f) abuf->fields.sfmt_tieq.f
96621 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96622 const IDESC * UNUSED idesc = abuf->idesc;
96623 int cycles = 0;
96625 int referenced = 0;
96626 int UNUSED insn_referenced = abuf->written;
96627 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96629 return cycles;
96630 #undef FLD
96633 static int
96634 model_simple_tic (SIM_CPU *current_cpu, void *sem_arg)
96636 #define FLD(f) abuf->fields.sfmt_tieq.f
96637 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96638 const IDESC * UNUSED idesc = abuf->idesc;
96639 int cycles = 0;
96641 int referenced = 0;
96642 int UNUSED insn_referenced = abuf->written;
96643 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96645 return cycles;
96646 #undef FLD
96649 static int
96650 model_simple_tinc (SIM_CPU *current_cpu, void *sem_arg)
96652 #define FLD(f) abuf->fields.sfmt_tieq.f
96653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96654 const IDESC * UNUSED idesc = abuf->idesc;
96655 int cycles = 0;
96657 int referenced = 0;
96658 int UNUSED insn_referenced = abuf->written;
96659 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96661 return cycles;
96662 #undef FLD
96665 static int
96666 model_simple_tin (SIM_CPU *current_cpu, void *sem_arg)
96668 #define FLD(f) abuf->fields.sfmt_tieq.f
96669 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96670 const IDESC * UNUSED idesc = abuf->idesc;
96671 int cycles = 0;
96673 int referenced = 0;
96674 int UNUSED insn_referenced = abuf->written;
96675 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96677 return cycles;
96678 #undef FLD
96681 static int
96682 model_simple_tip (SIM_CPU *current_cpu, void *sem_arg)
96684 #define FLD(f) abuf->fields.sfmt_tieq.f
96685 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96686 const IDESC * UNUSED idesc = abuf->idesc;
96687 int cycles = 0;
96689 int referenced = 0;
96690 int UNUSED insn_referenced = abuf->written;
96691 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96693 return cycles;
96694 #undef FLD
96697 static int
96698 model_simple_tiv (SIM_CPU *current_cpu, void *sem_arg)
96700 #define FLD(f) abuf->fields.sfmt_tieq.f
96701 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96702 const IDESC * UNUSED idesc = abuf->idesc;
96703 int cycles = 0;
96705 int referenced = 0;
96706 int UNUSED insn_referenced = abuf->written;
96707 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96709 return cycles;
96710 #undef FLD
96713 static int
96714 model_simple_tinv (SIM_CPU *current_cpu, void *sem_arg)
96716 #define FLD(f) abuf->fields.sfmt_tieq.f
96717 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96718 const IDESC * UNUSED idesc = abuf->idesc;
96719 int cycles = 0;
96721 int referenced = 0;
96722 int UNUSED insn_referenced = abuf->written;
96723 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96725 return cycles;
96726 #undef FLD
96729 static int
96730 model_simple_ftira (SIM_CPU *current_cpu, void *sem_arg)
96732 #define FLD(f) abuf->fields.sfmt_ftine.f
96733 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96734 const IDESC * UNUSED idesc = abuf->idesc;
96735 int cycles = 0;
96737 int referenced = 0;
96738 int UNUSED insn_referenced = abuf->written;
96739 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96741 return cycles;
96742 #undef FLD
96745 static int
96746 model_simple_ftino (SIM_CPU *current_cpu, void *sem_arg)
96748 #define FLD(f) abuf->fields.sfmt_empty.f
96749 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96750 const IDESC * UNUSED idesc = abuf->idesc;
96751 int cycles = 0;
96753 int referenced = 0;
96754 int UNUSED insn_referenced = abuf->written;
96755 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96757 return cycles;
96758 #undef FLD
96761 static int
96762 model_simple_ftine (SIM_CPU *current_cpu, void *sem_arg)
96764 #define FLD(f) abuf->fields.sfmt_ftine.f
96765 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96766 const IDESC * UNUSED idesc = abuf->idesc;
96767 int cycles = 0;
96769 int referenced = 0;
96770 int UNUSED insn_referenced = abuf->written;
96771 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96773 return cycles;
96774 #undef FLD
96777 static int
96778 model_simple_ftieq (SIM_CPU *current_cpu, void *sem_arg)
96780 #define FLD(f) abuf->fields.sfmt_ftine.f
96781 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96782 const IDESC * UNUSED idesc = abuf->idesc;
96783 int cycles = 0;
96785 int referenced = 0;
96786 int UNUSED insn_referenced = abuf->written;
96787 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96789 return cycles;
96790 #undef FLD
96793 static int
96794 model_simple_ftilg (SIM_CPU *current_cpu, void *sem_arg)
96796 #define FLD(f) abuf->fields.sfmt_ftine.f
96797 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96798 const IDESC * UNUSED idesc = abuf->idesc;
96799 int cycles = 0;
96801 int referenced = 0;
96802 int UNUSED insn_referenced = abuf->written;
96803 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96805 return cycles;
96806 #undef FLD
96809 static int
96810 model_simple_ftiue (SIM_CPU *current_cpu, void *sem_arg)
96812 #define FLD(f) abuf->fields.sfmt_ftine.f
96813 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96814 const IDESC * UNUSED idesc = abuf->idesc;
96815 int cycles = 0;
96817 int referenced = 0;
96818 int UNUSED insn_referenced = abuf->written;
96819 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96821 return cycles;
96822 #undef FLD
96825 static int
96826 model_simple_ftiul (SIM_CPU *current_cpu, void *sem_arg)
96828 #define FLD(f) abuf->fields.sfmt_ftine.f
96829 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96830 const IDESC * UNUSED idesc = abuf->idesc;
96831 int cycles = 0;
96833 int referenced = 0;
96834 int UNUSED insn_referenced = abuf->written;
96835 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96837 return cycles;
96838 #undef FLD
96841 static int
96842 model_simple_ftige (SIM_CPU *current_cpu, void *sem_arg)
96844 #define FLD(f) abuf->fields.sfmt_ftine.f
96845 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96846 const IDESC * UNUSED idesc = abuf->idesc;
96847 int cycles = 0;
96849 int referenced = 0;
96850 int UNUSED insn_referenced = abuf->written;
96851 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96853 return cycles;
96854 #undef FLD
96857 static int
96858 model_simple_ftilt (SIM_CPU *current_cpu, void *sem_arg)
96860 #define FLD(f) abuf->fields.sfmt_ftine.f
96861 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96862 const IDESC * UNUSED idesc = abuf->idesc;
96863 int cycles = 0;
96865 int referenced = 0;
96866 int UNUSED insn_referenced = abuf->written;
96867 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96869 return cycles;
96870 #undef FLD
96873 static int
96874 model_simple_ftiuge (SIM_CPU *current_cpu, void *sem_arg)
96876 #define FLD(f) abuf->fields.sfmt_ftine.f
96877 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96878 const IDESC * UNUSED idesc = abuf->idesc;
96879 int cycles = 0;
96881 int referenced = 0;
96882 int UNUSED insn_referenced = abuf->written;
96883 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96885 return cycles;
96886 #undef FLD
96889 static int
96890 model_simple_ftiug (SIM_CPU *current_cpu, void *sem_arg)
96892 #define FLD(f) abuf->fields.sfmt_ftine.f
96893 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96894 const IDESC * UNUSED idesc = abuf->idesc;
96895 int cycles = 0;
96897 int referenced = 0;
96898 int UNUSED insn_referenced = abuf->written;
96899 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96901 return cycles;
96902 #undef FLD
96905 static int
96906 model_simple_ftile (SIM_CPU *current_cpu, void *sem_arg)
96908 #define FLD(f) abuf->fields.sfmt_ftine.f
96909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96910 const IDESC * UNUSED idesc = abuf->idesc;
96911 int cycles = 0;
96913 int referenced = 0;
96914 int UNUSED insn_referenced = abuf->written;
96915 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96917 return cycles;
96918 #undef FLD
96921 static int
96922 model_simple_ftigt (SIM_CPU *current_cpu, void *sem_arg)
96924 #define FLD(f) abuf->fields.sfmt_ftine.f
96925 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96926 const IDESC * UNUSED idesc = abuf->idesc;
96927 int cycles = 0;
96929 int referenced = 0;
96930 int UNUSED insn_referenced = abuf->written;
96931 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96933 return cycles;
96934 #undef FLD
96937 static int
96938 model_simple_ftiule (SIM_CPU *current_cpu, void *sem_arg)
96940 #define FLD(f) abuf->fields.sfmt_ftine.f
96941 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96942 const IDESC * UNUSED idesc = abuf->idesc;
96943 int cycles = 0;
96945 int referenced = 0;
96946 int UNUSED insn_referenced = abuf->written;
96947 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96949 return cycles;
96950 #undef FLD
96953 static int
96954 model_simple_ftiu (SIM_CPU *current_cpu, void *sem_arg)
96956 #define FLD(f) abuf->fields.sfmt_ftine.f
96957 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96958 const IDESC * UNUSED idesc = abuf->idesc;
96959 int cycles = 0;
96961 int referenced = 0;
96962 int UNUSED insn_referenced = abuf->written;
96963 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96965 return cycles;
96966 #undef FLD
96969 static int
96970 model_simple_ftio (SIM_CPU *current_cpu, void *sem_arg)
96972 #define FLD(f) abuf->fields.sfmt_ftine.f
96973 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96974 const IDESC * UNUSED idesc = abuf->idesc;
96975 int cycles = 0;
96977 int referenced = 0;
96978 int UNUSED insn_referenced = abuf->written;
96979 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96981 return cycles;
96982 #undef FLD
96985 static int
96986 model_simple_break (SIM_CPU *current_cpu, void *sem_arg)
96988 #define FLD(f) abuf->fields.sfmt_break.f
96989 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
96990 const IDESC * UNUSED idesc = abuf->idesc;
96991 int cycles = 0;
96993 int referenced = 0;
96994 int UNUSED insn_referenced = abuf->written;
96995 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
96997 return cycles;
96998 #undef FLD
97001 static int
97002 model_simple_mtrap (SIM_CPU *current_cpu, void *sem_arg)
97004 #define FLD(f) abuf->fields.sfmt_empty.f
97005 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97006 const IDESC * UNUSED idesc = abuf->idesc;
97007 int cycles = 0;
97009 int referenced = 0;
97010 int UNUSED insn_referenced = abuf->written;
97011 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97013 return cycles;
97014 #undef FLD
97017 static int
97018 model_simple_andcr (SIM_CPU *current_cpu, void *sem_arg)
97020 #define FLD(f) abuf->fields.sfmt_andcr.f
97021 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97022 const IDESC * UNUSED idesc = abuf->idesc;
97023 int cycles = 0;
97025 int referenced = 0;
97026 int UNUSED insn_referenced = abuf->written;
97027 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97029 return cycles;
97030 #undef FLD
97033 static int
97034 model_simple_orcr (SIM_CPU *current_cpu, void *sem_arg)
97036 #define FLD(f) abuf->fields.sfmt_andcr.f
97037 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97038 const IDESC * UNUSED idesc = abuf->idesc;
97039 int cycles = 0;
97041 int referenced = 0;
97042 int UNUSED insn_referenced = abuf->written;
97043 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97045 return cycles;
97046 #undef FLD
97049 static int
97050 model_simple_xorcr (SIM_CPU *current_cpu, void *sem_arg)
97052 #define FLD(f) abuf->fields.sfmt_andcr.f
97053 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97054 const IDESC * UNUSED idesc = abuf->idesc;
97055 int cycles = 0;
97057 int referenced = 0;
97058 int UNUSED insn_referenced = abuf->written;
97059 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97061 return cycles;
97062 #undef FLD
97065 static int
97066 model_simple_nandcr (SIM_CPU *current_cpu, void *sem_arg)
97068 #define FLD(f) abuf->fields.sfmt_andcr.f
97069 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97070 const IDESC * UNUSED idesc = abuf->idesc;
97071 int cycles = 0;
97073 int referenced = 0;
97074 int UNUSED insn_referenced = abuf->written;
97075 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97077 return cycles;
97078 #undef FLD
97081 static int
97082 model_simple_norcr (SIM_CPU *current_cpu, void *sem_arg)
97084 #define FLD(f) abuf->fields.sfmt_andcr.f
97085 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97086 const IDESC * UNUSED idesc = abuf->idesc;
97087 int cycles = 0;
97089 int referenced = 0;
97090 int UNUSED insn_referenced = abuf->written;
97091 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97093 return cycles;
97094 #undef FLD
97097 static int
97098 model_simple_andncr (SIM_CPU *current_cpu, void *sem_arg)
97100 #define FLD(f) abuf->fields.sfmt_andcr.f
97101 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97102 const IDESC * UNUSED idesc = abuf->idesc;
97103 int cycles = 0;
97105 int referenced = 0;
97106 int UNUSED insn_referenced = abuf->written;
97107 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97109 return cycles;
97110 #undef FLD
97113 static int
97114 model_simple_orncr (SIM_CPU *current_cpu, void *sem_arg)
97116 #define FLD(f) abuf->fields.sfmt_andcr.f
97117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97118 const IDESC * UNUSED idesc = abuf->idesc;
97119 int cycles = 0;
97121 int referenced = 0;
97122 int UNUSED insn_referenced = abuf->written;
97123 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97125 return cycles;
97126 #undef FLD
97129 static int
97130 model_simple_nandncr (SIM_CPU *current_cpu, void *sem_arg)
97132 #define FLD(f) abuf->fields.sfmt_andcr.f
97133 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97134 const IDESC * UNUSED idesc = abuf->idesc;
97135 int cycles = 0;
97137 int referenced = 0;
97138 int UNUSED insn_referenced = abuf->written;
97139 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97141 return cycles;
97142 #undef FLD
97145 static int
97146 model_simple_norncr (SIM_CPU *current_cpu, void *sem_arg)
97148 #define FLD(f) abuf->fields.sfmt_andcr.f
97149 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97150 const IDESC * UNUSED idesc = abuf->idesc;
97151 int cycles = 0;
97153 int referenced = 0;
97154 int UNUSED insn_referenced = abuf->written;
97155 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97157 return cycles;
97158 #undef FLD
97161 static int
97162 model_simple_notcr (SIM_CPU *current_cpu, void *sem_arg)
97164 #define FLD(f) abuf->fields.sfmt_andcr.f
97165 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97166 const IDESC * UNUSED idesc = abuf->idesc;
97167 int cycles = 0;
97169 int referenced = 0;
97170 int UNUSED insn_referenced = abuf->written;
97171 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97173 return cycles;
97174 #undef FLD
97177 static int
97178 model_simple_ckra (SIM_CPU *current_cpu, void *sem_arg)
97180 #define FLD(f) abuf->fields.sfmt_cckeq.f
97181 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97182 const IDESC * UNUSED idesc = abuf->idesc;
97183 int cycles = 0;
97185 int referenced = 0;
97186 int UNUSED insn_referenced = abuf->written;
97187 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97189 return cycles;
97190 #undef FLD
97193 static int
97194 model_simple_ckno (SIM_CPU *current_cpu, void *sem_arg)
97196 #define FLD(f) abuf->fields.sfmt_cckeq.f
97197 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97198 const IDESC * UNUSED idesc = abuf->idesc;
97199 int cycles = 0;
97201 int referenced = 0;
97202 int UNUSED insn_referenced = abuf->written;
97203 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97205 return cycles;
97206 #undef FLD
97209 static int
97210 model_simple_ckeq (SIM_CPU *current_cpu, void *sem_arg)
97212 #define FLD(f) abuf->fields.sfmt_cckeq.f
97213 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97214 const IDESC * UNUSED idesc = abuf->idesc;
97215 int cycles = 0;
97217 int referenced = 0;
97218 int UNUSED insn_referenced = abuf->written;
97219 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97221 return cycles;
97222 #undef FLD
97225 static int
97226 model_simple_ckne (SIM_CPU *current_cpu, void *sem_arg)
97228 #define FLD(f) abuf->fields.sfmt_cckeq.f
97229 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97230 const IDESC * UNUSED idesc = abuf->idesc;
97231 int cycles = 0;
97233 int referenced = 0;
97234 int UNUSED insn_referenced = abuf->written;
97235 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97237 return cycles;
97238 #undef FLD
97241 static int
97242 model_simple_ckle (SIM_CPU *current_cpu, void *sem_arg)
97244 #define FLD(f) abuf->fields.sfmt_cckeq.f
97245 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97246 const IDESC * UNUSED idesc = abuf->idesc;
97247 int cycles = 0;
97249 int referenced = 0;
97250 int UNUSED insn_referenced = abuf->written;
97251 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97253 return cycles;
97254 #undef FLD
97257 static int
97258 model_simple_ckgt (SIM_CPU *current_cpu, void *sem_arg)
97260 #define FLD(f) abuf->fields.sfmt_cckeq.f
97261 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97262 const IDESC * UNUSED idesc = abuf->idesc;
97263 int cycles = 0;
97265 int referenced = 0;
97266 int UNUSED insn_referenced = abuf->written;
97267 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97269 return cycles;
97270 #undef FLD
97273 static int
97274 model_simple_cklt (SIM_CPU *current_cpu, void *sem_arg)
97276 #define FLD(f) abuf->fields.sfmt_cckeq.f
97277 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97278 const IDESC * UNUSED idesc = abuf->idesc;
97279 int cycles = 0;
97281 int referenced = 0;
97282 int UNUSED insn_referenced = abuf->written;
97283 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97285 return cycles;
97286 #undef FLD
97289 static int
97290 model_simple_ckge (SIM_CPU *current_cpu, void *sem_arg)
97292 #define FLD(f) abuf->fields.sfmt_cckeq.f
97293 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97294 const IDESC * UNUSED idesc = abuf->idesc;
97295 int cycles = 0;
97297 int referenced = 0;
97298 int UNUSED insn_referenced = abuf->written;
97299 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97301 return cycles;
97302 #undef FLD
97305 static int
97306 model_simple_ckls (SIM_CPU *current_cpu, void *sem_arg)
97308 #define FLD(f) abuf->fields.sfmt_cckeq.f
97309 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97310 const IDESC * UNUSED idesc = abuf->idesc;
97311 int cycles = 0;
97313 int referenced = 0;
97314 int UNUSED insn_referenced = abuf->written;
97315 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97317 return cycles;
97318 #undef FLD
97321 static int
97322 model_simple_ckhi (SIM_CPU *current_cpu, void *sem_arg)
97324 #define FLD(f) abuf->fields.sfmt_cckeq.f
97325 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97326 const IDESC * UNUSED idesc = abuf->idesc;
97327 int cycles = 0;
97329 int referenced = 0;
97330 int UNUSED insn_referenced = abuf->written;
97331 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97333 return cycles;
97334 #undef FLD
97337 static int
97338 model_simple_ckc (SIM_CPU *current_cpu, void *sem_arg)
97340 #define FLD(f) abuf->fields.sfmt_cckeq.f
97341 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97342 const IDESC * UNUSED idesc = abuf->idesc;
97343 int cycles = 0;
97345 int referenced = 0;
97346 int UNUSED insn_referenced = abuf->written;
97347 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97349 return cycles;
97350 #undef FLD
97353 static int
97354 model_simple_cknc (SIM_CPU *current_cpu, void *sem_arg)
97356 #define FLD(f) abuf->fields.sfmt_cckeq.f
97357 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97358 const IDESC * UNUSED idesc = abuf->idesc;
97359 int cycles = 0;
97361 int referenced = 0;
97362 int UNUSED insn_referenced = abuf->written;
97363 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97365 return cycles;
97366 #undef FLD
97369 static int
97370 model_simple_ckn (SIM_CPU *current_cpu, void *sem_arg)
97372 #define FLD(f) abuf->fields.sfmt_cckeq.f
97373 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97374 const IDESC * UNUSED idesc = abuf->idesc;
97375 int cycles = 0;
97377 int referenced = 0;
97378 int UNUSED insn_referenced = abuf->written;
97379 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97381 return cycles;
97382 #undef FLD
97385 static int
97386 model_simple_ckp (SIM_CPU *current_cpu, void *sem_arg)
97388 #define FLD(f) abuf->fields.sfmt_cckeq.f
97389 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97390 const IDESC * UNUSED idesc = abuf->idesc;
97391 int cycles = 0;
97393 int referenced = 0;
97394 int UNUSED insn_referenced = abuf->written;
97395 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97397 return cycles;
97398 #undef FLD
97401 static int
97402 model_simple_ckv (SIM_CPU *current_cpu, void *sem_arg)
97404 #define FLD(f) abuf->fields.sfmt_cckeq.f
97405 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97406 const IDESC * UNUSED idesc = abuf->idesc;
97407 int cycles = 0;
97409 int referenced = 0;
97410 int UNUSED insn_referenced = abuf->written;
97411 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97413 return cycles;
97414 #undef FLD
97417 static int
97418 model_simple_cknv (SIM_CPU *current_cpu, void *sem_arg)
97420 #define FLD(f) abuf->fields.sfmt_cckeq.f
97421 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97422 const IDESC * UNUSED idesc = abuf->idesc;
97423 int cycles = 0;
97425 int referenced = 0;
97426 int UNUSED insn_referenced = abuf->written;
97427 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97429 return cycles;
97430 #undef FLD
97433 static int
97434 model_simple_fckra (SIM_CPU *current_cpu, void *sem_arg)
97436 #define FLD(f) abuf->fields.sfmt_cfckne.f
97437 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97438 const IDESC * UNUSED idesc = abuf->idesc;
97439 int cycles = 0;
97441 int referenced = 0;
97442 int UNUSED insn_referenced = abuf->written;
97443 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97445 return cycles;
97446 #undef FLD
97449 static int
97450 model_simple_fckno (SIM_CPU *current_cpu, void *sem_arg)
97452 #define FLD(f) abuf->fields.sfmt_cfckne.f
97453 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97454 const IDESC * UNUSED idesc = abuf->idesc;
97455 int cycles = 0;
97457 int referenced = 0;
97458 int UNUSED insn_referenced = abuf->written;
97459 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97461 return cycles;
97462 #undef FLD
97465 static int
97466 model_simple_fckne (SIM_CPU *current_cpu, void *sem_arg)
97468 #define FLD(f) abuf->fields.sfmt_cfckne.f
97469 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97470 const IDESC * UNUSED idesc = abuf->idesc;
97471 int cycles = 0;
97473 int referenced = 0;
97474 int UNUSED insn_referenced = abuf->written;
97475 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97477 return cycles;
97478 #undef FLD
97481 static int
97482 model_simple_fckeq (SIM_CPU *current_cpu, void *sem_arg)
97484 #define FLD(f) abuf->fields.sfmt_cfckne.f
97485 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97486 const IDESC * UNUSED idesc = abuf->idesc;
97487 int cycles = 0;
97489 int referenced = 0;
97490 int UNUSED insn_referenced = abuf->written;
97491 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97493 return cycles;
97494 #undef FLD
97497 static int
97498 model_simple_fcklg (SIM_CPU *current_cpu, void *sem_arg)
97500 #define FLD(f) abuf->fields.sfmt_cfckne.f
97501 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97502 const IDESC * UNUSED idesc = abuf->idesc;
97503 int cycles = 0;
97505 int referenced = 0;
97506 int UNUSED insn_referenced = abuf->written;
97507 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97509 return cycles;
97510 #undef FLD
97513 static int
97514 model_simple_fckue (SIM_CPU *current_cpu, void *sem_arg)
97516 #define FLD(f) abuf->fields.sfmt_cfckne.f
97517 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97518 const IDESC * UNUSED idesc = abuf->idesc;
97519 int cycles = 0;
97521 int referenced = 0;
97522 int UNUSED insn_referenced = abuf->written;
97523 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97525 return cycles;
97526 #undef FLD
97529 static int
97530 model_simple_fckul (SIM_CPU *current_cpu, void *sem_arg)
97532 #define FLD(f) abuf->fields.sfmt_cfckne.f
97533 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97534 const IDESC * UNUSED idesc = abuf->idesc;
97535 int cycles = 0;
97537 int referenced = 0;
97538 int UNUSED insn_referenced = abuf->written;
97539 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97541 return cycles;
97542 #undef FLD
97545 static int
97546 model_simple_fckge (SIM_CPU *current_cpu, void *sem_arg)
97548 #define FLD(f) abuf->fields.sfmt_cfckne.f
97549 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97550 const IDESC * UNUSED idesc = abuf->idesc;
97551 int cycles = 0;
97553 int referenced = 0;
97554 int UNUSED insn_referenced = abuf->written;
97555 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97557 return cycles;
97558 #undef FLD
97561 static int
97562 model_simple_fcklt (SIM_CPU *current_cpu, void *sem_arg)
97564 #define FLD(f) abuf->fields.sfmt_cfckne.f
97565 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97566 const IDESC * UNUSED idesc = abuf->idesc;
97567 int cycles = 0;
97569 int referenced = 0;
97570 int UNUSED insn_referenced = abuf->written;
97571 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97573 return cycles;
97574 #undef FLD
97577 static int
97578 model_simple_fckuge (SIM_CPU *current_cpu, void *sem_arg)
97580 #define FLD(f) abuf->fields.sfmt_cfckne.f
97581 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97582 const IDESC * UNUSED idesc = abuf->idesc;
97583 int cycles = 0;
97585 int referenced = 0;
97586 int UNUSED insn_referenced = abuf->written;
97587 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97589 return cycles;
97590 #undef FLD
97593 static int
97594 model_simple_fckug (SIM_CPU *current_cpu, void *sem_arg)
97596 #define FLD(f) abuf->fields.sfmt_cfckne.f
97597 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97598 const IDESC * UNUSED idesc = abuf->idesc;
97599 int cycles = 0;
97601 int referenced = 0;
97602 int UNUSED insn_referenced = abuf->written;
97603 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97605 return cycles;
97606 #undef FLD
97609 static int
97610 model_simple_fckle (SIM_CPU *current_cpu, void *sem_arg)
97612 #define FLD(f) abuf->fields.sfmt_cfckne.f
97613 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97614 const IDESC * UNUSED idesc = abuf->idesc;
97615 int cycles = 0;
97617 int referenced = 0;
97618 int UNUSED insn_referenced = abuf->written;
97619 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97621 return cycles;
97622 #undef FLD
97625 static int
97626 model_simple_fckgt (SIM_CPU *current_cpu, void *sem_arg)
97628 #define FLD(f) abuf->fields.sfmt_cfckne.f
97629 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97630 const IDESC * UNUSED idesc = abuf->idesc;
97631 int cycles = 0;
97633 int referenced = 0;
97634 int UNUSED insn_referenced = abuf->written;
97635 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97637 return cycles;
97638 #undef FLD
97641 static int
97642 model_simple_fckule (SIM_CPU *current_cpu, void *sem_arg)
97644 #define FLD(f) abuf->fields.sfmt_cfckne.f
97645 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97646 const IDESC * UNUSED idesc = abuf->idesc;
97647 int cycles = 0;
97649 int referenced = 0;
97650 int UNUSED insn_referenced = abuf->written;
97651 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97653 return cycles;
97654 #undef FLD
97657 static int
97658 model_simple_fcku (SIM_CPU *current_cpu, void *sem_arg)
97660 #define FLD(f) abuf->fields.sfmt_cfckne.f
97661 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97662 const IDESC * UNUSED idesc = abuf->idesc;
97663 int cycles = 0;
97665 int referenced = 0;
97666 int UNUSED insn_referenced = abuf->written;
97667 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97669 return cycles;
97670 #undef FLD
97673 static int
97674 model_simple_fcko (SIM_CPU *current_cpu, void *sem_arg)
97676 #define FLD(f) abuf->fields.sfmt_cfckne.f
97677 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97678 const IDESC * UNUSED idesc = abuf->idesc;
97679 int cycles = 0;
97681 int referenced = 0;
97682 int UNUSED insn_referenced = abuf->written;
97683 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97685 return cycles;
97686 #undef FLD
97689 static int
97690 model_simple_cckra (SIM_CPU *current_cpu, void *sem_arg)
97692 #define FLD(f) abuf->fields.sfmt_cckeq.f
97693 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97694 const IDESC * UNUSED idesc = abuf->idesc;
97695 int cycles = 0;
97697 int referenced = 0;
97698 int UNUSED insn_referenced = abuf->written;
97699 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97701 return cycles;
97702 #undef FLD
97705 static int
97706 model_simple_cckno (SIM_CPU *current_cpu, void *sem_arg)
97708 #define FLD(f) abuf->fields.sfmt_cckeq.f
97709 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97710 const IDESC * UNUSED idesc = abuf->idesc;
97711 int cycles = 0;
97713 int referenced = 0;
97714 int UNUSED insn_referenced = abuf->written;
97715 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97717 return cycles;
97718 #undef FLD
97721 static int
97722 model_simple_cckeq (SIM_CPU *current_cpu, void *sem_arg)
97724 #define FLD(f) abuf->fields.sfmt_cckeq.f
97725 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97726 const IDESC * UNUSED idesc = abuf->idesc;
97727 int cycles = 0;
97729 int referenced = 0;
97730 int UNUSED insn_referenced = abuf->written;
97731 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97733 return cycles;
97734 #undef FLD
97737 static int
97738 model_simple_cckne (SIM_CPU *current_cpu, void *sem_arg)
97740 #define FLD(f) abuf->fields.sfmt_cckeq.f
97741 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97742 const IDESC * UNUSED idesc = abuf->idesc;
97743 int cycles = 0;
97745 int referenced = 0;
97746 int UNUSED insn_referenced = abuf->written;
97747 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97749 return cycles;
97750 #undef FLD
97753 static int
97754 model_simple_cckle (SIM_CPU *current_cpu, void *sem_arg)
97756 #define FLD(f) abuf->fields.sfmt_cckeq.f
97757 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97758 const IDESC * UNUSED idesc = abuf->idesc;
97759 int cycles = 0;
97761 int referenced = 0;
97762 int UNUSED insn_referenced = abuf->written;
97763 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97765 return cycles;
97766 #undef FLD
97769 static int
97770 model_simple_cckgt (SIM_CPU *current_cpu, void *sem_arg)
97772 #define FLD(f) abuf->fields.sfmt_cckeq.f
97773 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97774 const IDESC * UNUSED idesc = abuf->idesc;
97775 int cycles = 0;
97777 int referenced = 0;
97778 int UNUSED insn_referenced = abuf->written;
97779 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97781 return cycles;
97782 #undef FLD
97785 static int
97786 model_simple_ccklt (SIM_CPU *current_cpu, void *sem_arg)
97788 #define FLD(f) abuf->fields.sfmt_cckeq.f
97789 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97790 const IDESC * UNUSED idesc = abuf->idesc;
97791 int cycles = 0;
97793 int referenced = 0;
97794 int UNUSED insn_referenced = abuf->written;
97795 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97797 return cycles;
97798 #undef FLD
97801 static int
97802 model_simple_cckge (SIM_CPU *current_cpu, void *sem_arg)
97804 #define FLD(f) abuf->fields.sfmt_cckeq.f
97805 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97806 const IDESC * UNUSED idesc = abuf->idesc;
97807 int cycles = 0;
97809 int referenced = 0;
97810 int UNUSED insn_referenced = abuf->written;
97811 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97813 return cycles;
97814 #undef FLD
97817 static int
97818 model_simple_cckls (SIM_CPU *current_cpu, void *sem_arg)
97820 #define FLD(f) abuf->fields.sfmt_cckeq.f
97821 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97822 const IDESC * UNUSED idesc = abuf->idesc;
97823 int cycles = 0;
97825 int referenced = 0;
97826 int UNUSED insn_referenced = abuf->written;
97827 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97829 return cycles;
97830 #undef FLD
97833 static int
97834 model_simple_cckhi (SIM_CPU *current_cpu, void *sem_arg)
97836 #define FLD(f) abuf->fields.sfmt_cckeq.f
97837 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97838 const IDESC * UNUSED idesc = abuf->idesc;
97839 int cycles = 0;
97841 int referenced = 0;
97842 int UNUSED insn_referenced = abuf->written;
97843 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97845 return cycles;
97846 #undef FLD
97849 static int
97850 model_simple_cckc (SIM_CPU *current_cpu, void *sem_arg)
97852 #define FLD(f) abuf->fields.sfmt_cckeq.f
97853 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97854 const IDESC * UNUSED idesc = abuf->idesc;
97855 int cycles = 0;
97857 int referenced = 0;
97858 int UNUSED insn_referenced = abuf->written;
97859 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97861 return cycles;
97862 #undef FLD
97865 static int
97866 model_simple_ccknc (SIM_CPU *current_cpu, void *sem_arg)
97868 #define FLD(f) abuf->fields.sfmt_cckeq.f
97869 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97870 const IDESC * UNUSED idesc = abuf->idesc;
97871 int cycles = 0;
97873 int referenced = 0;
97874 int UNUSED insn_referenced = abuf->written;
97875 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97877 return cycles;
97878 #undef FLD
97881 static int
97882 model_simple_cckn (SIM_CPU *current_cpu, void *sem_arg)
97884 #define FLD(f) abuf->fields.sfmt_cckeq.f
97885 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97886 const IDESC * UNUSED idesc = abuf->idesc;
97887 int cycles = 0;
97889 int referenced = 0;
97890 int UNUSED insn_referenced = abuf->written;
97891 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97893 return cycles;
97894 #undef FLD
97897 static int
97898 model_simple_cckp (SIM_CPU *current_cpu, void *sem_arg)
97900 #define FLD(f) abuf->fields.sfmt_cckeq.f
97901 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97902 const IDESC * UNUSED idesc = abuf->idesc;
97903 int cycles = 0;
97905 int referenced = 0;
97906 int UNUSED insn_referenced = abuf->written;
97907 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97909 return cycles;
97910 #undef FLD
97913 static int
97914 model_simple_cckv (SIM_CPU *current_cpu, void *sem_arg)
97916 #define FLD(f) abuf->fields.sfmt_cckeq.f
97917 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97918 const IDESC * UNUSED idesc = abuf->idesc;
97919 int cycles = 0;
97921 int referenced = 0;
97922 int UNUSED insn_referenced = abuf->written;
97923 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97925 return cycles;
97926 #undef FLD
97929 static int
97930 model_simple_ccknv (SIM_CPU *current_cpu, void *sem_arg)
97932 #define FLD(f) abuf->fields.sfmt_cckeq.f
97933 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97934 const IDESC * UNUSED idesc = abuf->idesc;
97935 int cycles = 0;
97937 int referenced = 0;
97938 int UNUSED insn_referenced = abuf->written;
97939 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97941 return cycles;
97942 #undef FLD
97945 static int
97946 model_simple_cfckra (SIM_CPU *current_cpu, void *sem_arg)
97948 #define FLD(f) abuf->fields.sfmt_cfckne.f
97949 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97950 const IDESC * UNUSED idesc = abuf->idesc;
97951 int cycles = 0;
97953 int referenced = 0;
97954 int UNUSED insn_referenced = abuf->written;
97955 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97957 return cycles;
97958 #undef FLD
97961 static int
97962 model_simple_cfckno (SIM_CPU *current_cpu, void *sem_arg)
97964 #define FLD(f) abuf->fields.sfmt_cfckne.f
97965 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97966 const IDESC * UNUSED idesc = abuf->idesc;
97967 int cycles = 0;
97969 int referenced = 0;
97970 int UNUSED insn_referenced = abuf->written;
97971 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97973 return cycles;
97974 #undef FLD
97977 static int
97978 model_simple_cfckne (SIM_CPU *current_cpu, void *sem_arg)
97980 #define FLD(f) abuf->fields.sfmt_cfckne.f
97981 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97982 const IDESC * UNUSED idesc = abuf->idesc;
97983 int cycles = 0;
97985 int referenced = 0;
97986 int UNUSED insn_referenced = abuf->written;
97987 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
97989 return cycles;
97990 #undef FLD
97993 static int
97994 model_simple_cfckeq (SIM_CPU *current_cpu, void *sem_arg)
97996 #define FLD(f) abuf->fields.sfmt_cfckne.f
97997 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
97998 const IDESC * UNUSED idesc = abuf->idesc;
97999 int cycles = 0;
98001 int referenced = 0;
98002 int UNUSED insn_referenced = abuf->written;
98003 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98005 return cycles;
98006 #undef FLD
98009 static int
98010 model_simple_cfcklg (SIM_CPU *current_cpu, void *sem_arg)
98012 #define FLD(f) abuf->fields.sfmt_cfckne.f
98013 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98014 const IDESC * UNUSED idesc = abuf->idesc;
98015 int cycles = 0;
98017 int referenced = 0;
98018 int UNUSED insn_referenced = abuf->written;
98019 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98021 return cycles;
98022 #undef FLD
98025 static int
98026 model_simple_cfckue (SIM_CPU *current_cpu, void *sem_arg)
98028 #define FLD(f) abuf->fields.sfmt_cfckne.f
98029 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98030 const IDESC * UNUSED idesc = abuf->idesc;
98031 int cycles = 0;
98033 int referenced = 0;
98034 int UNUSED insn_referenced = abuf->written;
98035 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98037 return cycles;
98038 #undef FLD
98041 static int
98042 model_simple_cfckul (SIM_CPU *current_cpu, void *sem_arg)
98044 #define FLD(f) abuf->fields.sfmt_cfckne.f
98045 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98046 const IDESC * UNUSED idesc = abuf->idesc;
98047 int cycles = 0;
98049 int referenced = 0;
98050 int UNUSED insn_referenced = abuf->written;
98051 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98053 return cycles;
98054 #undef FLD
98057 static int
98058 model_simple_cfckge (SIM_CPU *current_cpu, void *sem_arg)
98060 #define FLD(f) abuf->fields.sfmt_cfckne.f
98061 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98062 const IDESC * UNUSED idesc = abuf->idesc;
98063 int cycles = 0;
98065 int referenced = 0;
98066 int UNUSED insn_referenced = abuf->written;
98067 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98069 return cycles;
98070 #undef FLD
98073 static int
98074 model_simple_cfcklt (SIM_CPU *current_cpu, void *sem_arg)
98076 #define FLD(f) abuf->fields.sfmt_cfckne.f
98077 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98078 const IDESC * UNUSED idesc = abuf->idesc;
98079 int cycles = 0;
98081 int referenced = 0;
98082 int UNUSED insn_referenced = abuf->written;
98083 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98085 return cycles;
98086 #undef FLD
98089 static int
98090 model_simple_cfckuge (SIM_CPU *current_cpu, void *sem_arg)
98092 #define FLD(f) abuf->fields.sfmt_cfckne.f
98093 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98094 const IDESC * UNUSED idesc = abuf->idesc;
98095 int cycles = 0;
98097 int referenced = 0;
98098 int UNUSED insn_referenced = abuf->written;
98099 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98101 return cycles;
98102 #undef FLD
98105 static int
98106 model_simple_cfckug (SIM_CPU *current_cpu, void *sem_arg)
98108 #define FLD(f) abuf->fields.sfmt_cfckne.f
98109 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98110 const IDESC * UNUSED idesc = abuf->idesc;
98111 int cycles = 0;
98113 int referenced = 0;
98114 int UNUSED insn_referenced = abuf->written;
98115 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98117 return cycles;
98118 #undef FLD
98121 static int
98122 model_simple_cfckle (SIM_CPU *current_cpu, void *sem_arg)
98124 #define FLD(f) abuf->fields.sfmt_cfckne.f
98125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98126 const IDESC * UNUSED idesc = abuf->idesc;
98127 int cycles = 0;
98129 int referenced = 0;
98130 int UNUSED insn_referenced = abuf->written;
98131 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98133 return cycles;
98134 #undef FLD
98137 static int
98138 model_simple_cfckgt (SIM_CPU *current_cpu, void *sem_arg)
98140 #define FLD(f) abuf->fields.sfmt_cfckne.f
98141 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98142 const IDESC * UNUSED idesc = abuf->idesc;
98143 int cycles = 0;
98145 int referenced = 0;
98146 int UNUSED insn_referenced = abuf->written;
98147 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98149 return cycles;
98150 #undef FLD
98153 static int
98154 model_simple_cfckule (SIM_CPU *current_cpu, void *sem_arg)
98156 #define FLD(f) abuf->fields.sfmt_cfckne.f
98157 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98158 const IDESC * UNUSED idesc = abuf->idesc;
98159 int cycles = 0;
98161 int referenced = 0;
98162 int UNUSED insn_referenced = abuf->written;
98163 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98165 return cycles;
98166 #undef FLD
98169 static int
98170 model_simple_cfcku (SIM_CPU *current_cpu, void *sem_arg)
98172 #define FLD(f) abuf->fields.sfmt_cfckne.f
98173 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98174 const IDESC * UNUSED idesc = abuf->idesc;
98175 int cycles = 0;
98177 int referenced = 0;
98178 int UNUSED insn_referenced = abuf->written;
98179 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98181 return cycles;
98182 #undef FLD
98185 static int
98186 model_simple_cfcko (SIM_CPU *current_cpu, void *sem_arg)
98188 #define FLD(f) abuf->fields.sfmt_cfckne.f
98189 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98190 const IDESC * UNUSED idesc = abuf->idesc;
98191 int cycles = 0;
98193 int referenced = 0;
98194 int UNUSED insn_referenced = abuf->written;
98195 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98197 return cycles;
98198 #undef FLD
98201 static int
98202 model_simple_cjmpl (SIM_CPU *current_cpu, void *sem_arg)
98204 #define FLD(f) abuf->fields.sfmt_cjmpl.f
98205 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98206 const IDESC * UNUSED idesc = abuf->idesc;
98207 int cycles = 0;
98209 int referenced = 0;
98210 int UNUSED insn_referenced = abuf->written;
98211 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98213 return cycles;
98214 #undef FLD
98217 static int
98218 model_simple_ccalll (SIM_CPU *current_cpu, void *sem_arg)
98220 #define FLD(f) abuf->fields.sfmt_cjmpl.f
98221 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98222 const IDESC * UNUSED idesc = abuf->idesc;
98223 int cycles = 0;
98225 int referenced = 0;
98226 int UNUSED insn_referenced = abuf->written;
98227 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98229 return cycles;
98230 #undef FLD
98233 static int
98234 model_simple_ici (SIM_CPU *current_cpu, void *sem_arg)
98236 #define FLD(f) abuf->fields.sfmt_icpl.f
98237 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98238 const IDESC * UNUSED idesc = abuf->idesc;
98239 int cycles = 0;
98241 int referenced = 0;
98242 int UNUSED insn_referenced = abuf->written;
98243 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98245 return cycles;
98246 #undef FLD
98249 static int
98250 model_simple_dci (SIM_CPU *current_cpu, void *sem_arg)
98252 #define FLD(f) abuf->fields.sfmt_icpl.f
98253 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98254 const IDESC * UNUSED idesc = abuf->idesc;
98255 int cycles = 0;
98257 int referenced = 0;
98258 int UNUSED insn_referenced = abuf->written;
98259 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98261 return cycles;
98262 #undef FLD
98265 static int
98266 model_simple_icei (SIM_CPU *current_cpu, void *sem_arg)
98268 #define FLD(f) abuf->fields.sfmt_icei.f
98269 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98270 const IDESC * UNUSED idesc = abuf->idesc;
98271 int cycles = 0;
98273 int referenced = 0;
98274 int UNUSED insn_referenced = abuf->written;
98275 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98277 return cycles;
98278 #undef FLD
98281 static int
98282 model_simple_dcei (SIM_CPU *current_cpu, void *sem_arg)
98284 #define FLD(f) abuf->fields.sfmt_icei.f
98285 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98286 const IDESC * UNUSED idesc = abuf->idesc;
98287 int cycles = 0;
98289 int referenced = 0;
98290 int UNUSED insn_referenced = abuf->written;
98291 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98293 return cycles;
98294 #undef FLD
98297 static int
98298 model_simple_dcf (SIM_CPU *current_cpu, void *sem_arg)
98300 #define FLD(f) abuf->fields.sfmt_icpl.f
98301 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98302 const IDESC * UNUSED idesc = abuf->idesc;
98303 int cycles = 0;
98305 int referenced = 0;
98306 int UNUSED insn_referenced = abuf->written;
98307 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98309 return cycles;
98310 #undef FLD
98313 static int
98314 model_simple_dcef (SIM_CPU *current_cpu, void *sem_arg)
98316 #define FLD(f) abuf->fields.sfmt_icei.f
98317 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98318 const IDESC * UNUSED idesc = abuf->idesc;
98319 int cycles = 0;
98321 int referenced = 0;
98322 int UNUSED insn_referenced = abuf->written;
98323 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98325 return cycles;
98326 #undef FLD
98329 static int
98330 model_simple_witlb (SIM_CPU *current_cpu, void *sem_arg)
98332 #define FLD(f) abuf->fields.sfmt_empty.f
98333 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98334 const IDESC * UNUSED idesc = abuf->idesc;
98335 int cycles = 0;
98337 int referenced = 0;
98338 int UNUSED insn_referenced = abuf->written;
98339 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98341 return cycles;
98342 #undef FLD
98345 static int
98346 model_simple_wdtlb (SIM_CPU *current_cpu, void *sem_arg)
98348 #define FLD(f) abuf->fields.sfmt_empty.f
98349 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98350 const IDESC * UNUSED idesc = abuf->idesc;
98351 int cycles = 0;
98353 int referenced = 0;
98354 int UNUSED insn_referenced = abuf->written;
98355 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98357 return cycles;
98358 #undef FLD
98361 static int
98362 model_simple_itlbi (SIM_CPU *current_cpu, void *sem_arg)
98364 #define FLD(f) abuf->fields.sfmt_empty.f
98365 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98366 const IDESC * UNUSED idesc = abuf->idesc;
98367 int cycles = 0;
98369 int referenced = 0;
98370 int UNUSED insn_referenced = abuf->written;
98371 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98373 return cycles;
98374 #undef FLD
98377 static int
98378 model_simple_dtlbi (SIM_CPU *current_cpu, void *sem_arg)
98380 #define FLD(f) abuf->fields.sfmt_empty.f
98381 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98382 const IDESC * UNUSED idesc = abuf->idesc;
98383 int cycles = 0;
98385 int referenced = 0;
98386 int UNUSED insn_referenced = abuf->written;
98387 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98389 return cycles;
98390 #undef FLD
98393 static int
98394 model_simple_icpl (SIM_CPU *current_cpu, void *sem_arg)
98396 #define FLD(f) abuf->fields.sfmt_icpl.f
98397 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98398 const IDESC * UNUSED idesc = abuf->idesc;
98399 int cycles = 0;
98401 int referenced = 0;
98402 int UNUSED insn_referenced = abuf->written;
98403 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98405 return cycles;
98406 #undef FLD
98409 static int
98410 model_simple_dcpl (SIM_CPU *current_cpu, void *sem_arg)
98412 #define FLD(f) abuf->fields.sfmt_icpl.f
98413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98414 const IDESC * UNUSED idesc = abuf->idesc;
98415 int cycles = 0;
98417 int referenced = 0;
98418 int UNUSED insn_referenced = abuf->written;
98419 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98421 return cycles;
98422 #undef FLD
98425 static int
98426 model_simple_icul (SIM_CPU *current_cpu, void *sem_arg)
98428 #define FLD(f) abuf->fields.sfmt_jmpil.f
98429 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98430 const IDESC * UNUSED idesc = abuf->idesc;
98431 int cycles = 0;
98433 int referenced = 0;
98434 int UNUSED insn_referenced = abuf->written;
98435 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98437 return cycles;
98438 #undef FLD
98441 static int
98442 model_simple_dcul (SIM_CPU *current_cpu, void *sem_arg)
98444 #define FLD(f) abuf->fields.sfmt_jmpil.f
98445 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98446 const IDESC * UNUSED idesc = abuf->idesc;
98447 int cycles = 0;
98449 int referenced = 0;
98450 int UNUSED insn_referenced = abuf->written;
98451 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98453 return cycles;
98454 #undef FLD
98457 static int
98458 model_simple_bar (SIM_CPU *current_cpu, void *sem_arg)
98460 #define FLD(f) abuf->fields.sfmt_empty.f
98461 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98462 const IDESC * UNUSED idesc = abuf->idesc;
98463 int cycles = 0;
98465 int referenced = 0;
98466 int UNUSED insn_referenced = abuf->written;
98467 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98469 return cycles;
98470 #undef FLD
98473 static int
98474 model_simple_membar (SIM_CPU *current_cpu, void *sem_arg)
98476 #define FLD(f) abuf->fields.sfmt_empty.f
98477 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98478 const IDESC * UNUSED idesc = abuf->idesc;
98479 int cycles = 0;
98481 int referenced = 0;
98482 int UNUSED insn_referenced = abuf->written;
98483 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98485 return cycles;
98486 #undef FLD
98489 static int
98490 model_simple_lrai (SIM_CPU *current_cpu, void *sem_arg)
98492 #define FLD(f) abuf->fields.sfmt_empty.f
98493 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98494 const IDESC * UNUSED idesc = abuf->idesc;
98495 int cycles = 0;
98497 int referenced = 0;
98498 int UNUSED insn_referenced = abuf->written;
98499 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98501 return cycles;
98502 #undef FLD
98505 static int
98506 model_simple_lrad (SIM_CPU *current_cpu, void *sem_arg)
98508 #define FLD(f) abuf->fields.sfmt_empty.f
98509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98510 const IDESC * UNUSED idesc = abuf->idesc;
98511 int cycles = 0;
98513 int referenced = 0;
98514 int UNUSED insn_referenced = abuf->written;
98515 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98517 return cycles;
98518 #undef FLD
98521 static int
98522 model_simple_tlbpr (SIM_CPU *current_cpu, void *sem_arg)
98524 #define FLD(f) abuf->fields.sfmt_empty.f
98525 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98526 const IDESC * UNUSED idesc = abuf->idesc;
98527 int cycles = 0;
98529 int referenced = 0;
98530 int UNUSED insn_referenced = abuf->written;
98531 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98533 return cycles;
98534 #undef FLD
98537 static int
98538 model_simple_cop1 (SIM_CPU *current_cpu, void *sem_arg)
98540 #define FLD(f) abuf->fields.sfmt_empty.f
98541 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98542 const IDESC * UNUSED idesc = abuf->idesc;
98543 int cycles = 0;
98545 int referenced = 0;
98546 int UNUSED insn_referenced = abuf->written;
98547 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98549 return cycles;
98550 #undef FLD
98553 static int
98554 model_simple_cop2 (SIM_CPU *current_cpu, void *sem_arg)
98556 #define FLD(f) abuf->fields.sfmt_empty.f
98557 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98558 const IDESC * UNUSED idesc = abuf->idesc;
98559 int cycles = 0;
98561 int referenced = 0;
98562 int UNUSED insn_referenced = abuf->written;
98563 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98565 return cycles;
98566 #undef FLD
98569 static int
98570 model_simple_clrgr (SIM_CPU *current_cpu, void *sem_arg)
98572 #define FLD(f) abuf->fields.sfmt_swapi.f
98573 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98574 const IDESC * UNUSED idesc = abuf->idesc;
98575 int cycles = 0;
98577 int referenced = 0;
98578 int UNUSED insn_referenced = abuf->written;
98579 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98581 return cycles;
98582 #undef FLD
98585 static int
98586 model_simple_clrfr (SIM_CPU *current_cpu, void *sem_arg)
98588 #define FLD(f) abuf->fields.sfmt_cfmadds.f
98589 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98590 const IDESC * UNUSED idesc = abuf->idesc;
98591 int cycles = 0;
98593 int referenced = 0;
98594 int UNUSED insn_referenced = abuf->written;
98595 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98597 return cycles;
98598 #undef FLD
98601 static int
98602 model_simple_clrga (SIM_CPU *current_cpu, void *sem_arg)
98604 #define FLD(f) abuf->fields.sfmt_empty.f
98605 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98606 const IDESC * UNUSED idesc = abuf->idesc;
98607 int cycles = 0;
98609 int referenced = 0;
98610 int UNUSED insn_referenced = abuf->written;
98611 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98613 return cycles;
98614 #undef FLD
98617 static int
98618 model_simple_clrfa (SIM_CPU *current_cpu, void *sem_arg)
98620 #define FLD(f) abuf->fields.sfmt_empty.f
98621 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98622 const IDESC * UNUSED idesc = abuf->idesc;
98623 int cycles = 0;
98625 int referenced = 0;
98626 int UNUSED insn_referenced = abuf->written;
98627 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98629 return cycles;
98630 #undef FLD
98633 static int
98634 model_simple_commitgr (SIM_CPU *current_cpu, void *sem_arg)
98636 #define FLD(f) abuf->fields.sfmt_setlos.f
98637 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98638 const IDESC * UNUSED idesc = abuf->idesc;
98639 int cycles = 0;
98641 int referenced = 0;
98642 int UNUSED insn_referenced = abuf->written;
98643 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98645 return cycles;
98646 #undef FLD
98649 static int
98650 model_simple_commitfr (SIM_CPU *current_cpu, void *sem_arg)
98652 #define FLD(f) abuf->fields.sfmt_mhsethis.f
98653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98654 const IDESC * UNUSED idesc = abuf->idesc;
98655 int cycles = 0;
98657 int referenced = 0;
98658 int UNUSED insn_referenced = abuf->written;
98659 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98661 return cycles;
98662 #undef FLD
98665 static int
98666 model_simple_commitga (SIM_CPU *current_cpu, void *sem_arg)
98668 #define FLD(f) abuf->fields.sfmt_empty.f
98669 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98670 const IDESC * UNUSED idesc = abuf->idesc;
98671 int cycles = 0;
98673 int referenced = 0;
98674 int UNUSED insn_referenced = abuf->written;
98675 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98677 return cycles;
98678 #undef FLD
98681 static int
98682 model_simple_commitfa (SIM_CPU *current_cpu, void *sem_arg)
98684 #define FLD(f) abuf->fields.sfmt_empty.f
98685 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98686 const IDESC * UNUSED idesc = abuf->idesc;
98687 int cycles = 0;
98689 int referenced = 0;
98690 int UNUSED insn_referenced = abuf->written;
98691 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98693 return cycles;
98694 #undef FLD
98697 static int
98698 model_simple_fitos (SIM_CPU *current_cpu, void *sem_arg)
98700 #define FLD(f) abuf->fields.sfmt_fditos.f
98701 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98702 const IDESC * UNUSED idesc = abuf->idesc;
98703 int cycles = 0;
98705 int referenced = 0;
98706 int UNUSED insn_referenced = abuf->written;
98707 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98709 return cycles;
98710 #undef FLD
98713 static int
98714 model_simple_fstoi (SIM_CPU *current_cpu, void *sem_arg)
98716 #define FLD(f) abuf->fields.sfmt_fdstoi.f
98717 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98718 const IDESC * UNUSED idesc = abuf->idesc;
98719 int cycles = 0;
98721 int referenced = 0;
98722 int UNUSED insn_referenced = abuf->written;
98723 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98725 return cycles;
98726 #undef FLD
98729 static int
98730 model_simple_fitod (SIM_CPU *current_cpu, void *sem_arg)
98732 #define FLD(f) abuf->fields.sfmt_fitod.f
98733 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98734 const IDESC * UNUSED idesc = abuf->idesc;
98735 int cycles = 0;
98737 int referenced = 0;
98738 int UNUSED insn_referenced = abuf->written;
98739 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98741 return cycles;
98742 #undef FLD
98745 static int
98746 model_simple_fdtoi (SIM_CPU *current_cpu, void *sem_arg)
98748 #define FLD(f) abuf->fields.sfmt_fdtoi.f
98749 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98750 const IDESC * UNUSED idesc = abuf->idesc;
98751 int cycles = 0;
98753 int referenced = 0;
98754 int UNUSED insn_referenced = abuf->written;
98755 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98757 return cycles;
98758 #undef FLD
98761 static int
98762 model_simple_fditos (SIM_CPU *current_cpu, void *sem_arg)
98764 #define FLD(f) abuf->fields.sfmt_fditos.f
98765 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98766 const IDESC * UNUSED idesc = abuf->idesc;
98767 int cycles = 0;
98769 int referenced = 0;
98770 int UNUSED insn_referenced = abuf->written;
98771 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98773 return cycles;
98774 #undef FLD
98777 static int
98778 model_simple_fdstoi (SIM_CPU *current_cpu, void *sem_arg)
98780 #define FLD(f) abuf->fields.sfmt_fdstoi.f
98781 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98782 const IDESC * UNUSED idesc = abuf->idesc;
98783 int cycles = 0;
98785 int referenced = 0;
98786 int UNUSED insn_referenced = abuf->written;
98787 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98789 return cycles;
98790 #undef FLD
98793 static int
98794 model_simple_nfditos (SIM_CPU *current_cpu, void *sem_arg)
98796 #define FLD(f) abuf->fields.sfmt_fditos.f
98797 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98798 const IDESC * UNUSED idesc = abuf->idesc;
98799 int cycles = 0;
98801 int referenced = 0;
98802 int UNUSED insn_referenced = abuf->written;
98803 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98805 return cycles;
98806 #undef FLD
98809 static int
98810 model_simple_nfdstoi (SIM_CPU *current_cpu, void *sem_arg)
98812 #define FLD(f) abuf->fields.sfmt_fdstoi.f
98813 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98814 const IDESC * UNUSED idesc = abuf->idesc;
98815 int cycles = 0;
98817 int referenced = 0;
98818 int UNUSED insn_referenced = abuf->written;
98819 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98821 return cycles;
98822 #undef FLD
98825 static int
98826 model_simple_cfitos (SIM_CPU *current_cpu, void *sem_arg)
98828 #define FLD(f) abuf->fields.sfmt_cfitos.f
98829 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98830 const IDESC * UNUSED idesc = abuf->idesc;
98831 int cycles = 0;
98833 int referenced = 0;
98834 int UNUSED insn_referenced = abuf->written;
98835 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98837 return cycles;
98838 #undef FLD
98841 static int
98842 model_simple_cfstoi (SIM_CPU *current_cpu, void *sem_arg)
98844 #define FLD(f) abuf->fields.sfmt_cfstoi.f
98845 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98846 const IDESC * UNUSED idesc = abuf->idesc;
98847 int cycles = 0;
98849 int referenced = 0;
98850 int UNUSED insn_referenced = abuf->written;
98851 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98853 return cycles;
98854 #undef FLD
98857 static int
98858 model_simple_nfitos (SIM_CPU *current_cpu, void *sem_arg)
98860 #define FLD(f) abuf->fields.sfmt_fditos.f
98861 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98862 const IDESC * UNUSED idesc = abuf->idesc;
98863 int cycles = 0;
98865 int referenced = 0;
98866 int UNUSED insn_referenced = abuf->written;
98867 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98869 return cycles;
98870 #undef FLD
98873 static int
98874 model_simple_nfstoi (SIM_CPU *current_cpu, void *sem_arg)
98876 #define FLD(f) abuf->fields.sfmt_fdstoi.f
98877 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98878 const IDESC * UNUSED idesc = abuf->idesc;
98879 int cycles = 0;
98881 int referenced = 0;
98882 int UNUSED insn_referenced = abuf->written;
98883 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98885 return cycles;
98886 #undef FLD
98889 static int
98890 model_simple_fmovs (SIM_CPU *current_cpu, void *sem_arg)
98892 #define FLD(f) abuf->fields.sfmt_cfmadds.f
98893 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98894 const IDESC * UNUSED idesc = abuf->idesc;
98895 int cycles = 0;
98897 int referenced = 0;
98898 int UNUSED insn_referenced = abuf->written;
98899 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98901 return cycles;
98902 #undef FLD
98905 static int
98906 model_simple_fmovd (SIM_CPU *current_cpu, void *sem_arg)
98908 #define FLD(f) abuf->fields.sfmt_fmaddd.f
98909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98910 const IDESC * UNUSED idesc = abuf->idesc;
98911 int cycles = 0;
98913 int referenced = 0;
98914 int UNUSED insn_referenced = abuf->written;
98915 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98917 return cycles;
98918 #undef FLD
98921 static int
98922 model_simple_fdmovs (SIM_CPU *current_cpu, void *sem_arg)
98924 #define FLD(f) abuf->fields.sfmt_fdmadds.f
98925 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98926 const IDESC * UNUSED idesc = abuf->idesc;
98927 int cycles = 0;
98929 int referenced = 0;
98930 int UNUSED insn_referenced = abuf->written;
98931 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98933 return cycles;
98934 #undef FLD
98937 static int
98938 model_simple_cfmovs (SIM_CPU *current_cpu, void *sem_arg)
98940 #define FLD(f) abuf->fields.sfmt_cfmadds.f
98941 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98942 const IDESC * UNUSED idesc = abuf->idesc;
98943 int cycles = 0;
98945 int referenced = 0;
98946 int UNUSED insn_referenced = abuf->written;
98947 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98949 return cycles;
98950 #undef FLD
98953 static int
98954 model_simple_fnegs (SIM_CPU *current_cpu, void *sem_arg)
98956 #define FLD(f) abuf->fields.sfmt_cfmadds.f
98957 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98958 const IDESC * UNUSED idesc = abuf->idesc;
98959 int cycles = 0;
98961 int referenced = 0;
98962 int UNUSED insn_referenced = abuf->written;
98963 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98965 return cycles;
98966 #undef FLD
98969 static int
98970 model_simple_fnegd (SIM_CPU *current_cpu, void *sem_arg)
98972 #define FLD(f) abuf->fields.sfmt_fmaddd.f
98973 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98974 const IDESC * UNUSED idesc = abuf->idesc;
98975 int cycles = 0;
98977 int referenced = 0;
98978 int UNUSED insn_referenced = abuf->written;
98979 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98981 return cycles;
98982 #undef FLD
98985 static int
98986 model_simple_fdnegs (SIM_CPU *current_cpu, void *sem_arg)
98988 #define FLD(f) abuf->fields.sfmt_fdmadds.f
98989 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
98990 const IDESC * UNUSED idesc = abuf->idesc;
98991 int cycles = 0;
98993 int referenced = 0;
98994 int UNUSED insn_referenced = abuf->written;
98995 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
98997 return cycles;
98998 #undef FLD
99001 static int
99002 model_simple_cfnegs (SIM_CPU *current_cpu, void *sem_arg)
99004 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99005 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99006 const IDESC * UNUSED idesc = abuf->idesc;
99007 int cycles = 0;
99009 int referenced = 0;
99010 int UNUSED insn_referenced = abuf->written;
99011 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99013 return cycles;
99014 #undef FLD
99017 static int
99018 model_simple_fabss (SIM_CPU *current_cpu, void *sem_arg)
99020 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99021 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99022 const IDESC * UNUSED idesc = abuf->idesc;
99023 int cycles = 0;
99025 int referenced = 0;
99026 int UNUSED insn_referenced = abuf->written;
99027 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99029 return cycles;
99030 #undef FLD
99033 static int
99034 model_simple_fabsd (SIM_CPU *current_cpu, void *sem_arg)
99036 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99037 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99038 const IDESC * UNUSED idesc = abuf->idesc;
99039 int cycles = 0;
99041 int referenced = 0;
99042 int UNUSED insn_referenced = abuf->written;
99043 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99045 return cycles;
99046 #undef FLD
99049 static int
99050 model_simple_fdabss (SIM_CPU *current_cpu, void *sem_arg)
99052 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99053 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99054 const IDESC * UNUSED idesc = abuf->idesc;
99055 int cycles = 0;
99057 int referenced = 0;
99058 int UNUSED insn_referenced = abuf->written;
99059 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99061 return cycles;
99062 #undef FLD
99065 static int
99066 model_simple_cfabss (SIM_CPU *current_cpu, void *sem_arg)
99068 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99069 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99070 const IDESC * UNUSED idesc = abuf->idesc;
99071 int cycles = 0;
99073 int referenced = 0;
99074 int UNUSED insn_referenced = abuf->written;
99075 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99077 return cycles;
99078 #undef FLD
99081 static int
99082 model_simple_fsqrts (SIM_CPU *current_cpu, void *sem_arg)
99084 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99085 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99086 const IDESC * UNUSED idesc = abuf->idesc;
99087 int cycles = 0;
99089 int referenced = 0;
99090 int UNUSED insn_referenced = abuf->written;
99091 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99093 return cycles;
99094 #undef FLD
99097 static int
99098 model_simple_fdsqrts (SIM_CPU *current_cpu, void *sem_arg)
99100 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99101 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99102 const IDESC * UNUSED idesc = abuf->idesc;
99103 int cycles = 0;
99105 int referenced = 0;
99106 int UNUSED insn_referenced = abuf->written;
99107 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99109 return cycles;
99110 #undef FLD
99113 static int
99114 model_simple_nfdsqrts (SIM_CPU *current_cpu, void *sem_arg)
99116 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99118 const IDESC * UNUSED idesc = abuf->idesc;
99119 int cycles = 0;
99121 int referenced = 0;
99122 int UNUSED insn_referenced = abuf->written;
99123 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99125 return cycles;
99126 #undef FLD
99129 static int
99130 model_simple_fsqrtd (SIM_CPU *current_cpu, void *sem_arg)
99132 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99133 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99134 const IDESC * UNUSED idesc = abuf->idesc;
99135 int cycles = 0;
99137 int referenced = 0;
99138 int UNUSED insn_referenced = abuf->written;
99139 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99141 return cycles;
99142 #undef FLD
99145 static int
99146 model_simple_cfsqrts (SIM_CPU *current_cpu, void *sem_arg)
99148 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99149 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99150 const IDESC * UNUSED idesc = abuf->idesc;
99151 int cycles = 0;
99153 int referenced = 0;
99154 int UNUSED insn_referenced = abuf->written;
99155 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99157 return cycles;
99158 #undef FLD
99161 static int
99162 model_simple_nfsqrts (SIM_CPU *current_cpu, void *sem_arg)
99164 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99165 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99166 const IDESC * UNUSED idesc = abuf->idesc;
99167 int cycles = 0;
99169 int referenced = 0;
99170 int UNUSED insn_referenced = abuf->written;
99171 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99173 return cycles;
99174 #undef FLD
99177 static int
99178 model_simple_fadds (SIM_CPU *current_cpu, void *sem_arg)
99180 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99181 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99182 const IDESC * UNUSED idesc = abuf->idesc;
99183 int cycles = 0;
99185 int referenced = 0;
99186 int UNUSED insn_referenced = abuf->written;
99187 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99189 return cycles;
99190 #undef FLD
99193 static int
99194 model_simple_fsubs (SIM_CPU *current_cpu, void *sem_arg)
99196 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99197 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99198 const IDESC * UNUSED idesc = abuf->idesc;
99199 int cycles = 0;
99201 int referenced = 0;
99202 int UNUSED insn_referenced = abuf->written;
99203 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99205 return cycles;
99206 #undef FLD
99209 static int
99210 model_simple_fmuls (SIM_CPU *current_cpu, void *sem_arg)
99212 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99213 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99214 const IDESC * UNUSED idesc = abuf->idesc;
99215 int cycles = 0;
99217 int referenced = 0;
99218 int UNUSED insn_referenced = abuf->written;
99219 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99221 return cycles;
99222 #undef FLD
99225 static int
99226 model_simple_fdivs (SIM_CPU *current_cpu, void *sem_arg)
99228 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99229 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99230 const IDESC * UNUSED idesc = abuf->idesc;
99231 int cycles = 0;
99233 int referenced = 0;
99234 int UNUSED insn_referenced = abuf->written;
99235 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99237 return cycles;
99238 #undef FLD
99241 static int
99242 model_simple_faddd (SIM_CPU *current_cpu, void *sem_arg)
99244 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99245 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99246 const IDESC * UNUSED idesc = abuf->idesc;
99247 int cycles = 0;
99249 int referenced = 0;
99250 int UNUSED insn_referenced = abuf->written;
99251 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99253 return cycles;
99254 #undef FLD
99257 static int
99258 model_simple_fsubd (SIM_CPU *current_cpu, void *sem_arg)
99260 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99261 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99262 const IDESC * UNUSED idesc = abuf->idesc;
99263 int cycles = 0;
99265 int referenced = 0;
99266 int UNUSED insn_referenced = abuf->written;
99267 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99269 return cycles;
99270 #undef FLD
99273 static int
99274 model_simple_fmuld (SIM_CPU *current_cpu, void *sem_arg)
99276 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99277 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99278 const IDESC * UNUSED idesc = abuf->idesc;
99279 int cycles = 0;
99281 int referenced = 0;
99282 int UNUSED insn_referenced = abuf->written;
99283 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99285 return cycles;
99286 #undef FLD
99289 static int
99290 model_simple_fdivd (SIM_CPU *current_cpu, void *sem_arg)
99292 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99293 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99294 const IDESC * UNUSED idesc = abuf->idesc;
99295 int cycles = 0;
99297 int referenced = 0;
99298 int UNUSED insn_referenced = abuf->written;
99299 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99301 return cycles;
99302 #undef FLD
99305 static int
99306 model_simple_cfadds (SIM_CPU *current_cpu, void *sem_arg)
99308 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99309 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99310 const IDESC * UNUSED idesc = abuf->idesc;
99311 int cycles = 0;
99313 int referenced = 0;
99314 int UNUSED insn_referenced = abuf->written;
99315 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99317 return cycles;
99318 #undef FLD
99321 static int
99322 model_simple_cfsubs (SIM_CPU *current_cpu, void *sem_arg)
99324 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99325 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99326 const IDESC * UNUSED idesc = abuf->idesc;
99327 int cycles = 0;
99329 int referenced = 0;
99330 int UNUSED insn_referenced = abuf->written;
99331 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99333 return cycles;
99334 #undef FLD
99337 static int
99338 model_simple_cfmuls (SIM_CPU *current_cpu, void *sem_arg)
99340 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99341 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99342 const IDESC * UNUSED idesc = abuf->idesc;
99343 int cycles = 0;
99345 int referenced = 0;
99346 int UNUSED insn_referenced = abuf->written;
99347 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99349 return cycles;
99350 #undef FLD
99353 static int
99354 model_simple_cfdivs (SIM_CPU *current_cpu, void *sem_arg)
99356 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99357 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99358 const IDESC * UNUSED idesc = abuf->idesc;
99359 int cycles = 0;
99361 int referenced = 0;
99362 int UNUSED insn_referenced = abuf->written;
99363 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99365 return cycles;
99366 #undef FLD
99369 static int
99370 model_simple_nfadds (SIM_CPU *current_cpu, void *sem_arg)
99372 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99373 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99374 const IDESC * UNUSED idesc = abuf->idesc;
99375 int cycles = 0;
99377 int referenced = 0;
99378 int UNUSED insn_referenced = abuf->written;
99379 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99381 return cycles;
99382 #undef FLD
99385 static int
99386 model_simple_nfsubs (SIM_CPU *current_cpu, void *sem_arg)
99388 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99389 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99390 const IDESC * UNUSED idesc = abuf->idesc;
99391 int cycles = 0;
99393 int referenced = 0;
99394 int UNUSED insn_referenced = abuf->written;
99395 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99397 return cycles;
99398 #undef FLD
99401 static int
99402 model_simple_nfmuls (SIM_CPU *current_cpu, void *sem_arg)
99404 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99405 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99406 const IDESC * UNUSED idesc = abuf->idesc;
99407 int cycles = 0;
99409 int referenced = 0;
99410 int UNUSED insn_referenced = abuf->written;
99411 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99413 return cycles;
99414 #undef FLD
99417 static int
99418 model_simple_nfdivs (SIM_CPU *current_cpu, void *sem_arg)
99420 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99421 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99422 const IDESC * UNUSED idesc = abuf->idesc;
99423 int cycles = 0;
99425 int referenced = 0;
99426 int UNUSED insn_referenced = abuf->written;
99427 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99429 return cycles;
99430 #undef FLD
99433 static int
99434 model_simple_fcmps (SIM_CPU *current_cpu, void *sem_arg)
99436 #define FLD(f) abuf->fields.sfmt_cfcmps.f
99437 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99438 const IDESC * UNUSED idesc = abuf->idesc;
99439 int cycles = 0;
99441 int referenced = 0;
99442 int UNUSED insn_referenced = abuf->written;
99443 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99445 return cycles;
99446 #undef FLD
99449 static int
99450 model_simple_fcmpd (SIM_CPU *current_cpu, void *sem_arg)
99452 #define FLD(f) abuf->fields.sfmt_fcmpd.f
99453 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99454 const IDESC * UNUSED idesc = abuf->idesc;
99455 int cycles = 0;
99457 int referenced = 0;
99458 int UNUSED insn_referenced = abuf->written;
99459 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99461 return cycles;
99462 #undef FLD
99465 static int
99466 model_simple_cfcmps (SIM_CPU *current_cpu, void *sem_arg)
99468 #define FLD(f) abuf->fields.sfmt_cfcmps.f
99469 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99470 const IDESC * UNUSED idesc = abuf->idesc;
99471 int cycles = 0;
99473 int referenced = 0;
99474 int UNUSED insn_referenced = abuf->written;
99475 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99477 return cycles;
99478 #undef FLD
99481 static int
99482 model_simple_fdcmps (SIM_CPU *current_cpu, void *sem_arg)
99484 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
99485 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99486 const IDESC * UNUSED idesc = abuf->idesc;
99487 int cycles = 0;
99489 int referenced = 0;
99490 int UNUSED insn_referenced = abuf->written;
99491 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99493 return cycles;
99494 #undef FLD
99497 static int
99498 model_simple_fmadds (SIM_CPU *current_cpu, void *sem_arg)
99500 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99501 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99502 const IDESC * UNUSED idesc = abuf->idesc;
99503 int cycles = 0;
99505 int referenced = 0;
99506 int UNUSED insn_referenced = abuf->written;
99507 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99509 return cycles;
99510 #undef FLD
99513 static int
99514 model_simple_fmsubs (SIM_CPU *current_cpu, void *sem_arg)
99516 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99517 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99518 const IDESC * UNUSED idesc = abuf->idesc;
99519 int cycles = 0;
99521 int referenced = 0;
99522 int UNUSED insn_referenced = abuf->written;
99523 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99525 return cycles;
99526 #undef FLD
99529 static int
99530 model_simple_fmaddd (SIM_CPU *current_cpu, void *sem_arg)
99532 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99533 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99534 const IDESC * UNUSED idesc = abuf->idesc;
99535 int cycles = 0;
99537 int referenced = 0;
99538 int UNUSED insn_referenced = abuf->written;
99539 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99541 return cycles;
99542 #undef FLD
99545 static int
99546 model_simple_fmsubd (SIM_CPU *current_cpu, void *sem_arg)
99548 #define FLD(f) abuf->fields.sfmt_fmaddd.f
99549 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99550 const IDESC * UNUSED idesc = abuf->idesc;
99551 int cycles = 0;
99553 int referenced = 0;
99554 int UNUSED insn_referenced = abuf->written;
99555 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99557 return cycles;
99558 #undef FLD
99561 static int
99562 model_simple_fdmadds (SIM_CPU *current_cpu, void *sem_arg)
99564 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99565 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99566 const IDESC * UNUSED idesc = abuf->idesc;
99567 int cycles = 0;
99569 int referenced = 0;
99570 int UNUSED insn_referenced = abuf->written;
99571 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99573 return cycles;
99574 #undef FLD
99577 static int
99578 model_simple_nfdmadds (SIM_CPU *current_cpu, void *sem_arg)
99580 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99581 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99582 const IDESC * UNUSED idesc = abuf->idesc;
99583 int cycles = 0;
99585 int referenced = 0;
99586 int UNUSED insn_referenced = abuf->written;
99587 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99589 return cycles;
99590 #undef FLD
99593 static int
99594 model_simple_cfmadds (SIM_CPU *current_cpu, void *sem_arg)
99596 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99597 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99598 const IDESC * UNUSED idesc = abuf->idesc;
99599 int cycles = 0;
99601 int referenced = 0;
99602 int UNUSED insn_referenced = abuf->written;
99603 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99605 return cycles;
99606 #undef FLD
99609 static int
99610 model_simple_cfmsubs (SIM_CPU *current_cpu, void *sem_arg)
99612 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99613 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99614 const IDESC * UNUSED idesc = abuf->idesc;
99615 int cycles = 0;
99617 int referenced = 0;
99618 int UNUSED insn_referenced = abuf->written;
99619 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99621 return cycles;
99622 #undef FLD
99625 static int
99626 model_simple_nfmadds (SIM_CPU *current_cpu, void *sem_arg)
99628 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99629 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99630 const IDESC * UNUSED idesc = abuf->idesc;
99631 int cycles = 0;
99633 int referenced = 0;
99634 int UNUSED insn_referenced = abuf->written;
99635 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99637 return cycles;
99638 #undef FLD
99641 static int
99642 model_simple_nfmsubs (SIM_CPU *current_cpu, void *sem_arg)
99644 #define FLD(f) abuf->fields.sfmt_cfmadds.f
99645 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99646 const IDESC * UNUSED idesc = abuf->idesc;
99647 int cycles = 0;
99649 int referenced = 0;
99650 int UNUSED insn_referenced = abuf->written;
99651 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99653 return cycles;
99654 #undef FLD
99657 static int
99658 model_simple_fmas (SIM_CPU *current_cpu, void *sem_arg)
99660 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99661 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99662 const IDESC * UNUSED idesc = abuf->idesc;
99663 int cycles = 0;
99665 int referenced = 0;
99666 int UNUSED insn_referenced = abuf->written;
99667 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99669 return cycles;
99670 #undef FLD
99673 static int
99674 model_simple_fmss (SIM_CPU *current_cpu, void *sem_arg)
99676 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99677 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99678 const IDESC * UNUSED idesc = abuf->idesc;
99679 int cycles = 0;
99681 int referenced = 0;
99682 int UNUSED insn_referenced = abuf->written;
99683 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99685 return cycles;
99686 #undef FLD
99689 static int
99690 model_simple_fdmas (SIM_CPU *current_cpu, void *sem_arg)
99692 #define FLD(f) abuf->fields.sfmt_fdmas.f
99693 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99694 const IDESC * UNUSED idesc = abuf->idesc;
99695 int cycles = 0;
99697 int referenced = 0;
99698 int UNUSED insn_referenced = abuf->written;
99699 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99701 return cycles;
99702 #undef FLD
99705 static int
99706 model_simple_fdmss (SIM_CPU *current_cpu, void *sem_arg)
99708 #define FLD(f) abuf->fields.sfmt_fdmas.f
99709 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99710 const IDESC * UNUSED idesc = abuf->idesc;
99711 int cycles = 0;
99713 int referenced = 0;
99714 int UNUSED insn_referenced = abuf->written;
99715 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99717 return cycles;
99718 #undef FLD
99721 static int
99722 model_simple_nfdmas (SIM_CPU *current_cpu, void *sem_arg)
99724 #define FLD(f) abuf->fields.sfmt_fdmas.f
99725 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99726 const IDESC * UNUSED idesc = abuf->idesc;
99727 int cycles = 0;
99729 int referenced = 0;
99730 int UNUSED insn_referenced = abuf->written;
99731 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99733 return cycles;
99734 #undef FLD
99737 static int
99738 model_simple_nfdmss (SIM_CPU *current_cpu, void *sem_arg)
99740 #define FLD(f) abuf->fields.sfmt_fdmas.f
99741 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99742 const IDESC * UNUSED idesc = abuf->idesc;
99743 int cycles = 0;
99745 int referenced = 0;
99746 int UNUSED insn_referenced = abuf->written;
99747 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99749 return cycles;
99750 #undef FLD
99753 static int
99754 model_simple_cfmas (SIM_CPU *current_cpu, void *sem_arg)
99756 #define FLD(f) abuf->fields.sfmt_cfmas.f
99757 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99758 const IDESC * UNUSED idesc = abuf->idesc;
99759 int cycles = 0;
99761 int referenced = 0;
99762 int UNUSED insn_referenced = abuf->written;
99763 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99765 return cycles;
99766 #undef FLD
99769 static int
99770 model_simple_cfmss (SIM_CPU *current_cpu, void *sem_arg)
99772 #define FLD(f) abuf->fields.sfmt_cfmas.f
99773 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99774 const IDESC * UNUSED idesc = abuf->idesc;
99775 int cycles = 0;
99777 int referenced = 0;
99778 int UNUSED insn_referenced = abuf->written;
99779 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99781 return cycles;
99782 #undef FLD
99785 static int
99786 model_simple_fmad (SIM_CPU *current_cpu, void *sem_arg)
99788 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99789 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99790 const IDESC * UNUSED idesc = abuf->idesc;
99791 int cycles = 0;
99793 int referenced = 0;
99794 int UNUSED insn_referenced = abuf->written;
99795 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99797 return cycles;
99798 #undef FLD
99801 static int
99802 model_simple_fmsd (SIM_CPU *current_cpu, void *sem_arg)
99804 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99805 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99806 const IDESC * UNUSED idesc = abuf->idesc;
99807 int cycles = 0;
99809 int referenced = 0;
99810 int UNUSED insn_referenced = abuf->written;
99811 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99813 return cycles;
99814 #undef FLD
99817 static int
99818 model_simple_nfmas (SIM_CPU *current_cpu, void *sem_arg)
99820 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99821 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99822 const IDESC * UNUSED idesc = abuf->idesc;
99823 int cycles = 0;
99825 int referenced = 0;
99826 int UNUSED insn_referenced = abuf->written;
99827 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99829 return cycles;
99830 #undef FLD
99833 static int
99834 model_simple_nfmss (SIM_CPU *current_cpu, void *sem_arg)
99836 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99837 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99838 const IDESC * UNUSED idesc = abuf->idesc;
99839 int cycles = 0;
99841 int referenced = 0;
99842 int UNUSED insn_referenced = abuf->written;
99843 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99845 return cycles;
99846 #undef FLD
99849 static int
99850 model_simple_fdadds (SIM_CPU *current_cpu, void *sem_arg)
99852 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99853 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99854 const IDESC * UNUSED idesc = abuf->idesc;
99855 int cycles = 0;
99857 int referenced = 0;
99858 int UNUSED insn_referenced = abuf->written;
99859 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99861 return cycles;
99862 #undef FLD
99865 static int
99866 model_simple_fdsubs (SIM_CPU *current_cpu, void *sem_arg)
99868 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99869 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99870 const IDESC * UNUSED idesc = abuf->idesc;
99871 int cycles = 0;
99873 int referenced = 0;
99874 int UNUSED insn_referenced = abuf->written;
99875 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99877 return cycles;
99878 #undef FLD
99881 static int
99882 model_simple_fdmuls (SIM_CPU *current_cpu, void *sem_arg)
99884 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99885 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99886 const IDESC * UNUSED idesc = abuf->idesc;
99887 int cycles = 0;
99889 int referenced = 0;
99890 int UNUSED insn_referenced = abuf->written;
99891 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99893 return cycles;
99894 #undef FLD
99897 static int
99898 model_simple_fddivs (SIM_CPU *current_cpu, void *sem_arg)
99900 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99901 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99902 const IDESC * UNUSED idesc = abuf->idesc;
99903 int cycles = 0;
99905 int referenced = 0;
99906 int UNUSED insn_referenced = abuf->written;
99907 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99909 return cycles;
99910 #undef FLD
99913 static int
99914 model_simple_fdsads (SIM_CPU *current_cpu, void *sem_arg)
99916 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99917 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99918 const IDESC * UNUSED idesc = abuf->idesc;
99919 int cycles = 0;
99921 int referenced = 0;
99922 int UNUSED insn_referenced = abuf->written;
99923 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99925 return cycles;
99926 #undef FLD
99929 static int
99930 model_simple_fdmulcs (SIM_CPU *current_cpu, void *sem_arg)
99932 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99933 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99934 const IDESC * UNUSED idesc = abuf->idesc;
99935 int cycles = 0;
99937 int referenced = 0;
99938 int UNUSED insn_referenced = abuf->written;
99939 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99941 return cycles;
99942 #undef FLD
99945 static int
99946 model_simple_nfdmulcs (SIM_CPU *current_cpu, void *sem_arg)
99948 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99949 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99950 const IDESC * UNUSED idesc = abuf->idesc;
99951 int cycles = 0;
99953 int referenced = 0;
99954 int UNUSED insn_referenced = abuf->written;
99955 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99957 return cycles;
99958 #undef FLD
99961 static int
99962 model_simple_nfdadds (SIM_CPU *current_cpu, void *sem_arg)
99964 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99965 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99966 const IDESC * UNUSED idesc = abuf->idesc;
99967 int cycles = 0;
99969 int referenced = 0;
99970 int UNUSED insn_referenced = abuf->written;
99971 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99973 return cycles;
99974 #undef FLD
99977 static int
99978 model_simple_nfdsubs (SIM_CPU *current_cpu, void *sem_arg)
99980 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99981 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99982 const IDESC * UNUSED idesc = abuf->idesc;
99983 int cycles = 0;
99985 int referenced = 0;
99986 int UNUSED insn_referenced = abuf->written;
99987 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
99989 return cycles;
99990 #undef FLD
99993 static int
99994 model_simple_nfdmuls (SIM_CPU *current_cpu, void *sem_arg)
99996 #define FLD(f) abuf->fields.sfmt_fdmadds.f
99997 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
99998 const IDESC * UNUSED idesc = abuf->idesc;
99999 int cycles = 0;
100001 int referenced = 0;
100002 int UNUSED insn_referenced = abuf->written;
100003 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100005 return cycles;
100006 #undef FLD
100009 static int
100010 model_simple_nfddivs (SIM_CPU *current_cpu, void *sem_arg)
100012 #define FLD(f) abuf->fields.sfmt_fdmadds.f
100013 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100014 const IDESC * UNUSED idesc = abuf->idesc;
100015 int cycles = 0;
100017 int referenced = 0;
100018 int UNUSED insn_referenced = abuf->written;
100019 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100021 return cycles;
100022 #undef FLD
100025 static int
100026 model_simple_nfdsads (SIM_CPU *current_cpu, void *sem_arg)
100028 #define FLD(f) abuf->fields.sfmt_fdmadds.f
100029 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100030 const IDESC * UNUSED idesc = abuf->idesc;
100031 int cycles = 0;
100033 int referenced = 0;
100034 int UNUSED insn_referenced = abuf->written;
100035 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100037 return cycles;
100038 #undef FLD
100041 static int
100042 model_simple_nfdcmps (SIM_CPU *current_cpu, void *sem_arg)
100044 #define FLD(f) abuf->fields.sfmt_nfdcmps.f
100045 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100046 const IDESC * UNUSED idesc = abuf->idesc;
100047 int cycles = 0;
100049 int referenced = 0;
100050 int UNUSED insn_referenced = abuf->written;
100051 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100053 return cycles;
100054 #undef FLD
100057 static int
100058 model_simple_mhsetlos (SIM_CPU *current_cpu, void *sem_arg)
100060 #define FLD(f) abuf->fields.sfmt_mhsetlos.f
100061 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100062 const IDESC * UNUSED idesc = abuf->idesc;
100063 int cycles = 0;
100065 int referenced = 0;
100066 int UNUSED insn_referenced = abuf->written;
100067 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100069 return cycles;
100070 #undef FLD
100073 static int
100074 model_simple_mhsethis (SIM_CPU *current_cpu, void *sem_arg)
100076 #define FLD(f) abuf->fields.sfmt_mhsethis.f
100077 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100078 const IDESC * UNUSED idesc = abuf->idesc;
100079 int cycles = 0;
100081 int referenced = 0;
100082 int UNUSED insn_referenced = abuf->written;
100083 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100085 return cycles;
100086 #undef FLD
100089 static int
100090 model_simple_mhdsets (SIM_CPU *current_cpu, void *sem_arg)
100092 #define FLD(f) abuf->fields.sfmt_mhdsets.f
100093 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100094 const IDESC * UNUSED idesc = abuf->idesc;
100095 int cycles = 0;
100097 int referenced = 0;
100098 int UNUSED insn_referenced = abuf->written;
100099 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100101 return cycles;
100102 #undef FLD
100105 static int
100106 model_simple_mhsetloh (SIM_CPU *current_cpu, void *sem_arg)
100108 #define FLD(f) abuf->fields.sfmt_mhsetloh.f
100109 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100110 const IDESC * UNUSED idesc = abuf->idesc;
100111 int cycles = 0;
100113 int referenced = 0;
100114 int UNUSED insn_referenced = abuf->written;
100115 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100117 return cycles;
100118 #undef FLD
100121 static int
100122 model_simple_mhsethih (SIM_CPU *current_cpu, void *sem_arg)
100124 #define FLD(f) abuf->fields.sfmt_mhsethih.f
100125 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100126 const IDESC * UNUSED idesc = abuf->idesc;
100127 int cycles = 0;
100129 int referenced = 0;
100130 int UNUSED insn_referenced = abuf->written;
100131 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100133 return cycles;
100134 #undef FLD
100137 static int
100138 model_simple_mhdseth (SIM_CPU *current_cpu, void *sem_arg)
100140 #define FLD(f) abuf->fields.sfmt_mhdseth.f
100141 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100142 const IDESC * UNUSED idesc = abuf->idesc;
100143 int cycles = 0;
100145 int referenced = 0;
100146 int UNUSED insn_referenced = abuf->written;
100147 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100149 return cycles;
100150 #undef FLD
100153 static int
100154 model_simple_mand (SIM_CPU *current_cpu, void *sem_arg)
100156 #define FLD(f) abuf->fields.sfmt_mwcut.f
100157 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100158 const IDESC * UNUSED idesc = abuf->idesc;
100159 int cycles = 0;
100161 int referenced = 0;
100162 int UNUSED insn_referenced = abuf->written;
100163 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100165 return cycles;
100166 #undef FLD
100169 static int
100170 model_simple_mor (SIM_CPU *current_cpu, void *sem_arg)
100172 #define FLD(f) abuf->fields.sfmt_mwcut.f
100173 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100174 const IDESC * UNUSED idesc = abuf->idesc;
100175 int cycles = 0;
100177 int referenced = 0;
100178 int UNUSED insn_referenced = abuf->written;
100179 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100181 return cycles;
100182 #undef FLD
100185 static int
100186 model_simple_mxor (SIM_CPU *current_cpu, void *sem_arg)
100188 #define FLD(f) abuf->fields.sfmt_mwcut.f
100189 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100190 const IDESC * UNUSED idesc = abuf->idesc;
100191 int cycles = 0;
100193 int referenced = 0;
100194 int UNUSED insn_referenced = abuf->written;
100195 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100197 return cycles;
100198 #undef FLD
100201 static int
100202 model_simple_cmand (SIM_CPU *current_cpu, void *sem_arg)
100204 #define FLD(f) abuf->fields.sfmt_cmand.f
100205 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100206 const IDESC * UNUSED idesc = abuf->idesc;
100207 int cycles = 0;
100209 int referenced = 0;
100210 int UNUSED insn_referenced = abuf->written;
100211 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100213 return cycles;
100214 #undef FLD
100217 static int
100218 model_simple_cmor (SIM_CPU *current_cpu, void *sem_arg)
100220 #define FLD(f) abuf->fields.sfmt_cmand.f
100221 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100222 const IDESC * UNUSED idesc = abuf->idesc;
100223 int cycles = 0;
100225 int referenced = 0;
100226 int UNUSED insn_referenced = abuf->written;
100227 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100229 return cycles;
100230 #undef FLD
100233 static int
100234 model_simple_cmxor (SIM_CPU *current_cpu, void *sem_arg)
100236 #define FLD(f) abuf->fields.sfmt_cmand.f
100237 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100238 const IDESC * UNUSED idesc = abuf->idesc;
100239 int cycles = 0;
100241 int referenced = 0;
100242 int UNUSED insn_referenced = abuf->written;
100243 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100245 return cycles;
100246 #undef FLD
100249 static int
100250 model_simple_mnot (SIM_CPU *current_cpu, void *sem_arg)
100252 #define FLD(f) abuf->fields.sfmt_mcut.f
100253 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100254 const IDESC * UNUSED idesc = abuf->idesc;
100255 int cycles = 0;
100257 int referenced = 0;
100258 int UNUSED insn_referenced = abuf->written;
100259 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100261 return cycles;
100262 #undef FLD
100265 static int
100266 model_simple_cmnot (SIM_CPU *current_cpu, void *sem_arg)
100268 #define FLD(f) abuf->fields.sfmt_cmand.f
100269 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100270 const IDESC * UNUSED idesc = abuf->idesc;
100271 int cycles = 0;
100273 int referenced = 0;
100274 int UNUSED insn_referenced = abuf->written;
100275 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100277 return cycles;
100278 #undef FLD
100281 static int
100282 model_simple_mrotli (SIM_CPU *current_cpu, void *sem_arg)
100284 #define FLD(f) abuf->fields.sfmt_mwcuti.f
100285 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100286 const IDESC * UNUSED idesc = abuf->idesc;
100287 int cycles = 0;
100289 int referenced = 0;
100290 int UNUSED insn_referenced = abuf->written;
100291 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100293 return cycles;
100294 #undef FLD
100297 static int
100298 model_simple_mrotri (SIM_CPU *current_cpu, void *sem_arg)
100300 #define FLD(f) abuf->fields.sfmt_mwcuti.f
100301 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100302 const IDESC * UNUSED idesc = abuf->idesc;
100303 int cycles = 0;
100305 int referenced = 0;
100306 int UNUSED insn_referenced = abuf->written;
100307 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100309 return cycles;
100310 #undef FLD
100313 static int
100314 model_simple_mwcut (SIM_CPU *current_cpu, void *sem_arg)
100316 #define FLD(f) abuf->fields.sfmt_mwcut.f
100317 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100318 const IDESC * UNUSED idesc = abuf->idesc;
100319 int cycles = 0;
100321 int referenced = 0;
100322 int UNUSED insn_referenced = abuf->written;
100323 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100325 return cycles;
100326 #undef FLD
100329 static int
100330 model_simple_mwcuti (SIM_CPU *current_cpu, void *sem_arg)
100332 #define FLD(f) abuf->fields.sfmt_mwcuti.f
100333 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100334 const IDESC * UNUSED idesc = abuf->idesc;
100335 int cycles = 0;
100337 int referenced = 0;
100338 int UNUSED insn_referenced = abuf->written;
100339 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100341 return cycles;
100342 #undef FLD
100345 static int
100346 model_simple_mcut (SIM_CPU *current_cpu, void *sem_arg)
100348 #define FLD(f) abuf->fields.sfmt_mcut.f
100349 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100350 const IDESC * UNUSED idesc = abuf->idesc;
100351 int cycles = 0;
100353 int referenced = 0;
100354 int UNUSED insn_referenced = abuf->written;
100355 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100357 return cycles;
100358 #undef FLD
100361 static int
100362 model_simple_mcuti (SIM_CPU *current_cpu, void *sem_arg)
100364 #define FLD(f) abuf->fields.sfmt_mcuti.f
100365 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100366 const IDESC * UNUSED idesc = abuf->idesc;
100367 int cycles = 0;
100369 int referenced = 0;
100370 int UNUSED insn_referenced = abuf->written;
100371 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100373 return cycles;
100374 #undef FLD
100377 static int
100378 model_simple_mcutss (SIM_CPU *current_cpu, void *sem_arg)
100380 #define FLD(f) abuf->fields.sfmt_mcut.f
100381 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100382 const IDESC * UNUSED idesc = abuf->idesc;
100383 int cycles = 0;
100385 int referenced = 0;
100386 int UNUSED insn_referenced = abuf->written;
100387 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100389 return cycles;
100390 #undef FLD
100393 static int
100394 model_simple_mcutssi (SIM_CPU *current_cpu, void *sem_arg)
100396 #define FLD(f) abuf->fields.sfmt_mcuti.f
100397 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100398 const IDESC * UNUSED idesc = abuf->idesc;
100399 int cycles = 0;
100401 int referenced = 0;
100402 int UNUSED insn_referenced = abuf->written;
100403 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100405 return cycles;
100406 #undef FLD
100409 static int
100410 model_simple_mdcutssi (SIM_CPU *current_cpu, void *sem_arg)
100412 #define FLD(f) abuf->fields.sfmt_mdcutssi.f
100413 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100414 const IDESC * UNUSED idesc = abuf->idesc;
100415 int cycles = 0;
100417 int referenced = 0;
100418 int UNUSED insn_referenced = abuf->written;
100419 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100421 return cycles;
100422 #undef FLD
100425 static int
100426 model_simple_maveh (SIM_CPU *current_cpu, void *sem_arg)
100428 #define FLD(f) abuf->fields.sfmt_mwcut.f
100429 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100430 const IDESC * UNUSED idesc = abuf->idesc;
100431 int cycles = 0;
100433 int referenced = 0;
100434 int UNUSED insn_referenced = abuf->written;
100435 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100437 return cycles;
100438 #undef FLD
100441 static int
100442 model_simple_msllhi (SIM_CPU *current_cpu, void *sem_arg)
100444 #define FLD(f) abuf->fields.sfmt_msllhi.f
100445 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100446 const IDESC * UNUSED idesc = abuf->idesc;
100447 int cycles = 0;
100449 int referenced = 0;
100450 int UNUSED insn_referenced = abuf->written;
100451 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100453 return cycles;
100454 #undef FLD
100457 static int
100458 model_simple_msrlhi (SIM_CPU *current_cpu, void *sem_arg)
100460 #define FLD(f) abuf->fields.sfmt_msllhi.f
100461 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100462 const IDESC * UNUSED idesc = abuf->idesc;
100463 int cycles = 0;
100465 int referenced = 0;
100466 int UNUSED insn_referenced = abuf->written;
100467 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100469 return cycles;
100470 #undef FLD
100473 static int
100474 model_simple_msrahi (SIM_CPU *current_cpu, void *sem_arg)
100476 #define FLD(f) abuf->fields.sfmt_msllhi.f
100477 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100478 const IDESC * UNUSED idesc = abuf->idesc;
100479 int cycles = 0;
100481 int referenced = 0;
100482 int UNUSED insn_referenced = abuf->written;
100483 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100485 return cycles;
100486 #undef FLD
100489 static int
100490 model_simple_mdrotli (SIM_CPU *current_cpu, void *sem_arg)
100492 #define FLD(f) abuf->fields.sfmt_mdrotli.f
100493 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100494 const IDESC * UNUSED idesc = abuf->idesc;
100495 int cycles = 0;
100497 int referenced = 0;
100498 int UNUSED insn_referenced = abuf->written;
100499 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100501 return cycles;
100502 #undef FLD
100505 static int
100506 model_simple_mcplhi (SIM_CPU *current_cpu, void *sem_arg)
100508 #define FLD(f) abuf->fields.sfmt_mcplhi.f
100509 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100510 const IDESC * UNUSED idesc = abuf->idesc;
100511 int cycles = 0;
100513 int referenced = 0;
100514 int UNUSED insn_referenced = abuf->written;
100515 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100517 return cycles;
100518 #undef FLD
100521 static int
100522 model_simple_mcpli (SIM_CPU *current_cpu, void *sem_arg)
100524 #define FLD(f) abuf->fields.sfmt_mwcuti.f
100525 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100526 const IDESC * UNUSED idesc = abuf->idesc;
100527 int cycles = 0;
100529 int referenced = 0;
100530 int UNUSED insn_referenced = abuf->written;
100531 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100533 return cycles;
100534 #undef FLD
100537 static int
100538 model_simple_msaths (SIM_CPU *current_cpu, void *sem_arg)
100540 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100541 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100542 const IDESC * UNUSED idesc = abuf->idesc;
100543 int cycles = 0;
100545 int referenced = 0;
100546 int UNUSED insn_referenced = abuf->written;
100547 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100549 return cycles;
100550 #undef FLD
100553 static int
100554 model_simple_mqsaths (SIM_CPU *current_cpu, void *sem_arg)
100556 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100557 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100558 const IDESC * UNUSED idesc = abuf->idesc;
100559 int cycles = 0;
100561 int referenced = 0;
100562 int UNUSED insn_referenced = abuf->written;
100563 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100565 return cycles;
100566 #undef FLD
100569 static int
100570 model_simple_msathu (SIM_CPU *current_cpu, void *sem_arg)
100572 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100573 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100574 const IDESC * UNUSED idesc = abuf->idesc;
100575 int cycles = 0;
100577 int referenced = 0;
100578 int UNUSED insn_referenced = abuf->written;
100579 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100581 return cycles;
100582 #undef FLD
100585 static int
100586 model_simple_mcmpsh (SIM_CPU *current_cpu, void *sem_arg)
100588 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
100589 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100590 const IDESC * UNUSED idesc = abuf->idesc;
100591 int cycles = 0;
100593 int referenced = 0;
100594 int UNUSED insn_referenced = abuf->written;
100595 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100597 return cycles;
100598 #undef FLD
100601 static int
100602 model_simple_mcmpuh (SIM_CPU *current_cpu, void *sem_arg)
100604 #define FLD(f) abuf->fields.sfmt_mcmpsh.f
100605 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100606 const IDESC * UNUSED idesc = abuf->idesc;
100607 int cycles = 0;
100609 int referenced = 0;
100610 int UNUSED insn_referenced = abuf->written;
100611 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100613 return cycles;
100614 #undef FLD
100617 static int
100618 model_simple_mabshs (SIM_CPU *current_cpu, void *sem_arg)
100620 #define FLD(f) abuf->fields.sfmt_mabshs.f
100621 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100622 const IDESC * UNUSED idesc = abuf->idesc;
100623 int cycles = 0;
100625 int referenced = 0;
100626 int UNUSED insn_referenced = abuf->written;
100627 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100629 return cycles;
100630 #undef FLD
100633 static int
100634 model_simple_maddhss (SIM_CPU *current_cpu, void *sem_arg)
100636 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100637 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100638 const IDESC * UNUSED idesc = abuf->idesc;
100639 int cycles = 0;
100641 int referenced = 0;
100642 int UNUSED insn_referenced = abuf->written;
100643 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100645 return cycles;
100646 #undef FLD
100649 static int
100650 model_simple_maddhus (SIM_CPU *current_cpu, void *sem_arg)
100652 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100653 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100654 const IDESC * UNUSED idesc = abuf->idesc;
100655 int cycles = 0;
100657 int referenced = 0;
100658 int UNUSED insn_referenced = abuf->written;
100659 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100661 return cycles;
100662 #undef FLD
100665 static int
100666 model_simple_msubhss (SIM_CPU *current_cpu, void *sem_arg)
100668 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100669 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100670 const IDESC * UNUSED idesc = abuf->idesc;
100671 int cycles = 0;
100673 int referenced = 0;
100674 int UNUSED insn_referenced = abuf->written;
100675 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100677 return cycles;
100678 #undef FLD
100681 static int
100682 model_simple_msubhus (SIM_CPU *current_cpu, void *sem_arg)
100684 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100685 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100686 const IDESC * UNUSED idesc = abuf->idesc;
100687 int cycles = 0;
100689 int referenced = 0;
100690 int UNUSED insn_referenced = abuf->written;
100691 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100693 return cycles;
100694 #undef FLD
100697 static int
100698 model_simple_cmaddhss (SIM_CPU *current_cpu, void *sem_arg)
100700 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100701 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100702 const IDESC * UNUSED idesc = abuf->idesc;
100703 int cycles = 0;
100705 int referenced = 0;
100706 int UNUSED insn_referenced = abuf->written;
100707 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100709 return cycles;
100710 #undef FLD
100713 static int
100714 model_simple_cmaddhus (SIM_CPU *current_cpu, void *sem_arg)
100716 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100717 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100718 const IDESC * UNUSED idesc = abuf->idesc;
100719 int cycles = 0;
100721 int referenced = 0;
100722 int UNUSED insn_referenced = abuf->written;
100723 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100725 return cycles;
100726 #undef FLD
100729 static int
100730 model_simple_cmsubhss (SIM_CPU *current_cpu, void *sem_arg)
100732 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100733 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100734 const IDESC * UNUSED idesc = abuf->idesc;
100735 int cycles = 0;
100737 int referenced = 0;
100738 int UNUSED insn_referenced = abuf->written;
100739 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100741 return cycles;
100742 #undef FLD
100745 static int
100746 model_simple_cmsubhus (SIM_CPU *current_cpu, void *sem_arg)
100748 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
100749 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100750 const IDESC * UNUSED idesc = abuf->idesc;
100751 int cycles = 0;
100753 int referenced = 0;
100754 int UNUSED insn_referenced = abuf->written;
100755 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100757 return cycles;
100758 #undef FLD
100761 static int
100762 model_simple_mqaddhss (SIM_CPU *current_cpu, void *sem_arg)
100764 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100765 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100766 const IDESC * UNUSED idesc = abuf->idesc;
100767 int cycles = 0;
100769 int referenced = 0;
100770 int UNUSED insn_referenced = abuf->written;
100771 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100773 return cycles;
100774 #undef FLD
100777 static int
100778 model_simple_mqaddhus (SIM_CPU *current_cpu, void *sem_arg)
100780 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100781 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100782 const IDESC * UNUSED idesc = abuf->idesc;
100783 int cycles = 0;
100785 int referenced = 0;
100786 int UNUSED insn_referenced = abuf->written;
100787 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100789 return cycles;
100790 #undef FLD
100793 static int
100794 model_simple_mqsubhss (SIM_CPU *current_cpu, void *sem_arg)
100796 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100797 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100798 const IDESC * UNUSED idesc = abuf->idesc;
100799 int cycles = 0;
100801 int referenced = 0;
100802 int UNUSED insn_referenced = abuf->written;
100803 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100805 return cycles;
100806 #undef FLD
100809 static int
100810 model_simple_mqsubhus (SIM_CPU *current_cpu, void *sem_arg)
100812 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100813 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100814 const IDESC * UNUSED idesc = abuf->idesc;
100815 int cycles = 0;
100817 int referenced = 0;
100818 int UNUSED insn_referenced = abuf->written;
100819 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100821 return cycles;
100822 #undef FLD
100825 static int
100826 model_simple_cmqaddhss (SIM_CPU *current_cpu, void *sem_arg)
100828 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100829 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100830 const IDESC * UNUSED idesc = abuf->idesc;
100831 int cycles = 0;
100833 int referenced = 0;
100834 int UNUSED insn_referenced = abuf->written;
100835 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100837 return cycles;
100838 #undef FLD
100841 static int
100842 model_simple_cmqaddhus (SIM_CPU *current_cpu, void *sem_arg)
100844 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100845 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100846 const IDESC * UNUSED idesc = abuf->idesc;
100847 int cycles = 0;
100849 int referenced = 0;
100850 int UNUSED insn_referenced = abuf->written;
100851 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100853 return cycles;
100854 #undef FLD
100857 static int
100858 model_simple_cmqsubhss (SIM_CPU *current_cpu, void *sem_arg)
100860 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100861 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100862 const IDESC * UNUSED idesc = abuf->idesc;
100863 int cycles = 0;
100865 int referenced = 0;
100866 int UNUSED insn_referenced = abuf->written;
100867 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100869 return cycles;
100870 #undef FLD
100873 static int
100874 model_simple_cmqsubhus (SIM_CPU *current_cpu, void *sem_arg)
100876 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100877 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100878 const IDESC * UNUSED idesc = abuf->idesc;
100879 int cycles = 0;
100881 int referenced = 0;
100882 int UNUSED insn_referenced = abuf->written;
100883 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100885 return cycles;
100886 #undef FLD
100889 static int
100890 model_simple_mqlclrhs (SIM_CPU *current_cpu, void *sem_arg)
100892 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100893 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100894 const IDESC * UNUSED idesc = abuf->idesc;
100895 int cycles = 0;
100897 int referenced = 0;
100898 int UNUSED insn_referenced = abuf->written;
100899 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100901 return cycles;
100902 #undef FLD
100905 static int
100906 model_simple_mqlmths (SIM_CPU *current_cpu, void *sem_arg)
100908 #define FLD(f) abuf->fields.sfmt_cmqaddhss.f
100909 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100910 const IDESC * UNUSED idesc = abuf->idesc;
100911 int cycles = 0;
100913 int referenced = 0;
100914 int UNUSED insn_referenced = abuf->written;
100915 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100917 return cycles;
100918 #undef FLD
100921 static int
100922 model_simple_mqsllhi (SIM_CPU *current_cpu, void *sem_arg)
100924 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
100925 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100926 const IDESC * UNUSED idesc = abuf->idesc;
100927 int cycles = 0;
100929 int referenced = 0;
100930 int UNUSED insn_referenced = abuf->written;
100931 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100933 return cycles;
100934 #undef FLD
100937 static int
100938 model_simple_mqsrahi (SIM_CPU *current_cpu, void *sem_arg)
100940 #define FLD(f) abuf->fields.sfmt_mqsllhi.f
100941 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100942 const IDESC * UNUSED idesc = abuf->idesc;
100943 int cycles = 0;
100945 int referenced = 0;
100946 int UNUSED insn_referenced = abuf->written;
100947 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100949 return cycles;
100950 #undef FLD
100953 static int
100954 model_simple_maddaccs (SIM_CPU *current_cpu, void *sem_arg)
100956 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
100957 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100958 const IDESC * UNUSED idesc = abuf->idesc;
100959 int cycles = 0;
100961 int referenced = 0;
100962 int UNUSED insn_referenced = abuf->written;
100963 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100965 return cycles;
100966 #undef FLD
100969 static int
100970 model_simple_msubaccs (SIM_CPU *current_cpu, void *sem_arg)
100972 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
100973 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100974 const IDESC * UNUSED idesc = abuf->idesc;
100975 int cycles = 0;
100977 int referenced = 0;
100978 int UNUSED insn_referenced = abuf->written;
100979 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100981 return cycles;
100982 #undef FLD
100985 static int
100986 model_simple_mdaddaccs (SIM_CPU *current_cpu, void *sem_arg)
100988 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
100989 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
100990 const IDESC * UNUSED idesc = abuf->idesc;
100991 int cycles = 0;
100993 int referenced = 0;
100994 int UNUSED insn_referenced = abuf->written;
100995 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
100997 return cycles;
100998 #undef FLD
101001 static int
101002 model_simple_mdsubaccs (SIM_CPU *current_cpu, void *sem_arg)
101004 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
101005 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101006 const IDESC * UNUSED idesc = abuf->idesc;
101007 int cycles = 0;
101009 int referenced = 0;
101010 int UNUSED insn_referenced = abuf->written;
101011 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101013 return cycles;
101014 #undef FLD
101017 static int
101018 model_simple_masaccs (SIM_CPU *current_cpu, void *sem_arg)
101020 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
101021 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101022 const IDESC * UNUSED idesc = abuf->idesc;
101023 int cycles = 0;
101025 int referenced = 0;
101026 int UNUSED insn_referenced = abuf->written;
101027 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101029 return cycles;
101030 #undef FLD
101033 static int
101034 model_simple_mdasaccs (SIM_CPU *current_cpu, void *sem_arg)
101036 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
101037 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101038 const IDESC * UNUSED idesc = abuf->idesc;
101039 int cycles = 0;
101041 int referenced = 0;
101042 int UNUSED insn_referenced = abuf->written;
101043 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101045 return cycles;
101046 #undef FLD
101049 static int
101050 model_simple_mmulhs (SIM_CPU *current_cpu, void *sem_arg)
101052 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101053 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101054 const IDESC * UNUSED idesc = abuf->idesc;
101055 int cycles = 0;
101057 int referenced = 0;
101058 int UNUSED insn_referenced = abuf->written;
101059 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101061 return cycles;
101062 #undef FLD
101065 static int
101066 model_simple_mmulhu (SIM_CPU *current_cpu, void *sem_arg)
101068 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101069 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101070 const IDESC * UNUSED idesc = abuf->idesc;
101071 int cycles = 0;
101073 int referenced = 0;
101074 int UNUSED insn_referenced = abuf->written;
101075 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101077 return cycles;
101078 #undef FLD
101081 static int
101082 model_simple_mmulxhs (SIM_CPU *current_cpu, void *sem_arg)
101084 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101085 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101086 const IDESC * UNUSED idesc = abuf->idesc;
101087 int cycles = 0;
101089 int referenced = 0;
101090 int UNUSED insn_referenced = abuf->written;
101091 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101093 return cycles;
101094 #undef FLD
101097 static int
101098 model_simple_mmulxhu (SIM_CPU *current_cpu, void *sem_arg)
101100 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101101 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101102 const IDESC * UNUSED idesc = abuf->idesc;
101103 int cycles = 0;
101105 int referenced = 0;
101106 int UNUSED insn_referenced = abuf->written;
101107 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101109 return cycles;
101110 #undef FLD
101113 static int
101114 model_simple_cmmulhs (SIM_CPU *current_cpu, void *sem_arg)
101116 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101117 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101118 const IDESC * UNUSED idesc = abuf->idesc;
101119 int cycles = 0;
101121 int referenced = 0;
101122 int UNUSED insn_referenced = abuf->written;
101123 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101125 return cycles;
101126 #undef FLD
101129 static int
101130 model_simple_cmmulhu (SIM_CPU *current_cpu, void *sem_arg)
101132 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101133 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101134 const IDESC * UNUSED idesc = abuf->idesc;
101135 int cycles = 0;
101137 int referenced = 0;
101138 int UNUSED insn_referenced = abuf->written;
101139 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101141 return cycles;
101142 #undef FLD
101145 static int
101146 model_simple_mqmulhs (SIM_CPU *current_cpu, void *sem_arg)
101148 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101149 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101150 const IDESC * UNUSED idesc = abuf->idesc;
101151 int cycles = 0;
101153 int referenced = 0;
101154 int UNUSED insn_referenced = abuf->written;
101155 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101157 return cycles;
101158 #undef FLD
101161 static int
101162 model_simple_mqmulhu (SIM_CPU *current_cpu, void *sem_arg)
101164 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101165 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101166 const IDESC * UNUSED idesc = abuf->idesc;
101167 int cycles = 0;
101169 int referenced = 0;
101170 int UNUSED insn_referenced = abuf->written;
101171 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101173 return cycles;
101174 #undef FLD
101177 static int
101178 model_simple_mqmulxhs (SIM_CPU *current_cpu, void *sem_arg)
101180 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101181 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101182 const IDESC * UNUSED idesc = abuf->idesc;
101183 int cycles = 0;
101185 int referenced = 0;
101186 int UNUSED insn_referenced = abuf->written;
101187 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101189 return cycles;
101190 #undef FLD
101193 static int
101194 model_simple_mqmulxhu (SIM_CPU *current_cpu, void *sem_arg)
101196 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101197 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101198 const IDESC * UNUSED idesc = abuf->idesc;
101199 int cycles = 0;
101201 int referenced = 0;
101202 int UNUSED insn_referenced = abuf->written;
101203 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101205 return cycles;
101206 #undef FLD
101209 static int
101210 model_simple_cmqmulhs (SIM_CPU *current_cpu, void *sem_arg)
101212 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101213 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101214 const IDESC * UNUSED idesc = abuf->idesc;
101215 int cycles = 0;
101217 int referenced = 0;
101218 int UNUSED insn_referenced = abuf->written;
101219 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101221 return cycles;
101222 #undef FLD
101225 static int
101226 model_simple_cmqmulhu (SIM_CPU *current_cpu, void *sem_arg)
101228 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101229 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101230 const IDESC * UNUSED idesc = abuf->idesc;
101231 int cycles = 0;
101233 int referenced = 0;
101234 int UNUSED insn_referenced = abuf->written;
101235 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101237 return cycles;
101238 #undef FLD
101241 static int
101242 model_simple_mmachs (SIM_CPU *current_cpu, void *sem_arg)
101244 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101245 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101246 const IDESC * UNUSED idesc = abuf->idesc;
101247 int cycles = 0;
101249 int referenced = 0;
101250 int UNUSED insn_referenced = abuf->written;
101251 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101253 return cycles;
101254 #undef FLD
101257 static int
101258 model_simple_mmachu (SIM_CPU *current_cpu, void *sem_arg)
101260 #define FLD(f) abuf->fields.sfmt_cmmachu.f
101261 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101262 const IDESC * UNUSED idesc = abuf->idesc;
101263 int cycles = 0;
101265 int referenced = 0;
101266 int UNUSED insn_referenced = abuf->written;
101267 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101269 return cycles;
101270 #undef FLD
101273 static int
101274 model_simple_mmrdhs (SIM_CPU *current_cpu, void *sem_arg)
101276 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101277 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101278 const IDESC * UNUSED idesc = abuf->idesc;
101279 int cycles = 0;
101281 int referenced = 0;
101282 int UNUSED insn_referenced = abuf->written;
101283 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101285 return cycles;
101286 #undef FLD
101289 static int
101290 model_simple_mmrdhu (SIM_CPU *current_cpu, void *sem_arg)
101292 #define FLD(f) abuf->fields.sfmt_cmmachu.f
101293 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101294 const IDESC * UNUSED idesc = abuf->idesc;
101295 int cycles = 0;
101297 int referenced = 0;
101298 int UNUSED insn_referenced = abuf->written;
101299 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101301 return cycles;
101302 #undef FLD
101305 static int
101306 model_simple_cmmachs (SIM_CPU *current_cpu, void *sem_arg)
101308 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101309 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101310 const IDESC * UNUSED idesc = abuf->idesc;
101311 int cycles = 0;
101313 int referenced = 0;
101314 int UNUSED insn_referenced = abuf->written;
101315 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101317 return cycles;
101318 #undef FLD
101321 static int
101322 model_simple_cmmachu (SIM_CPU *current_cpu, void *sem_arg)
101324 #define FLD(f) abuf->fields.sfmt_cmmachu.f
101325 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101326 const IDESC * UNUSED idesc = abuf->idesc;
101327 int cycles = 0;
101329 int referenced = 0;
101330 int UNUSED insn_referenced = abuf->written;
101331 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101333 return cycles;
101334 #undef FLD
101337 static int
101338 model_simple_mqmachs (SIM_CPU *current_cpu, void *sem_arg)
101340 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101341 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101342 const IDESC * UNUSED idesc = abuf->idesc;
101343 int cycles = 0;
101345 int referenced = 0;
101346 int UNUSED insn_referenced = abuf->written;
101347 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101349 return cycles;
101350 #undef FLD
101353 static int
101354 model_simple_mqmachu (SIM_CPU *current_cpu, void *sem_arg)
101356 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
101357 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101358 const IDESC * UNUSED idesc = abuf->idesc;
101359 int cycles = 0;
101361 int referenced = 0;
101362 int UNUSED insn_referenced = abuf->written;
101363 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101365 return cycles;
101366 #undef FLD
101369 static int
101370 model_simple_cmqmachs (SIM_CPU *current_cpu, void *sem_arg)
101372 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101373 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101374 const IDESC * UNUSED idesc = abuf->idesc;
101375 int cycles = 0;
101377 int referenced = 0;
101378 int UNUSED insn_referenced = abuf->written;
101379 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101381 return cycles;
101382 #undef FLD
101385 static int
101386 model_simple_cmqmachu (SIM_CPU *current_cpu, void *sem_arg)
101388 #define FLD(f) abuf->fields.sfmt_cmqmachu.f
101389 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101390 const IDESC * UNUSED idesc = abuf->idesc;
101391 int cycles = 0;
101393 int referenced = 0;
101394 int UNUSED insn_referenced = abuf->written;
101395 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101397 return cycles;
101398 #undef FLD
101401 static int
101402 model_simple_mqxmachs (SIM_CPU *current_cpu, void *sem_arg)
101404 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101405 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101406 const IDESC * UNUSED idesc = abuf->idesc;
101407 int cycles = 0;
101409 int referenced = 0;
101410 int UNUSED insn_referenced = abuf->written;
101411 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101413 return cycles;
101414 #undef FLD
101417 static int
101418 model_simple_mqxmacxhs (SIM_CPU *current_cpu, void *sem_arg)
101420 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101421 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101422 const IDESC * UNUSED idesc = abuf->idesc;
101423 int cycles = 0;
101425 int referenced = 0;
101426 int UNUSED insn_referenced = abuf->written;
101427 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101429 return cycles;
101430 #undef FLD
101433 static int
101434 model_simple_mqmacxhs (SIM_CPU *current_cpu, void *sem_arg)
101436 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101437 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101438 const IDESC * UNUSED idesc = abuf->idesc;
101439 int cycles = 0;
101441 int referenced = 0;
101442 int UNUSED insn_referenced = abuf->written;
101443 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101445 return cycles;
101446 #undef FLD
101449 static int
101450 model_simple_mcpxrs (SIM_CPU *current_cpu, void *sem_arg)
101452 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101453 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101454 const IDESC * UNUSED idesc = abuf->idesc;
101455 int cycles = 0;
101457 int referenced = 0;
101458 int UNUSED insn_referenced = abuf->written;
101459 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101461 return cycles;
101462 #undef FLD
101465 static int
101466 model_simple_mcpxru (SIM_CPU *current_cpu, void *sem_arg)
101468 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101469 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101470 const IDESC * UNUSED idesc = abuf->idesc;
101471 int cycles = 0;
101473 int referenced = 0;
101474 int UNUSED insn_referenced = abuf->written;
101475 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101477 return cycles;
101478 #undef FLD
101481 static int
101482 model_simple_mcpxis (SIM_CPU *current_cpu, void *sem_arg)
101484 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101485 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101486 const IDESC * UNUSED idesc = abuf->idesc;
101487 int cycles = 0;
101489 int referenced = 0;
101490 int UNUSED insn_referenced = abuf->written;
101491 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101493 return cycles;
101494 #undef FLD
101497 static int
101498 model_simple_mcpxiu (SIM_CPU *current_cpu, void *sem_arg)
101500 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101501 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101502 const IDESC * UNUSED idesc = abuf->idesc;
101503 int cycles = 0;
101505 int referenced = 0;
101506 int UNUSED insn_referenced = abuf->written;
101507 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101509 return cycles;
101510 #undef FLD
101513 static int
101514 model_simple_cmcpxrs (SIM_CPU *current_cpu, void *sem_arg)
101516 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101517 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101518 const IDESC * UNUSED idesc = abuf->idesc;
101519 int cycles = 0;
101521 int referenced = 0;
101522 int UNUSED insn_referenced = abuf->written;
101523 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101525 return cycles;
101526 #undef FLD
101529 static int
101530 model_simple_cmcpxru (SIM_CPU *current_cpu, void *sem_arg)
101532 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101533 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101534 const IDESC * UNUSED idesc = abuf->idesc;
101535 int cycles = 0;
101537 int referenced = 0;
101538 int UNUSED insn_referenced = abuf->written;
101539 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101541 return cycles;
101542 #undef FLD
101545 static int
101546 model_simple_cmcpxis (SIM_CPU *current_cpu, void *sem_arg)
101548 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101549 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101550 const IDESC * UNUSED idesc = abuf->idesc;
101551 int cycles = 0;
101553 int referenced = 0;
101554 int UNUSED insn_referenced = abuf->written;
101555 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101557 return cycles;
101558 #undef FLD
101561 static int
101562 model_simple_cmcpxiu (SIM_CPU *current_cpu, void *sem_arg)
101564 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101565 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101566 const IDESC * UNUSED idesc = abuf->idesc;
101567 int cycles = 0;
101569 int referenced = 0;
101570 int UNUSED insn_referenced = abuf->written;
101571 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101573 return cycles;
101574 #undef FLD
101577 static int
101578 model_simple_mqcpxrs (SIM_CPU *current_cpu, void *sem_arg)
101580 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101581 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101582 const IDESC * UNUSED idesc = abuf->idesc;
101583 int cycles = 0;
101585 int referenced = 0;
101586 int UNUSED insn_referenced = abuf->written;
101587 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101589 return cycles;
101590 #undef FLD
101593 static int
101594 model_simple_mqcpxru (SIM_CPU *current_cpu, void *sem_arg)
101596 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101597 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101598 const IDESC * UNUSED idesc = abuf->idesc;
101599 int cycles = 0;
101601 int referenced = 0;
101602 int UNUSED insn_referenced = abuf->written;
101603 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101605 return cycles;
101606 #undef FLD
101609 static int
101610 model_simple_mqcpxis (SIM_CPU *current_cpu, void *sem_arg)
101612 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101613 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101614 const IDESC * UNUSED idesc = abuf->idesc;
101615 int cycles = 0;
101617 int referenced = 0;
101618 int UNUSED insn_referenced = abuf->written;
101619 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101621 return cycles;
101622 #undef FLD
101625 static int
101626 model_simple_mqcpxiu (SIM_CPU *current_cpu, void *sem_arg)
101628 #define FLD(f) abuf->fields.sfmt_cmqmachs.f
101629 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101630 const IDESC * UNUSED idesc = abuf->idesc;
101631 int cycles = 0;
101633 int referenced = 0;
101634 int UNUSED insn_referenced = abuf->written;
101635 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101637 return cycles;
101638 #undef FLD
101641 static int
101642 model_simple_mexpdhw (SIM_CPU *current_cpu, void *sem_arg)
101644 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
101645 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101646 const IDESC * UNUSED idesc = abuf->idesc;
101647 int cycles = 0;
101649 int referenced = 0;
101650 int UNUSED insn_referenced = abuf->written;
101651 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101653 return cycles;
101654 #undef FLD
101657 static int
101658 model_simple_cmexpdhw (SIM_CPU *current_cpu, void *sem_arg)
101660 #define FLD(f) abuf->fields.sfmt_cmexpdhw.f
101661 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101662 const IDESC * UNUSED idesc = abuf->idesc;
101663 int cycles = 0;
101665 int referenced = 0;
101666 int UNUSED insn_referenced = abuf->written;
101667 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101669 return cycles;
101670 #undef FLD
101673 static int
101674 model_simple_mexpdhd (SIM_CPU *current_cpu, void *sem_arg)
101676 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
101677 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101678 const IDESC * UNUSED idesc = abuf->idesc;
101679 int cycles = 0;
101681 int referenced = 0;
101682 int UNUSED insn_referenced = abuf->written;
101683 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101685 return cycles;
101686 #undef FLD
101689 static int
101690 model_simple_cmexpdhd (SIM_CPU *current_cpu, void *sem_arg)
101692 #define FLD(f) abuf->fields.sfmt_cmexpdhd.f
101693 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101694 const IDESC * UNUSED idesc = abuf->idesc;
101695 int cycles = 0;
101697 int referenced = 0;
101698 int UNUSED insn_referenced = abuf->written;
101699 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101701 return cycles;
101702 #undef FLD
101705 static int
101706 model_simple_mpackh (SIM_CPU *current_cpu, void *sem_arg)
101708 #define FLD(f) abuf->fields.sfmt_cmaddhss.f
101709 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101710 const IDESC * UNUSED idesc = abuf->idesc;
101711 int cycles = 0;
101713 int referenced = 0;
101714 int UNUSED insn_referenced = abuf->written;
101715 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101717 return cycles;
101718 #undef FLD
101721 static int
101722 model_simple_mdpackh (SIM_CPU *current_cpu, void *sem_arg)
101724 #define FLD(f) abuf->fields.sfmt_mdpackh.f
101725 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101726 const IDESC * UNUSED idesc = abuf->idesc;
101727 int cycles = 0;
101729 int referenced = 0;
101730 int UNUSED insn_referenced = abuf->written;
101731 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101733 return cycles;
101734 #undef FLD
101737 static int
101738 model_simple_munpackh (SIM_CPU *current_cpu, void *sem_arg)
101740 #define FLD(f) abuf->fields.sfmt_munpackh.f
101741 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101742 const IDESC * UNUSED idesc = abuf->idesc;
101743 int cycles = 0;
101745 int referenced = 0;
101746 int UNUSED insn_referenced = abuf->written;
101747 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101749 return cycles;
101750 #undef FLD
101753 static int
101754 model_simple_mdunpackh (SIM_CPU *current_cpu, void *sem_arg)
101756 #define FLD(f) abuf->fields.sfmt_mdunpackh.f
101757 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101758 const IDESC * UNUSED idesc = abuf->idesc;
101759 int cycles = 0;
101761 int referenced = 0;
101762 int UNUSED insn_referenced = abuf->written;
101763 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101765 return cycles;
101766 #undef FLD
101769 static int
101770 model_simple_mbtoh (SIM_CPU *current_cpu, void *sem_arg)
101772 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
101773 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101774 const IDESC * UNUSED idesc = abuf->idesc;
101775 int cycles = 0;
101777 int referenced = 0;
101778 int UNUSED insn_referenced = abuf->written;
101779 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101781 return cycles;
101782 #undef FLD
101785 static int
101786 model_simple_cmbtoh (SIM_CPU *current_cpu, void *sem_arg)
101788 #define FLD(f) abuf->fields.sfmt_cmbtoh.f
101789 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101790 const IDESC * UNUSED idesc = abuf->idesc;
101791 int cycles = 0;
101793 int referenced = 0;
101794 int UNUSED insn_referenced = abuf->written;
101795 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101797 return cycles;
101798 #undef FLD
101801 static int
101802 model_simple_mhtob (SIM_CPU *current_cpu, void *sem_arg)
101804 #define FLD(f) abuf->fields.sfmt_cmhtob.f
101805 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101806 const IDESC * UNUSED idesc = abuf->idesc;
101807 int cycles = 0;
101809 int referenced = 0;
101810 int UNUSED insn_referenced = abuf->written;
101811 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101813 return cycles;
101814 #undef FLD
101817 static int
101818 model_simple_cmhtob (SIM_CPU *current_cpu, void *sem_arg)
101820 #define FLD(f) abuf->fields.sfmt_cmhtob.f
101821 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101822 const IDESC * UNUSED idesc = abuf->idesc;
101823 int cycles = 0;
101825 int referenced = 0;
101826 int UNUSED insn_referenced = abuf->written;
101827 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101829 return cycles;
101830 #undef FLD
101833 static int
101834 model_simple_mbtohe (SIM_CPU *current_cpu, void *sem_arg)
101836 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
101837 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101838 const IDESC * UNUSED idesc = abuf->idesc;
101839 int cycles = 0;
101841 int referenced = 0;
101842 int UNUSED insn_referenced = abuf->written;
101843 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101845 return cycles;
101846 #undef FLD
101849 static int
101850 model_simple_cmbtohe (SIM_CPU *current_cpu, void *sem_arg)
101852 #define FLD(f) abuf->fields.sfmt_cmbtohe.f
101853 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101854 const IDESC * UNUSED idesc = abuf->idesc;
101855 int cycles = 0;
101857 int referenced = 0;
101858 int UNUSED insn_referenced = abuf->written;
101859 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101861 return cycles;
101862 #undef FLD
101865 static int
101866 model_simple_mnop (SIM_CPU *current_cpu, void *sem_arg)
101868 #define FLD(f) abuf->fields.sfmt_empty.f
101869 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101870 const IDESC * UNUSED idesc = abuf->idesc;
101871 int cycles = 0;
101873 int referenced = 0;
101874 int UNUSED insn_referenced = abuf->written;
101875 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101877 return cycles;
101878 #undef FLD
101881 static int
101882 model_simple_mclracc_0 (SIM_CPU *current_cpu, void *sem_arg)
101884 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
101885 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101886 const IDESC * UNUSED idesc = abuf->idesc;
101887 int cycles = 0;
101889 int referenced = 0;
101890 int UNUSED insn_referenced = abuf->written;
101891 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101893 return cycles;
101894 #undef FLD
101897 static int
101898 model_simple_mclracc_1 (SIM_CPU *current_cpu, void *sem_arg)
101900 #define FLD(f) abuf->fields.sfmt_mdasaccs.f
101901 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101902 const IDESC * UNUSED idesc = abuf->idesc;
101903 int cycles = 0;
101905 int referenced = 0;
101906 int UNUSED insn_referenced = abuf->written;
101907 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101909 return cycles;
101910 #undef FLD
101913 static int
101914 model_simple_mrdacc (SIM_CPU *current_cpu, void *sem_arg)
101916 #define FLD(f) abuf->fields.sfmt_mcuti.f
101917 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101918 const IDESC * UNUSED idesc = abuf->idesc;
101919 int cycles = 0;
101921 int referenced = 0;
101922 int UNUSED insn_referenced = abuf->written;
101923 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101925 return cycles;
101926 #undef FLD
101929 static int
101930 model_simple_mrdaccg (SIM_CPU *current_cpu, void *sem_arg)
101932 #define FLD(f) abuf->fields.sfmt_mrdaccg.f
101933 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101934 const IDESC * UNUSED idesc = abuf->idesc;
101935 int cycles = 0;
101937 int referenced = 0;
101938 int UNUSED insn_referenced = abuf->written;
101939 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101941 return cycles;
101942 #undef FLD
101945 static int
101946 model_simple_mwtacc (SIM_CPU *current_cpu, void *sem_arg)
101948 #define FLD(f) abuf->fields.sfmt_cmmachs.f
101949 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101950 const IDESC * UNUSED idesc = abuf->idesc;
101951 int cycles = 0;
101953 int referenced = 0;
101954 int UNUSED insn_referenced = abuf->written;
101955 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101957 return cycles;
101958 #undef FLD
101961 static int
101962 model_simple_mwtaccg (SIM_CPU *current_cpu, void *sem_arg)
101964 #define FLD(f) abuf->fields.sfmt_mwtaccg.f
101965 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101966 const IDESC * UNUSED idesc = abuf->idesc;
101967 int cycles = 0;
101969 int referenced = 0;
101970 int UNUSED insn_referenced = abuf->written;
101971 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101973 return cycles;
101974 #undef FLD
101977 static int
101978 model_simple_mcop1 (SIM_CPU *current_cpu, void *sem_arg)
101980 #define FLD(f) abuf->fields.sfmt_empty.f
101981 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101982 const IDESC * UNUSED idesc = abuf->idesc;
101983 int cycles = 0;
101985 int referenced = 0;
101986 int UNUSED insn_referenced = abuf->written;
101987 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
101989 return cycles;
101990 #undef FLD
101993 static int
101994 model_simple_mcop2 (SIM_CPU *current_cpu, void *sem_arg)
101996 #define FLD(f) abuf->fields.sfmt_empty.f
101997 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
101998 const IDESC * UNUSED idesc = abuf->idesc;
101999 int cycles = 0;
102001 int referenced = 0;
102002 int UNUSED insn_referenced = abuf->written;
102003 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
102005 return cycles;
102006 #undef FLD
102009 static int
102010 model_simple_fnop (SIM_CPU *current_cpu, void *sem_arg)
102012 #define FLD(f) abuf->fields.sfmt_empty.f
102013 const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
102014 const IDESC * UNUSED idesc = abuf->idesc;
102015 int cycles = 0;
102017 int referenced = 0;
102018 int UNUSED insn_referenced = abuf->written;
102019 cycles += frvbf_model_simple_u_exec (current_cpu, idesc, 0, referenced);
102021 return cycles;
102022 #undef FLD
102025 /* We assume UNIT_NONE == 0 because the tables don't always terminate
102026 entries with it. */
102028 /* Model timing data for `frv'. */
102030 static const INSN_TIMING frv_timing[] = {
102031 { FRVBF_INSN_X_INVALID, 0, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102032 { FRVBF_INSN_X_AFTER, 0, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102033 { FRVBF_INSN_X_BEFORE, 0, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102034 { FRVBF_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102035 { FRVBF_INSN_X_CHAIN, 0, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102036 { FRVBF_INSN_X_BEGIN, 0, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102037 { FRVBF_INSN_ADD, model_frv_add, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102038 { FRVBF_INSN_SUB, model_frv_sub, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102039 { FRVBF_INSN_AND, model_frv_and, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102040 { FRVBF_INSN_OR, model_frv_or, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102041 { FRVBF_INSN_XOR, model_frv_xor, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102042 { FRVBF_INSN_NOT, model_frv_not, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102043 { FRVBF_INSN_SDIV, model_frv_sdiv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102044 { FRVBF_INSN_NSDIV, model_frv_nsdiv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102045 { FRVBF_INSN_UDIV, model_frv_udiv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102046 { FRVBF_INSN_NUDIV, model_frv_nudiv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102047 { FRVBF_INSN_SMUL, model_frv_smul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102048 { FRVBF_INSN_UMUL, model_frv_umul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102049 { FRVBF_INSN_SMU, model_frv_smu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102050 { FRVBF_INSN_SMASS, model_frv_smass, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102051 { FRVBF_INSN_SMSSS, model_frv_smsss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102052 { FRVBF_INSN_SLL, model_frv_sll, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102053 { FRVBF_INSN_SRL, model_frv_srl, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102054 { FRVBF_INSN_SRA, model_frv_sra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102055 { FRVBF_INSN_SLASS, model_frv_slass, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102056 { FRVBF_INSN_SCUTSS, model_frv_scutss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102057 { FRVBF_INSN_SCAN, model_frv_scan, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102058 { FRVBF_INSN_CADD, model_frv_cadd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102059 { FRVBF_INSN_CSUB, model_frv_csub, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102060 { FRVBF_INSN_CAND, model_frv_cand, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102061 { FRVBF_INSN_COR, model_frv_cor, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102062 { FRVBF_INSN_CXOR, model_frv_cxor, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102063 { FRVBF_INSN_CNOT, model_frv_cnot, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102064 { FRVBF_INSN_CSMUL, model_frv_csmul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102065 { FRVBF_INSN_CSDIV, model_frv_csdiv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102066 { FRVBF_INSN_CUDIV, model_frv_cudiv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102067 { FRVBF_INSN_CSLL, model_frv_csll, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102068 { FRVBF_INSN_CSRL, model_frv_csrl, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102069 { FRVBF_INSN_CSRA, model_frv_csra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102070 { FRVBF_INSN_CSCAN, model_frv_cscan, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102071 { FRVBF_INSN_ADDCC, model_frv_addcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102072 { FRVBF_INSN_SUBCC, model_frv_subcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102073 { FRVBF_INSN_ANDCC, model_frv_andcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102074 { FRVBF_INSN_ORCC, model_frv_orcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102075 { FRVBF_INSN_XORCC, model_frv_xorcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102076 { FRVBF_INSN_SLLCC, model_frv_sllcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102077 { FRVBF_INSN_SRLCC, model_frv_srlcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102078 { FRVBF_INSN_SRACC, model_frv_sracc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102079 { FRVBF_INSN_SMULCC, model_frv_smulcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102080 { FRVBF_INSN_UMULCC, model_frv_umulcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102081 { FRVBF_INSN_CADDCC, model_frv_caddcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102082 { FRVBF_INSN_CSUBCC, model_frv_csubcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102083 { FRVBF_INSN_CSMULCC, model_frv_csmulcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102084 { FRVBF_INSN_CANDCC, model_frv_candcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102085 { FRVBF_INSN_CORCC, model_frv_corcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102086 { FRVBF_INSN_CXORCC, model_frv_cxorcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102087 { FRVBF_INSN_CSLLCC, model_frv_csllcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102088 { FRVBF_INSN_CSRLCC, model_frv_csrlcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102089 { FRVBF_INSN_CSRACC, model_frv_csracc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102090 { FRVBF_INSN_ADDX, model_frv_addx, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102091 { FRVBF_INSN_SUBX, model_frv_subx, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102092 { FRVBF_INSN_ADDXCC, model_frv_addxcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102093 { FRVBF_INSN_SUBXCC, model_frv_subxcc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102094 { FRVBF_INSN_ADDSS, model_frv_addss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102095 { FRVBF_INSN_SUBSS, model_frv_subss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102096 { FRVBF_INSN_ADDI, model_frv_addi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102097 { FRVBF_INSN_SUBI, model_frv_subi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102098 { FRVBF_INSN_ANDI, model_frv_andi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102099 { FRVBF_INSN_ORI, model_frv_ori, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102100 { FRVBF_INSN_XORI, model_frv_xori, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102101 { FRVBF_INSN_SDIVI, model_frv_sdivi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102102 { FRVBF_INSN_NSDIVI, model_frv_nsdivi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102103 { FRVBF_INSN_UDIVI, model_frv_udivi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102104 { FRVBF_INSN_NUDIVI, model_frv_nudivi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102105 { FRVBF_INSN_SMULI, model_frv_smuli, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102106 { FRVBF_INSN_UMULI, model_frv_umuli, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102107 { FRVBF_INSN_SLLI, model_frv_slli, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102108 { FRVBF_INSN_SRLI, model_frv_srli, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102109 { FRVBF_INSN_SRAI, model_frv_srai, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102110 { FRVBF_INSN_SCANI, model_frv_scani, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102111 { FRVBF_INSN_ADDICC, model_frv_addicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102112 { FRVBF_INSN_SUBICC, model_frv_subicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102113 { FRVBF_INSN_ANDICC, model_frv_andicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102114 { FRVBF_INSN_ORICC, model_frv_oricc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102115 { FRVBF_INSN_XORICC, model_frv_xoricc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102116 { FRVBF_INSN_SMULICC, model_frv_smulicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102117 { FRVBF_INSN_UMULICC, model_frv_umulicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102118 { FRVBF_INSN_SLLICC, model_frv_sllicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102119 { FRVBF_INSN_SRLICC, model_frv_srlicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102120 { FRVBF_INSN_SRAICC, model_frv_sraicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102121 { FRVBF_INSN_ADDXI, model_frv_addxi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102122 { FRVBF_INSN_SUBXI, model_frv_subxi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102123 { FRVBF_INSN_ADDXICC, model_frv_addxicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102124 { FRVBF_INSN_SUBXICC, model_frv_subxicc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102125 { FRVBF_INSN_CMPB, model_frv_cmpb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102126 { FRVBF_INSN_CMPBA, model_frv_cmpba, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102127 { FRVBF_INSN_SETLO, model_frv_setlo, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102128 { FRVBF_INSN_SETHI, model_frv_sethi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102129 { FRVBF_INSN_SETLOS, model_frv_setlos, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102130 { FRVBF_INSN_LDSB, model_frv_ldsb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102131 { FRVBF_INSN_LDUB, model_frv_ldub, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102132 { FRVBF_INSN_LDSH, model_frv_ldsh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102133 { FRVBF_INSN_LDUH, model_frv_lduh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102134 { FRVBF_INSN_LD, model_frv_ld, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102135 { FRVBF_INSN_LDBF, model_frv_ldbf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102136 { FRVBF_INSN_LDHF, model_frv_ldhf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102137 { FRVBF_INSN_LDF, model_frv_ldf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102138 { FRVBF_INSN_LDC, model_frv_ldc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102139 { FRVBF_INSN_NLDSB, model_frv_nldsb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102140 { FRVBF_INSN_NLDUB, model_frv_nldub, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102141 { FRVBF_INSN_NLDSH, model_frv_nldsh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102142 { FRVBF_INSN_NLDUH, model_frv_nlduh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102143 { FRVBF_INSN_NLD, model_frv_nld, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102144 { FRVBF_INSN_NLDBF, model_frv_nldbf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102145 { FRVBF_INSN_NLDHF, model_frv_nldhf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102146 { FRVBF_INSN_NLDF, model_frv_nldf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102147 { FRVBF_INSN_LDD, model_frv_ldd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102148 { FRVBF_INSN_LDDF, model_frv_lddf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102149 { FRVBF_INSN_LDDC, model_frv_lddc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102150 { FRVBF_INSN_NLDD, model_frv_nldd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102151 { FRVBF_INSN_NLDDF, model_frv_nlddf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102152 { FRVBF_INSN_LDQ, model_frv_ldq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102153 { FRVBF_INSN_LDQF, model_frv_ldqf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102154 { FRVBF_INSN_LDQC, model_frv_ldqc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102155 { FRVBF_INSN_NLDQ, model_frv_nldq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102156 { FRVBF_INSN_NLDQF, model_frv_nldqf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102157 { FRVBF_INSN_LDSBU, model_frv_ldsbu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102158 { FRVBF_INSN_LDUBU, model_frv_ldubu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102159 { FRVBF_INSN_LDSHU, model_frv_ldshu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102160 { FRVBF_INSN_LDUHU, model_frv_lduhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102161 { FRVBF_INSN_LDU, model_frv_ldu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102162 { FRVBF_INSN_NLDSBU, model_frv_nldsbu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102163 { FRVBF_INSN_NLDUBU, model_frv_nldubu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102164 { FRVBF_INSN_NLDSHU, model_frv_nldshu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102165 { FRVBF_INSN_NLDUHU, model_frv_nlduhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102166 { FRVBF_INSN_NLDU, model_frv_nldu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102167 { FRVBF_INSN_LDBFU, model_frv_ldbfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102168 { FRVBF_INSN_LDHFU, model_frv_ldhfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102169 { FRVBF_INSN_LDFU, model_frv_ldfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102170 { FRVBF_INSN_LDCU, model_frv_ldcu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102171 { FRVBF_INSN_NLDBFU, model_frv_nldbfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102172 { FRVBF_INSN_NLDHFU, model_frv_nldhfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102173 { FRVBF_INSN_NLDFU, model_frv_nldfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102174 { FRVBF_INSN_LDDU, model_frv_lddu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102175 { FRVBF_INSN_NLDDU, model_frv_nlddu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102176 { FRVBF_INSN_LDDFU, model_frv_lddfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102177 { FRVBF_INSN_LDDCU, model_frv_lddcu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102178 { FRVBF_INSN_NLDDFU, model_frv_nlddfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102179 { FRVBF_INSN_LDQU, model_frv_ldqu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102180 { FRVBF_INSN_NLDQU, model_frv_nldqu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102181 { FRVBF_INSN_LDQFU, model_frv_ldqfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102182 { FRVBF_INSN_LDQCU, model_frv_ldqcu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102183 { FRVBF_INSN_NLDQFU, model_frv_nldqfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102184 { FRVBF_INSN_LDSBI, model_frv_ldsbi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102185 { FRVBF_INSN_LDSHI, model_frv_ldshi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102186 { FRVBF_INSN_LDI, model_frv_ldi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102187 { FRVBF_INSN_LDUBI, model_frv_ldubi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102188 { FRVBF_INSN_LDUHI, model_frv_lduhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102189 { FRVBF_INSN_LDBFI, model_frv_ldbfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102190 { FRVBF_INSN_LDHFI, model_frv_ldhfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102191 { FRVBF_INSN_LDFI, model_frv_ldfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102192 { FRVBF_INSN_NLDSBI, model_frv_nldsbi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102193 { FRVBF_INSN_NLDUBI, model_frv_nldubi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102194 { FRVBF_INSN_NLDSHI, model_frv_nldshi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102195 { FRVBF_INSN_NLDUHI, model_frv_nlduhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102196 { FRVBF_INSN_NLDI, model_frv_nldi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102197 { FRVBF_INSN_NLDBFI, model_frv_nldbfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102198 { FRVBF_INSN_NLDHFI, model_frv_nldhfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102199 { FRVBF_INSN_NLDFI, model_frv_nldfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102200 { FRVBF_INSN_LDDI, model_frv_lddi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102201 { FRVBF_INSN_LDDFI, model_frv_lddfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102202 { FRVBF_INSN_NLDDI, model_frv_nlddi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102203 { FRVBF_INSN_NLDDFI, model_frv_nlddfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102204 { FRVBF_INSN_LDQI, model_frv_ldqi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102205 { FRVBF_INSN_LDQFI, model_frv_ldqfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102206 { FRVBF_INSN_NLDQFI, model_frv_nldqfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102207 { FRVBF_INSN_STB, model_frv_stb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102208 { FRVBF_INSN_STH, model_frv_sth, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102209 { FRVBF_INSN_ST, model_frv_st, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102210 { FRVBF_INSN_STBF, model_frv_stbf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102211 { FRVBF_INSN_STHF, model_frv_sthf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102212 { FRVBF_INSN_STF, model_frv_stf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102213 { FRVBF_INSN_STC, model_frv_stc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102214 { FRVBF_INSN_STD, model_frv_std, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102215 { FRVBF_INSN_STDF, model_frv_stdf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102216 { FRVBF_INSN_STDC, model_frv_stdc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102217 { FRVBF_INSN_STQ, model_frv_stq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102218 { FRVBF_INSN_STQF, model_frv_stqf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102219 { FRVBF_INSN_STQC, model_frv_stqc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102220 { FRVBF_INSN_STBU, model_frv_stbu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102221 { FRVBF_INSN_STHU, model_frv_sthu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102222 { FRVBF_INSN_STU, model_frv_stu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102223 { FRVBF_INSN_STBFU, model_frv_stbfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102224 { FRVBF_INSN_STHFU, model_frv_sthfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102225 { FRVBF_INSN_STFU, model_frv_stfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102226 { FRVBF_INSN_STCU, model_frv_stcu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102227 { FRVBF_INSN_STDU, model_frv_stdu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102228 { FRVBF_INSN_STDFU, model_frv_stdfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102229 { FRVBF_INSN_STDCU, model_frv_stdcu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102230 { FRVBF_INSN_STQU, model_frv_stqu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102231 { FRVBF_INSN_STQFU, model_frv_stqfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102232 { FRVBF_INSN_STQCU, model_frv_stqcu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102233 { FRVBF_INSN_CLDSB, model_frv_cldsb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102234 { FRVBF_INSN_CLDUB, model_frv_cldub, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102235 { FRVBF_INSN_CLDSH, model_frv_cldsh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102236 { FRVBF_INSN_CLDUH, model_frv_clduh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102237 { FRVBF_INSN_CLD, model_frv_cld, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102238 { FRVBF_INSN_CLDBF, model_frv_cldbf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102239 { FRVBF_INSN_CLDHF, model_frv_cldhf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102240 { FRVBF_INSN_CLDF, model_frv_cldf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102241 { FRVBF_INSN_CLDD, model_frv_cldd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102242 { FRVBF_INSN_CLDDF, model_frv_clddf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102243 { FRVBF_INSN_CLDQ, model_frv_cldq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102244 { FRVBF_INSN_CLDSBU, model_frv_cldsbu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102245 { FRVBF_INSN_CLDUBU, model_frv_cldubu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102246 { FRVBF_INSN_CLDSHU, model_frv_cldshu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102247 { FRVBF_INSN_CLDUHU, model_frv_clduhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102248 { FRVBF_INSN_CLDU, model_frv_cldu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102249 { FRVBF_INSN_CLDBFU, model_frv_cldbfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102250 { FRVBF_INSN_CLDHFU, model_frv_cldhfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102251 { FRVBF_INSN_CLDFU, model_frv_cldfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102252 { FRVBF_INSN_CLDDU, model_frv_clddu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102253 { FRVBF_INSN_CLDDFU, model_frv_clddfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102254 { FRVBF_INSN_CLDQU, model_frv_cldqu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102255 { FRVBF_INSN_CSTB, model_frv_cstb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102256 { FRVBF_INSN_CSTH, model_frv_csth, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102257 { FRVBF_INSN_CST, model_frv_cst, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102258 { FRVBF_INSN_CSTBF, model_frv_cstbf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102259 { FRVBF_INSN_CSTHF, model_frv_csthf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102260 { FRVBF_INSN_CSTF, model_frv_cstf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102261 { FRVBF_INSN_CSTD, model_frv_cstd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102262 { FRVBF_INSN_CSTDF, model_frv_cstdf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102263 { FRVBF_INSN_CSTQ, model_frv_cstq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102264 { FRVBF_INSN_CSTBU, model_frv_cstbu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102265 { FRVBF_INSN_CSTHU, model_frv_csthu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102266 { FRVBF_INSN_CSTU, model_frv_cstu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102267 { FRVBF_INSN_CSTBFU, model_frv_cstbfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102268 { FRVBF_INSN_CSTHFU, model_frv_csthfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102269 { FRVBF_INSN_CSTFU, model_frv_cstfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102270 { FRVBF_INSN_CSTDU, model_frv_cstdu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102271 { FRVBF_INSN_CSTDFU, model_frv_cstdfu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102272 { FRVBF_INSN_STBI, model_frv_stbi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102273 { FRVBF_INSN_STHI, model_frv_sthi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102274 { FRVBF_INSN_STI, model_frv_sti, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102275 { FRVBF_INSN_STBFI, model_frv_stbfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102276 { FRVBF_INSN_STHFI, model_frv_sthfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102277 { FRVBF_INSN_STFI, model_frv_stfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102278 { FRVBF_INSN_STDI, model_frv_stdi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102279 { FRVBF_INSN_STDFI, model_frv_stdfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102280 { FRVBF_INSN_STQI, model_frv_stqi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102281 { FRVBF_INSN_STQFI, model_frv_stqfi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102282 { FRVBF_INSN_SWAP, model_frv_swap, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102283 { FRVBF_INSN_SWAPI, model_frv_swapi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102284 { FRVBF_INSN_CSWAP, model_frv_cswap, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102285 { FRVBF_INSN_MOVGF, model_frv_movgf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102286 { FRVBF_INSN_MOVFG, model_frv_movfg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102287 { FRVBF_INSN_MOVGFD, model_frv_movgfd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102288 { FRVBF_INSN_MOVFGD, model_frv_movfgd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102289 { FRVBF_INSN_MOVGFQ, model_frv_movgfq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102290 { FRVBF_INSN_MOVFGQ, model_frv_movfgq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102291 { FRVBF_INSN_CMOVGF, model_frv_cmovgf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102292 { FRVBF_INSN_CMOVFG, model_frv_cmovfg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102293 { FRVBF_INSN_CMOVGFD, model_frv_cmovgfd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102294 { FRVBF_INSN_CMOVFGD, model_frv_cmovfgd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102295 { FRVBF_INSN_MOVGS, model_frv_movgs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102296 { FRVBF_INSN_MOVSG, model_frv_movsg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102297 { FRVBF_INSN_BRA, model_frv_bra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102298 { FRVBF_INSN_BNO, model_frv_bno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102299 { FRVBF_INSN_BEQ, model_frv_beq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102300 { FRVBF_INSN_BNE, model_frv_bne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102301 { FRVBF_INSN_BLE, model_frv_ble, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102302 { FRVBF_INSN_BGT, model_frv_bgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102303 { FRVBF_INSN_BLT, model_frv_blt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102304 { FRVBF_INSN_BGE, model_frv_bge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102305 { FRVBF_INSN_BLS, model_frv_bls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102306 { FRVBF_INSN_BHI, model_frv_bhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102307 { FRVBF_INSN_BC, model_frv_bc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102308 { FRVBF_INSN_BNC, model_frv_bnc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102309 { FRVBF_INSN_BN, model_frv_bn, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102310 { FRVBF_INSN_BP, model_frv_bp, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102311 { FRVBF_INSN_BV, model_frv_bv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102312 { FRVBF_INSN_BNV, model_frv_bnv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102313 { FRVBF_INSN_FBRA, model_frv_fbra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102314 { FRVBF_INSN_FBNO, model_frv_fbno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102315 { FRVBF_INSN_FBNE, model_frv_fbne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102316 { FRVBF_INSN_FBEQ, model_frv_fbeq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102317 { FRVBF_INSN_FBLG, model_frv_fblg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102318 { FRVBF_INSN_FBUE, model_frv_fbue, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102319 { FRVBF_INSN_FBUL, model_frv_fbul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102320 { FRVBF_INSN_FBGE, model_frv_fbge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102321 { FRVBF_INSN_FBLT, model_frv_fblt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102322 { FRVBF_INSN_FBUGE, model_frv_fbuge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102323 { FRVBF_INSN_FBUG, model_frv_fbug, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102324 { FRVBF_INSN_FBLE, model_frv_fble, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102325 { FRVBF_INSN_FBGT, model_frv_fbgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102326 { FRVBF_INSN_FBULE, model_frv_fbule, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102327 { FRVBF_INSN_FBU, model_frv_fbu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102328 { FRVBF_INSN_FBO, model_frv_fbo, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102329 { FRVBF_INSN_BCTRLR, model_frv_bctrlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102330 { FRVBF_INSN_BRALR, model_frv_bralr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102331 { FRVBF_INSN_BNOLR, model_frv_bnolr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102332 { FRVBF_INSN_BEQLR, model_frv_beqlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102333 { FRVBF_INSN_BNELR, model_frv_bnelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102334 { FRVBF_INSN_BLELR, model_frv_blelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102335 { FRVBF_INSN_BGTLR, model_frv_bgtlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102336 { FRVBF_INSN_BLTLR, model_frv_bltlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102337 { FRVBF_INSN_BGELR, model_frv_bgelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102338 { FRVBF_INSN_BLSLR, model_frv_blslr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102339 { FRVBF_INSN_BHILR, model_frv_bhilr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102340 { FRVBF_INSN_BCLR, model_frv_bclr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102341 { FRVBF_INSN_BNCLR, model_frv_bnclr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102342 { FRVBF_INSN_BNLR, model_frv_bnlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102343 { FRVBF_INSN_BPLR, model_frv_bplr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102344 { FRVBF_INSN_BVLR, model_frv_bvlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102345 { FRVBF_INSN_BNVLR, model_frv_bnvlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102346 { FRVBF_INSN_FBRALR, model_frv_fbralr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102347 { FRVBF_INSN_FBNOLR, model_frv_fbnolr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102348 { FRVBF_INSN_FBEQLR, model_frv_fbeqlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102349 { FRVBF_INSN_FBNELR, model_frv_fbnelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102350 { FRVBF_INSN_FBLGLR, model_frv_fblglr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102351 { FRVBF_INSN_FBUELR, model_frv_fbuelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102352 { FRVBF_INSN_FBULLR, model_frv_fbullr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102353 { FRVBF_INSN_FBGELR, model_frv_fbgelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102354 { FRVBF_INSN_FBLTLR, model_frv_fbltlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102355 { FRVBF_INSN_FBUGELR, model_frv_fbugelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102356 { FRVBF_INSN_FBUGLR, model_frv_fbuglr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102357 { FRVBF_INSN_FBLELR, model_frv_fblelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102358 { FRVBF_INSN_FBGTLR, model_frv_fbgtlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102359 { FRVBF_INSN_FBULELR, model_frv_fbulelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102360 { FRVBF_INSN_FBULR, model_frv_fbulr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102361 { FRVBF_INSN_FBOLR, model_frv_fbolr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102362 { FRVBF_INSN_BCRALR, model_frv_bcralr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102363 { FRVBF_INSN_BCNOLR, model_frv_bcnolr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102364 { FRVBF_INSN_BCEQLR, model_frv_bceqlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102365 { FRVBF_INSN_BCNELR, model_frv_bcnelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102366 { FRVBF_INSN_BCLELR, model_frv_bclelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102367 { FRVBF_INSN_BCGTLR, model_frv_bcgtlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102368 { FRVBF_INSN_BCLTLR, model_frv_bcltlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102369 { FRVBF_INSN_BCGELR, model_frv_bcgelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102370 { FRVBF_INSN_BCLSLR, model_frv_bclslr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102371 { FRVBF_INSN_BCHILR, model_frv_bchilr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102372 { FRVBF_INSN_BCCLR, model_frv_bcclr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102373 { FRVBF_INSN_BCNCLR, model_frv_bcnclr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102374 { FRVBF_INSN_BCNLR, model_frv_bcnlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102375 { FRVBF_INSN_BCPLR, model_frv_bcplr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102376 { FRVBF_INSN_BCVLR, model_frv_bcvlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102377 { FRVBF_INSN_BCNVLR, model_frv_bcnvlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102378 { FRVBF_INSN_FCBRALR, model_frv_fcbralr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102379 { FRVBF_INSN_FCBNOLR, model_frv_fcbnolr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102380 { FRVBF_INSN_FCBEQLR, model_frv_fcbeqlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102381 { FRVBF_INSN_FCBNELR, model_frv_fcbnelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102382 { FRVBF_INSN_FCBLGLR, model_frv_fcblglr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102383 { FRVBF_INSN_FCBUELR, model_frv_fcbuelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102384 { FRVBF_INSN_FCBULLR, model_frv_fcbullr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102385 { FRVBF_INSN_FCBGELR, model_frv_fcbgelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102386 { FRVBF_INSN_FCBLTLR, model_frv_fcbltlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102387 { FRVBF_INSN_FCBUGELR, model_frv_fcbugelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102388 { FRVBF_INSN_FCBUGLR, model_frv_fcbuglr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102389 { FRVBF_INSN_FCBLELR, model_frv_fcblelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102390 { FRVBF_INSN_FCBGTLR, model_frv_fcbgtlr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102391 { FRVBF_INSN_FCBULELR, model_frv_fcbulelr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102392 { FRVBF_INSN_FCBULR, model_frv_fcbulr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102393 { FRVBF_INSN_FCBOLR, model_frv_fcbolr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102394 { FRVBF_INSN_JMPL, model_frv_jmpl, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102395 { FRVBF_INSN_CALLL, model_frv_calll, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102396 { FRVBF_INSN_JMPIL, model_frv_jmpil, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102397 { FRVBF_INSN_CALLIL, model_frv_callil, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102398 { FRVBF_INSN_CALL, model_frv_call, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102399 { FRVBF_INSN_RETT, model_frv_rett, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102400 { FRVBF_INSN_REI, model_frv_rei, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102401 { FRVBF_INSN_TRA, model_frv_tra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102402 { FRVBF_INSN_TNO, model_frv_tno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102403 { FRVBF_INSN_TEQ, model_frv_teq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102404 { FRVBF_INSN_TNE, model_frv_tne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102405 { FRVBF_INSN_TLE, model_frv_tle, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102406 { FRVBF_INSN_TGT, model_frv_tgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102407 { FRVBF_INSN_TLT, model_frv_tlt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102408 { FRVBF_INSN_TGE, model_frv_tge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102409 { FRVBF_INSN_TLS, model_frv_tls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102410 { FRVBF_INSN_THI, model_frv_thi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102411 { FRVBF_INSN_TC, model_frv_tc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102412 { FRVBF_INSN_TNC, model_frv_tnc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102413 { FRVBF_INSN_TN, model_frv_tn, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102414 { FRVBF_INSN_TP, model_frv_tp, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102415 { FRVBF_INSN_TV, model_frv_tv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102416 { FRVBF_INSN_TNV, model_frv_tnv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102417 { FRVBF_INSN_FTRA, model_frv_ftra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102418 { FRVBF_INSN_FTNO, model_frv_ftno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102419 { FRVBF_INSN_FTNE, model_frv_ftne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102420 { FRVBF_INSN_FTEQ, model_frv_fteq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102421 { FRVBF_INSN_FTLG, model_frv_ftlg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102422 { FRVBF_INSN_FTUE, model_frv_ftue, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102423 { FRVBF_INSN_FTUL, model_frv_ftul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102424 { FRVBF_INSN_FTGE, model_frv_ftge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102425 { FRVBF_INSN_FTLT, model_frv_ftlt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102426 { FRVBF_INSN_FTUGE, model_frv_ftuge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102427 { FRVBF_INSN_FTUG, model_frv_ftug, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102428 { FRVBF_INSN_FTLE, model_frv_ftle, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102429 { FRVBF_INSN_FTGT, model_frv_ftgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102430 { FRVBF_INSN_FTULE, model_frv_ftule, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102431 { FRVBF_INSN_FTU, model_frv_ftu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102432 { FRVBF_INSN_FTO, model_frv_fto, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102433 { FRVBF_INSN_TIRA, model_frv_tira, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102434 { FRVBF_INSN_TINO, model_frv_tino, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102435 { FRVBF_INSN_TIEQ, model_frv_tieq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102436 { FRVBF_INSN_TINE, model_frv_tine, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102437 { FRVBF_INSN_TILE, model_frv_tile, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102438 { FRVBF_INSN_TIGT, model_frv_tigt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102439 { FRVBF_INSN_TILT, model_frv_tilt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102440 { FRVBF_INSN_TIGE, model_frv_tige, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102441 { FRVBF_INSN_TILS, model_frv_tils, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102442 { FRVBF_INSN_TIHI, model_frv_tihi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102443 { FRVBF_INSN_TIC, model_frv_tic, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102444 { FRVBF_INSN_TINC, model_frv_tinc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102445 { FRVBF_INSN_TIN, model_frv_tin, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102446 { FRVBF_INSN_TIP, model_frv_tip, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102447 { FRVBF_INSN_TIV, model_frv_tiv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102448 { FRVBF_INSN_TINV, model_frv_tinv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102449 { FRVBF_INSN_FTIRA, model_frv_ftira, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102450 { FRVBF_INSN_FTINO, model_frv_ftino, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102451 { FRVBF_INSN_FTINE, model_frv_ftine, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102452 { FRVBF_INSN_FTIEQ, model_frv_ftieq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102453 { FRVBF_INSN_FTILG, model_frv_ftilg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102454 { FRVBF_INSN_FTIUE, model_frv_ftiue, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102455 { FRVBF_INSN_FTIUL, model_frv_ftiul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102456 { FRVBF_INSN_FTIGE, model_frv_ftige, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102457 { FRVBF_INSN_FTILT, model_frv_ftilt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102458 { FRVBF_INSN_FTIUGE, model_frv_ftiuge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102459 { FRVBF_INSN_FTIUG, model_frv_ftiug, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102460 { FRVBF_INSN_FTILE, model_frv_ftile, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102461 { FRVBF_INSN_FTIGT, model_frv_ftigt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102462 { FRVBF_INSN_FTIULE, model_frv_ftiule, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102463 { FRVBF_INSN_FTIU, model_frv_ftiu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102464 { FRVBF_INSN_FTIO, model_frv_ftio, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102465 { FRVBF_INSN_BREAK, model_frv_break, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102466 { FRVBF_INSN_MTRAP, model_frv_mtrap, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102467 { FRVBF_INSN_ANDCR, model_frv_andcr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102468 { FRVBF_INSN_ORCR, model_frv_orcr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102469 { FRVBF_INSN_XORCR, model_frv_xorcr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102470 { FRVBF_INSN_NANDCR, model_frv_nandcr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102471 { FRVBF_INSN_NORCR, model_frv_norcr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102472 { FRVBF_INSN_ANDNCR, model_frv_andncr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102473 { FRVBF_INSN_ORNCR, model_frv_orncr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102474 { FRVBF_INSN_NANDNCR, model_frv_nandncr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102475 { FRVBF_INSN_NORNCR, model_frv_norncr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102476 { FRVBF_INSN_NOTCR, model_frv_notcr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102477 { FRVBF_INSN_CKRA, model_frv_ckra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102478 { FRVBF_INSN_CKNO, model_frv_ckno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102479 { FRVBF_INSN_CKEQ, model_frv_ckeq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102480 { FRVBF_INSN_CKNE, model_frv_ckne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102481 { FRVBF_INSN_CKLE, model_frv_ckle, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102482 { FRVBF_INSN_CKGT, model_frv_ckgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102483 { FRVBF_INSN_CKLT, model_frv_cklt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102484 { FRVBF_INSN_CKGE, model_frv_ckge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102485 { FRVBF_INSN_CKLS, model_frv_ckls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102486 { FRVBF_INSN_CKHI, model_frv_ckhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102487 { FRVBF_INSN_CKC, model_frv_ckc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102488 { FRVBF_INSN_CKNC, model_frv_cknc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102489 { FRVBF_INSN_CKN, model_frv_ckn, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102490 { FRVBF_INSN_CKP, model_frv_ckp, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102491 { FRVBF_INSN_CKV, model_frv_ckv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102492 { FRVBF_INSN_CKNV, model_frv_cknv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102493 { FRVBF_INSN_FCKRA, model_frv_fckra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102494 { FRVBF_INSN_FCKNO, model_frv_fckno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102495 { FRVBF_INSN_FCKNE, model_frv_fckne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102496 { FRVBF_INSN_FCKEQ, model_frv_fckeq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102497 { FRVBF_INSN_FCKLG, model_frv_fcklg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102498 { FRVBF_INSN_FCKUE, model_frv_fckue, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102499 { FRVBF_INSN_FCKUL, model_frv_fckul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102500 { FRVBF_INSN_FCKGE, model_frv_fckge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102501 { FRVBF_INSN_FCKLT, model_frv_fcklt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102502 { FRVBF_INSN_FCKUGE, model_frv_fckuge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102503 { FRVBF_INSN_FCKUG, model_frv_fckug, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102504 { FRVBF_INSN_FCKLE, model_frv_fckle, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102505 { FRVBF_INSN_FCKGT, model_frv_fckgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102506 { FRVBF_INSN_FCKULE, model_frv_fckule, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102507 { FRVBF_INSN_FCKU, model_frv_fcku, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102508 { FRVBF_INSN_FCKO, model_frv_fcko, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102509 { FRVBF_INSN_CCKRA, model_frv_cckra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102510 { FRVBF_INSN_CCKNO, model_frv_cckno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102511 { FRVBF_INSN_CCKEQ, model_frv_cckeq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102512 { FRVBF_INSN_CCKNE, model_frv_cckne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102513 { FRVBF_INSN_CCKLE, model_frv_cckle, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102514 { FRVBF_INSN_CCKGT, model_frv_cckgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102515 { FRVBF_INSN_CCKLT, model_frv_ccklt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102516 { FRVBF_INSN_CCKGE, model_frv_cckge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102517 { FRVBF_INSN_CCKLS, model_frv_cckls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102518 { FRVBF_INSN_CCKHI, model_frv_cckhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102519 { FRVBF_INSN_CCKC, model_frv_cckc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102520 { FRVBF_INSN_CCKNC, model_frv_ccknc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102521 { FRVBF_INSN_CCKN, model_frv_cckn, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102522 { FRVBF_INSN_CCKP, model_frv_cckp, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102523 { FRVBF_INSN_CCKV, model_frv_cckv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102524 { FRVBF_INSN_CCKNV, model_frv_ccknv, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102525 { FRVBF_INSN_CFCKRA, model_frv_cfckra, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102526 { FRVBF_INSN_CFCKNO, model_frv_cfckno, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102527 { FRVBF_INSN_CFCKNE, model_frv_cfckne, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102528 { FRVBF_INSN_CFCKEQ, model_frv_cfckeq, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102529 { FRVBF_INSN_CFCKLG, model_frv_cfcklg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102530 { FRVBF_INSN_CFCKUE, model_frv_cfckue, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102531 { FRVBF_INSN_CFCKUL, model_frv_cfckul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102532 { FRVBF_INSN_CFCKGE, model_frv_cfckge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102533 { FRVBF_INSN_CFCKLT, model_frv_cfcklt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102534 { FRVBF_INSN_CFCKUGE, model_frv_cfckuge, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102535 { FRVBF_INSN_CFCKUG, model_frv_cfckug, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102536 { FRVBF_INSN_CFCKLE, model_frv_cfckle, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102537 { FRVBF_INSN_CFCKGT, model_frv_cfckgt, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102538 { FRVBF_INSN_CFCKULE, model_frv_cfckule, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102539 { FRVBF_INSN_CFCKU, model_frv_cfcku, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102540 { FRVBF_INSN_CFCKO, model_frv_cfcko, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102541 { FRVBF_INSN_CJMPL, model_frv_cjmpl, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102542 { FRVBF_INSN_CCALLL, model_frv_ccalll, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102543 { FRVBF_INSN_ICI, model_frv_ici, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102544 { FRVBF_INSN_DCI, model_frv_dci, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102545 { FRVBF_INSN_ICEI, model_frv_icei, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102546 { FRVBF_INSN_DCEI, model_frv_dcei, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102547 { FRVBF_INSN_DCF, model_frv_dcf, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102548 { FRVBF_INSN_DCEF, model_frv_dcef, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102549 { FRVBF_INSN_WITLB, model_frv_witlb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102550 { FRVBF_INSN_WDTLB, model_frv_wdtlb, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102551 { FRVBF_INSN_ITLBI, model_frv_itlbi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102552 { FRVBF_INSN_DTLBI, model_frv_dtlbi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102553 { FRVBF_INSN_ICPL, model_frv_icpl, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102554 { FRVBF_INSN_DCPL, model_frv_dcpl, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102555 { FRVBF_INSN_ICUL, model_frv_icul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102556 { FRVBF_INSN_DCUL, model_frv_dcul, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102557 { FRVBF_INSN_BAR, model_frv_bar, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102558 { FRVBF_INSN_MEMBAR, model_frv_membar, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102559 { FRVBF_INSN_LRAI, model_frv_lrai, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102560 { FRVBF_INSN_LRAD, model_frv_lrad, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102561 { FRVBF_INSN_TLBPR, model_frv_tlbpr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102562 { FRVBF_INSN_COP1, model_frv_cop1, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102563 { FRVBF_INSN_COP2, model_frv_cop2, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102564 { FRVBF_INSN_CLRGR, model_frv_clrgr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102565 { FRVBF_INSN_CLRFR, model_frv_clrfr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102566 { FRVBF_INSN_CLRGA, model_frv_clrga, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102567 { FRVBF_INSN_CLRFA, model_frv_clrfa, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102568 { FRVBF_INSN_COMMITGR, model_frv_commitgr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102569 { FRVBF_INSN_COMMITFR, model_frv_commitfr, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102570 { FRVBF_INSN_COMMITGA, model_frv_commitga, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102571 { FRVBF_INSN_COMMITFA, model_frv_commitfa, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102572 { FRVBF_INSN_FITOS, model_frv_fitos, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102573 { FRVBF_INSN_FSTOI, model_frv_fstoi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102574 { FRVBF_INSN_FITOD, model_frv_fitod, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102575 { FRVBF_INSN_FDTOI, model_frv_fdtoi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102576 { FRVBF_INSN_FDITOS, model_frv_fditos, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102577 { FRVBF_INSN_FDSTOI, model_frv_fdstoi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102578 { FRVBF_INSN_NFDITOS, model_frv_nfditos, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102579 { FRVBF_INSN_NFDSTOI, model_frv_nfdstoi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102580 { FRVBF_INSN_CFITOS, model_frv_cfitos, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102581 { FRVBF_INSN_CFSTOI, model_frv_cfstoi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102582 { FRVBF_INSN_NFITOS, model_frv_nfitos, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102583 { FRVBF_INSN_NFSTOI, model_frv_nfstoi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102584 { FRVBF_INSN_FMOVS, model_frv_fmovs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102585 { FRVBF_INSN_FMOVD, model_frv_fmovd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102586 { FRVBF_INSN_FDMOVS, model_frv_fdmovs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102587 { FRVBF_INSN_CFMOVS, model_frv_cfmovs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102588 { FRVBF_INSN_FNEGS, model_frv_fnegs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102589 { FRVBF_INSN_FNEGD, model_frv_fnegd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102590 { FRVBF_INSN_FDNEGS, model_frv_fdnegs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102591 { FRVBF_INSN_CFNEGS, model_frv_cfnegs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102592 { FRVBF_INSN_FABSS, model_frv_fabss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102593 { FRVBF_INSN_FABSD, model_frv_fabsd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102594 { FRVBF_INSN_FDABSS, model_frv_fdabss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102595 { FRVBF_INSN_CFABSS, model_frv_cfabss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102596 { FRVBF_INSN_FSQRTS, model_frv_fsqrts, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102597 { FRVBF_INSN_FDSQRTS, model_frv_fdsqrts, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102598 { FRVBF_INSN_NFDSQRTS, model_frv_nfdsqrts, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102599 { FRVBF_INSN_FSQRTD, model_frv_fsqrtd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102600 { FRVBF_INSN_CFSQRTS, model_frv_cfsqrts, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102601 { FRVBF_INSN_NFSQRTS, model_frv_nfsqrts, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102602 { FRVBF_INSN_FADDS, model_frv_fadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102603 { FRVBF_INSN_FSUBS, model_frv_fsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102604 { FRVBF_INSN_FMULS, model_frv_fmuls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102605 { FRVBF_INSN_FDIVS, model_frv_fdivs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102606 { FRVBF_INSN_FADDD, model_frv_faddd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102607 { FRVBF_INSN_FSUBD, model_frv_fsubd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102608 { FRVBF_INSN_FMULD, model_frv_fmuld, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102609 { FRVBF_INSN_FDIVD, model_frv_fdivd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102610 { FRVBF_INSN_CFADDS, model_frv_cfadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102611 { FRVBF_INSN_CFSUBS, model_frv_cfsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102612 { FRVBF_INSN_CFMULS, model_frv_cfmuls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102613 { FRVBF_INSN_CFDIVS, model_frv_cfdivs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102614 { FRVBF_INSN_NFADDS, model_frv_nfadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102615 { FRVBF_INSN_NFSUBS, model_frv_nfsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102616 { FRVBF_INSN_NFMULS, model_frv_nfmuls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102617 { FRVBF_INSN_NFDIVS, model_frv_nfdivs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102618 { FRVBF_INSN_FCMPS, model_frv_fcmps, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102619 { FRVBF_INSN_FCMPD, model_frv_fcmpd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102620 { FRVBF_INSN_CFCMPS, model_frv_cfcmps, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102621 { FRVBF_INSN_FDCMPS, model_frv_fdcmps, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102622 { FRVBF_INSN_FMADDS, model_frv_fmadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102623 { FRVBF_INSN_FMSUBS, model_frv_fmsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102624 { FRVBF_INSN_FMADDD, model_frv_fmaddd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102625 { FRVBF_INSN_FMSUBD, model_frv_fmsubd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102626 { FRVBF_INSN_FDMADDS, model_frv_fdmadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102627 { FRVBF_INSN_NFDMADDS, model_frv_nfdmadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102628 { FRVBF_INSN_CFMADDS, model_frv_cfmadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102629 { FRVBF_INSN_CFMSUBS, model_frv_cfmsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102630 { FRVBF_INSN_NFMADDS, model_frv_nfmadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102631 { FRVBF_INSN_NFMSUBS, model_frv_nfmsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102632 { FRVBF_INSN_FMAS, model_frv_fmas, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102633 { FRVBF_INSN_FMSS, model_frv_fmss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102634 { FRVBF_INSN_FDMAS, model_frv_fdmas, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102635 { FRVBF_INSN_FDMSS, model_frv_fdmss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102636 { FRVBF_INSN_NFDMAS, model_frv_nfdmas, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102637 { FRVBF_INSN_NFDMSS, model_frv_nfdmss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102638 { FRVBF_INSN_CFMAS, model_frv_cfmas, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102639 { FRVBF_INSN_CFMSS, model_frv_cfmss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102640 { FRVBF_INSN_FMAD, model_frv_fmad, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102641 { FRVBF_INSN_FMSD, model_frv_fmsd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102642 { FRVBF_INSN_NFMAS, model_frv_nfmas, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102643 { FRVBF_INSN_NFMSS, model_frv_nfmss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102644 { FRVBF_INSN_FDADDS, model_frv_fdadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102645 { FRVBF_INSN_FDSUBS, model_frv_fdsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102646 { FRVBF_INSN_FDMULS, model_frv_fdmuls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102647 { FRVBF_INSN_FDDIVS, model_frv_fddivs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102648 { FRVBF_INSN_FDSADS, model_frv_fdsads, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102649 { FRVBF_INSN_FDMULCS, model_frv_fdmulcs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102650 { FRVBF_INSN_NFDMULCS, model_frv_nfdmulcs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102651 { FRVBF_INSN_NFDADDS, model_frv_nfdadds, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102652 { FRVBF_INSN_NFDSUBS, model_frv_nfdsubs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102653 { FRVBF_INSN_NFDMULS, model_frv_nfdmuls, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102654 { FRVBF_INSN_NFDDIVS, model_frv_nfddivs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102655 { FRVBF_INSN_NFDSADS, model_frv_nfdsads, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102656 { FRVBF_INSN_NFDCMPS, model_frv_nfdcmps, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102657 { FRVBF_INSN_MHSETLOS, model_frv_mhsetlos, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102658 { FRVBF_INSN_MHSETHIS, model_frv_mhsethis, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102659 { FRVBF_INSN_MHDSETS, model_frv_mhdsets, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102660 { FRVBF_INSN_MHSETLOH, model_frv_mhsetloh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102661 { FRVBF_INSN_MHSETHIH, model_frv_mhsethih, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102662 { FRVBF_INSN_MHDSETH, model_frv_mhdseth, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102663 { FRVBF_INSN_MAND, model_frv_mand, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102664 { FRVBF_INSN_MOR, model_frv_mor, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102665 { FRVBF_INSN_MXOR, model_frv_mxor, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102666 { FRVBF_INSN_CMAND, model_frv_cmand, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102667 { FRVBF_INSN_CMOR, model_frv_cmor, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102668 { FRVBF_INSN_CMXOR, model_frv_cmxor, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102669 { FRVBF_INSN_MNOT, model_frv_mnot, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102670 { FRVBF_INSN_CMNOT, model_frv_cmnot, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102671 { FRVBF_INSN_MROTLI, model_frv_mrotli, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102672 { FRVBF_INSN_MROTRI, model_frv_mrotri, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102673 { FRVBF_INSN_MWCUT, model_frv_mwcut, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102674 { FRVBF_INSN_MWCUTI, model_frv_mwcuti, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102675 { FRVBF_INSN_MCUT, model_frv_mcut, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102676 { FRVBF_INSN_MCUTI, model_frv_mcuti, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102677 { FRVBF_INSN_MCUTSS, model_frv_mcutss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102678 { FRVBF_INSN_MCUTSSI, model_frv_mcutssi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102679 { FRVBF_INSN_MDCUTSSI, model_frv_mdcutssi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102680 { FRVBF_INSN_MAVEH, model_frv_maveh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102681 { FRVBF_INSN_MSLLHI, model_frv_msllhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102682 { FRVBF_INSN_MSRLHI, model_frv_msrlhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102683 { FRVBF_INSN_MSRAHI, model_frv_msrahi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102684 { FRVBF_INSN_MDROTLI, model_frv_mdrotli, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102685 { FRVBF_INSN_MCPLHI, model_frv_mcplhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102686 { FRVBF_INSN_MCPLI, model_frv_mcpli, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102687 { FRVBF_INSN_MSATHS, model_frv_msaths, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102688 { FRVBF_INSN_MQSATHS, model_frv_mqsaths, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102689 { FRVBF_INSN_MSATHU, model_frv_msathu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102690 { FRVBF_INSN_MCMPSH, model_frv_mcmpsh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102691 { FRVBF_INSN_MCMPUH, model_frv_mcmpuh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102692 { FRVBF_INSN_MABSHS, model_frv_mabshs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102693 { FRVBF_INSN_MADDHSS, model_frv_maddhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102694 { FRVBF_INSN_MADDHUS, model_frv_maddhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102695 { FRVBF_INSN_MSUBHSS, model_frv_msubhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102696 { FRVBF_INSN_MSUBHUS, model_frv_msubhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102697 { FRVBF_INSN_CMADDHSS, model_frv_cmaddhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102698 { FRVBF_INSN_CMADDHUS, model_frv_cmaddhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102699 { FRVBF_INSN_CMSUBHSS, model_frv_cmsubhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102700 { FRVBF_INSN_CMSUBHUS, model_frv_cmsubhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102701 { FRVBF_INSN_MQADDHSS, model_frv_mqaddhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102702 { FRVBF_INSN_MQADDHUS, model_frv_mqaddhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102703 { FRVBF_INSN_MQSUBHSS, model_frv_mqsubhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102704 { FRVBF_INSN_MQSUBHUS, model_frv_mqsubhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102705 { FRVBF_INSN_CMQADDHSS, model_frv_cmqaddhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102706 { FRVBF_INSN_CMQADDHUS, model_frv_cmqaddhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102707 { FRVBF_INSN_CMQSUBHSS, model_frv_cmqsubhss, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102708 { FRVBF_INSN_CMQSUBHUS, model_frv_cmqsubhus, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102709 { FRVBF_INSN_MQLCLRHS, model_frv_mqlclrhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102710 { FRVBF_INSN_MQLMTHS, model_frv_mqlmths, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102711 { FRVBF_INSN_MQSLLHI, model_frv_mqsllhi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102712 { FRVBF_INSN_MQSRAHI, model_frv_mqsrahi, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102713 { FRVBF_INSN_MADDACCS, model_frv_maddaccs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102714 { FRVBF_INSN_MSUBACCS, model_frv_msubaccs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102715 { FRVBF_INSN_MDADDACCS, model_frv_mdaddaccs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102716 { FRVBF_INSN_MDSUBACCS, model_frv_mdsubaccs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102717 { FRVBF_INSN_MASACCS, model_frv_masaccs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102718 { FRVBF_INSN_MDASACCS, model_frv_mdasaccs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102719 { FRVBF_INSN_MMULHS, model_frv_mmulhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102720 { FRVBF_INSN_MMULHU, model_frv_mmulhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102721 { FRVBF_INSN_MMULXHS, model_frv_mmulxhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102722 { FRVBF_INSN_MMULXHU, model_frv_mmulxhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102723 { FRVBF_INSN_CMMULHS, model_frv_cmmulhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102724 { FRVBF_INSN_CMMULHU, model_frv_cmmulhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102725 { FRVBF_INSN_MQMULHS, model_frv_mqmulhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102726 { FRVBF_INSN_MQMULHU, model_frv_mqmulhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102727 { FRVBF_INSN_MQMULXHS, model_frv_mqmulxhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102728 { FRVBF_INSN_MQMULXHU, model_frv_mqmulxhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102729 { FRVBF_INSN_CMQMULHS, model_frv_cmqmulhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102730 { FRVBF_INSN_CMQMULHU, model_frv_cmqmulhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102731 { FRVBF_INSN_MMACHS, model_frv_mmachs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102732 { FRVBF_INSN_MMACHU, model_frv_mmachu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102733 { FRVBF_INSN_MMRDHS, model_frv_mmrdhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102734 { FRVBF_INSN_MMRDHU, model_frv_mmrdhu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102735 { FRVBF_INSN_CMMACHS, model_frv_cmmachs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102736 { FRVBF_INSN_CMMACHU, model_frv_cmmachu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102737 { FRVBF_INSN_MQMACHS, model_frv_mqmachs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102738 { FRVBF_INSN_MQMACHU, model_frv_mqmachu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102739 { FRVBF_INSN_CMQMACHS, model_frv_cmqmachs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102740 { FRVBF_INSN_CMQMACHU, model_frv_cmqmachu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102741 { FRVBF_INSN_MQXMACHS, model_frv_mqxmachs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102742 { FRVBF_INSN_MQXMACXHS, model_frv_mqxmacxhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102743 { FRVBF_INSN_MQMACXHS, model_frv_mqmacxhs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102744 { FRVBF_INSN_MCPXRS, model_frv_mcpxrs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102745 { FRVBF_INSN_MCPXRU, model_frv_mcpxru, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102746 { FRVBF_INSN_MCPXIS, model_frv_mcpxis, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102747 { FRVBF_INSN_MCPXIU, model_frv_mcpxiu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102748 { FRVBF_INSN_CMCPXRS, model_frv_cmcpxrs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102749 { FRVBF_INSN_CMCPXRU, model_frv_cmcpxru, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102750 { FRVBF_INSN_CMCPXIS, model_frv_cmcpxis, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102751 { FRVBF_INSN_CMCPXIU, model_frv_cmcpxiu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102752 { FRVBF_INSN_MQCPXRS, model_frv_mqcpxrs, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102753 { FRVBF_INSN_MQCPXRU, model_frv_mqcpxru, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102754 { FRVBF_INSN_MQCPXIS, model_frv_mqcpxis, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102755 { FRVBF_INSN_MQCPXIU, model_frv_mqcpxiu, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102756 { FRVBF_INSN_MEXPDHW, model_frv_mexpdhw, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102757 { FRVBF_INSN_CMEXPDHW, model_frv_cmexpdhw, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102758 { FRVBF_INSN_MEXPDHD, model_frv_mexpdhd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102759 { FRVBF_INSN_CMEXPDHD, model_frv_cmexpdhd, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102760 { FRVBF_INSN_MPACKH, model_frv_mpackh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102761 { FRVBF_INSN_MDPACKH, model_frv_mdpackh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102762 { FRVBF_INSN_MUNPACKH, model_frv_munpackh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102763 { FRVBF_INSN_MDUNPACKH, model_frv_mdunpackh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102764 { FRVBF_INSN_MBTOH, model_frv_mbtoh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102765 { FRVBF_INSN_CMBTOH, model_frv_cmbtoh, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102766 { FRVBF_INSN_MHTOB, model_frv_mhtob, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102767 { FRVBF_INSN_CMHTOB, model_frv_cmhtob, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102768 { FRVBF_INSN_MBTOHE, model_frv_mbtohe, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102769 { FRVBF_INSN_CMBTOHE, model_frv_cmbtohe, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102770 { FRVBF_INSN_MNOP, model_frv_mnop, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102771 { FRVBF_INSN_MCLRACC_0, model_frv_mclracc_0, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102772 { FRVBF_INSN_MCLRACC_1, model_frv_mclracc_1, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102773 { FRVBF_INSN_MRDACC, model_frv_mrdacc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102774 { FRVBF_INSN_MRDACCG, model_frv_mrdaccg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102775 { FRVBF_INSN_MWTACC, model_frv_mwtacc, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102776 { FRVBF_INSN_MWTACCG, model_frv_mwtaccg, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102777 { FRVBF_INSN_MCOP1, model_frv_mcop1, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102778 { FRVBF_INSN_MCOP2, model_frv_mcop2, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102779 { FRVBF_INSN_FNOP, model_frv_fnop, { { (int) UNIT_FRV_U_EXEC, 1, 1 } } },
102782 /* Model timing data for `fr550'. */
102784 static const INSN_TIMING fr550_timing[] = {
102785 { FRVBF_INSN_X_INVALID, 0, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102786 { FRVBF_INSN_X_AFTER, 0, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102787 { FRVBF_INSN_X_BEFORE, 0, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102788 { FRVBF_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102789 { FRVBF_INSN_X_CHAIN, 0, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102790 { FRVBF_INSN_X_BEGIN, 0, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102791 { FRVBF_INSN_ADD, model_fr550_add, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102792 { FRVBF_INSN_SUB, model_fr550_sub, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102793 { FRVBF_INSN_AND, model_fr550_and, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102794 { FRVBF_INSN_OR, model_fr550_or, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102795 { FRVBF_INSN_XOR, model_fr550_xor, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102796 { FRVBF_INSN_NOT, model_fr550_not, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102797 { FRVBF_INSN_SDIV, model_fr550_sdiv, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102798 { FRVBF_INSN_NSDIV, model_fr550_nsdiv, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102799 { FRVBF_INSN_UDIV, model_fr550_udiv, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102800 { FRVBF_INSN_NUDIV, model_fr550_nudiv, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102801 { FRVBF_INSN_SMUL, model_fr550_smul, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102802 { FRVBF_INSN_UMUL, model_fr550_umul, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102803 { FRVBF_INSN_SMU, model_fr550_smu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102804 { FRVBF_INSN_SMASS, model_fr550_smass, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102805 { FRVBF_INSN_SMSSS, model_fr550_smsss, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102806 { FRVBF_INSN_SLL, model_fr550_sll, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102807 { FRVBF_INSN_SRL, model_fr550_srl, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102808 { FRVBF_INSN_SRA, model_fr550_sra, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102809 { FRVBF_INSN_SLASS, model_fr550_slass, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102810 { FRVBF_INSN_SCUTSS, model_fr550_scutss, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102811 { FRVBF_INSN_SCAN, model_fr550_scan, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102812 { FRVBF_INSN_CADD, model_fr550_cadd, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102813 { FRVBF_INSN_CSUB, model_fr550_csub, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102814 { FRVBF_INSN_CAND, model_fr550_cand, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102815 { FRVBF_INSN_COR, model_fr550_cor, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102816 { FRVBF_INSN_CXOR, model_fr550_cxor, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102817 { FRVBF_INSN_CNOT, model_fr550_cnot, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102818 { FRVBF_INSN_CSMUL, model_fr550_csmul, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102819 { FRVBF_INSN_CSDIV, model_fr550_csdiv, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102820 { FRVBF_INSN_CUDIV, model_fr550_cudiv, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102821 { FRVBF_INSN_CSLL, model_fr550_csll, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102822 { FRVBF_INSN_CSRL, model_fr550_csrl, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102823 { FRVBF_INSN_CSRA, model_fr550_csra, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102824 { FRVBF_INSN_CSCAN, model_fr550_cscan, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102825 { FRVBF_INSN_ADDCC, model_fr550_addcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102826 { FRVBF_INSN_SUBCC, model_fr550_subcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102827 { FRVBF_INSN_ANDCC, model_fr550_andcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102828 { FRVBF_INSN_ORCC, model_fr550_orcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102829 { FRVBF_INSN_XORCC, model_fr550_xorcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102830 { FRVBF_INSN_SLLCC, model_fr550_sllcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102831 { FRVBF_INSN_SRLCC, model_fr550_srlcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102832 { FRVBF_INSN_SRACC, model_fr550_sracc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102833 { FRVBF_INSN_SMULCC, model_fr550_smulcc, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102834 { FRVBF_INSN_UMULCC, model_fr550_umulcc, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102835 { FRVBF_INSN_CADDCC, model_fr550_caddcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102836 { FRVBF_INSN_CSUBCC, model_fr550_csubcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102837 { FRVBF_INSN_CSMULCC, model_fr550_csmulcc, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102838 { FRVBF_INSN_CANDCC, model_fr550_candcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102839 { FRVBF_INSN_CORCC, model_fr550_corcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102840 { FRVBF_INSN_CXORCC, model_fr550_cxorcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102841 { FRVBF_INSN_CSLLCC, model_fr550_csllcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102842 { FRVBF_INSN_CSRLCC, model_fr550_csrlcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102843 { FRVBF_INSN_CSRACC, model_fr550_csracc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102844 { FRVBF_INSN_ADDX, model_fr550_addx, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102845 { FRVBF_INSN_SUBX, model_fr550_subx, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102846 { FRVBF_INSN_ADDXCC, model_fr550_addxcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102847 { FRVBF_INSN_SUBXCC, model_fr550_subxcc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102848 { FRVBF_INSN_ADDSS, model_fr550_addss, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102849 { FRVBF_INSN_SUBSS, model_fr550_subss, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102850 { FRVBF_INSN_ADDI, model_fr550_addi, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102851 { FRVBF_INSN_SUBI, model_fr550_subi, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102852 { FRVBF_INSN_ANDI, model_fr550_andi, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102853 { FRVBF_INSN_ORI, model_fr550_ori, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102854 { FRVBF_INSN_XORI, model_fr550_xori, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102855 { FRVBF_INSN_SDIVI, model_fr550_sdivi, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102856 { FRVBF_INSN_NSDIVI, model_fr550_nsdivi, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102857 { FRVBF_INSN_UDIVI, model_fr550_udivi, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102858 { FRVBF_INSN_NUDIVI, model_fr550_nudivi, { { (int) UNIT_FR550_U_IDIV, 1, 1 } } },
102859 { FRVBF_INSN_SMULI, model_fr550_smuli, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102860 { FRVBF_INSN_UMULI, model_fr550_umuli, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102861 { FRVBF_INSN_SLLI, model_fr550_slli, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102862 { FRVBF_INSN_SRLI, model_fr550_srli, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102863 { FRVBF_INSN_SRAI, model_fr550_srai, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102864 { FRVBF_INSN_SCANI, model_fr550_scani, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102865 { FRVBF_INSN_ADDICC, model_fr550_addicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102866 { FRVBF_INSN_SUBICC, model_fr550_subicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102867 { FRVBF_INSN_ANDICC, model_fr550_andicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102868 { FRVBF_INSN_ORICC, model_fr550_oricc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102869 { FRVBF_INSN_XORICC, model_fr550_xoricc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102870 { FRVBF_INSN_SMULICC, model_fr550_smulicc, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102871 { FRVBF_INSN_UMULICC, model_fr550_umulicc, { { (int) UNIT_FR550_U_IMUL, 1, 1 } } },
102872 { FRVBF_INSN_SLLICC, model_fr550_sllicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102873 { FRVBF_INSN_SRLICC, model_fr550_srlicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102874 { FRVBF_INSN_SRAICC, model_fr550_sraicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102875 { FRVBF_INSN_ADDXI, model_fr550_addxi, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102876 { FRVBF_INSN_SUBXI, model_fr550_subxi, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102877 { FRVBF_INSN_ADDXICC, model_fr550_addxicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102878 { FRVBF_INSN_SUBXICC, model_fr550_subxicc, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102879 { FRVBF_INSN_CMPB, model_fr550_cmpb, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102880 { FRVBF_INSN_CMPBA, model_fr550_cmpba, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102881 { FRVBF_INSN_SETLO, model_fr550_setlo, { { (int) UNIT_FR550_U_SET_HILO, 1, 1 } } },
102882 { FRVBF_INSN_SETHI, model_fr550_sethi, { { (int) UNIT_FR550_U_SET_HILO, 1, 1 } } },
102883 { FRVBF_INSN_SETLOS, model_fr550_setlos, { { (int) UNIT_FR550_U_INTEGER, 1, 1 } } },
102884 { FRVBF_INSN_LDSB, model_fr550_ldsb, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102885 { FRVBF_INSN_LDUB, model_fr550_ldub, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102886 { FRVBF_INSN_LDSH, model_fr550_ldsh, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102887 { FRVBF_INSN_LDUH, model_fr550_lduh, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102888 { FRVBF_INSN_LD, model_fr550_ld, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102889 { FRVBF_INSN_LDBF, model_fr550_ldbf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102890 { FRVBF_INSN_LDHF, model_fr550_ldhf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102891 { FRVBF_INSN_LDF, model_fr550_ldf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102892 { FRVBF_INSN_LDC, model_fr550_ldc, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102893 { FRVBF_INSN_NLDSB, model_fr550_nldsb, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102894 { FRVBF_INSN_NLDUB, model_fr550_nldub, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102895 { FRVBF_INSN_NLDSH, model_fr550_nldsh, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102896 { FRVBF_INSN_NLDUH, model_fr550_nlduh, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102897 { FRVBF_INSN_NLD, model_fr550_nld, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102898 { FRVBF_INSN_NLDBF, model_fr550_nldbf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102899 { FRVBF_INSN_NLDHF, model_fr550_nldhf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102900 { FRVBF_INSN_NLDF, model_fr550_nldf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102901 { FRVBF_INSN_LDD, model_fr550_ldd, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102902 { FRVBF_INSN_LDDF, model_fr550_lddf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102903 { FRVBF_INSN_LDDC, model_fr550_lddc, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102904 { FRVBF_INSN_NLDD, model_fr550_nldd, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102905 { FRVBF_INSN_NLDDF, model_fr550_nlddf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102906 { FRVBF_INSN_LDQ, model_fr550_ldq, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102907 { FRVBF_INSN_LDQF, model_fr550_ldqf, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102908 { FRVBF_INSN_LDQC, model_fr550_ldqc, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102909 { FRVBF_INSN_NLDQ, model_fr550_nldq, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102910 { FRVBF_INSN_NLDQF, model_fr550_nldqf, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102911 { FRVBF_INSN_LDSBU, model_fr550_ldsbu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102912 { FRVBF_INSN_LDUBU, model_fr550_ldubu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102913 { FRVBF_INSN_LDSHU, model_fr550_ldshu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102914 { FRVBF_INSN_LDUHU, model_fr550_lduhu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102915 { FRVBF_INSN_LDU, model_fr550_ldu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102916 { FRVBF_INSN_NLDSBU, model_fr550_nldsbu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102917 { FRVBF_INSN_NLDUBU, model_fr550_nldubu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102918 { FRVBF_INSN_NLDSHU, model_fr550_nldshu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102919 { FRVBF_INSN_NLDUHU, model_fr550_nlduhu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102920 { FRVBF_INSN_NLDU, model_fr550_nldu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102921 { FRVBF_INSN_LDBFU, model_fr550_ldbfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102922 { FRVBF_INSN_LDHFU, model_fr550_ldhfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102923 { FRVBF_INSN_LDFU, model_fr550_ldfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102924 { FRVBF_INSN_LDCU, model_fr550_ldcu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102925 { FRVBF_INSN_NLDBFU, model_fr550_nldbfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102926 { FRVBF_INSN_NLDHFU, model_fr550_nldhfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102927 { FRVBF_INSN_NLDFU, model_fr550_nldfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102928 { FRVBF_INSN_LDDU, model_fr550_lddu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102929 { FRVBF_INSN_NLDDU, model_fr550_nlddu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102930 { FRVBF_INSN_LDDFU, model_fr550_lddfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102931 { FRVBF_INSN_LDDCU, model_fr550_lddcu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102932 { FRVBF_INSN_NLDDFU, model_fr550_nlddfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102933 { FRVBF_INSN_LDQU, model_fr550_ldqu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102934 { FRVBF_INSN_NLDQU, model_fr550_nldqu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102935 { FRVBF_INSN_LDQFU, model_fr550_ldqfu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102936 { FRVBF_INSN_LDQCU, model_fr550_ldqcu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102937 { FRVBF_INSN_NLDQFU, model_fr550_nldqfu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102938 { FRVBF_INSN_LDSBI, model_fr550_ldsbi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102939 { FRVBF_INSN_LDSHI, model_fr550_ldshi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102940 { FRVBF_INSN_LDI, model_fr550_ldi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102941 { FRVBF_INSN_LDUBI, model_fr550_ldubi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102942 { FRVBF_INSN_LDUHI, model_fr550_lduhi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102943 { FRVBF_INSN_LDBFI, model_fr550_ldbfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102944 { FRVBF_INSN_LDHFI, model_fr550_ldhfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102945 { FRVBF_INSN_LDFI, model_fr550_ldfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102946 { FRVBF_INSN_NLDSBI, model_fr550_nldsbi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102947 { FRVBF_INSN_NLDUBI, model_fr550_nldubi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102948 { FRVBF_INSN_NLDSHI, model_fr550_nldshi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102949 { FRVBF_INSN_NLDUHI, model_fr550_nlduhi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102950 { FRVBF_INSN_NLDI, model_fr550_nldi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102951 { FRVBF_INSN_NLDBFI, model_fr550_nldbfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102952 { FRVBF_INSN_NLDHFI, model_fr550_nldhfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102953 { FRVBF_INSN_NLDFI, model_fr550_nldfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102954 { FRVBF_INSN_LDDI, model_fr550_lddi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102955 { FRVBF_INSN_LDDFI, model_fr550_lddfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102956 { FRVBF_INSN_NLDDI, model_fr550_nlddi, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102957 { FRVBF_INSN_NLDDFI, model_fr550_nlddfi, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102958 { FRVBF_INSN_LDQI, model_fr550_ldqi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102959 { FRVBF_INSN_LDQFI, model_fr550_ldqfi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102960 { FRVBF_INSN_NLDQFI, model_fr550_nldqfi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102961 { FRVBF_INSN_STB, model_fr550_stb, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102962 { FRVBF_INSN_STH, model_fr550_sth, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102963 { FRVBF_INSN_ST, model_fr550_st, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102964 { FRVBF_INSN_STBF, model_fr550_stbf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102965 { FRVBF_INSN_STHF, model_fr550_sthf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102966 { FRVBF_INSN_STF, model_fr550_stf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102967 { FRVBF_INSN_STC, model_fr550_stc, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102968 { FRVBF_INSN_STD, model_fr550_std, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102969 { FRVBF_INSN_STDF, model_fr550_stdf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102970 { FRVBF_INSN_STDC, model_fr550_stdc, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102971 { FRVBF_INSN_STQ, model_fr550_stq, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102972 { FRVBF_INSN_STQF, model_fr550_stqf, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102973 { FRVBF_INSN_STQC, model_fr550_stqc, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102974 { FRVBF_INSN_STBU, model_fr550_stbu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102975 { FRVBF_INSN_STHU, model_fr550_sthu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102976 { FRVBF_INSN_STU, model_fr550_stu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102977 { FRVBF_INSN_STBFU, model_fr550_stbfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102978 { FRVBF_INSN_STHFU, model_fr550_sthfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102979 { FRVBF_INSN_STFU, model_fr550_stfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102980 { FRVBF_INSN_STCU, model_fr550_stcu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102981 { FRVBF_INSN_STDU, model_fr550_stdu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
102982 { FRVBF_INSN_STDFU, model_fr550_stdfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
102983 { FRVBF_INSN_STDCU, model_fr550_stdcu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102984 { FRVBF_INSN_STQU, model_fr550_stqu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102985 { FRVBF_INSN_STQFU, model_fr550_stqfu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102986 { FRVBF_INSN_STQCU, model_fr550_stqcu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102987 { FRVBF_INSN_CLDSB, model_fr550_cldsb, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102988 { FRVBF_INSN_CLDUB, model_fr550_cldub, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102989 { FRVBF_INSN_CLDSH, model_fr550_cldsh, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102990 { FRVBF_INSN_CLDUH, model_fr550_clduh, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102991 { FRVBF_INSN_CLD, model_fr550_cld, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102992 { FRVBF_INSN_CLDBF, model_fr550_cldbf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102993 { FRVBF_INSN_CLDHF, model_fr550_cldhf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102994 { FRVBF_INSN_CLDF, model_fr550_cldf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102995 { FRVBF_INSN_CLDD, model_fr550_cldd, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102996 { FRVBF_INSN_CLDDF, model_fr550_clddf, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
102997 { FRVBF_INSN_CLDQ, model_fr550_cldq, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
102998 { FRVBF_INSN_CLDSBU, model_fr550_cldsbu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
102999 { FRVBF_INSN_CLDUBU, model_fr550_cldubu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
103000 { FRVBF_INSN_CLDSHU, model_fr550_cldshu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
103001 { FRVBF_INSN_CLDUHU, model_fr550_clduhu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
103002 { FRVBF_INSN_CLDU, model_fr550_cldu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
103003 { FRVBF_INSN_CLDBFU, model_fr550_cldbfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
103004 { FRVBF_INSN_CLDHFU, model_fr550_cldhfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
103005 { FRVBF_INSN_CLDFU, model_fr550_cldfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
103006 { FRVBF_INSN_CLDDU, model_fr550_clddu, { { (int) UNIT_FR550_U_GR_LOAD, 1, 1 } } },
103007 { FRVBF_INSN_CLDDFU, model_fr550_clddfu, { { (int) UNIT_FR550_U_FR_LOAD, 1, 1 } } },
103008 { FRVBF_INSN_CLDQU, model_fr550_cldqu, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103009 { FRVBF_INSN_CSTB, model_fr550_cstb, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103010 { FRVBF_INSN_CSTH, model_fr550_csth, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103011 { FRVBF_INSN_CST, model_fr550_cst, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103012 { FRVBF_INSN_CSTBF, model_fr550_cstbf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103013 { FRVBF_INSN_CSTHF, model_fr550_csthf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103014 { FRVBF_INSN_CSTF, model_fr550_cstf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103015 { FRVBF_INSN_CSTD, model_fr550_cstd, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103016 { FRVBF_INSN_CSTDF, model_fr550_cstdf, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103017 { FRVBF_INSN_CSTQ, model_fr550_cstq, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103018 { FRVBF_INSN_CSTBU, model_fr550_cstbu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103019 { FRVBF_INSN_CSTHU, model_fr550_csthu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103020 { FRVBF_INSN_CSTU, model_fr550_cstu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103021 { FRVBF_INSN_CSTBFU, model_fr550_cstbfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103022 { FRVBF_INSN_CSTHFU, model_fr550_csthfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103023 { FRVBF_INSN_CSTFU, model_fr550_cstfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103024 { FRVBF_INSN_CSTDU, model_fr550_cstdu, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103025 { FRVBF_INSN_CSTDFU, model_fr550_cstdfu, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103026 { FRVBF_INSN_STBI, model_fr550_stbi, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103027 { FRVBF_INSN_STHI, model_fr550_sthi, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103028 { FRVBF_INSN_STI, model_fr550_sti, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103029 { FRVBF_INSN_STBFI, model_fr550_stbfi, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103030 { FRVBF_INSN_STHFI, model_fr550_sthfi, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103031 { FRVBF_INSN_STFI, model_fr550_stfi, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103032 { FRVBF_INSN_STDI, model_fr550_stdi, { { (int) UNIT_FR550_U_GR_STORE, 1, 1 } } },
103033 { FRVBF_INSN_STDFI, model_fr550_stdfi, { { (int) UNIT_FR550_U_FR_STORE, 1, 1 } } },
103034 { FRVBF_INSN_STQI, model_fr550_stqi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103035 { FRVBF_INSN_STQFI, model_fr550_stqfi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103036 { FRVBF_INSN_SWAP, model_fr550_swap, { { (int) UNIT_FR550_U_SWAP, 1, 1 } } },
103037 { FRVBF_INSN_SWAPI, model_fr550_swapi, { { (int) UNIT_FR550_U_SWAP, 1, 1 } } },
103038 { FRVBF_INSN_CSWAP, model_fr550_cswap, { { (int) UNIT_FR550_U_SWAP, 1, 1 } } },
103039 { FRVBF_INSN_MOVGF, model_fr550_movgf, { { (int) UNIT_FR550_U_GR2FR, 1, 1 } } },
103040 { FRVBF_INSN_MOVFG, model_fr550_movfg, { { (int) UNIT_FR550_U_FR2GR, 1, 1 } } },
103041 { FRVBF_INSN_MOVGFD, model_fr550_movgfd, { { (int) UNIT_FR550_U_GR2FR, 1, 1 } } },
103042 { FRVBF_INSN_MOVFGD, model_fr550_movfgd, { { (int) UNIT_FR550_U_FR2GR, 1, 1 } } },
103043 { FRVBF_INSN_MOVGFQ, model_fr550_movgfq, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103044 { FRVBF_INSN_MOVFGQ, model_fr550_movfgq, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103045 { FRVBF_INSN_CMOVGF, model_fr550_cmovgf, { { (int) UNIT_FR550_U_GR2FR, 1, 1 } } },
103046 { FRVBF_INSN_CMOVFG, model_fr550_cmovfg, { { (int) UNIT_FR550_U_FR2GR, 1, 1 } } },
103047 { FRVBF_INSN_CMOVGFD, model_fr550_cmovgfd, { { (int) UNIT_FR550_U_GR2FR, 1, 1 } } },
103048 { FRVBF_INSN_CMOVFGD, model_fr550_cmovfgd, { { (int) UNIT_FR550_U_FR2GR, 1, 1 } } },
103049 { FRVBF_INSN_MOVGS, model_fr550_movgs, { { (int) UNIT_FR550_U_GR2SPR, 1, 1 } } },
103050 { FRVBF_INSN_MOVSG, model_fr550_movsg, { { (int) UNIT_FR550_U_SPR2GR, 1, 1 } } },
103051 { FRVBF_INSN_BRA, model_fr550_bra, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103052 { FRVBF_INSN_BNO, model_fr550_bno, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103053 { FRVBF_INSN_BEQ, model_fr550_beq, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103054 { FRVBF_INSN_BNE, model_fr550_bne, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103055 { FRVBF_INSN_BLE, model_fr550_ble, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103056 { FRVBF_INSN_BGT, model_fr550_bgt, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103057 { FRVBF_INSN_BLT, model_fr550_blt, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103058 { FRVBF_INSN_BGE, model_fr550_bge, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103059 { FRVBF_INSN_BLS, model_fr550_bls, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103060 { FRVBF_INSN_BHI, model_fr550_bhi, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103061 { FRVBF_INSN_BC, model_fr550_bc, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103062 { FRVBF_INSN_BNC, model_fr550_bnc, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103063 { FRVBF_INSN_BN, model_fr550_bn, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103064 { FRVBF_INSN_BP, model_fr550_bp, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103065 { FRVBF_INSN_BV, model_fr550_bv, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103066 { FRVBF_INSN_BNV, model_fr550_bnv, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103067 { FRVBF_INSN_FBRA, model_fr550_fbra, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103068 { FRVBF_INSN_FBNO, model_fr550_fbno, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103069 { FRVBF_INSN_FBNE, model_fr550_fbne, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103070 { FRVBF_INSN_FBEQ, model_fr550_fbeq, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103071 { FRVBF_INSN_FBLG, model_fr550_fblg, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103072 { FRVBF_INSN_FBUE, model_fr550_fbue, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103073 { FRVBF_INSN_FBUL, model_fr550_fbul, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103074 { FRVBF_INSN_FBGE, model_fr550_fbge, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103075 { FRVBF_INSN_FBLT, model_fr550_fblt, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103076 { FRVBF_INSN_FBUGE, model_fr550_fbuge, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103077 { FRVBF_INSN_FBUG, model_fr550_fbug, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103078 { FRVBF_INSN_FBLE, model_fr550_fble, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103079 { FRVBF_INSN_FBGT, model_fr550_fbgt, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103080 { FRVBF_INSN_FBULE, model_fr550_fbule, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103081 { FRVBF_INSN_FBU, model_fr550_fbu, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103082 { FRVBF_INSN_FBO, model_fr550_fbo, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103083 { FRVBF_INSN_BCTRLR, model_fr550_bctrlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103084 { FRVBF_INSN_BRALR, model_fr550_bralr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103085 { FRVBF_INSN_BNOLR, model_fr550_bnolr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103086 { FRVBF_INSN_BEQLR, model_fr550_beqlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103087 { FRVBF_INSN_BNELR, model_fr550_bnelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103088 { FRVBF_INSN_BLELR, model_fr550_blelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103089 { FRVBF_INSN_BGTLR, model_fr550_bgtlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103090 { FRVBF_INSN_BLTLR, model_fr550_bltlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103091 { FRVBF_INSN_BGELR, model_fr550_bgelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103092 { FRVBF_INSN_BLSLR, model_fr550_blslr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103093 { FRVBF_INSN_BHILR, model_fr550_bhilr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103094 { FRVBF_INSN_BCLR, model_fr550_bclr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103095 { FRVBF_INSN_BNCLR, model_fr550_bnclr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103096 { FRVBF_INSN_BNLR, model_fr550_bnlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103097 { FRVBF_INSN_BPLR, model_fr550_bplr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103098 { FRVBF_INSN_BVLR, model_fr550_bvlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103099 { FRVBF_INSN_BNVLR, model_fr550_bnvlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103100 { FRVBF_INSN_FBRALR, model_fr550_fbralr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103101 { FRVBF_INSN_FBNOLR, model_fr550_fbnolr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103102 { FRVBF_INSN_FBEQLR, model_fr550_fbeqlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103103 { FRVBF_INSN_FBNELR, model_fr550_fbnelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103104 { FRVBF_INSN_FBLGLR, model_fr550_fblglr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103105 { FRVBF_INSN_FBUELR, model_fr550_fbuelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103106 { FRVBF_INSN_FBULLR, model_fr550_fbullr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103107 { FRVBF_INSN_FBGELR, model_fr550_fbgelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103108 { FRVBF_INSN_FBLTLR, model_fr550_fbltlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103109 { FRVBF_INSN_FBUGELR, model_fr550_fbugelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103110 { FRVBF_INSN_FBUGLR, model_fr550_fbuglr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103111 { FRVBF_INSN_FBLELR, model_fr550_fblelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103112 { FRVBF_INSN_FBGTLR, model_fr550_fbgtlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103113 { FRVBF_INSN_FBULELR, model_fr550_fbulelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103114 { FRVBF_INSN_FBULR, model_fr550_fbulr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103115 { FRVBF_INSN_FBOLR, model_fr550_fbolr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103116 { FRVBF_INSN_BCRALR, model_fr550_bcralr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103117 { FRVBF_INSN_BCNOLR, model_fr550_bcnolr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103118 { FRVBF_INSN_BCEQLR, model_fr550_bceqlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103119 { FRVBF_INSN_BCNELR, model_fr550_bcnelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103120 { FRVBF_INSN_BCLELR, model_fr550_bclelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103121 { FRVBF_INSN_BCGTLR, model_fr550_bcgtlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103122 { FRVBF_INSN_BCLTLR, model_fr550_bcltlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103123 { FRVBF_INSN_BCGELR, model_fr550_bcgelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103124 { FRVBF_INSN_BCLSLR, model_fr550_bclslr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103125 { FRVBF_INSN_BCHILR, model_fr550_bchilr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103126 { FRVBF_INSN_BCCLR, model_fr550_bcclr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103127 { FRVBF_INSN_BCNCLR, model_fr550_bcnclr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103128 { FRVBF_INSN_BCNLR, model_fr550_bcnlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103129 { FRVBF_INSN_BCPLR, model_fr550_bcplr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103130 { FRVBF_INSN_BCVLR, model_fr550_bcvlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103131 { FRVBF_INSN_BCNVLR, model_fr550_bcnvlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103132 { FRVBF_INSN_FCBRALR, model_fr550_fcbralr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103133 { FRVBF_INSN_FCBNOLR, model_fr550_fcbnolr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103134 { FRVBF_INSN_FCBEQLR, model_fr550_fcbeqlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103135 { FRVBF_INSN_FCBNELR, model_fr550_fcbnelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103136 { FRVBF_INSN_FCBLGLR, model_fr550_fcblglr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103137 { FRVBF_INSN_FCBUELR, model_fr550_fcbuelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103138 { FRVBF_INSN_FCBULLR, model_fr550_fcbullr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103139 { FRVBF_INSN_FCBGELR, model_fr550_fcbgelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103140 { FRVBF_INSN_FCBLTLR, model_fr550_fcbltlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103141 { FRVBF_INSN_FCBUGELR, model_fr550_fcbugelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103142 { FRVBF_INSN_FCBUGLR, model_fr550_fcbuglr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103143 { FRVBF_INSN_FCBLELR, model_fr550_fcblelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103144 { FRVBF_INSN_FCBGTLR, model_fr550_fcbgtlr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103145 { FRVBF_INSN_FCBULELR, model_fr550_fcbulelr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103146 { FRVBF_INSN_FCBULR, model_fr550_fcbulr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103147 { FRVBF_INSN_FCBOLR, model_fr550_fcbolr, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103148 { FRVBF_INSN_JMPL, model_fr550_jmpl, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103149 { FRVBF_INSN_CALLL, model_fr550_calll, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103150 { FRVBF_INSN_JMPIL, model_fr550_jmpil, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103151 { FRVBF_INSN_CALLIL, model_fr550_callil, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103152 { FRVBF_INSN_CALL, model_fr550_call, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103153 { FRVBF_INSN_RETT, model_fr550_rett, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103154 { FRVBF_INSN_REI, model_fr550_rei, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103155 { FRVBF_INSN_TRA, model_fr550_tra, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103156 { FRVBF_INSN_TNO, model_fr550_tno, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103157 { FRVBF_INSN_TEQ, model_fr550_teq, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103158 { FRVBF_INSN_TNE, model_fr550_tne, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103159 { FRVBF_INSN_TLE, model_fr550_tle, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103160 { FRVBF_INSN_TGT, model_fr550_tgt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103161 { FRVBF_INSN_TLT, model_fr550_tlt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103162 { FRVBF_INSN_TGE, model_fr550_tge, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103163 { FRVBF_INSN_TLS, model_fr550_tls, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103164 { FRVBF_INSN_THI, model_fr550_thi, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103165 { FRVBF_INSN_TC, model_fr550_tc, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103166 { FRVBF_INSN_TNC, model_fr550_tnc, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103167 { FRVBF_INSN_TN, model_fr550_tn, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103168 { FRVBF_INSN_TP, model_fr550_tp, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103169 { FRVBF_INSN_TV, model_fr550_tv, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103170 { FRVBF_INSN_TNV, model_fr550_tnv, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103171 { FRVBF_INSN_FTRA, model_fr550_ftra, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103172 { FRVBF_INSN_FTNO, model_fr550_ftno, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103173 { FRVBF_INSN_FTNE, model_fr550_ftne, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103174 { FRVBF_INSN_FTEQ, model_fr550_fteq, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103175 { FRVBF_INSN_FTLG, model_fr550_ftlg, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103176 { FRVBF_INSN_FTUE, model_fr550_ftue, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103177 { FRVBF_INSN_FTUL, model_fr550_ftul, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103178 { FRVBF_INSN_FTGE, model_fr550_ftge, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103179 { FRVBF_INSN_FTLT, model_fr550_ftlt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103180 { FRVBF_INSN_FTUGE, model_fr550_ftuge, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103181 { FRVBF_INSN_FTUG, model_fr550_ftug, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103182 { FRVBF_INSN_FTLE, model_fr550_ftle, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103183 { FRVBF_INSN_FTGT, model_fr550_ftgt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103184 { FRVBF_INSN_FTULE, model_fr550_ftule, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103185 { FRVBF_INSN_FTU, model_fr550_ftu, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103186 { FRVBF_INSN_FTO, model_fr550_fto, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103187 { FRVBF_INSN_TIRA, model_fr550_tira, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103188 { FRVBF_INSN_TINO, model_fr550_tino, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103189 { FRVBF_INSN_TIEQ, model_fr550_tieq, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103190 { FRVBF_INSN_TINE, model_fr550_tine, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103191 { FRVBF_INSN_TILE, model_fr550_tile, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103192 { FRVBF_INSN_TIGT, model_fr550_tigt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103193 { FRVBF_INSN_TILT, model_fr550_tilt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103194 { FRVBF_INSN_TIGE, model_fr550_tige, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103195 { FRVBF_INSN_TILS, model_fr550_tils, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103196 { FRVBF_INSN_TIHI, model_fr550_tihi, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103197 { FRVBF_INSN_TIC, model_fr550_tic, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103198 { FRVBF_INSN_TINC, model_fr550_tinc, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103199 { FRVBF_INSN_TIN, model_fr550_tin, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103200 { FRVBF_INSN_TIP, model_fr550_tip, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103201 { FRVBF_INSN_TIV, model_fr550_tiv, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103202 { FRVBF_INSN_TINV, model_fr550_tinv, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103203 { FRVBF_INSN_FTIRA, model_fr550_ftira, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103204 { FRVBF_INSN_FTINO, model_fr550_ftino, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103205 { FRVBF_INSN_FTINE, model_fr550_ftine, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103206 { FRVBF_INSN_FTIEQ, model_fr550_ftieq, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103207 { FRVBF_INSN_FTILG, model_fr550_ftilg, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103208 { FRVBF_INSN_FTIUE, model_fr550_ftiue, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103209 { FRVBF_INSN_FTIUL, model_fr550_ftiul, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103210 { FRVBF_INSN_FTIGE, model_fr550_ftige, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103211 { FRVBF_INSN_FTILT, model_fr550_ftilt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103212 { FRVBF_INSN_FTIUGE, model_fr550_ftiuge, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103213 { FRVBF_INSN_FTIUG, model_fr550_ftiug, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103214 { FRVBF_INSN_FTILE, model_fr550_ftile, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103215 { FRVBF_INSN_FTIGT, model_fr550_ftigt, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103216 { FRVBF_INSN_FTIULE, model_fr550_ftiule, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103217 { FRVBF_INSN_FTIU, model_fr550_ftiu, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103218 { FRVBF_INSN_FTIO, model_fr550_ftio, { { (int) UNIT_FR550_U_TRAP, 1, 1 } } },
103219 { FRVBF_INSN_BREAK, model_fr550_break, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103220 { FRVBF_INSN_MTRAP, model_fr550_mtrap, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103221 { FRVBF_INSN_ANDCR, model_fr550_andcr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103222 { FRVBF_INSN_ORCR, model_fr550_orcr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103223 { FRVBF_INSN_XORCR, model_fr550_xorcr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103224 { FRVBF_INSN_NANDCR, model_fr550_nandcr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103225 { FRVBF_INSN_NORCR, model_fr550_norcr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103226 { FRVBF_INSN_ANDNCR, model_fr550_andncr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103227 { FRVBF_INSN_ORNCR, model_fr550_orncr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103228 { FRVBF_INSN_NANDNCR, model_fr550_nandncr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103229 { FRVBF_INSN_NORNCR, model_fr550_norncr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103230 { FRVBF_INSN_NOTCR, model_fr550_notcr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103231 { FRVBF_INSN_CKRA, model_fr550_ckra, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103232 { FRVBF_INSN_CKNO, model_fr550_ckno, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103233 { FRVBF_INSN_CKEQ, model_fr550_ckeq, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103234 { FRVBF_INSN_CKNE, model_fr550_ckne, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103235 { FRVBF_INSN_CKLE, model_fr550_ckle, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103236 { FRVBF_INSN_CKGT, model_fr550_ckgt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103237 { FRVBF_INSN_CKLT, model_fr550_cklt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103238 { FRVBF_INSN_CKGE, model_fr550_ckge, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103239 { FRVBF_INSN_CKLS, model_fr550_ckls, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103240 { FRVBF_INSN_CKHI, model_fr550_ckhi, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103241 { FRVBF_INSN_CKC, model_fr550_ckc, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103242 { FRVBF_INSN_CKNC, model_fr550_cknc, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103243 { FRVBF_INSN_CKN, model_fr550_ckn, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103244 { FRVBF_INSN_CKP, model_fr550_ckp, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103245 { FRVBF_INSN_CKV, model_fr550_ckv, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103246 { FRVBF_INSN_CKNV, model_fr550_cknv, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103247 { FRVBF_INSN_FCKRA, model_fr550_fckra, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103248 { FRVBF_INSN_FCKNO, model_fr550_fckno, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103249 { FRVBF_INSN_FCKNE, model_fr550_fckne, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103250 { FRVBF_INSN_FCKEQ, model_fr550_fckeq, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103251 { FRVBF_INSN_FCKLG, model_fr550_fcklg, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103252 { FRVBF_INSN_FCKUE, model_fr550_fckue, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103253 { FRVBF_INSN_FCKUL, model_fr550_fckul, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103254 { FRVBF_INSN_FCKGE, model_fr550_fckge, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103255 { FRVBF_INSN_FCKLT, model_fr550_fcklt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103256 { FRVBF_INSN_FCKUGE, model_fr550_fckuge, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103257 { FRVBF_INSN_FCKUG, model_fr550_fckug, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103258 { FRVBF_INSN_FCKLE, model_fr550_fckle, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103259 { FRVBF_INSN_FCKGT, model_fr550_fckgt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103260 { FRVBF_INSN_FCKULE, model_fr550_fckule, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103261 { FRVBF_INSN_FCKU, model_fr550_fcku, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103262 { FRVBF_INSN_FCKO, model_fr550_fcko, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103263 { FRVBF_INSN_CCKRA, model_fr550_cckra, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103264 { FRVBF_INSN_CCKNO, model_fr550_cckno, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103265 { FRVBF_INSN_CCKEQ, model_fr550_cckeq, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103266 { FRVBF_INSN_CCKNE, model_fr550_cckne, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103267 { FRVBF_INSN_CCKLE, model_fr550_cckle, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103268 { FRVBF_INSN_CCKGT, model_fr550_cckgt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103269 { FRVBF_INSN_CCKLT, model_fr550_ccklt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103270 { FRVBF_INSN_CCKGE, model_fr550_cckge, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103271 { FRVBF_INSN_CCKLS, model_fr550_cckls, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103272 { FRVBF_INSN_CCKHI, model_fr550_cckhi, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103273 { FRVBF_INSN_CCKC, model_fr550_cckc, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103274 { FRVBF_INSN_CCKNC, model_fr550_ccknc, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103275 { FRVBF_INSN_CCKN, model_fr550_cckn, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103276 { FRVBF_INSN_CCKP, model_fr550_cckp, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103277 { FRVBF_INSN_CCKV, model_fr550_cckv, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103278 { FRVBF_INSN_CCKNV, model_fr550_ccknv, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103279 { FRVBF_INSN_CFCKRA, model_fr550_cfckra, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103280 { FRVBF_INSN_CFCKNO, model_fr550_cfckno, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103281 { FRVBF_INSN_CFCKNE, model_fr550_cfckne, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103282 { FRVBF_INSN_CFCKEQ, model_fr550_cfckeq, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103283 { FRVBF_INSN_CFCKLG, model_fr550_cfcklg, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103284 { FRVBF_INSN_CFCKUE, model_fr550_cfckue, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103285 { FRVBF_INSN_CFCKUL, model_fr550_cfckul, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103286 { FRVBF_INSN_CFCKGE, model_fr550_cfckge, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103287 { FRVBF_INSN_CFCKLT, model_fr550_cfcklt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103288 { FRVBF_INSN_CFCKUGE, model_fr550_cfckuge, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103289 { FRVBF_INSN_CFCKUG, model_fr550_cfckug, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103290 { FRVBF_INSN_CFCKLE, model_fr550_cfckle, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103291 { FRVBF_INSN_CFCKGT, model_fr550_cfckgt, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103292 { FRVBF_INSN_CFCKULE, model_fr550_cfckule, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103293 { FRVBF_INSN_CFCKU, model_fr550_cfcku, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103294 { FRVBF_INSN_CFCKO, model_fr550_cfcko, { { (int) UNIT_FR550_U_CHECK, 1, 1 } } },
103295 { FRVBF_INSN_CJMPL, model_fr550_cjmpl, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103296 { FRVBF_INSN_CCALLL, model_fr550_ccalll, { { (int) UNIT_FR550_U_BRANCH, 1, 1 } } },
103297 { FRVBF_INSN_ICI, model_fr550_ici, { { (int) UNIT_FR550_U_ICI, 1, 1 } } },
103298 { FRVBF_INSN_DCI, model_fr550_dci, { { (int) UNIT_FR550_U_DCI, 1, 1 } } },
103299 { FRVBF_INSN_ICEI, model_fr550_icei, { { (int) UNIT_FR550_U_ICI, 1, 1 } } },
103300 { FRVBF_INSN_DCEI, model_fr550_dcei, { { (int) UNIT_FR550_U_DCI, 1, 1 } } },
103301 { FRVBF_INSN_DCF, model_fr550_dcf, { { (int) UNIT_FR550_U_DCF, 1, 1 } } },
103302 { FRVBF_INSN_DCEF, model_fr550_dcef, { { (int) UNIT_FR550_U_DCF, 1, 1 } } },
103303 { FRVBF_INSN_WITLB, model_fr550_witlb, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103304 { FRVBF_INSN_WDTLB, model_fr550_wdtlb, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103305 { FRVBF_INSN_ITLBI, model_fr550_itlbi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103306 { FRVBF_INSN_DTLBI, model_fr550_dtlbi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103307 { FRVBF_INSN_ICPL, model_fr550_icpl, { { (int) UNIT_FR550_U_ICPL, 1, 1 } } },
103308 { FRVBF_INSN_DCPL, model_fr550_dcpl, { { (int) UNIT_FR550_U_DCPL, 1, 1 } } },
103309 { FRVBF_INSN_ICUL, model_fr550_icul, { { (int) UNIT_FR550_U_ICUL, 1, 1 } } },
103310 { FRVBF_INSN_DCUL, model_fr550_dcul, { { (int) UNIT_FR550_U_DCUL, 1, 1 } } },
103311 { FRVBF_INSN_BAR, model_fr550_bar, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103312 { FRVBF_INSN_MEMBAR, model_fr550_membar, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103313 { FRVBF_INSN_LRAI, model_fr550_lrai, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103314 { FRVBF_INSN_LRAD, model_fr550_lrad, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103315 { FRVBF_INSN_TLBPR, model_fr550_tlbpr, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103316 { FRVBF_INSN_COP1, model_fr550_cop1, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103317 { FRVBF_INSN_COP2, model_fr550_cop2, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103318 { FRVBF_INSN_CLRGR, model_fr550_clrgr, { { (int) UNIT_FR550_U_CLRGR, 1, 1 } } },
103319 { FRVBF_INSN_CLRFR, model_fr550_clrfr, { { (int) UNIT_FR550_U_CLRFR, 1, 1 } } },
103320 { FRVBF_INSN_CLRGA, model_fr550_clrga, { { (int) UNIT_FR550_U_CLRGR, 1, 1 } } },
103321 { FRVBF_INSN_CLRFA, model_fr550_clrfa, { { (int) UNIT_FR550_U_CLRFR, 1, 1 } } },
103322 { FRVBF_INSN_COMMITGR, model_fr550_commitgr, { { (int) UNIT_FR550_U_COMMIT, 1, 1 } } },
103323 { FRVBF_INSN_COMMITFR, model_fr550_commitfr, { { (int) UNIT_FR550_U_COMMIT, 1, 1 } } },
103324 { FRVBF_INSN_COMMITGA, model_fr550_commitga, { { (int) UNIT_FR550_U_COMMIT, 1, 1 } } },
103325 { FRVBF_INSN_COMMITFA, model_fr550_commitfa, { { (int) UNIT_FR550_U_COMMIT, 1, 1 } } },
103326 { FRVBF_INSN_FITOS, model_fr550_fitos, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103327 { FRVBF_INSN_FSTOI, model_fr550_fstoi, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103328 { FRVBF_INSN_FITOD, model_fr550_fitod, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103329 { FRVBF_INSN_FDTOI, model_fr550_fdtoi, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103330 { FRVBF_INSN_FDITOS, model_fr550_fditos, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103331 { FRVBF_INSN_FDSTOI, model_fr550_fdstoi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103332 { FRVBF_INSN_NFDITOS, model_fr550_nfditos, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103333 { FRVBF_INSN_NFDSTOI, model_fr550_nfdstoi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103334 { FRVBF_INSN_CFITOS, model_fr550_cfitos, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103335 { FRVBF_INSN_CFSTOI, model_fr550_cfstoi, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103336 { FRVBF_INSN_NFITOS, model_fr550_nfitos, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103337 { FRVBF_INSN_NFSTOI, model_fr550_nfstoi, { { (int) UNIT_FR550_U_FLOAT_CONVERT, 1, 1 } } },
103338 { FRVBF_INSN_FMOVS, model_fr550_fmovs, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103339 { FRVBF_INSN_FMOVD, model_fr550_fmovd, { { (int) UNIT_FR550_U_FR2FR, 1, 1 } } },
103340 { FRVBF_INSN_FDMOVS, model_fr550_fdmovs, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103341 { FRVBF_INSN_CFMOVS, model_fr550_cfmovs, { { (int) UNIT_FR550_U_FR2FR, 1, 1 } } },
103342 { FRVBF_INSN_FNEGS, model_fr550_fnegs, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103343 { FRVBF_INSN_FNEGD, model_fr550_fnegd, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103344 { FRVBF_INSN_FDNEGS, model_fr550_fdnegs, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103345 { FRVBF_INSN_CFNEGS, model_fr550_cfnegs, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103346 { FRVBF_INSN_FABSS, model_fr550_fabss, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103347 { FRVBF_INSN_FABSD, model_fr550_fabsd, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103348 { FRVBF_INSN_FDABSS, model_fr550_fdabss, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103349 { FRVBF_INSN_CFABSS, model_fr550_cfabss, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103350 { FRVBF_INSN_FSQRTS, model_fr550_fsqrts, { { (int) UNIT_FR550_U_FLOAT_SQRT, 1, 1 } } },
103351 { FRVBF_INSN_FDSQRTS, model_fr550_fdsqrts, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103352 { FRVBF_INSN_NFDSQRTS, model_fr550_nfdsqrts, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103353 { FRVBF_INSN_FSQRTD, model_fr550_fsqrtd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103354 { FRVBF_INSN_CFSQRTS, model_fr550_cfsqrts, { { (int) UNIT_FR550_U_FLOAT_SQRT, 1, 1 } } },
103355 { FRVBF_INSN_NFSQRTS, model_fr550_nfsqrts, { { (int) UNIT_FR550_U_FLOAT_SQRT, 1, 1 } } },
103356 { FRVBF_INSN_FADDS, model_fr550_fadds, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103357 { FRVBF_INSN_FSUBS, model_fr550_fsubs, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103358 { FRVBF_INSN_FMULS, model_fr550_fmuls, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103359 { FRVBF_INSN_FDIVS, model_fr550_fdivs, { { (int) UNIT_FR550_U_FLOAT_DIV, 1, 1 } } },
103360 { FRVBF_INSN_FADDD, model_fr550_faddd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103361 { FRVBF_INSN_FSUBD, model_fr550_fsubd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103362 { FRVBF_INSN_FMULD, model_fr550_fmuld, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103363 { FRVBF_INSN_FDIVD, model_fr550_fdivd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103364 { FRVBF_INSN_CFADDS, model_fr550_cfadds, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103365 { FRVBF_INSN_CFSUBS, model_fr550_cfsubs, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103366 { FRVBF_INSN_CFMULS, model_fr550_cfmuls, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103367 { FRVBF_INSN_CFDIVS, model_fr550_cfdivs, { { (int) UNIT_FR550_U_FLOAT_DIV, 1, 1 } } },
103368 { FRVBF_INSN_NFADDS, model_fr550_nfadds, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103369 { FRVBF_INSN_NFSUBS, model_fr550_nfsubs, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103370 { FRVBF_INSN_NFMULS, model_fr550_nfmuls, { { (int) UNIT_FR550_U_FLOAT_ARITH, 1, 1 } } },
103371 { FRVBF_INSN_NFDIVS, model_fr550_nfdivs, { { (int) UNIT_FR550_U_FLOAT_DIV, 1, 1 } } },
103372 { FRVBF_INSN_FCMPS, model_fr550_fcmps, { { (int) UNIT_FR550_U_FLOAT_COMPARE, 1, 1 } } },
103373 { FRVBF_INSN_FCMPD, model_fr550_fcmpd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103374 { FRVBF_INSN_CFCMPS, model_fr550_cfcmps, { { (int) UNIT_FR550_U_FLOAT_COMPARE, 1, 1 } } },
103375 { FRVBF_INSN_FDCMPS, model_fr550_fdcmps, { { (int) UNIT_FR550_U_FLOAT_DUAL_COMPARE, 1, 3 } } },
103376 { FRVBF_INSN_FMADDS, model_fr550_fmadds, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103377 { FRVBF_INSN_FMSUBS, model_fr550_fmsubs, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103378 { FRVBF_INSN_FMADDD, model_fr550_fmaddd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103379 { FRVBF_INSN_FMSUBD, model_fr550_fmsubd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103380 { FRVBF_INSN_FDMADDS, model_fr550_fdmadds, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103381 { FRVBF_INSN_NFDMADDS, model_fr550_nfdmadds, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103382 { FRVBF_INSN_CFMADDS, model_fr550_cfmadds, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103383 { FRVBF_INSN_CFMSUBS, model_fr550_cfmsubs, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103384 { FRVBF_INSN_NFMADDS, model_fr550_nfmadds, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103385 { FRVBF_INSN_NFMSUBS, model_fr550_nfmsubs, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103386 { FRVBF_INSN_FMAS, model_fr550_fmas, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103387 { FRVBF_INSN_FMSS, model_fr550_fmss, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103388 { FRVBF_INSN_FDMAS, model_fr550_fdmas, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103389 { FRVBF_INSN_FDMSS, model_fr550_fdmss, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103390 { FRVBF_INSN_NFDMAS, model_fr550_nfdmas, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103391 { FRVBF_INSN_NFDMSS, model_fr550_nfdmss, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103392 { FRVBF_INSN_CFMAS, model_fr550_cfmas, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103393 { FRVBF_INSN_CFMSS, model_fr550_cfmss, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103394 { FRVBF_INSN_FMAD, model_fr550_fmad, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103395 { FRVBF_INSN_FMSD, model_fr550_fmsd, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103396 { FRVBF_INSN_NFMAS, model_fr550_nfmas, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103397 { FRVBF_INSN_NFMSS, model_fr550_nfmss, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103398 { FRVBF_INSN_FDADDS, model_fr550_fdadds, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103399 { FRVBF_INSN_FDSUBS, model_fr550_fdsubs, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103400 { FRVBF_INSN_FDMULS, model_fr550_fdmuls, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103401 { FRVBF_INSN_FDDIVS, model_fr550_fddivs, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103402 { FRVBF_INSN_FDSADS, model_fr550_fdsads, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103403 { FRVBF_INSN_FDMULCS, model_fr550_fdmulcs, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103404 { FRVBF_INSN_NFDMULCS, model_fr550_nfdmulcs, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103405 { FRVBF_INSN_NFDADDS, model_fr550_nfdadds, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103406 { FRVBF_INSN_NFDSUBS, model_fr550_nfdsubs, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103407 { FRVBF_INSN_NFDMULS, model_fr550_nfdmuls, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103408 { FRVBF_INSN_NFDDIVS, model_fr550_nfddivs, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103409 { FRVBF_INSN_NFDSADS, model_fr550_nfdsads, { { (int) UNIT_FR550_U_FLOAT_DUAL_ARITH, 1, 3 } } },
103410 { FRVBF_INSN_NFDCMPS, model_fr550_nfdcmps, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103411 { FRVBF_INSN_MHSETLOS, model_fr550_mhsetlos, { { (int) UNIT_FR550_U_MEDIA_SET, 1, 1 } } },
103412 { FRVBF_INSN_MHSETHIS, model_fr550_mhsethis, { { (int) UNIT_FR550_U_MEDIA_SET, 1, 1 } } },
103413 { FRVBF_INSN_MHDSETS, model_fr550_mhdsets, { { (int) UNIT_FR550_U_MEDIA_SET, 1, 1 } } },
103414 { FRVBF_INSN_MHSETLOH, model_fr550_mhsetloh, { { (int) UNIT_FR550_U_MEDIA_SET, 1, 1 } } },
103415 { FRVBF_INSN_MHSETHIH, model_fr550_mhsethih, { { (int) UNIT_FR550_U_MEDIA_SET, 1, 1 } } },
103416 { FRVBF_INSN_MHDSETH, model_fr550_mhdseth, { { (int) UNIT_FR550_U_MEDIA_SET, 1, 1 } } },
103417 { FRVBF_INSN_MAND, model_fr550_mand, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103418 { FRVBF_INSN_MOR, model_fr550_mor, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103419 { FRVBF_INSN_MXOR, model_fr550_mxor, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103420 { FRVBF_INSN_CMAND, model_fr550_cmand, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103421 { FRVBF_INSN_CMOR, model_fr550_cmor, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103422 { FRVBF_INSN_CMXOR, model_fr550_cmxor, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103423 { FRVBF_INSN_MNOT, model_fr550_mnot, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103424 { FRVBF_INSN_CMNOT, model_fr550_cmnot, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103425 { FRVBF_INSN_MROTLI, model_fr550_mrotli, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103426 { FRVBF_INSN_MROTRI, model_fr550_mrotri, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103427 { FRVBF_INSN_MWCUT, model_fr550_mwcut, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103428 { FRVBF_INSN_MWCUTI, model_fr550_mwcuti, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103429 { FRVBF_INSN_MCUT, model_fr550_mcut, { { (int) UNIT_FR550_U_MEDIA_3_ACC, 1, 1 } } },
103430 { FRVBF_INSN_MCUTI, model_fr550_mcuti, { { (int) UNIT_FR550_U_MEDIA_3_ACC, 1, 1 } } },
103431 { FRVBF_INSN_MCUTSS, model_fr550_mcutss, { { (int) UNIT_FR550_U_MEDIA_3_ACC, 1, 1 } } },
103432 { FRVBF_INSN_MCUTSSI, model_fr550_mcutssi, { { (int) UNIT_FR550_U_MEDIA_3_ACC, 1, 1 } } },
103433 { FRVBF_INSN_MDCUTSSI, model_fr550_mdcutssi, { { (int) UNIT_FR550_U_MEDIA_3_ACC_DUAL, 1, 1 } } },
103434 { FRVBF_INSN_MAVEH, model_fr550_maveh, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103435 { FRVBF_INSN_MSLLHI, model_fr550_msllhi, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103436 { FRVBF_INSN_MSRLHI, model_fr550_msrlhi, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103437 { FRVBF_INSN_MSRAHI, model_fr550_msrahi, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103438 { FRVBF_INSN_MDROTLI, model_fr550_mdrotli, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103439 { FRVBF_INSN_MCPLHI, model_fr550_mcplhi, { { (int) UNIT_FR550_U_MEDIA_3_DUAL, 1, 1 } } },
103440 { FRVBF_INSN_MCPLI, model_fr550_mcpli, { { (int) UNIT_FR550_U_MEDIA_3_DUAL, 1, 1 } } },
103441 { FRVBF_INSN_MSATHS, model_fr550_msaths, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103442 { FRVBF_INSN_MQSATHS, model_fr550_mqsaths, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103443 { FRVBF_INSN_MSATHU, model_fr550_msathu, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103444 { FRVBF_INSN_MCMPSH, model_fr550_mcmpsh, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103445 { FRVBF_INSN_MCMPUH, model_fr550_mcmpuh, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103446 { FRVBF_INSN_MABSHS, model_fr550_mabshs, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103447 { FRVBF_INSN_MADDHSS, model_fr550_maddhss, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103448 { FRVBF_INSN_MADDHUS, model_fr550_maddhus, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103449 { FRVBF_INSN_MSUBHSS, model_fr550_msubhss, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103450 { FRVBF_INSN_MSUBHUS, model_fr550_msubhus, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103451 { FRVBF_INSN_CMADDHSS, model_fr550_cmaddhss, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103452 { FRVBF_INSN_CMADDHUS, model_fr550_cmaddhus, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103453 { FRVBF_INSN_CMSUBHSS, model_fr550_cmsubhss, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103454 { FRVBF_INSN_CMSUBHUS, model_fr550_cmsubhus, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103455 { FRVBF_INSN_MQADDHSS, model_fr550_mqaddhss, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103456 { FRVBF_INSN_MQADDHUS, model_fr550_mqaddhus, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103457 { FRVBF_INSN_MQSUBHSS, model_fr550_mqsubhss, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103458 { FRVBF_INSN_MQSUBHUS, model_fr550_mqsubhus, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103459 { FRVBF_INSN_CMQADDHSS, model_fr550_cmqaddhss, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103460 { FRVBF_INSN_CMQADDHUS, model_fr550_cmqaddhus, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103461 { FRVBF_INSN_CMQSUBHSS, model_fr550_cmqsubhss, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103462 { FRVBF_INSN_CMQSUBHUS, model_fr550_cmqsubhus, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103463 { FRVBF_INSN_MQLCLRHS, model_fr550_mqlclrhs, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103464 { FRVBF_INSN_MQLMTHS, model_fr550_mqlmths, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103465 { FRVBF_INSN_MQSLLHI, model_fr550_mqsllhi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103466 { FRVBF_INSN_MQSRAHI, model_fr550_mqsrahi, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103467 { FRVBF_INSN_MADDACCS, model_fr550_maddaccs, { { (int) UNIT_FR550_U_MEDIA_4_ACC, 1, 1 } } },
103468 { FRVBF_INSN_MSUBACCS, model_fr550_msubaccs, { { (int) UNIT_FR550_U_MEDIA_4_ACC, 1, 1 } } },
103469 { FRVBF_INSN_MDADDACCS, model_fr550_mdaddaccs, { { (int) UNIT_FR550_U_MEDIA_4_ACC_DUAL, 1, 1 } } },
103470 { FRVBF_INSN_MDSUBACCS, model_fr550_mdsubaccs, { { (int) UNIT_FR550_U_MEDIA_4_ACC_DUAL, 1, 1 } } },
103471 { FRVBF_INSN_MASACCS, model_fr550_masaccs, { { (int) UNIT_FR550_U_MEDIA_4_ADD_SUB, 1, 1 } } },
103472 { FRVBF_INSN_MDASACCS, model_fr550_mdasaccs, { { (int) UNIT_FR550_U_MEDIA_4_ADD_SUB_DUAL, 1, 1 } } },
103473 { FRVBF_INSN_MMULHS, model_fr550_mmulhs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103474 { FRVBF_INSN_MMULHU, model_fr550_mmulhu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103475 { FRVBF_INSN_MMULXHS, model_fr550_mmulxhs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103476 { FRVBF_INSN_MMULXHU, model_fr550_mmulxhu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103477 { FRVBF_INSN_CMMULHS, model_fr550_cmmulhs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103478 { FRVBF_INSN_CMMULHU, model_fr550_cmmulhu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103479 { FRVBF_INSN_MQMULHS, model_fr550_mqmulhs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103480 { FRVBF_INSN_MQMULHU, model_fr550_mqmulhu, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103481 { FRVBF_INSN_MQMULXHS, model_fr550_mqmulxhs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103482 { FRVBF_INSN_MQMULXHU, model_fr550_mqmulxhu, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103483 { FRVBF_INSN_CMQMULHS, model_fr550_cmqmulhs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103484 { FRVBF_INSN_CMQMULHU, model_fr550_cmqmulhu, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103485 { FRVBF_INSN_MMACHS, model_fr550_mmachs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103486 { FRVBF_INSN_MMACHU, model_fr550_mmachu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103487 { FRVBF_INSN_MMRDHS, model_fr550_mmrdhs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103488 { FRVBF_INSN_MMRDHU, model_fr550_mmrdhu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103489 { FRVBF_INSN_CMMACHS, model_fr550_cmmachs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103490 { FRVBF_INSN_CMMACHU, model_fr550_cmmachu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103491 { FRVBF_INSN_MQMACHS, model_fr550_mqmachs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103492 { FRVBF_INSN_MQMACHU, model_fr550_mqmachu, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103493 { FRVBF_INSN_CMQMACHS, model_fr550_cmqmachs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103494 { FRVBF_INSN_CMQMACHU, model_fr550_cmqmachu, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103495 { FRVBF_INSN_MQXMACHS, model_fr550_mqxmachs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103496 { FRVBF_INSN_MQXMACXHS, model_fr550_mqxmacxhs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103497 { FRVBF_INSN_MQMACXHS, model_fr550_mqmacxhs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103498 { FRVBF_INSN_MCPXRS, model_fr550_mcpxrs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103499 { FRVBF_INSN_MCPXRU, model_fr550_mcpxru, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103500 { FRVBF_INSN_MCPXIS, model_fr550_mcpxis, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103501 { FRVBF_INSN_MCPXIU, model_fr550_mcpxiu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103502 { FRVBF_INSN_CMCPXRS, model_fr550_cmcpxrs, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103503 { FRVBF_INSN_CMCPXRU, model_fr550_cmcpxru, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103504 { FRVBF_INSN_CMCPXIS, model_fr550_cmcpxis, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103505 { FRVBF_INSN_CMCPXIU, model_fr550_cmcpxiu, { { (int) UNIT_FR550_U_MEDIA_4, 1, 1 } } },
103506 { FRVBF_INSN_MQCPXRS, model_fr550_mqcpxrs, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103507 { FRVBF_INSN_MQCPXRU, model_fr550_mqcpxru, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103508 { FRVBF_INSN_MQCPXIS, model_fr550_mqcpxis, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103509 { FRVBF_INSN_MQCPXIU, model_fr550_mqcpxiu, { { (int) UNIT_FR550_U_MEDIA_4_QUAD, 1, 1 } } },
103510 { FRVBF_INSN_MEXPDHW, model_fr550_mexpdhw, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103511 { FRVBF_INSN_CMEXPDHW, model_fr550_cmexpdhw, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103512 { FRVBF_INSN_MEXPDHD, model_fr550_mexpdhd, { { (int) UNIT_FR550_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
103513 { FRVBF_INSN_CMEXPDHD, model_fr550_cmexpdhd, { { (int) UNIT_FR550_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
103514 { FRVBF_INSN_MPACKH, model_fr550_mpackh, { { (int) UNIT_FR550_U_MEDIA, 1, 1 } } },
103515 { FRVBF_INSN_MDPACKH, model_fr550_mdpackh, { { (int) UNIT_FR550_U_MEDIA_QUAD, 1, 1 } } },
103516 { FRVBF_INSN_MUNPACKH, model_fr550_munpackh, { { (int) UNIT_FR550_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
103517 { FRVBF_INSN_MDUNPACKH, model_fr550_mdunpackh, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103518 { FRVBF_INSN_MBTOH, model_fr550_mbtoh, { { (int) UNIT_FR550_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
103519 { FRVBF_INSN_CMBTOH, model_fr550_cmbtoh, { { (int) UNIT_FR550_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
103520 { FRVBF_INSN_MHTOB, model_fr550_mhtob, { { (int) UNIT_FR550_U_MEDIA_3_DUAL, 1, 1 } } },
103521 { FRVBF_INSN_CMHTOB, model_fr550_cmhtob, { { (int) UNIT_FR550_U_MEDIA_3_DUAL, 1, 1 } } },
103522 { FRVBF_INSN_MBTOHE, model_fr550_mbtohe, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103523 { FRVBF_INSN_CMBTOHE, model_fr550_cmbtohe, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103524 { FRVBF_INSN_MNOP, model_fr550_mnop, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103525 { FRVBF_INSN_MCLRACC_0, model_fr550_mclracc_0, { { (int) UNIT_FR550_U_MEDIA_3_MCLRACC, 1, 1 } } },
103526 { FRVBF_INSN_MCLRACC_1, model_fr550_mclracc_1, { { (int) UNIT_FR550_U_MEDIA_3_MCLRACC, 1, 1 } } },
103527 { FRVBF_INSN_MRDACC, model_fr550_mrdacc, { { (int) UNIT_FR550_U_MEDIA_3_ACC, 1, 1 } } },
103528 { FRVBF_INSN_MRDACCG, model_fr550_mrdaccg, { { (int) UNIT_FR550_U_MEDIA_3_ACC, 1, 1 } } },
103529 { FRVBF_INSN_MWTACC, model_fr550_mwtacc, { { (int) UNIT_FR550_U_MEDIA_3_WTACC, 1, 1 } } },
103530 { FRVBF_INSN_MWTACCG, model_fr550_mwtaccg, { { (int) UNIT_FR550_U_MEDIA_3_WTACC, 1, 1 } } },
103531 { FRVBF_INSN_MCOP1, model_fr550_mcop1, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103532 { FRVBF_INSN_MCOP2, model_fr550_mcop2, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103533 { FRVBF_INSN_FNOP, model_fr550_fnop, { { (int) UNIT_FR550_U_EXEC, 1, 1 } } },
103536 /* Model timing data for `fr500'. */
103538 static const INSN_TIMING fr500_timing[] = {
103539 { FRVBF_INSN_X_INVALID, 0, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103540 { FRVBF_INSN_X_AFTER, 0, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103541 { FRVBF_INSN_X_BEFORE, 0, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103542 { FRVBF_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103543 { FRVBF_INSN_X_CHAIN, 0, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103544 { FRVBF_INSN_X_BEGIN, 0, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103545 { FRVBF_INSN_ADD, model_fr500_add, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103546 { FRVBF_INSN_SUB, model_fr500_sub, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103547 { FRVBF_INSN_AND, model_fr500_and, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103548 { FRVBF_INSN_OR, model_fr500_or, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103549 { FRVBF_INSN_XOR, model_fr500_xor, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103550 { FRVBF_INSN_NOT, model_fr500_not, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103551 { FRVBF_INSN_SDIV, model_fr500_sdiv, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103552 { FRVBF_INSN_NSDIV, model_fr500_nsdiv, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103553 { FRVBF_INSN_UDIV, model_fr500_udiv, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103554 { FRVBF_INSN_NUDIV, model_fr500_nudiv, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103555 { FRVBF_INSN_SMUL, model_fr500_smul, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103556 { FRVBF_INSN_UMUL, model_fr500_umul, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103557 { FRVBF_INSN_SMU, model_fr500_smu, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103558 { FRVBF_INSN_SMASS, model_fr500_smass, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103559 { FRVBF_INSN_SMSSS, model_fr500_smsss, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103560 { FRVBF_INSN_SLL, model_fr500_sll, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103561 { FRVBF_INSN_SRL, model_fr500_srl, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103562 { FRVBF_INSN_SRA, model_fr500_sra, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103563 { FRVBF_INSN_SLASS, model_fr500_slass, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103564 { FRVBF_INSN_SCUTSS, model_fr500_scutss, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103565 { FRVBF_INSN_SCAN, model_fr500_scan, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103566 { FRVBF_INSN_CADD, model_fr500_cadd, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103567 { FRVBF_INSN_CSUB, model_fr500_csub, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103568 { FRVBF_INSN_CAND, model_fr500_cand, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103569 { FRVBF_INSN_COR, model_fr500_cor, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103570 { FRVBF_INSN_CXOR, model_fr500_cxor, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103571 { FRVBF_INSN_CNOT, model_fr500_cnot, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103572 { FRVBF_INSN_CSMUL, model_fr500_csmul, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103573 { FRVBF_INSN_CSDIV, model_fr500_csdiv, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103574 { FRVBF_INSN_CUDIV, model_fr500_cudiv, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103575 { FRVBF_INSN_CSLL, model_fr500_csll, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103576 { FRVBF_INSN_CSRL, model_fr500_csrl, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103577 { FRVBF_INSN_CSRA, model_fr500_csra, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103578 { FRVBF_INSN_CSCAN, model_fr500_cscan, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103579 { FRVBF_INSN_ADDCC, model_fr500_addcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103580 { FRVBF_INSN_SUBCC, model_fr500_subcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103581 { FRVBF_INSN_ANDCC, model_fr500_andcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103582 { FRVBF_INSN_ORCC, model_fr500_orcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103583 { FRVBF_INSN_XORCC, model_fr500_xorcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103584 { FRVBF_INSN_SLLCC, model_fr500_sllcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103585 { FRVBF_INSN_SRLCC, model_fr500_srlcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103586 { FRVBF_INSN_SRACC, model_fr500_sracc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103587 { FRVBF_INSN_SMULCC, model_fr500_smulcc, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103588 { FRVBF_INSN_UMULCC, model_fr500_umulcc, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103589 { FRVBF_INSN_CADDCC, model_fr500_caddcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103590 { FRVBF_INSN_CSUBCC, model_fr500_csubcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103591 { FRVBF_INSN_CSMULCC, model_fr500_csmulcc, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103592 { FRVBF_INSN_CANDCC, model_fr500_candcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103593 { FRVBF_INSN_CORCC, model_fr500_corcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103594 { FRVBF_INSN_CXORCC, model_fr500_cxorcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103595 { FRVBF_INSN_CSLLCC, model_fr500_csllcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103596 { FRVBF_INSN_CSRLCC, model_fr500_csrlcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103597 { FRVBF_INSN_CSRACC, model_fr500_csracc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103598 { FRVBF_INSN_ADDX, model_fr500_addx, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103599 { FRVBF_INSN_SUBX, model_fr500_subx, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103600 { FRVBF_INSN_ADDXCC, model_fr500_addxcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103601 { FRVBF_INSN_SUBXCC, model_fr500_subxcc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103602 { FRVBF_INSN_ADDSS, model_fr500_addss, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103603 { FRVBF_INSN_SUBSS, model_fr500_subss, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103604 { FRVBF_INSN_ADDI, model_fr500_addi, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103605 { FRVBF_INSN_SUBI, model_fr500_subi, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103606 { FRVBF_INSN_ANDI, model_fr500_andi, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103607 { FRVBF_INSN_ORI, model_fr500_ori, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103608 { FRVBF_INSN_XORI, model_fr500_xori, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103609 { FRVBF_INSN_SDIVI, model_fr500_sdivi, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103610 { FRVBF_INSN_NSDIVI, model_fr500_nsdivi, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103611 { FRVBF_INSN_UDIVI, model_fr500_udivi, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103612 { FRVBF_INSN_NUDIVI, model_fr500_nudivi, { { (int) UNIT_FR500_U_IDIV, 1, 1 } } },
103613 { FRVBF_INSN_SMULI, model_fr500_smuli, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103614 { FRVBF_INSN_UMULI, model_fr500_umuli, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103615 { FRVBF_INSN_SLLI, model_fr500_slli, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103616 { FRVBF_INSN_SRLI, model_fr500_srli, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103617 { FRVBF_INSN_SRAI, model_fr500_srai, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103618 { FRVBF_INSN_SCANI, model_fr500_scani, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103619 { FRVBF_INSN_ADDICC, model_fr500_addicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103620 { FRVBF_INSN_SUBICC, model_fr500_subicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103621 { FRVBF_INSN_ANDICC, model_fr500_andicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103622 { FRVBF_INSN_ORICC, model_fr500_oricc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103623 { FRVBF_INSN_XORICC, model_fr500_xoricc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103624 { FRVBF_INSN_SMULICC, model_fr500_smulicc, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103625 { FRVBF_INSN_UMULICC, model_fr500_umulicc, { { (int) UNIT_FR500_U_IMUL, 1, 1 } } },
103626 { FRVBF_INSN_SLLICC, model_fr500_sllicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103627 { FRVBF_INSN_SRLICC, model_fr500_srlicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103628 { FRVBF_INSN_SRAICC, model_fr500_sraicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103629 { FRVBF_INSN_ADDXI, model_fr500_addxi, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103630 { FRVBF_INSN_SUBXI, model_fr500_subxi, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103631 { FRVBF_INSN_ADDXICC, model_fr500_addxicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103632 { FRVBF_INSN_SUBXICC, model_fr500_subxicc, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103633 { FRVBF_INSN_CMPB, model_fr500_cmpb, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103634 { FRVBF_INSN_CMPBA, model_fr500_cmpba, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103635 { FRVBF_INSN_SETLO, model_fr500_setlo, { { (int) UNIT_FR500_U_SET_HILO, 1, 1 } } },
103636 { FRVBF_INSN_SETHI, model_fr500_sethi, { { (int) UNIT_FR500_U_SET_HILO, 1, 1 } } },
103637 { FRVBF_INSN_SETLOS, model_fr500_setlos, { { (int) UNIT_FR500_U_INTEGER, 1, 1 } } },
103638 { FRVBF_INSN_LDSB, model_fr500_ldsb, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103639 { FRVBF_INSN_LDUB, model_fr500_ldub, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103640 { FRVBF_INSN_LDSH, model_fr500_ldsh, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103641 { FRVBF_INSN_LDUH, model_fr500_lduh, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103642 { FRVBF_INSN_LD, model_fr500_ld, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103643 { FRVBF_INSN_LDBF, model_fr500_ldbf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103644 { FRVBF_INSN_LDHF, model_fr500_ldhf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103645 { FRVBF_INSN_LDF, model_fr500_ldf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103646 { FRVBF_INSN_LDC, model_fr500_ldc, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103647 { FRVBF_INSN_NLDSB, model_fr500_nldsb, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103648 { FRVBF_INSN_NLDUB, model_fr500_nldub, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103649 { FRVBF_INSN_NLDSH, model_fr500_nldsh, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103650 { FRVBF_INSN_NLDUH, model_fr500_nlduh, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103651 { FRVBF_INSN_NLD, model_fr500_nld, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103652 { FRVBF_INSN_NLDBF, model_fr500_nldbf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103653 { FRVBF_INSN_NLDHF, model_fr500_nldhf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103654 { FRVBF_INSN_NLDF, model_fr500_nldf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103655 { FRVBF_INSN_LDD, model_fr500_ldd, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103656 { FRVBF_INSN_LDDF, model_fr500_lddf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103657 { FRVBF_INSN_LDDC, model_fr500_lddc, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103658 { FRVBF_INSN_NLDD, model_fr500_nldd, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103659 { FRVBF_INSN_NLDDF, model_fr500_nlddf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103660 { FRVBF_INSN_LDQ, model_fr500_ldq, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103661 { FRVBF_INSN_LDQF, model_fr500_ldqf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103662 { FRVBF_INSN_LDQC, model_fr500_ldqc, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103663 { FRVBF_INSN_NLDQ, model_fr500_nldq, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103664 { FRVBF_INSN_NLDQF, model_fr500_nldqf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103665 { FRVBF_INSN_LDSBU, model_fr500_ldsbu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103666 { FRVBF_INSN_LDUBU, model_fr500_ldubu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103667 { FRVBF_INSN_LDSHU, model_fr500_ldshu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103668 { FRVBF_INSN_LDUHU, model_fr500_lduhu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103669 { FRVBF_INSN_LDU, model_fr500_ldu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103670 { FRVBF_INSN_NLDSBU, model_fr500_nldsbu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103671 { FRVBF_INSN_NLDUBU, model_fr500_nldubu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103672 { FRVBF_INSN_NLDSHU, model_fr500_nldshu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103673 { FRVBF_INSN_NLDUHU, model_fr500_nlduhu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103674 { FRVBF_INSN_NLDU, model_fr500_nldu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103675 { FRVBF_INSN_LDBFU, model_fr500_ldbfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103676 { FRVBF_INSN_LDHFU, model_fr500_ldhfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103677 { FRVBF_INSN_LDFU, model_fr500_ldfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103678 { FRVBF_INSN_LDCU, model_fr500_ldcu, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103679 { FRVBF_INSN_NLDBFU, model_fr500_nldbfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103680 { FRVBF_INSN_NLDHFU, model_fr500_nldhfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103681 { FRVBF_INSN_NLDFU, model_fr500_nldfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103682 { FRVBF_INSN_LDDU, model_fr500_lddu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103683 { FRVBF_INSN_NLDDU, model_fr500_nlddu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103684 { FRVBF_INSN_LDDFU, model_fr500_lddfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103685 { FRVBF_INSN_LDDCU, model_fr500_lddcu, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103686 { FRVBF_INSN_NLDDFU, model_fr500_nlddfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103687 { FRVBF_INSN_LDQU, model_fr500_ldqu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103688 { FRVBF_INSN_NLDQU, model_fr500_nldqu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103689 { FRVBF_INSN_LDQFU, model_fr500_ldqfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103690 { FRVBF_INSN_LDQCU, model_fr500_ldqcu, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103691 { FRVBF_INSN_NLDQFU, model_fr500_nldqfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103692 { FRVBF_INSN_LDSBI, model_fr500_ldsbi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103693 { FRVBF_INSN_LDSHI, model_fr500_ldshi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103694 { FRVBF_INSN_LDI, model_fr500_ldi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103695 { FRVBF_INSN_LDUBI, model_fr500_ldubi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103696 { FRVBF_INSN_LDUHI, model_fr500_lduhi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103697 { FRVBF_INSN_LDBFI, model_fr500_ldbfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103698 { FRVBF_INSN_LDHFI, model_fr500_ldhfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103699 { FRVBF_INSN_LDFI, model_fr500_ldfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103700 { FRVBF_INSN_NLDSBI, model_fr500_nldsbi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103701 { FRVBF_INSN_NLDUBI, model_fr500_nldubi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103702 { FRVBF_INSN_NLDSHI, model_fr500_nldshi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103703 { FRVBF_INSN_NLDUHI, model_fr500_nlduhi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103704 { FRVBF_INSN_NLDI, model_fr500_nldi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103705 { FRVBF_INSN_NLDBFI, model_fr500_nldbfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103706 { FRVBF_INSN_NLDHFI, model_fr500_nldhfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103707 { FRVBF_INSN_NLDFI, model_fr500_nldfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103708 { FRVBF_INSN_LDDI, model_fr500_lddi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103709 { FRVBF_INSN_LDDFI, model_fr500_lddfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103710 { FRVBF_INSN_NLDDI, model_fr500_nlddi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103711 { FRVBF_INSN_NLDDFI, model_fr500_nlddfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103712 { FRVBF_INSN_LDQI, model_fr500_ldqi, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103713 { FRVBF_INSN_LDQFI, model_fr500_ldqfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103714 { FRVBF_INSN_NLDQFI, model_fr500_nldqfi, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103715 { FRVBF_INSN_STB, model_fr500_stb, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103716 { FRVBF_INSN_STH, model_fr500_sth, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103717 { FRVBF_INSN_ST, model_fr500_st, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103718 { FRVBF_INSN_STBF, model_fr500_stbf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103719 { FRVBF_INSN_STHF, model_fr500_sthf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103720 { FRVBF_INSN_STF, model_fr500_stf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103721 { FRVBF_INSN_STC, model_fr500_stc, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103722 { FRVBF_INSN_STD, model_fr500_std, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103723 { FRVBF_INSN_STDF, model_fr500_stdf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103724 { FRVBF_INSN_STDC, model_fr500_stdc, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103725 { FRVBF_INSN_STQ, model_fr500_stq, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103726 { FRVBF_INSN_STQF, model_fr500_stqf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103727 { FRVBF_INSN_STQC, model_fr500_stqc, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103728 { FRVBF_INSN_STBU, model_fr500_stbu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103729 { FRVBF_INSN_STHU, model_fr500_sthu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103730 { FRVBF_INSN_STU, model_fr500_stu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103731 { FRVBF_INSN_STBFU, model_fr500_stbfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103732 { FRVBF_INSN_STHFU, model_fr500_sthfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103733 { FRVBF_INSN_STFU, model_fr500_stfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103734 { FRVBF_INSN_STCU, model_fr500_stcu, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103735 { FRVBF_INSN_STDU, model_fr500_stdu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103736 { FRVBF_INSN_STDFU, model_fr500_stdfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103737 { FRVBF_INSN_STDCU, model_fr500_stdcu, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103738 { FRVBF_INSN_STQU, model_fr500_stqu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103739 { FRVBF_INSN_STQFU, model_fr500_stqfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103740 { FRVBF_INSN_STQCU, model_fr500_stqcu, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103741 { FRVBF_INSN_CLDSB, model_fr500_cldsb, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103742 { FRVBF_INSN_CLDUB, model_fr500_cldub, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103743 { FRVBF_INSN_CLDSH, model_fr500_cldsh, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103744 { FRVBF_INSN_CLDUH, model_fr500_clduh, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103745 { FRVBF_INSN_CLD, model_fr500_cld, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103746 { FRVBF_INSN_CLDBF, model_fr500_cldbf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103747 { FRVBF_INSN_CLDHF, model_fr500_cldhf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103748 { FRVBF_INSN_CLDF, model_fr500_cldf, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103749 { FRVBF_INSN_CLDD, model_fr500_cldd, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103750 { FRVBF_INSN_CLDDF, model_fr500_clddf, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103751 { FRVBF_INSN_CLDQ, model_fr500_cldq, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103752 { FRVBF_INSN_CLDSBU, model_fr500_cldsbu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103753 { FRVBF_INSN_CLDUBU, model_fr500_cldubu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103754 { FRVBF_INSN_CLDSHU, model_fr500_cldshu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103755 { FRVBF_INSN_CLDUHU, model_fr500_clduhu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103756 { FRVBF_INSN_CLDU, model_fr500_cldu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103757 { FRVBF_INSN_CLDBFU, model_fr500_cldbfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103758 { FRVBF_INSN_CLDHFU, model_fr500_cldhfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103759 { FRVBF_INSN_CLDFU, model_fr500_cldfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103760 { FRVBF_INSN_CLDDU, model_fr500_clddu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103761 { FRVBF_INSN_CLDDFU, model_fr500_clddfu, { { (int) UNIT_FR500_U_FR_LOAD, 1, 1 } } },
103762 { FRVBF_INSN_CLDQU, model_fr500_cldqu, { { (int) UNIT_FR500_U_GR_LOAD, 1, 1 } } },
103763 { FRVBF_INSN_CSTB, model_fr500_cstb, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103764 { FRVBF_INSN_CSTH, model_fr500_csth, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103765 { FRVBF_INSN_CST, model_fr500_cst, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103766 { FRVBF_INSN_CSTBF, model_fr500_cstbf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103767 { FRVBF_INSN_CSTHF, model_fr500_csthf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103768 { FRVBF_INSN_CSTF, model_fr500_cstf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103769 { FRVBF_INSN_CSTD, model_fr500_cstd, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103770 { FRVBF_INSN_CSTDF, model_fr500_cstdf, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103771 { FRVBF_INSN_CSTQ, model_fr500_cstq, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103772 { FRVBF_INSN_CSTBU, model_fr500_cstbu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103773 { FRVBF_INSN_CSTHU, model_fr500_csthu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103774 { FRVBF_INSN_CSTU, model_fr500_cstu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103775 { FRVBF_INSN_CSTBFU, model_fr500_cstbfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103776 { FRVBF_INSN_CSTHFU, model_fr500_csthfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103777 { FRVBF_INSN_CSTFU, model_fr500_cstfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103778 { FRVBF_INSN_CSTDU, model_fr500_cstdu, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103779 { FRVBF_INSN_CSTDFU, model_fr500_cstdfu, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103780 { FRVBF_INSN_STBI, model_fr500_stbi, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103781 { FRVBF_INSN_STHI, model_fr500_sthi, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103782 { FRVBF_INSN_STI, model_fr500_sti, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103783 { FRVBF_INSN_STBFI, model_fr500_stbfi, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103784 { FRVBF_INSN_STHFI, model_fr500_sthfi, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103785 { FRVBF_INSN_STFI, model_fr500_stfi, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103786 { FRVBF_INSN_STDI, model_fr500_stdi, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103787 { FRVBF_INSN_STDFI, model_fr500_stdfi, { { (int) UNIT_FR500_U_FR_STORE, 1, 1 } } },
103788 { FRVBF_INSN_STQI, model_fr500_stqi, { { (int) UNIT_FR500_U_GR_STORE, 1, 1 } } },
103789 { FRVBF_INSN_STQFI, model_fr500_stqfi, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103790 { FRVBF_INSN_SWAP, model_fr500_swap, { { (int) UNIT_FR500_U_SWAP, 1, 1 } } },
103791 { FRVBF_INSN_SWAPI, model_fr500_swapi, { { (int) UNIT_FR500_U_SWAP, 1, 1 } } },
103792 { FRVBF_INSN_CSWAP, model_fr500_cswap, { { (int) UNIT_FR500_U_SWAP, 1, 1 } } },
103793 { FRVBF_INSN_MOVGF, model_fr500_movgf, { { (int) UNIT_FR500_U_GR2FR, 1, 1 } } },
103794 { FRVBF_INSN_MOVFG, model_fr500_movfg, { { (int) UNIT_FR500_U_FR2GR, 1, 1 } } },
103795 { FRVBF_INSN_MOVGFD, model_fr500_movgfd, { { (int) UNIT_FR500_U_GR2FR, 1, 1 } } },
103796 { FRVBF_INSN_MOVFGD, model_fr500_movfgd, { { (int) UNIT_FR500_U_FR2GR, 1, 1 } } },
103797 { FRVBF_INSN_MOVGFQ, model_fr500_movgfq, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103798 { FRVBF_INSN_MOVFGQ, model_fr500_movfgq, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103799 { FRVBF_INSN_CMOVGF, model_fr500_cmovgf, { { (int) UNIT_FR500_U_GR2FR, 1, 1 } } },
103800 { FRVBF_INSN_CMOVFG, model_fr500_cmovfg, { { (int) UNIT_FR500_U_FR2GR, 1, 1 } } },
103801 { FRVBF_INSN_CMOVGFD, model_fr500_cmovgfd, { { (int) UNIT_FR500_U_GR2FR, 1, 1 } } },
103802 { FRVBF_INSN_CMOVFGD, model_fr500_cmovfgd, { { (int) UNIT_FR500_U_FR2GR, 1, 1 } } },
103803 { FRVBF_INSN_MOVGS, model_fr500_movgs, { { (int) UNIT_FR500_U_GR2SPR, 1, 1 } } },
103804 { FRVBF_INSN_MOVSG, model_fr500_movsg, { { (int) UNIT_FR500_U_SPR2GR, 1, 1 } } },
103805 { FRVBF_INSN_BRA, model_fr500_bra, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103806 { FRVBF_INSN_BNO, model_fr500_bno, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103807 { FRVBF_INSN_BEQ, model_fr500_beq, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103808 { FRVBF_INSN_BNE, model_fr500_bne, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103809 { FRVBF_INSN_BLE, model_fr500_ble, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103810 { FRVBF_INSN_BGT, model_fr500_bgt, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103811 { FRVBF_INSN_BLT, model_fr500_blt, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103812 { FRVBF_INSN_BGE, model_fr500_bge, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103813 { FRVBF_INSN_BLS, model_fr500_bls, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103814 { FRVBF_INSN_BHI, model_fr500_bhi, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103815 { FRVBF_INSN_BC, model_fr500_bc, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103816 { FRVBF_INSN_BNC, model_fr500_bnc, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103817 { FRVBF_INSN_BN, model_fr500_bn, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103818 { FRVBF_INSN_BP, model_fr500_bp, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103819 { FRVBF_INSN_BV, model_fr500_bv, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103820 { FRVBF_INSN_BNV, model_fr500_bnv, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103821 { FRVBF_INSN_FBRA, model_fr500_fbra, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103822 { FRVBF_INSN_FBNO, model_fr500_fbno, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103823 { FRVBF_INSN_FBNE, model_fr500_fbne, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103824 { FRVBF_INSN_FBEQ, model_fr500_fbeq, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103825 { FRVBF_INSN_FBLG, model_fr500_fblg, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103826 { FRVBF_INSN_FBUE, model_fr500_fbue, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103827 { FRVBF_INSN_FBUL, model_fr500_fbul, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103828 { FRVBF_INSN_FBGE, model_fr500_fbge, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103829 { FRVBF_INSN_FBLT, model_fr500_fblt, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103830 { FRVBF_INSN_FBUGE, model_fr500_fbuge, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103831 { FRVBF_INSN_FBUG, model_fr500_fbug, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103832 { FRVBF_INSN_FBLE, model_fr500_fble, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103833 { FRVBF_INSN_FBGT, model_fr500_fbgt, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103834 { FRVBF_INSN_FBULE, model_fr500_fbule, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103835 { FRVBF_INSN_FBU, model_fr500_fbu, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103836 { FRVBF_INSN_FBO, model_fr500_fbo, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103837 { FRVBF_INSN_BCTRLR, model_fr500_bctrlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103838 { FRVBF_INSN_BRALR, model_fr500_bralr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103839 { FRVBF_INSN_BNOLR, model_fr500_bnolr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103840 { FRVBF_INSN_BEQLR, model_fr500_beqlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103841 { FRVBF_INSN_BNELR, model_fr500_bnelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103842 { FRVBF_INSN_BLELR, model_fr500_blelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103843 { FRVBF_INSN_BGTLR, model_fr500_bgtlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103844 { FRVBF_INSN_BLTLR, model_fr500_bltlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103845 { FRVBF_INSN_BGELR, model_fr500_bgelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103846 { FRVBF_INSN_BLSLR, model_fr500_blslr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103847 { FRVBF_INSN_BHILR, model_fr500_bhilr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103848 { FRVBF_INSN_BCLR, model_fr500_bclr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103849 { FRVBF_INSN_BNCLR, model_fr500_bnclr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103850 { FRVBF_INSN_BNLR, model_fr500_bnlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103851 { FRVBF_INSN_BPLR, model_fr500_bplr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103852 { FRVBF_INSN_BVLR, model_fr500_bvlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103853 { FRVBF_INSN_BNVLR, model_fr500_bnvlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103854 { FRVBF_INSN_FBRALR, model_fr500_fbralr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103855 { FRVBF_INSN_FBNOLR, model_fr500_fbnolr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103856 { FRVBF_INSN_FBEQLR, model_fr500_fbeqlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103857 { FRVBF_INSN_FBNELR, model_fr500_fbnelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103858 { FRVBF_INSN_FBLGLR, model_fr500_fblglr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103859 { FRVBF_INSN_FBUELR, model_fr500_fbuelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103860 { FRVBF_INSN_FBULLR, model_fr500_fbullr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103861 { FRVBF_INSN_FBGELR, model_fr500_fbgelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103862 { FRVBF_INSN_FBLTLR, model_fr500_fbltlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103863 { FRVBF_INSN_FBUGELR, model_fr500_fbugelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103864 { FRVBF_INSN_FBUGLR, model_fr500_fbuglr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103865 { FRVBF_INSN_FBLELR, model_fr500_fblelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103866 { FRVBF_INSN_FBGTLR, model_fr500_fbgtlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103867 { FRVBF_INSN_FBULELR, model_fr500_fbulelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103868 { FRVBF_INSN_FBULR, model_fr500_fbulr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103869 { FRVBF_INSN_FBOLR, model_fr500_fbolr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103870 { FRVBF_INSN_BCRALR, model_fr500_bcralr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103871 { FRVBF_INSN_BCNOLR, model_fr500_bcnolr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103872 { FRVBF_INSN_BCEQLR, model_fr500_bceqlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103873 { FRVBF_INSN_BCNELR, model_fr500_bcnelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103874 { FRVBF_INSN_BCLELR, model_fr500_bclelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103875 { FRVBF_INSN_BCGTLR, model_fr500_bcgtlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103876 { FRVBF_INSN_BCLTLR, model_fr500_bcltlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103877 { FRVBF_INSN_BCGELR, model_fr500_bcgelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103878 { FRVBF_INSN_BCLSLR, model_fr500_bclslr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103879 { FRVBF_INSN_BCHILR, model_fr500_bchilr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103880 { FRVBF_INSN_BCCLR, model_fr500_bcclr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103881 { FRVBF_INSN_BCNCLR, model_fr500_bcnclr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103882 { FRVBF_INSN_BCNLR, model_fr500_bcnlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103883 { FRVBF_INSN_BCPLR, model_fr500_bcplr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103884 { FRVBF_INSN_BCVLR, model_fr500_bcvlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103885 { FRVBF_INSN_BCNVLR, model_fr500_bcnvlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103886 { FRVBF_INSN_FCBRALR, model_fr500_fcbralr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103887 { FRVBF_INSN_FCBNOLR, model_fr500_fcbnolr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103888 { FRVBF_INSN_FCBEQLR, model_fr500_fcbeqlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103889 { FRVBF_INSN_FCBNELR, model_fr500_fcbnelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103890 { FRVBF_INSN_FCBLGLR, model_fr500_fcblglr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103891 { FRVBF_INSN_FCBUELR, model_fr500_fcbuelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103892 { FRVBF_INSN_FCBULLR, model_fr500_fcbullr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103893 { FRVBF_INSN_FCBGELR, model_fr500_fcbgelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103894 { FRVBF_INSN_FCBLTLR, model_fr500_fcbltlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103895 { FRVBF_INSN_FCBUGELR, model_fr500_fcbugelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103896 { FRVBF_INSN_FCBUGLR, model_fr500_fcbuglr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103897 { FRVBF_INSN_FCBLELR, model_fr500_fcblelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103898 { FRVBF_INSN_FCBGTLR, model_fr500_fcbgtlr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103899 { FRVBF_INSN_FCBULELR, model_fr500_fcbulelr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103900 { FRVBF_INSN_FCBULR, model_fr500_fcbulr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103901 { FRVBF_INSN_FCBOLR, model_fr500_fcbolr, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103902 { FRVBF_INSN_JMPL, model_fr500_jmpl, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103903 { FRVBF_INSN_CALLL, model_fr500_calll, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103904 { FRVBF_INSN_JMPIL, model_fr500_jmpil, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103905 { FRVBF_INSN_CALLIL, model_fr500_callil, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103906 { FRVBF_INSN_CALL, model_fr500_call, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
103907 { FRVBF_INSN_RETT, model_fr500_rett, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103908 { FRVBF_INSN_REI, model_fr500_rei, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103909 { FRVBF_INSN_TRA, model_fr500_tra, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103910 { FRVBF_INSN_TNO, model_fr500_tno, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103911 { FRVBF_INSN_TEQ, model_fr500_teq, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103912 { FRVBF_INSN_TNE, model_fr500_tne, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103913 { FRVBF_INSN_TLE, model_fr500_tle, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103914 { FRVBF_INSN_TGT, model_fr500_tgt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103915 { FRVBF_INSN_TLT, model_fr500_tlt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103916 { FRVBF_INSN_TGE, model_fr500_tge, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103917 { FRVBF_INSN_TLS, model_fr500_tls, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103918 { FRVBF_INSN_THI, model_fr500_thi, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103919 { FRVBF_INSN_TC, model_fr500_tc, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103920 { FRVBF_INSN_TNC, model_fr500_tnc, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103921 { FRVBF_INSN_TN, model_fr500_tn, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103922 { FRVBF_INSN_TP, model_fr500_tp, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103923 { FRVBF_INSN_TV, model_fr500_tv, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103924 { FRVBF_INSN_TNV, model_fr500_tnv, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103925 { FRVBF_INSN_FTRA, model_fr500_ftra, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103926 { FRVBF_INSN_FTNO, model_fr500_ftno, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103927 { FRVBF_INSN_FTNE, model_fr500_ftne, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103928 { FRVBF_INSN_FTEQ, model_fr500_fteq, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103929 { FRVBF_INSN_FTLG, model_fr500_ftlg, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103930 { FRVBF_INSN_FTUE, model_fr500_ftue, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103931 { FRVBF_INSN_FTUL, model_fr500_ftul, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103932 { FRVBF_INSN_FTGE, model_fr500_ftge, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103933 { FRVBF_INSN_FTLT, model_fr500_ftlt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103934 { FRVBF_INSN_FTUGE, model_fr500_ftuge, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103935 { FRVBF_INSN_FTUG, model_fr500_ftug, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103936 { FRVBF_INSN_FTLE, model_fr500_ftle, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103937 { FRVBF_INSN_FTGT, model_fr500_ftgt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103938 { FRVBF_INSN_FTULE, model_fr500_ftule, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103939 { FRVBF_INSN_FTU, model_fr500_ftu, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103940 { FRVBF_INSN_FTO, model_fr500_fto, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103941 { FRVBF_INSN_TIRA, model_fr500_tira, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103942 { FRVBF_INSN_TINO, model_fr500_tino, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103943 { FRVBF_INSN_TIEQ, model_fr500_tieq, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103944 { FRVBF_INSN_TINE, model_fr500_tine, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103945 { FRVBF_INSN_TILE, model_fr500_tile, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103946 { FRVBF_INSN_TIGT, model_fr500_tigt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103947 { FRVBF_INSN_TILT, model_fr500_tilt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103948 { FRVBF_INSN_TIGE, model_fr500_tige, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103949 { FRVBF_INSN_TILS, model_fr500_tils, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103950 { FRVBF_INSN_TIHI, model_fr500_tihi, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103951 { FRVBF_INSN_TIC, model_fr500_tic, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103952 { FRVBF_INSN_TINC, model_fr500_tinc, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103953 { FRVBF_INSN_TIN, model_fr500_tin, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103954 { FRVBF_INSN_TIP, model_fr500_tip, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103955 { FRVBF_INSN_TIV, model_fr500_tiv, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103956 { FRVBF_INSN_TINV, model_fr500_tinv, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103957 { FRVBF_INSN_FTIRA, model_fr500_ftira, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103958 { FRVBF_INSN_FTINO, model_fr500_ftino, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103959 { FRVBF_INSN_FTINE, model_fr500_ftine, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103960 { FRVBF_INSN_FTIEQ, model_fr500_ftieq, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103961 { FRVBF_INSN_FTILG, model_fr500_ftilg, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103962 { FRVBF_INSN_FTIUE, model_fr500_ftiue, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103963 { FRVBF_INSN_FTIUL, model_fr500_ftiul, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103964 { FRVBF_INSN_FTIGE, model_fr500_ftige, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103965 { FRVBF_INSN_FTILT, model_fr500_ftilt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103966 { FRVBF_INSN_FTIUGE, model_fr500_ftiuge, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103967 { FRVBF_INSN_FTIUG, model_fr500_ftiug, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103968 { FRVBF_INSN_FTILE, model_fr500_ftile, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103969 { FRVBF_INSN_FTIGT, model_fr500_ftigt, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103970 { FRVBF_INSN_FTIULE, model_fr500_ftiule, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103971 { FRVBF_INSN_FTIU, model_fr500_ftiu, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103972 { FRVBF_INSN_FTIO, model_fr500_ftio, { { (int) UNIT_FR500_U_TRAP, 1, 1 } } },
103973 { FRVBF_INSN_BREAK, model_fr500_break, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103974 { FRVBF_INSN_MTRAP, model_fr500_mtrap, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103975 { FRVBF_INSN_ANDCR, model_fr500_andcr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103976 { FRVBF_INSN_ORCR, model_fr500_orcr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103977 { FRVBF_INSN_XORCR, model_fr500_xorcr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103978 { FRVBF_INSN_NANDCR, model_fr500_nandcr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103979 { FRVBF_INSN_NORCR, model_fr500_norcr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103980 { FRVBF_INSN_ANDNCR, model_fr500_andncr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103981 { FRVBF_INSN_ORNCR, model_fr500_orncr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103982 { FRVBF_INSN_NANDNCR, model_fr500_nandncr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103983 { FRVBF_INSN_NORNCR, model_fr500_norncr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103984 { FRVBF_INSN_NOTCR, model_fr500_notcr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
103985 { FRVBF_INSN_CKRA, model_fr500_ckra, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103986 { FRVBF_INSN_CKNO, model_fr500_ckno, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103987 { FRVBF_INSN_CKEQ, model_fr500_ckeq, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103988 { FRVBF_INSN_CKNE, model_fr500_ckne, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103989 { FRVBF_INSN_CKLE, model_fr500_ckle, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103990 { FRVBF_INSN_CKGT, model_fr500_ckgt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103991 { FRVBF_INSN_CKLT, model_fr500_cklt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103992 { FRVBF_INSN_CKGE, model_fr500_ckge, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103993 { FRVBF_INSN_CKLS, model_fr500_ckls, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103994 { FRVBF_INSN_CKHI, model_fr500_ckhi, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103995 { FRVBF_INSN_CKC, model_fr500_ckc, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103996 { FRVBF_INSN_CKNC, model_fr500_cknc, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103997 { FRVBF_INSN_CKN, model_fr500_ckn, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103998 { FRVBF_INSN_CKP, model_fr500_ckp, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
103999 { FRVBF_INSN_CKV, model_fr500_ckv, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104000 { FRVBF_INSN_CKNV, model_fr500_cknv, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104001 { FRVBF_INSN_FCKRA, model_fr500_fckra, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104002 { FRVBF_INSN_FCKNO, model_fr500_fckno, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104003 { FRVBF_INSN_FCKNE, model_fr500_fckne, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104004 { FRVBF_INSN_FCKEQ, model_fr500_fckeq, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104005 { FRVBF_INSN_FCKLG, model_fr500_fcklg, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104006 { FRVBF_INSN_FCKUE, model_fr500_fckue, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104007 { FRVBF_INSN_FCKUL, model_fr500_fckul, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104008 { FRVBF_INSN_FCKGE, model_fr500_fckge, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104009 { FRVBF_INSN_FCKLT, model_fr500_fcklt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104010 { FRVBF_INSN_FCKUGE, model_fr500_fckuge, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104011 { FRVBF_INSN_FCKUG, model_fr500_fckug, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104012 { FRVBF_INSN_FCKLE, model_fr500_fckle, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104013 { FRVBF_INSN_FCKGT, model_fr500_fckgt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104014 { FRVBF_INSN_FCKULE, model_fr500_fckule, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104015 { FRVBF_INSN_FCKU, model_fr500_fcku, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104016 { FRVBF_INSN_FCKO, model_fr500_fcko, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104017 { FRVBF_INSN_CCKRA, model_fr500_cckra, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104018 { FRVBF_INSN_CCKNO, model_fr500_cckno, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104019 { FRVBF_INSN_CCKEQ, model_fr500_cckeq, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104020 { FRVBF_INSN_CCKNE, model_fr500_cckne, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104021 { FRVBF_INSN_CCKLE, model_fr500_cckle, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104022 { FRVBF_INSN_CCKGT, model_fr500_cckgt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104023 { FRVBF_INSN_CCKLT, model_fr500_ccklt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104024 { FRVBF_INSN_CCKGE, model_fr500_cckge, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104025 { FRVBF_INSN_CCKLS, model_fr500_cckls, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104026 { FRVBF_INSN_CCKHI, model_fr500_cckhi, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104027 { FRVBF_INSN_CCKC, model_fr500_cckc, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104028 { FRVBF_INSN_CCKNC, model_fr500_ccknc, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104029 { FRVBF_INSN_CCKN, model_fr500_cckn, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104030 { FRVBF_INSN_CCKP, model_fr500_cckp, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104031 { FRVBF_INSN_CCKV, model_fr500_cckv, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104032 { FRVBF_INSN_CCKNV, model_fr500_ccknv, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104033 { FRVBF_INSN_CFCKRA, model_fr500_cfckra, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104034 { FRVBF_INSN_CFCKNO, model_fr500_cfckno, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104035 { FRVBF_INSN_CFCKNE, model_fr500_cfckne, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104036 { FRVBF_INSN_CFCKEQ, model_fr500_cfckeq, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104037 { FRVBF_INSN_CFCKLG, model_fr500_cfcklg, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104038 { FRVBF_INSN_CFCKUE, model_fr500_cfckue, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104039 { FRVBF_INSN_CFCKUL, model_fr500_cfckul, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104040 { FRVBF_INSN_CFCKGE, model_fr500_cfckge, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104041 { FRVBF_INSN_CFCKLT, model_fr500_cfcklt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104042 { FRVBF_INSN_CFCKUGE, model_fr500_cfckuge, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104043 { FRVBF_INSN_CFCKUG, model_fr500_cfckug, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104044 { FRVBF_INSN_CFCKLE, model_fr500_cfckle, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104045 { FRVBF_INSN_CFCKGT, model_fr500_cfckgt, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104046 { FRVBF_INSN_CFCKULE, model_fr500_cfckule, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104047 { FRVBF_INSN_CFCKU, model_fr500_cfcku, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104048 { FRVBF_INSN_CFCKO, model_fr500_cfcko, { { (int) UNIT_FR500_U_CHECK, 1, 1 } } },
104049 { FRVBF_INSN_CJMPL, model_fr500_cjmpl, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
104050 { FRVBF_INSN_CCALLL, model_fr500_ccalll, { { (int) UNIT_FR500_U_BRANCH, 1, 1 } } },
104051 { FRVBF_INSN_ICI, model_fr500_ici, { { (int) UNIT_FR500_U_ICI, 1, 1 } } },
104052 { FRVBF_INSN_DCI, model_fr500_dci, { { (int) UNIT_FR500_U_DCI, 1, 1 } } },
104053 { FRVBF_INSN_ICEI, model_fr500_icei, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104054 { FRVBF_INSN_DCEI, model_fr500_dcei, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104055 { FRVBF_INSN_DCF, model_fr500_dcf, { { (int) UNIT_FR500_U_DCF, 1, 1 } } },
104056 { FRVBF_INSN_DCEF, model_fr500_dcef, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104057 { FRVBF_INSN_WITLB, model_fr500_witlb, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104058 { FRVBF_INSN_WDTLB, model_fr500_wdtlb, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104059 { FRVBF_INSN_ITLBI, model_fr500_itlbi, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104060 { FRVBF_INSN_DTLBI, model_fr500_dtlbi, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104061 { FRVBF_INSN_ICPL, model_fr500_icpl, { { (int) UNIT_FR500_U_ICPL, 1, 1 } } },
104062 { FRVBF_INSN_DCPL, model_fr500_dcpl, { { (int) UNIT_FR500_U_DCPL, 1, 1 } } },
104063 { FRVBF_INSN_ICUL, model_fr500_icul, { { (int) UNIT_FR500_U_ICUL, 1, 1 } } },
104064 { FRVBF_INSN_DCUL, model_fr500_dcul, { { (int) UNIT_FR500_U_DCUL, 1, 1 } } },
104065 { FRVBF_INSN_BAR, model_fr500_bar, { { (int) UNIT_FR500_U_BARRIER, 1, 1 } } },
104066 { FRVBF_INSN_MEMBAR, model_fr500_membar, { { (int) UNIT_FR500_U_MEMBAR, 1, 1 } } },
104067 { FRVBF_INSN_LRAI, model_fr500_lrai, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104068 { FRVBF_INSN_LRAD, model_fr500_lrad, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104069 { FRVBF_INSN_TLBPR, model_fr500_tlbpr, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104070 { FRVBF_INSN_COP1, model_fr500_cop1, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104071 { FRVBF_INSN_COP2, model_fr500_cop2, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104072 { FRVBF_INSN_CLRGR, model_fr500_clrgr, { { (int) UNIT_FR500_U_CLRGR, 1, 1 } } },
104073 { FRVBF_INSN_CLRFR, model_fr500_clrfr, { { (int) UNIT_FR500_U_CLRFR, 1, 1 } } },
104074 { FRVBF_INSN_CLRGA, model_fr500_clrga, { { (int) UNIT_FR500_U_CLRGR, 1, 1 } } },
104075 { FRVBF_INSN_CLRFA, model_fr500_clrfa, { { (int) UNIT_FR500_U_CLRFR, 1, 1 } } },
104076 { FRVBF_INSN_COMMITGR, model_fr500_commitgr, { { (int) UNIT_FR500_U_COMMIT, 1, 1 } } },
104077 { FRVBF_INSN_COMMITFR, model_fr500_commitfr, { { (int) UNIT_FR500_U_COMMIT, 1, 1 } } },
104078 { FRVBF_INSN_COMMITGA, model_fr500_commitga, { { (int) UNIT_FR500_U_COMMIT, 1, 1 } } },
104079 { FRVBF_INSN_COMMITFA, model_fr500_commitfa, { { (int) UNIT_FR500_U_COMMIT, 1, 1 } } },
104080 { FRVBF_INSN_FITOS, model_fr500_fitos, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104081 { FRVBF_INSN_FSTOI, model_fr500_fstoi, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104082 { FRVBF_INSN_FITOD, model_fr500_fitod, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104083 { FRVBF_INSN_FDTOI, model_fr500_fdtoi, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104084 { FRVBF_INSN_FDITOS, model_fr500_fditos, { { (int) UNIT_FR500_U_FLOAT_DUAL_CONVERT, 1, 1 } } },
104085 { FRVBF_INSN_FDSTOI, model_fr500_fdstoi, { { (int) UNIT_FR500_U_FLOAT_DUAL_CONVERT, 1, 1 } } },
104086 { FRVBF_INSN_NFDITOS, model_fr500_nfditos, { { (int) UNIT_FR500_U_FLOAT_DUAL_CONVERT, 1, 1 } } },
104087 { FRVBF_INSN_NFDSTOI, model_fr500_nfdstoi, { { (int) UNIT_FR500_U_FLOAT_DUAL_CONVERT, 1, 1 } } },
104088 { FRVBF_INSN_CFITOS, model_fr500_cfitos, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104089 { FRVBF_INSN_CFSTOI, model_fr500_cfstoi, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104090 { FRVBF_INSN_NFITOS, model_fr500_nfitos, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104091 { FRVBF_INSN_NFSTOI, model_fr500_nfstoi, { { (int) UNIT_FR500_U_FLOAT_CONVERT, 1, 1 } } },
104092 { FRVBF_INSN_FMOVS, model_fr500_fmovs, { { (int) UNIT_FR500_U_FR2FR, 1, 1 } } },
104093 { FRVBF_INSN_FMOVD, model_fr500_fmovd, { { (int) UNIT_FR500_U_FR2FR, 1, 1 } } },
104094 { FRVBF_INSN_FDMOVS, model_fr500_fdmovs, { { (int) UNIT_FR500_U_FR2FR, 1, 1 } } },
104095 { FRVBF_INSN_CFMOVS, model_fr500_cfmovs, { { (int) UNIT_FR500_U_FR2FR, 1, 1 } } },
104096 { FRVBF_INSN_FNEGS, model_fr500_fnegs, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104097 { FRVBF_INSN_FNEGD, model_fr500_fnegd, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104098 { FRVBF_INSN_FDNEGS, model_fr500_fdnegs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104099 { FRVBF_INSN_CFNEGS, model_fr500_cfnegs, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104100 { FRVBF_INSN_FABSS, model_fr500_fabss, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104101 { FRVBF_INSN_FABSD, model_fr500_fabsd, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104102 { FRVBF_INSN_FDABSS, model_fr500_fdabss, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104103 { FRVBF_INSN_CFABSS, model_fr500_cfabss, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104104 { FRVBF_INSN_FSQRTS, model_fr500_fsqrts, { { (int) UNIT_FR500_U_FLOAT_SQRT, 1, 1 } } },
104105 { FRVBF_INSN_FDSQRTS, model_fr500_fdsqrts, { { (int) UNIT_FR500_U_FLOAT_DUAL_SQRT, 1, 1 } } },
104106 { FRVBF_INSN_NFDSQRTS, model_fr500_nfdsqrts, { { (int) UNIT_FR500_U_FLOAT_DUAL_SQRT, 1, 1 } } },
104107 { FRVBF_INSN_FSQRTD, model_fr500_fsqrtd, { { (int) UNIT_FR500_U_FLOAT_SQRT, 1, 1 } } },
104108 { FRVBF_INSN_CFSQRTS, model_fr500_cfsqrts, { { (int) UNIT_FR500_U_FLOAT_SQRT, 1, 1 } } },
104109 { FRVBF_INSN_NFSQRTS, model_fr500_nfsqrts, { { (int) UNIT_FR500_U_FLOAT_SQRT, 1, 1 } } },
104110 { FRVBF_INSN_FADDS, model_fr500_fadds, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104111 { FRVBF_INSN_FSUBS, model_fr500_fsubs, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104112 { FRVBF_INSN_FMULS, model_fr500_fmuls, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104113 { FRVBF_INSN_FDIVS, model_fr500_fdivs, { { (int) UNIT_FR500_U_FLOAT_DIV, 1, 1 } } },
104114 { FRVBF_INSN_FADDD, model_fr500_faddd, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104115 { FRVBF_INSN_FSUBD, model_fr500_fsubd, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104116 { FRVBF_INSN_FMULD, model_fr500_fmuld, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104117 { FRVBF_INSN_FDIVD, model_fr500_fdivd, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104118 { FRVBF_INSN_CFADDS, model_fr500_cfadds, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104119 { FRVBF_INSN_CFSUBS, model_fr500_cfsubs, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104120 { FRVBF_INSN_CFMULS, model_fr500_cfmuls, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104121 { FRVBF_INSN_CFDIVS, model_fr500_cfdivs, { { (int) UNIT_FR500_U_FLOAT_DIV, 1, 1 } } },
104122 { FRVBF_INSN_NFADDS, model_fr500_nfadds, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104123 { FRVBF_INSN_NFSUBS, model_fr500_nfsubs, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104124 { FRVBF_INSN_NFMULS, model_fr500_nfmuls, { { (int) UNIT_FR500_U_FLOAT_ARITH, 1, 1 } } },
104125 { FRVBF_INSN_NFDIVS, model_fr500_nfdivs, { { (int) UNIT_FR500_U_FLOAT_DIV, 1, 1 } } },
104126 { FRVBF_INSN_FCMPS, model_fr500_fcmps, { { (int) UNIT_FR500_U_FLOAT_COMPARE, 1, 1 } } },
104127 { FRVBF_INSN_FCMPD, model_fr500_fcmpd, { { (int) UNIT_FR500_U_FLOAT_COMPARE, 1, 1 } } },
104128 { FRVBF_INSN_CFCMPS, model_fr500_cfcmps, { { (int) UNIT_FR500_U_FLOAT_COMPARE, 1, 1 } } },
104129 { FRVBF_INSN_FDCMPS, model_fr500_fdcmps, { { (int) UNIT_FR500_U_FLOAT_DUAL_COMPARE, 1, 1 } } },
104130 { FRVBF_INSN_FMADDS, model_fr500_fmadds, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104131 { FRVBF_INSN_FMSUBS, model_fr500_fmsubs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104132 { FRVBF_INSN_FMADDD, model_fr500_fmaddd, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104133 { FRVBF_INSN_FMSUBD, model_fr500_fmsubd, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104134 { FRVBF_INSN_FDMADDS, model_fr500_fdmadds, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104135 { FRVBF_INSN_NFDMADDS, model_fr500_nfdmadds, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104136 { FRVBF_INSN_CFMADDS, model_fr500_cfmadds, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104137 { FRVBF_INSN_CFMSUBS, model_fr500_cfmsubs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104138 { FRVBF_INSN_NFMADDS, model_fr500_nfmadds, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104139 { FRVBF_INSN_NFMSUBS, model_fr500_nfmsubs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104140 { FRVBF_INSN_FMAS, model_fr500_fmas, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104141 { FRVBF_INSN_FMSS, model_fr500_fmss, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104142 { FRVBF_INSN_FDMAS, model_fr500_fdmas, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104143 { FRVBF_INSN_FDMSS, model_fr500_fdmss, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104144 { FRVBF_INSN_NFDMAS, model_fr500_nfdmas, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104145 { FRVBF_INSN_NFDMSS, model_fr500_nfdmss, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104146 { FRVBF_INSN_CFMAS, model_fr500_cfmas, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104147 { FRVBF_INSN_CFMSS, model_fr500_cfmss, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104148 { FRVBF_INSN_FMAD, model_fr500_fmad, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104149 { FRVBF_INSN_FMSD, model_fr500_fmsd, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104150 { FRVBF_INSN_NFMAS, model_fr500_nfmas, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104151 { FRVBF_INSN_NFMSS, model_fr500_nfmss, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104152 { FRVBF_INSN_FDADDS, model_fr500_fdadds, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104153 { FRVBF_INSN_FDSUBS, model_fr500_fdsubs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104154 { FRVBF_INSN_FDMULS, model_fr500_fdmuls, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104155 { FRVBF_INSN_FDDIVS, model_fr500_fddivs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104156 { FRVBF_INSN_FDSADS, model_fr500_fdsads, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104157 { FRVBF_INSN_FDMULCS, model_fr500_fdmulcs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104158 { FRVBF_INSN_NFDMULCS, model_fr500_nfdmulcs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104159 { FRVBF_INSN_NFDADDS, model_fr500_nfdadds, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104160 { FRVBF_INSN_NFDSUBS, model_fr500_nfdsubs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104161 { FRVBF_INSN_NFDMULS, model_fr500_nfdmuls, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104162 { FRVBF_INSN_NFDDIVS, model_fr500_nfddivs, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104163 { FRVBF_INSN_NFDSADS, model_fr500_nfdsads, { { (int) UNIT_FR500_U_FLOAT_DUAL_ARITH, 1, 1 } } },
104164 { FRVBF_INSN_NFDCMPS, model_fr500_nfdcmps, { { (int) UNIT_FR500_U_FLOAT_DUAL_COMPARE, 1, 1 } } },
104165 { FRVBF_INSN_MHSETLOS, model_fr500_mhsetlos, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104166 { FRVBF_INSN_MHSETHIS, model_fr500_mhsethis, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104167 { FRVBF_INSN_MHDSETS, model_fr500_mhdsets, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104168 { FRVBF_INSN_MHSETLOH, model_fr500_mhsetloh, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104169 { FRVBF_INSN_MHSETHIH, model_fr500_mhsethih, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104170 { FRVBF_INSN_MHDSETH, model_fr500_mhdseth, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104171 { FRVBF_INSN_MAND, model_fr500_mand, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104172 { FRVBF_INSN_MOR, model_fr500_mor, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104173 { FRVBF_INSN_MXOR, model_fr500_mxor, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104174 { FRVBF_INSN_CMAND, model_fr500_cmand, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104175 { FRVBF_INSN_CMOR, model_fr500_cmor, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104176 { FRVBF_INSN_CMXOR, model_fr500_cmxor, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104177 { FRVBF_INSN_MNOT, model_fr500_mnot, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104178 { FRVBF_INSN_CMNOT, model_fr500_cmnot, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104179 { FRVBF_INSN_MROTLI, model_fr500_mrotli, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104180 { FRVBF_INSN_MROTRI, model_fr500_mrotri, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104181 { FRVBF_INSN_MWCUT, model_fr500_mwcut, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104182 { FRVBF_INSN_MWCUTI, model_fr500_mwcuti, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104183 { FRVBF_INSN_MCUT, model_fr500_mcut, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104184 { FRVBF_INSN_MCUTI, model_fr500_mcuti, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104185 { FRVBF_INSN_MCUTSS, model_fr500_mcutss, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104186 { FRVBF_INSN_MCUTSSI, model_fr500_mcutssi, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104187 { FRVBF_INSN_MDCUTSSI, model_fr500_mdcutssi, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104188 { FRVBF_INSN_MAVEH, model_fr500_maveh, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104189 { FRVBF_INSN_MSLLHI, model_fr500_msllhi, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104190 { FRVBF_INSN_MSRLHI, model_fr500_msrlhi, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104191 { FRVBF_INSN_MSRAHI, model_fr500_msrahi, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104192 { FRVBF_INSN_MDROTLI, model_fr500_mdrotli, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104193 { FRVBF_INSN_MCPLHI, model_fr500_mcplhi, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104194 { FRVBF_INSN_MCPLI, model_fr500_mcpli, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104195 { FRVBF_INSN_MSATHS, model_fr500_msaths, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104196 { FRVBF_INSN_MQSATHS, model_fr500_mqsaths, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104197 { FRVBF_INSN_MSATHU, model_fr500_msathu, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104198 { FRVBF_INSN_MCMPSH, model_fr500_mcmpsh, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104199 { FRVBF_INSN_MCMPUH, model_fr500_mcmpuh, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104200 { FRVBF_INSN_MABSHS, model_fr500_mabshs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104201 { FRVBF_INSN_MADDHSS, model_fr500_maddhss, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104202 { FRVBF_INSN_MADDHUS, model_fr500_maddhus, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104203 { FRVBF_INSN_MSUBHSS, model_fr500_msubhss, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104204 { FRVBF_INSN_MSUBHUS, model_fr500_msubhus, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104205 { FRVBF_INSN_CMADDHSS, model_fr500_cmaddhss, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104206 { FRVBF_INSN_CMADDHUS, model_fr500_cmaddhus, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104207 { FRVBF_INSN_CMSUBHSS, model_fr500_cmsubhss, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104208 { FRVBF_INSN_CMSUBHUS, model_fr500_cmsubhus, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104209 { FRVBF_INSN_MQADDHSS, model_fr500_mqaddhss, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104210 { FRVBF_INSN_MQADDHUS, model_fr500_mqaddhus, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104211 { FRVBF_INSN_MQSUBHSS, model_fr500_mqsubhss, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104212 { FRVBF_INSN_MQSUBHUS, model_fr500_mqsubhus, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104213 { FRVBF_INSN_CMQADDHSS, model_fr500_cmqaddhss, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104214 { FRVBF_INSN_CMQADDHUS, model_fr500_cmqaddhus, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104215 { FRVBF_INSN_CMQSUBHSS, model_fr500_cmqsubhss, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104216 { FRVBF_INSN_CMQSUBHUS, model_fr500_cmqsubhus, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104217 { FRVBF_INSN_MQLCLRHS, model_fr500_mqlclrhs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104218 { FRVBF_INSN_MQLMTHS, model_fr500_mqlmths, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104219 { FRVBF_INSN_MQSLLHI, model_fr500_mqsllhi, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104220 { FRVBF_INSN_MQSRAHI, model_fr500_mqsrahi, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104221 { FRVBF_INSN_MADDACCS, model_fr500_maddaccs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104222 { FRVBF_INSN_MSUBACCS, model_fr500_msubaccs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104223 { FRVBF_INSN_MDADDACCS, model_fr500_mdaddaccs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104224 { FRVBF_INSN_MDSUBACCS, model_fr500_mdsubaccs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104225 { FRVBF_INSN_MASACCS, model_fr500_masaccs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104226 { FRVBF_INSN_MDASACCS, model_fr500_mdasaccs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104227 { FRVBF_INSN_MMULHS, model_fr500_mmulhs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104228 { FRVBF_INSN_MMULHU, model_fr500_mmulhu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104229 { FRVBF_INSN_MMULXHS, model_fr500_mmulxhs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104230 { FRVBF_INSN_MMULXHU, model_fr500_mmulxhu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104231 { FRVBF_INSN_CMMULHS, model_fr500_cmmulhs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104232 { FRVBF_INSN_CMMULHU, model_fr500_cmmulhu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104233 { FRVBF_INSN_MQMULHS, model_fr500_mqmulhs, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104234 { FRVBF_INSN_MQMULHU, model_fr500_mqmulhu, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104235 { FRVBF_INSN_MQMULXHS, model_fr500_mqmulxhs, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104236 { FRVBF_INSN_MQMULXHU, model_fr500_mqmulxhu, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104237 { FRVBF_INSN_CMQMULHS, model_fr500_cmqmulhs, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104238 { FRVBF_INSN_CMQMULHU, model_fr500_cmqmulhu, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104239 { FRVBF_INSN_MMACHS, model_fr500_mmachs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104240 { FRVBF_INSN_MMACHU, model_fr500_mmachu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104241 { FRVBF_INSN_MMRDHS, model_fr500_mmrdhs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104242 { FRVBF_INSN_MMRDHU, model_fr500_mmrdhu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104243 { FRVBF_INSN_CMMACHS, model_fr500_cmmachs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104244 { FRVBF_INSN_CMMACHU, model_fr500_cmmachu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104245 { FRVBF_INSN_MQMACHS, model_fr500_mqmachs, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104246 { FRVBF_INSN_MQMACHU, model_fr500_mqmachu, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104247 { FRVBF_INSN_CMQMACHS, model_fr500_cmqmachs, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104248 { FRVBF_INSN_CMQMACHU, model_fr500_cmqmachu, { { (int) UNIT_FR500_U_MEDIA_QUAD_MUL, 1, 1 } } },
104249 { FRVBF_INSN_MQXMACHS, model_fr500_mqxmachs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104250 { FRVBF_INSN_MQXMACXHS, model_fr500_mqxmacxhs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104251 { FRVBF_INSN_MQMACXHS, model_fr500_mqmacxhs, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104252 { FRVBF_INSN_MCPXRS, model_fr500_mcpxrs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104253 { FRVBF_INSN_MCPXRU, model_fr500_mcpxru, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104254 { FRVBF_INSN_MCPXIS, model_fr500_mcpxis, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104255 { FRVBF_INSN_MCPXIU, model_fr500_mcpxiu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104256 { FRVBF_INSN_CMCPXRS, model_fr500_cmcpxrs, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104257 { FRVBF_INSN_CMCPXRU, model_fr500_cmcpxru, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104258 { FRVBF_INSN_CMCPXIS, model_fr500_cmcpxis, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104259 { FRVBF_INSN_CMCPXIU, model_fr500_cmcpxiu, { { (int) UNIT_FR500_U_MEDIA_DUAL_MUL, 1, 1 } } },
104260 { FRVBF_INSN_MQCPXRS, model_fr500_mqcpxrs, { { (int) UNIT_FR500_U_MEDIA_QUAD_COMPLEX, 1, 1 } } },
104261 { FRVBF_INSN_MQCPXRU, model_fr500_mqcpxru, { { (int) UNIT_FR500_U_MEDIA_QUAD_COMPLEX, 1, 1 } } },
104262 { FRVBF_INSN_MQCPXIS, model_fr500_mqcpxis, { { (int) UNIT_FR500_U_MEDIA_QUAD_COMPLEX, 1, 1 } } },
104263 { FRVBF_INSN_MQCPXIU, model_fr500_mqcpxiu, { { (int) UNIT_FR500_U_MEDIA_QUAD_COMPLEX, 1, 1 } } },
104264 { FRVBF_INSN_MEXPDHW, model_fr500_mexpdhw, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104265 { FRVBF_INSN_CMEXPDHW, model_fr500_cmexpdhw, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104266 { FRVBF_INSN_MEXPDHD, model_fr500_mexpdhd, { { (int) UNIT_FR500_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
104267 { FRVBF_INSN_CMEXPDHD, model_fr500_cmexpdhd, { { (int) UNIT_FR500_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
104268 { FRVBF_INSN_MPACKH, model_fr500_mpackh, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104269 { FRVBF_INSN_MDPACKH, model_fr500_mdpackh, { { (int) UNIT_FR500_U_MEDIA_QUAD_ARITH, 1, 1 } } },
104270 { FRVBF_INSN_MUNPACKH, model_fr500_munpackh, { { (int) UNIT_FR500_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
104271 { FRVBF_INSN_MDUNPACKH, model_fr500_mdunpackh, { { (int) UNIT_FR500_U_MEDIA_DUAL_UNPACK, 1, 1 } } },
104272 { FRVBF_INSN_MBTOH, model_fr500_mbtoh, { { (int) UNIT_FR500_U_MEDIA_DUAL_BTOH, 1, 1 } } },
104273 { FRVBF_INSN_CMBTOH, model_fr500_cmbtoh, { { (int) UNIT_FR500_U_MEDIA_DUAL_BTOH, 1, 1 } } },
104274 { FRVBF_INSN_MHTOB, model_fr500_mhtob, { { (int) UNIT_FR500_U_MEDIA_DUAL_HTOB, 1, 1 } } },
104275 { FRVBF_INSN_CMHTOB, model_fr500_cmhtob, { { (int) UNIT_FR500_U_MEDIA_DUAL_HTOB, 1, 1 } } },
104276 { FRVBF_INSN_MBTOHE, model_fr500_mbtohe, { { (int) UNIT_FR500_U_MEDIA_DUAL_BTOHE, 1, 1 } } },
104277 { FRVBF_INSN_CMBTOHE, model_fr500_cmbtohe, { { (int) UNIT_FR500_U_MEDIA_DUAL_BTOHE, 1, 1 } } },
104278 { FRVBF_INSN_MNOP, model_fr500_mnop, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104279 { FRVBF_INSN_MCLRACC_0, model_fr500_mclracc_0, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104280 { FRVBF_INSN_MCLRACC_1, model_fr500_mclracc_1, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104281 { FRVBF_INSN_MRDACC, model_fr500_mrdacc, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104282 { FRVBF_INSN_MRDACCG, model_fr500_mrdaccg, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104283 { FRVBF_INSN_MWTACC, model_fr500_mwtacc, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104284 { FRVBF_INSN_MWTACCG, model_fr500_mwtaccg, { { (int) UNIT_FR500_U_MEDIA, 1, 1 } } },
104285 { FRVBF_INSN_MCOP1, model_fr500_mcop1, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104286 { FRVBF_INSN_MCOP2, model_fr500_mcop2, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104287 { FRVBF_INSN_FNOP, model_fr500_fnop, { { (int) UNIT_FR500_U_EXEC, 1, 1 } } },
104290 /* Model timing data for `tomcat'. */
104292 static const INSN_TIMING tomcat_timing[] = {
104293 { FRVBF_INSN_X_INVALID, 0, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104294 { FRVBF_INSN_X_AFTER, 0, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104295 { FRVBF_INSN_X_BEFORE, 0, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104296 { FRVBF_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104297 { FRVBF_INSN_X_CHAIN, 0, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104298 { FRVBF_INSN_X_BEGIN, 0, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104299 { FRVBF_INSN_ADD, model_tomcat_add, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104300 { FRVBF_INSN_SUB, model_tomcat_sub, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104301 { FRVBF_INSN_AND, model_tomcat_and, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104302 { FRVBF_INSN_OR, model_tomcat_or, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104303 { FRVBF_INSN_XOR, model_tomcat_xor, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104304 { FRVBF_INSN_NOT, model_tomcat_not, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104305 { FRVBF_INSN_SDIV, model_tomcat_sdiv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104306 { FRVBF_INSN_NSDIV, model_tomcat_nsdiv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104307 { FRVBF_INSN_UDIV, model_tomcat_udiv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104308 { FRVBF_INSN_NUDIV, model_tomcat_nudiv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104309 { FRVBF_INSN_SMUL, model_tomcat_smul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104310 { FRVBF_INSN_UMUL, model_tomcat_umul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104311 { FRVBF_INSN_SMU, model_tomcat_smu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104312 { FRVBF_INSN_SMASS, model_tomcat_smass, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104313 { FRVBF_INSN_SMSSS, model_tomcat_smsss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104314 { FRVBF_INSN_SLL, model_tomcat_sll, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104315 { FRVBF_INSN_SRL, model_tomcat_srl, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104316 { FRVBF_INSN_SRA, model_tomcat_sra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104317 { FRVBF_INSN_SLASS, model_tomcat_slass, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104318 { FRVBF_INSN_SCUTSS, model_tomcat_scutss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104319 { FRVBF_INSN_SCAN, model_tomcat_scan, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104320 { FRVBF_INSN_CADD, model_tomcat_cadd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104321 { FRVBF_INSN_CSUB, model_tomcat_csub, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104322 { FRVBF_INSN_CAND, model_tomcat_cand, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104323 { FRVBF_INSN_COR, model_tomcat_cor, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104324 { FRVBF_INSN_CXOR, model_tomcat_cxor, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104325 { FRVBF_INSN_CNOT, model_tomcat_cnot, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104326 { FRVBF_INSN_CSMUL, model_tomcat_csmul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104327 { FRVBF_INSN_CSDIV, model_tomcat_csdiv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104328 { FRVBF_INSN_CUDIV, model_tomcat_cudiv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104329 { FRVBF_INSN_CSLL, model_tomcat_csll, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104330 { FRVBF_INSN_CSRL, model_tomcat_csrl, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104331 { FRVBF_INSN_CSRA, model_tomcat_csra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104332 { FRVBF_INSN_CSCAN, model_tomcat_cscan, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104333 { FRVBF_INSN_ADDCC, model_tomcat_addcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104334 { FRVBF_INSN_SUBCC, model_tomcat_subcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104335 { FRVBF_INSN_ANDCC, model_tomcat_andcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104336 { FRVBF_INSN_ORCC, model_tomcat_orcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104337 { FRVBF_INSN_XORCC, model_tomcat_xorcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104338 { FRVBF_INSN_SLLCC, model_tomcat_sllcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104339 { FRVBF_INSN_SRLCC, model_tomcat_srlcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104340 { FRVBF_INSN_SRACC, model_tomcat_sracc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104341 { FRVBF_INSN_SMULCC, model_tomcat_smulcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104342 { FRVBF_INSN_UMULCC, model_tomcat_umulcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104343 { FRVBF_INSN_CADDCC, model_tomcat_caddcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104344 { FRVBF_INSN_CSUBCC, model_tomcat_csubcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104345 { FRVBF_INSN_CSMULCC, model_tomcat_csmulcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104346 { FRVBF_INSN_CANDCC, model_tomcat_candcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104347 { FRVBF_INSN_CORCC, model_tomcat_corcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104348 { FRVBF_INSN_CXORCC, model_tomcat_cxorcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104349 { FRVBF_INSN_CSLLCC, model_tomcat_csllcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104350 { FRVBF_INSN_CSRLCC, model_tomcat_csrlcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104351 { FRVBF_INSN_CSRACC, model_tomcat_csracc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104352 { FRVBF_INSN_ADDX, model_tomcat_addx, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104353 { FRVBF_INSN_SUBX, model_tomcat_subx, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104354 { FRVBF_INSN_ADDXCC, model_tomcat_addxcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104355 { FRVBF_INSN_SUBXCC, model_tomcat_subxcc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104356 { FRVBF_INSN_ADDSS, model_tomcat_addss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104357 { FRVBF_INSN_SUBSS, model_tomcat_subss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104358 { FRVBF_INSN_ADDI, model_tomcat_addi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104359 { FRVBF_INSN_SUBI, model_tomcat_subi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104360 { FRVBF_INSN_ANDI, model_tomcat_andi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104361 { FRVBF_INSN_ORI, model_tomcat_ori, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104362 { FRVBF_INSN_XORI, model_tomcat_xori, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104363 { FRVBF_INSN_SDIVI, model_tomcat_sdivi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104364 { FRVBF_INSN_NSDIVI, model_tomcat_nsdivi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104365 { FRVBF_INSN_UDIVI, model_tomcat_udivi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104366 { FRVBF_INSN_NUDIVI, model_tomcat_nudivi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104367 { FRVBF_INSN_SMULI, model_tomcat_smuli, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104368 { FRVBF_INSN_UMULI, model_tomcat_umuli, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104369 { FRVBF_INSN_SLLI, model_tomcat_slli, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104370 { FRVBF_INSN_SRLI, model_tomcat_srli, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104371 { FRVBF_INSN_SRAI, model_tomcat_srai, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104372 { FRVBF_INSN_SCANI, model_tomcat_scani, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104373 { FRVBF_INSN_ADDICC, model_tomcat_addicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104374 { FRVBF_INSN_SUBICC, model_tomcat_subicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104375 { FRVBF_INSN_ANDICC, model_tomcat_andicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104376 { FRVBF_INSN_ORICC, model_tomcat_oricc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104377 { FRVBF_INSN_XORICC, model_tomcat_xoricc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104378 { FRVBF_INSN_SMULICC, model_tomcat_smulicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104379 { FRVBF_INSN_UMULICC, model_tomcat_umulicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104380 { FRVBF_INSN_SLLICC, model_tomcat_sllicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104381 { FRVBF_INSN_SRLICC, model_tomcat_srlicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104382 { FRVBF_INSN_SRAICC, model_tomcat_sraicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104383 { FRVBF_INSN_ADDXI, model_tomcat_addxi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104384 { FRVBF_INSN_SUBXI, model_tomcat_subxi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104385 { FRVBF_INSN_ADDXICC, model_tomcat_addxicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104386 { FRVBF_INSN_SUBXICC, model_tomcat_subxicc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104387 { FRVBF_INSN_CMPB, model_tomcat_cmpb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104388 { FRVBF_INSN_CMPBA, model_tomcat_cmpba, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104389 { FRVBF_INSN_SETLO, model_tomcat_setlo, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104390 { FRVBF_INSN_SETHI, model_tomcat_sethi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104391 { FRVBF_INSN_SETLOS, model_tomcat_setlos, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104392 { FRVBF_INSN_LDSB, model_tomcat_ldsb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104393 { FRVBF_INSN_LDUB, model_tomcat_ldub, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104394 { FRVBF_INSN_LDSH, model_tomcat_ldsh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104395 { FRVBF_INSN_LDUH, model_tomcat_lduh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104396 { FRVBF_INSN_LD, model_tomcat_ld, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104397 { FRVBF_INSN_LDBF, model_tomcat_ldbf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104398 { FRVBF_INSN_LDHF, model_tomcat_ldhf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104399 { FRVBF_INSN_LDF, model_tomcat_ldf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104400 { FRVBF_INSN_LDC, model_tomcat_ldc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104401 { FRVBF_INSN_NLDSB, model_tomcat_nldsb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104402 { FRVBF_INSN_NLDUB, model_tomcat_nldub, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104403 { FRVBF_INSN_NLDSH, model_tomcat_nldsh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104404 { FRVBF_INSN_NLDUH, model_tomcat_nlduh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104405 { FRVBF_INSN_NLD, model_tomcat_nld, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104406 { FRVBF_INSN_NLDBF, model_tomcat_nldbf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104407 { FRVBF_INSN_NLDHF, model_tomcat_nldhf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104408 { FRVBF_INSN_NLDF, model_tomcat_nldf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104409 { FRVBF_INSN_LDD, model_tomcat_ldd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104410 { FRVBF_INSN_LDDF, model_tomcat_lddf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104411 { FRVBF_INSN_LDDC, model_tomcat_lddc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104412 { FRVBF_INSN_NLDD, model_tomcat_nldd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104413 { FRVBF_INSN_NLDDF, model_tomcat_nlddf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104414 { FRVBF_INSN_LDQ, model_tomcat_ldq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104415 { FRVBF_INSN_LDQF, model_tomcat_ldqf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104416 { FRVBF_INSN_LDQC, model_tomcat_ldqc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104417 { FRVBF_INSN_NLDQ, model_tomcat_nldq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104418 { FRVBF_INSN_NLDQF, model_tomcat_nldqf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104419 { FRVBF_INSN_LDSBU, model_tomcat_ldsbu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104420 { FRVBF_INSN_LDUBU, model_tomcat_ldubu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104421 { FRVBF_INSN_LDSHU, model_tomcat_ldshu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104422 { FRVBF_INSN_LDUHU, model_tomcat_lduhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104423 { FRVBF_INSN_LDU, model_tomcat_ldu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104424 { FRVBF_INSN_NLDSBU, model_tomcat_nldsbu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104425 { FRVBF_INSN_NLDUBU, model_tomcat_nldubu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104426 { FRVBF_INSN_NLDSHU, model_tomcat_nldshu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104427 { FRVBF_INSN_NLDUHU, model_tomcat_nlduhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104428 { FRVBF_INSN_NLDU, model_tomcat_nldu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104429 { FRVBF_INSN_LDBFU, model_tomcat_ldbfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104430 { FRVBF_INSN_LDHFU, model_tomcat_ldhfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104431 { FRVBF_INSN_LDFU, model_tomcat_ldfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104432 { FRVBF_INSN_LDCU, model_tomcat_ldcu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104433 { FRVBF_INSN_NLDBFU, model_tomcat_nldbfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104434 { FRVBF_INSN_NLDHFU, model_tomcat_nldhfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104435 { FRVBF_INSN_NLDFU, model_tomcat_nldfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104436 { FRVBF_INSN_LDDU, model_tomcat_lddu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104437 { FRVBF_INSN_NLDDU, model_tomcat_nlddu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104438 { FRVBF_INSN_LDDFU, model_tomcat_lddfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104439 { FRVBF_INSN_LDDCU, model_tomcat_lddcu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104440 { FRVBF_INSN_NLDDFU, model_tomcat_nlddfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104441 { FRVBF_INSN_LDQU, model_tomcat_ldqu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104442 { FRVBF_INSN_NLDQU, model_tomcat_nldqu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104443 { FRVBF_INSN_LDQFU, model_tomcat_ldqfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104444 { FRVBF_INSN_LDQCU, model_tomcat_ldqcu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104445 { FRVBF_INSN_NLDQFU, model_tomcat_nldqfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104446 { FRVBF_INSN_LDSBI, model_tomcat_ldsbi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104447 { FRVBF_INSN_LDSHI, model_tomcat_ldshi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104448 { FRVBF_INSN_LDI, model_tomcat_ldi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104449 { FRVBF_INSN_LDUBI, model_tomcat_ldubi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104450 { FRVBF_INSN_LDUHI, model_tomcat_lduhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104451 { FRVBF_INSN_LDBFI, model_tomcat_ldbfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104452 { FRVBF_INSN_LDHFI, model_tomcat_ldhfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104453 { FRVBF_INSN_LDFI, model_tomcat_ldfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104454 { FRVBF_INSN_NLDSBI, model_tomcat_nldsbi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104455 { FRVBF_INSN_NLDUBI, model_tomcat_nldubi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104456 { FRVBF_INSN_NLDSHI, model_tomcat_nldshi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104457 { FRVBF_INSN_NLDUHI, model_tomcat_nlduhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104458 { FRVBF_INSN_NLDI, model_tomcat_nldi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104459 { FRVBF_INSN_NLDBFI, model_tomcat_nldbfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104460 { FRVBF_INSN_NLDHFI, model_tomcat_nldhfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104461 { FRVBF_INSN_NLDFI, model_tomcat_nldfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104462 { FRVBF_INSN_LDDI, model_tomcat_lddi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104463 { FRVBF_INSN_LDDFI, model_tomcat_lddfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104464 { FRVBF_INSN_NLDDI, model_tomcat_nlddi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104465 { FRVBF_INSN_NLDDFI, model_tomcat_nlddfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104466 { FRVBF_INSN_LDQI, model_tomcat_ldqi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104467 { FRVBF_INSN_LDQFI, model_tomcat_ldqfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104468 { FRVBF_INSN_NLDQFI, model_tomcat_nldqfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104469 { FRVBF_INSN_STB, model_tomcat_stb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104470 { FRVBF_INSN_STH, model_tomcat_sth, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104471 { FRVBF_INSN_ST, model_tomcat_st, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104472 { FRVBF_INSN_STBF, model_tomcat_stbf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104473 { FRVBF_INSN_STHF, model_tomcat_sthf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104474 { FRVBF_INSN_STF, model_tomcat_stf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104475 { FRVBF_INSN_STC, model_tomcat_stc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104476 { FRVBF_INSN_STD, model_tomcat_std, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104477 { FRVBF_INSN_STDF, model_tomcat_stdf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104478 { FRVBF_INSN_STDC, model_tomcat_stdc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104479 { FRVBF_INSN_STQ, model_tomcat_stq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104480 { FRVBF_INSN_STQF, model_tomcat_stqf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104481 { FRVBF_INSN_STQC, model_tomcat_stqc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104482 { FRVBF_INSN_STBU, model_tomcat_stbu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104483 { FRVBF_INSN_STHU, model_tomcat_sthu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104484 { FRVBF_INSN_STU, model_tomcat_stu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104485 { FRVBF_INSN_STBFU, model_tomcat_stbfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104486 { FRVBF_INSN_STHFU, model_tomcat_sthfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104487 { FRVBF_INSN_STFU, model_tomcat_stfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104488 { FRVBF_INSN_STCU, model_tomcat_stcu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104489 { FRVBF_INSN_STDU, model_tomcat_stdu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104490 { FRVBF_INSN_STDFU, model_tomcat_stdfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104491 { FRVBF_INSN_STDCU, model_tomcat_stdcu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104492 { FRVBF_INSN_STQU, model_tomcat_stqu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104493 { FRVBF_INSN_STQFU, model_tomcat_stqfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104494 { FRVBF_INSN_STQCU, model_tomcat_stqcu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104495 { FRVBF_INSN_CLDSB, model_tomcat_cldsb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104496 { FRVBF_INSN_CLDUB, model_tomcat_cldub, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104497 { FRVBF_INSN_CLDSH, model_tomcat_cldsh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104498 { FRVBF_INSN_CLDUH, model_tomcat_clduh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104499 { FRVBF_INSN_CLD, model_tomcat_cld, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104500 { FRVBF_INSN_CLDBF, model_tomcat_cldbf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104501 { FRVBF_INSN_CLDHF, model_tomcat_cldhf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104502 { FRVBF_INSN_CLDF, model_tomcat_cldf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104503 { FRVBF_INSN_CLDD, model_tomcat_cldd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104504 { FRVBF_INSN_CLDDF, model_tomcat_clddf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104505 { FRVBF_INSN_CLDQ, model_tomcat_cldq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104506 { FRVBF_INSN_CLDSBU, model_tomcat_cldsbu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104507 { FRVBF_INSN_CLDUBU, model_tomcat_cldubu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104508 { FRVBF_INSN_CLDSHU, model_tomcat_cldshu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104509 { FRVBF_INSN_CLDUHU, model_tomcat_clduhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104510 { FRVBF_INSN_CLDU, model_tomcat_cldu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104511 { FRVBF_INSN_CLDBFU, model_tomcat_cldbfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104512 { FRVBF_INSN_CLDHFU, model_tomcat_cldhfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104513 { FRVBF_INSN_CLDFU, model_tomcat_cldfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104514 { FRVBF_INSN_CLDDU, model_tomcat_clddu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104515 { FRVBF_INSN_CLDDFU, model_tomcat_clddfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104516 { FRVBF_INSN_CLDQU, model_tomcat_cldqu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104517 { FRVBF_INSN_CSTB, model_tomcat_cstb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104518 { FRVBF_INSN_CSTH, model_tomcat_csth, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104519 { FRVBF_INSN_CST, model_tomcat_cst, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104520 { FRVBF_INSN_CSTBF, model_tomcat_cstbf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104521 { FRVBF_INSN_CSTHF, model_tomcat_csthf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104522 { FRVBF_INSN_CSTF, model_tomcat_cstf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104523 { FRVBF_INSN_CSTD, model_tomcat_cstd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104524 { FRVBF_INSN_CSTDF, model_tomcat_cstdf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104525 { FRVBF_INSN_CSTQ, model_tomcat_cstq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104526 { FRVBF_INSN_CSTBU, model_tomcat_cstbu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104527 { FRVBF_INSN_CSTHU, model_tomcat_csthu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104528 { FRVBF_INSN_CSTU, model_tomcat_cstu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104529 { FRVBF_INSN_CSTBFU, model_tomcat_cstbfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104530 { FRVBF_INSN_CSTHFU, model_tomcat_csthfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104531 { FRVBF_INSN_CSTFU, model_tomcat_cstfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104532 { FRVBF_INSN_CSTDU, model_tomcat_cstdu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104533 { FRVBF_INSN_CSTDFU, model_tomcat_cstdfu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104534 { FRVBF_INSN_STBI, model_tomcat_stbi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104535 { FRVBF_INSN_STHI, model_tomcat_sthi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104536 { FRVBF_INSN_STI, model_tomcat_sti, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104537 { FRVBF_INSN_STBFI, model_tomcat_stbfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104538 { FRVBF_INSN_STHFI, model_tomcat_sthfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104539 { FRVBF_INSN_STFI, model_tomcat_stfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104540 { FRVBF_INSN_STDI, model_tomcat_stdi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104541 { FRVBF_INSN_STDFI, model_tomcat_stdfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104542 { FRVBF_INSN_STQI, model_tomcat_stqi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104543 { FRVBF_INSN_STQFI, model_tomcat_stqfi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104544 { FRVBF_INSN_SWAP, model_tomcat_swap, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104545 { FRVBF_INSN_SWAPI, model_tomcat_swapi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104546 { FRVBF_INSN_CSWAP, model_tomcat_cswap, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104547 { FRVBF_INSN_MOVGF, model_tomcat_movgf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104548 { FRVBF_INSN_MOVFG, model_tomcat_movfg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104549 { FRVBF_INSN_MOVGFD, model_tomcat_movgfd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104550 { FRVBF_INSN_MOVFGD, model_tomcat_movfgd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104551 { FRVBF_INSN_MOVGFQ, model_tomcat_movgfq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104552 { FRVBF_INSN_MOVFGQ, model_tomcat_movfgq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104553 { FRVBF_INSN_CMOVGF, model_tomcat_cmovgf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104554 { FRVBF_INSN_CMOVFG, model_tomcat_cmovfg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104555 { FRVBF_INSN_CMOVGFD, model_tomcat_cmovgfd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104556 { FRVBF_INSN_CMOVFGD, model_tomcat_cmovfgd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104557 { FRVBF_INSN_MOVGS, model_tomcat_movgs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104558 { FRVBF_INSN_MOVSG, model_tomcat_movsg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104559 { FRVBF_INSN_BRA, model_tomcat_bra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104560 { FRVBF_INSN_BNO, model_tomcat_bno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104561 { FRVBF_INSN_BEQ, model_tomcat_beq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104562 { FRVBF_INSN_BNE, model_tomcat_bne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104563 { FRVBF_INSN_BLE, model_tomcat_ble, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104564 { FRVBF_INSN_BGT, model_tomcat_bgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104565 { FRVBF_INSN_BLT, model_tomcat_blt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104566 { FRVBF_INSN_BGE, model_tomcat_bge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104567 { FRVBF_INSN_BLS, model_tomcat_bls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104568 { FRVBF_INSN_BHI, model_tomcat_bhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104569 { FRVBF_INSN_BC, model_tomcat_bc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104570 { FRVBF_INSN_BNC, model_tomcat_bnc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104571 { FRVBF_INSN_BN, model_tomcat_bn, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104572 { FRVBF_INSN_BP, model_tomcat_bp, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104573 { FRVBF_INSN_BV, model_tomcat_bv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104574 { FRVBF_INSN_BNV, model_tomcat_bnv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104575 { FRVBF_INSN_FBRA, model_tomcat_fbra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104576 { FRVBF_INSN_FBNO, model_tomcat_fbno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104577 { FRVBF_INSN_FBNE, model_tomcat_fbne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104578 { FRVBF_INSN_FBEQ, model_tomcat_fbeq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104579 { FRVBF_INSN_FBLG, model_tomcat_fblg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104580 { FRVBF_INSN_FBUE, model_tomcat_fbue, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104581 { FRVBF_INSN_FBUL, model_tomcat_fbul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104582 { FRVBF_INSN_FBGE, model_tomcat_fbge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104583 { FRVBF_INSN_FBLT, model_tomcat_fblt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104584 { FRVBF_INSN_FBUGE, model_tomcat_fbuge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104585 { FRVBF_INSN_FBUG, model_tomcat_fbug, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104586 { FRVBF_INSN_FBLE, model_tomcat_fble, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104587 { FRVBF_INSN_FBGT, model_tomcat_fbgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104588 { FRVBF_INSN_FBULE, model_tomcat_fbule, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104589 { FRVBF_INSN_FBU, model_tomcat_fbu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104590 { FRVBF_INSN_FBO, model_tomcat_fbo, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104591 { FRVBF_INSN_BCTRLR, model_tomcat_bctrlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104592 { FRVBF_INSN_BRALR, model_tomcat_bralr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104593 { FRVBF_INSN_BNOLR, model_tomcat_bnolr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104594 { FRVBF_INSN_BEQLR, model_tomcat_beqlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104595 { FRVBF_INSN_BNELR, model_tomcat_bnelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104596 { FRVBF_INSN_BLELR, model_tomcat_blelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104597 { FRVBF_INSN_BGTLR, model_tomcat_bgtlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104598 { FRVBF_INSN_BLTLR, model_tomcat_bltlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104599 { FRVBF_INSN_BGELR, model_tomcat_bgelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104600 { FRVBF_INSN_BLSLR, model_tomcat_blslr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104601 { FRVBF_INSN_BHILR, model_tomcat_bhilr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104602 { FRVBF_INSN_BCLR, model_tomcat_bclr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104603 { FRVBF_INSN_BNCLR, model_tomcat_bnclr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104604 { FRVBF_INSN_BNLR, model_tomcat_bnlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104605 { FRVBF_INSN_BPLR, model_tomcat_bplr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104606 { FRVBF_INSN_BVLR, model_tomcat_bvlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104607 { FRVBF_INSN_BNVLR, model_tomcat_bnvlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104608 { FRVBF_INSN_FBRALR, model_tomcat_fbralr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104609 { FRVBF_INSN_FBNOLR, model_tomcat_fbnolr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104610 { FRVBF_INSN_FBEQLR, model_tomcat_fbeqlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104611 { FRVBF_INSN_FBNELR, model_tomcat_fbnelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104612 { FRVBF_INSN_FBLGLR, model_tomcat_fblglr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104613 { FRVBF_INSN_FBUELR, model_tomcat_fbuelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104614 { FRVBF_INSN_FBULLR, model_tomcat_fbullr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104615 { FRVBF_INSN_FBGELR, model_tomcat_fbgelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104616 { FRVBF_INSN_FBLTLR, model_tomcat_fbltlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104617 { FRVBF_INSN_FBUGELR, model_tomcat_fbugelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104618 { FRVBF_INSN_FBUGLR, model_tomcat_fbuglr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104619 { FRVBF_INSN_FBLELR, model_tomcat_fblelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104620 { FRVBF_INSN_FBGTLR, model_tomcat_fbgtlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104621 { FRVBF_INSN_FBULELR, model_tomcat_fbulelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104622 { FRVBF_INSN_FBULR, model_tomcat_fbulr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104623 { FRVBF_INSN_FBOLR, model_tomcat_fbolr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104624 { FRVBF_INSN_BCRALR, model_tomcat_bcralr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104625 { FRVBF_INSN_BCNOLR, model_tomcat_bcnolr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104626 { FRVBF_INSN_BCEQLR, model_tomcat_bceqlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104627 { FRVBF_INSN_BCNELR, model_tomcat_bcnelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104628 { FRVBF_INSN_BCLELR, model_tomcat_bclelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104629 { FRVBF_INSN_BCGTLR, model_tomcat_bcgtlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104630 { FRVBF_INSN_BCLTLR, model_tomcat_bcltlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104631 { FRVBF_INSN_BCGELR, model_tomcat_bcgelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104632 { FRVBF_INSN_BCLSLR, model_tomcat_bclslr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104633 { FRVBF_INSN_BCHILR, model_tomcat_bchilr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104634 { FRVBF_INSN_BCCLR, model_tomcat_bcclr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104635 { FRVBF_INSN_BCNCLR, model_tomcat_bcnclr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104636 { FRVBF_INSN_BCNLR, model_tomcat_bcnlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104637 { FRVBF_INSN_BCPLR, model_tomcat_bcplr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104638 { FRVBF_INSN_BCVLR, model_tomcat_bcvlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104639 { FRVBF_INSN_BCNVLR, model_tomcat_bcnvlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104640 { FRVBF_INSN_FCBRALR, model_tomcat_fcbralr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104641 { FRVBF_INSN_FCBNOLR, model_tomcat_fcbnolr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104642 { FRVBF_INSN_FCBEQLR, model_tomcat_fcbeqlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104643 { FRVBF_INSN_FCBNELR, model_tomcat_fcbnelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104644 { FRVBF_INSN_FCBLGLR, model_tomcat_fcblglr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104645 { FRVBF_INSN_FCBUELR, model_tomcat_fcbuelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104646 { FRVBF_INSN_FCBULLR, model_tomcat_fcbullr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104647 { FRVBF_INSN_FCBGELR, model_tomcat_fcbgelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104648 { FRVBF_INSN_FCBLTLR, model_tomcat_fcbltlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104649 { FRVBF_INSN_FCBUGELR, model_tomcat_fcbugelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104650 { FRVBF_INSN_FCBUGLR, model_tomcat_fcbuglr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104651 { FRVBF_INSN_FCBLELR, model_tomcat_fcblelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104652 { FRVBF_INSN_FCBGTLR, model_tomcat_fcbgtlr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104653 { FRVBF_INSN_FCBULELR, model_tomcat_fcbulelr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104654 { FRVBF_INSN_FCBULR, model_tomcat_fcbulr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104655 { FRVBF_INSN_FCBOLR, model_tomcat_fcbolr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104656 { FRVBF_INSN_JMPL, model_tomcat_jmpl, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104657 { FRVBF_INSN_CALLL, model_tomcat_calll, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104658 { FRVBF_INSN_JMPIL, model_tomcat_jmpil, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104659 { FRVBF_INSN_CALLIL, model_tomcat_callil, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104660 { FRVBF_INSN_CALL, model_tomcat_call, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104661 { FRVBF_INSN_RETT, model_tomcat_rett, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104662 { FRVBF_INSN_REI, model_tomcat_rei, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104663 { FRVBF_INSN_TRA, model_tomcat_tra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104664 { FRVBF_INSN_TNO, model_tomcat_tno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104665 { FRVBF_INSN_TEQ, model_tomcat_teq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104666 { FRVBF_INSN_TNE, model_tomcat_tne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104667 { FRVBF_INSN_TLE, model_tomcat_tle, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104668 { FRVBF_INSN_TGT, model_tomcat_tgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104669 { FRVBF_INSN_TLT, model_tomcat_tlt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104670 { FRVBF_INSN_TGE, model_tomcat_tge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104671 { FRVBF_INSN_TLS, model_tomcat_tls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104672 { FRVBF_INSN_THI, model_tomcat_thi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104673 { FRVBF_INSN_TC, model_tomcat_tc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104674 { FRVBF_INSN_TNC, model_tomcat_tnc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104675 { FRVBF_INSN_TN, model_tomcat_tn, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104676 { FRVBF_INSN_TP, model_tomcat_tp, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104677 { FRVBF_INSN_TV, model_tomcat_tv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104678 { FRVBF_INSN_TNV, model_tomcat_tnv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104679 { FRVBF_INSN_FTRA, model_tomcat_ftra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104680 { FRVBF_INSN_FTNO, model_tomcat_ftno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104681 { FRVBF_INSN_FTNE, model_tomcat_ftne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104682 { FRVBF_INSN_FTEQ, model_tomcat_fteq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104683 { FRVBF_INSN_FTLG, model_tomcat_ftlg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104684 { FRVBF_INSN_FTUE, model_tomcat_ftue, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104685 { FRVBF_INSN_FTUL, model_tomcat_ftul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104686 { FRVBF_INSN_FTGE, model_tomcat_ftge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104687 { FRVBF_INSN_FTLT, model_tomcat_ftlt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104688 { FRVBF_INSN_FTUGE, model_tomcat_ftuge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104689 { FRVBF_INSN_FTUG, model_tomcat_ftug, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104690 { FRVBF_INSN_FTLE, model_tomcat_ftle, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104691 { FRVBF_INSN_FTGT, model_tomcat_ftgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104692 { FRVBF_INSN_FTULE, model_tomcat_ftule, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104693 { FRVBF_INSN_FTU, model_tomcat_ftu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104694 { FRVBF_INSN_FTO, model_tomcat_fto, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104695 { FRVBF_INSN_TIRA, model_tomcat_tira, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104696 { FRVBF_INSN_TINO, model_tomcat_tino, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104697 { FRVBF_INSN_TIEQ, model_tomcat_tieq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104698 { FRVBF_INSN_TINE, model_tomcat_tine, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104699 { FRVBF_INSN_TILE, model_tomcat_tile, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104700 { FRVBF_INSN_TIGT, model_tomcat_tigt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104701 { FRVBF_INSN_TILT, model_tomcat_tilt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104702 { FRVBF_INSN_TIGE, model_tomcat_tige, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104703 { FRVBF_INSN_TILS, model_tomcat_tils, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104704 { FRVBF_INSN_TIHI, model_tomcat_tihi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104705 { FRVBF_INSN_TIC, model_tomcat_tic, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104706 { FRVBF_INSN_TINC, model_tomcat_tinc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104707 { FRVBF_INSN_TIN, model_tomcat_tin, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104708 { FRVBF_INSN_TIP, model_tomcat_tip, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104709 { FRVBF_INSN_TIV, model_tomcat_tiv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104710 { FRVBF_INSN_TINV, model_tomcat_tinv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104711 { FRVBF_INSN_FTIRA, model_tomcat_ftira, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104712 { FRVBF_INSN_FTINO, model_tomcat_ftino, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104713 { FRVBF_INSN_FTINE, model_tomcat_ftine, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104714 { FRVBF_INSN_FTIEQ, model_tomcat_ftieq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104715 { FRVBF_INSN_FTILG, model_tomcat_ftilg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104716 { FRVBF_INSN_FTIUE, model_tomcat_ftiue, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104717 { FRVBF_INSN_FTIUL, model_tomcat_ftiul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104718 { FRVBF_INSN_FTIGE, model_tomcat_ftige, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104719 { FRVBF_INSN_FTILT, model_tomcat_ftilt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104720 { FRVBF_INSN_FTIUGE, model_tomcat_ftiuge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104721 { FRVBF_INSN_FTIUG, model_tomcat_ftiug, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104722 { FRVBF_INSN_FTILE, model_tomcat_ftile, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104723 { FRVBF_INSN_FTIGT, model_tomcat_ftigt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104724 { FRVBF_INSN_FTIULE, model_tomcat_ftiule, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104725 { FRVBF_INSN_FTIU, model_tomcat_ftiu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104726 { FRVBF_INSN_FTIO, model_tomcat_ftio, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104727 { FRVBF_INSN_BREAK, model_tomcat_break, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104728 { FRVBF_INSN_MTRAP, model_tomcat_mtrap, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104729 { FRVBF_INSN_ANDCR, model_tomcat_andcr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104730 { FRVBF_INSN_ORCR, model_tomcat_orcr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104731 { FRVBF_INSN_XORCR, model_tomcat_xorcr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104732 { FRVBF_INSN_NANDCR, model_tomcat_nandcr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104733 { FRVBF_INSN_NORCR, model_tomcat_norcr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104734 { FRVBF_INSN_ANDNCR, model_tomcat_andncr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104735 { FRVBF_INSN_ORNCR, model_tomcat_orncr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104736 { FRVBF_INSN_NANDNCR, model_tomcat_nandncr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104737 { FRVBF_INSN_NORNCR, model_tomcat_norncr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104738 { FRVBF_INSN_NOTCR, model_tomcat_notcr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104739 { FRVBF_INSN_CKRA, model_tomcat_ckra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104740 { FRVBF_INSN_CKNO, model_tomcat_ckno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104741 { FRVBF_INSN_CKEQ, model_tomcat_ckeq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104742 { FRVBF_INSN_CKNE, model_tomcat_ckne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104743 { FRVBF_INSN_CKLE, model_tomcat_ckle, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104744 { FRVBF_INSN_CKGT, model_tomcat_ckgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104745 { FRVBF_INSN_CKLT, model_tomcat_cklt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104746 { FRVBF_INSN_CKGE, model_tomcat_ckge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104747 { FRVBF_INSN_CKLS, model_tomcat_ckls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104748 { FRVBF_INSN_CKHI, model_tomcat_ckhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104749 { FRVBF_INSN_CKC, model_tomcat_ckc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104750 { FRVBF_INSN_CKNC, model_tomcat_cknc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104751 { FRVBF_INSN_CKN, model_tomcat_ckn, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104752 { FRVBF_INSN_CKP, model_tomcat_ckp, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104753 { FRVBF_INSN_CKV, model_tomcat_ckv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104754 { FRVBF_INSN_CKNV, model_tomcat_cknv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104755 { FRVBF_INSN_FCKRA, model_tomcat_fckra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104756 { FRVBF_INSN_FCKNO, model_tomcat_fckno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104757 { FRVBF_INSN_FCKNE, model_tomcat_fckne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104758 { FRVBF_INSN_FCKEQ, model_tomcat_fckeq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104759 { FRVBF_INSN_FCKLG, model_tomcat_fcklg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104760 { FRVBF_INSN_FCKUE, model_tomcat_fckue, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104761 { FRVBF_INSN_FCKUL, model_tomcat_fckul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104762 { FRVBF_INSN_FCKGE, model_tomcat_fckge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104763 { FRVBF_INSN_FCKLT, model_tomcat_fcklt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104764 { FRVBF_INSN_FCKUGE, model_tomcat_fckuge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104765 { FRVBF_INSN_FCKUG, model_tomcat_fckug, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104766 { FRVBF_INSN_FCKLE, model_tomcat_fckle, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104767 { FRVBF_INSN_FCKGT, model_tomcat_fckgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104768 { FRVBF_INSN_FCKULE, model_tomcat_fckule, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104769 { FRVBF_INSN_FCKU, model_tomcat_fcku, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104770 { FRVBF_INSN_FCKO, model_tomcat_fcko, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104771 { FRVBF_INSN_CCKRA, model_tomcat_cckra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104772 { FRVBF_INSN_CCKNO, model_tomcat_cckno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104773 { FRVBF_INSN_CCKEQ, model_tomcat_cckeq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104774 { FRVBF_INSN_CCKNE, model_tomcat_cckne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104775 { FRVBF_INSN_CCKLE, model_tomcat_cckle, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104776 { FRVBF_INSN_CCKGT, model_tomcat_cckgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104777 { FRVBF_INSN_CCKLT, model_tomcat_ccklt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104778 { FRVBF_INSN_CCKGE, model_tomcat_cckge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104779 { FRVBF_INSN_CCKLS, model_tomcat_cckls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104780 { FRVBF_INSN_CCKHI, model_tomcat_cckhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104781 { FRVBF_INSN_CCKC, model_tomcat_cckc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104782 { FRVBF_INSN_CCKNC, model_tomcat_ccknc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104783 { FRVBF_INSN_CCKN, model_tomcat_cckn, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104784 { FRVBF_INSN_CCKP, model_tomcat_cckp, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104785 { FRVBF_INSN_CCKV, model_tomcat_cckv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104786 { FRVBF_INSN_CCKNV, model_tomcat_ccknv, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104787 { FRVBF_INSN_CFCKRA, model_tomcat_cfckra, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104788 { FRVBF_INSN_CFCKNO, model_tomcat_cfckno, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104789 { FRVBF_INSN_CFCKNE, model_tomcat_cfckne, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104790 { FRVBF_INSN_CFCKEQ, model_tomcat_cfckeq, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104791 { FRVBF_INSN_CFCKLG, model_tomcat_cfcklg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104792 { FRVBF_INSN_CFCKUE, model_tomcat_cfckue, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104793 { FRVBF_INSN_CFCKUL, model_tomcat_cfckul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104794 { FRVBF_INSN_CFCKGE, model_tomcat_cfckge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104795 { FRVBF_INSN_CFCKLT, model_tomcat_cfcklt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104796 { FRVBF_INSN_CFCKUGE, model_tomcat_cfckuge, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104797 { FRVBF_INSN_CFCKUG, model_tomcat_cfckug, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104798 { FRVBF_INSN_CFCKLE, model_tomcat_cfckle, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104799 { FRVBF_INSN_CFCKGT, model_tomcat_cfckgt, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104800 { FRVBF_INSN_CFCKULE, model_tomcat_cfckule, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104801 { FRVBF_INSN_CFCKU, model_tomcat_cfcku, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104802 { FRVBF_INSN_CFCKO, model_tomcat_cfcko, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104803 { FRVBF_INSN_CJMPL, model_tomcat_cjmpl, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104804 { FRVBF_INSN_CCALLL, model_tomcat_ccalll, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104805 { FRVBF_INSN_ICI, model_tomcat_ici, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104806 { FRVBF_INSN_DCI, model_tomcat_dci, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104807 { FRVBF_INSN_ICEI, model_tomcat_icei, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104808 { FRVBF_INSN_DCEI, model_tomcat_dcei, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104809 { FRVBF_INSN_DCF, model_tomcat_dcf, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104810 { FRVBF_INSN_DCEF, model_tomcat_dcef, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104811 { FRVBF_INSN_WITLB, model_tomcat_witlb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104812 { FRVBF_INSN_WDTLB, model_tomcat_wdtlb, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104813 { FRVBF_INSN_ITLBI, model_tomcat_itlbi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104814 { FRVBF_INSN_DTLBI, model_tomcat_dtlbi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104815 { FRVBF_INSN_ICPL, model_tomcat_icpl, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104816 { FRVBF_INSN_DCPL, model_tomcat_dcpl, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104817 { FRVBF_INSN_ICUL, model_tomcat_icul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104818 { FRVBF_INSN_DCUL, model_tomcat_dcul, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104819 { FRVBF_INSN_BAR, model_tomcat_bar, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104820 { FRVBF_INSN_MEMBAR, model_tomcat_membar, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104821 { FRVBF_INSN_LRAI, model_tomcat_lrai, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104822 { FRVBF_INSN_LRAD, model_tomcat_lrad, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104823 { FRVBF_INSN_TLBPR, model_tomcat_tlbpr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104824 { FRVBF_INSN_COP1, model_tomcat_cop1, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104825 { FRVBF_INSN_COP2, model_tomcat_cop2, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104826 { FRVBF_INSN_CLRGR, model_tomcat_clrgr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104827 { FRVBF_INSN_CLRFR, model_tomcat_clrfr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104828 { FRVBF_INSN_CLRGA, model_tomcat_clrga, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104829 { FRVBF_INSN_CLRFA, model_tomcat_clrfa, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104830 { FRVBF_INSN_COMMITGR, model_tomcat_commitgr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104831 { FRVBF_INSN_COMMITFR, model_tomcat_commitfr, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104832 { FRVBF_INSN_COMMITGA, model_tomcat_commitga, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104833 { FRVBF_INSN_COMMITFA, model_tomcat_commitfa, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104834 { FRVBF_INSN_FITOS, model_tomcat_fitos, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104835 { FRVBF_INSN_FSTOI, model_tomcat_fstoi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104836 { FRVBF_INSN_FITOD, model_tomcat_fitod, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104837 { FRVBF_INSN_FDTOI, model_tomcat_fdtoi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104838 { FRVBF_INSN_FDITOS, model_tomcat_fditos, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104839 { FRVBF_INSN_FDSTOI, model_tomcat_fdstoi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104840 { FRVBF_INSN_NFDITOS, model_tomcat_nfditos, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104841 { FRVBF_INSN_NFDSTOI, model_tomcat_nfdstoi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104842 { FRVBF_INSN_CFITOS, model_tomcat_cfitos, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104843 { FRVBF_INSN_CFSTOI, model_tomcat_cfstoi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104844 { FRVBF_INSN_NFITOS, model_tomcat_nfitos, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104845 { FRVBF_INSN_NFSTOI, model_tomcat_nfstoi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104846 { FRVBF_INSN_FMOVS, model_tomcat_fmovs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104847 { FRVBF_INSN_FMOVD, model_tomcat_fmovd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104848 { FRVBF_INSN_FDMOVS, model_tomcat_fdmovs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104849 { FRVBF_INSN_CFMOVS, model_tomcat_cfmovs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104850 { FRVBF_INSN_FNEGS, model_tomcat_fnegs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104851 { FRVBF_INSN_FNEGD, model_tomcat_fnegd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104852 { FRVBF_INSN_FDNEGS, model_tomcat_fdnegs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104853 { FRVBF_INSN_CFNEGS, model_tomcat_cfnegs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104854 { FRVBF_INSN_FABSS, model_tomcat_fabss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104855 { FRVBF_INSN_FABSD, model_tomcat_fabsd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104856 { FRVBF_INSN_FDABSS, model_tomcat_fdabss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104857 { FRVBF_INSN_CFABSS, model_tomcat_cfabss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104858 { FRVBF_INSN_FSQRTS, model_tomcat_fsqrts, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104859 { FRVBF_INSN_FDSQRTS, model_tomcat_fdsqrts, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104860 { FRVBF_INSN_NFDSQRTS, model_tomcat_nfdsqrts, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104861 { FRVBF_INSN_FSQRTD, model_tomcat_fsqrtd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104862 { FRVBF_INSN_CFSQRTS, model_tomcat_cfsqrts, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104863 { FRVBF_INSN_NFSQRTS, model_tomcat_nfsqrts, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104864 { FRVBF_INSN_FADDS, model_tomcat_fadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104865 { FRVBF_INSN_FSUBS, model_tomcat_fsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104866 { FRVBF_INSN_FMULS, model_tomcat_fmuls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104867 { FRVBF_INSN_FDIVS, model_tomcat_fdivs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104868 { FRVBF_INSN_FADDD, model_tomcat_faddd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104869 { FRVBF_INSN_FSUBD, model_tomcat_fsubd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104870 { FRVBF_INSN_FMULD, model_tomcat_fmuld, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104871 { FRVBF_INSN_FDIVD, model_tomcat_fdivd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104872 { FRVBF_INSN_CFADDS, model_tomcat_cfadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104873 { FRVBF_INSN_CFSUBS, model_tomcat_cfsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104874 { FRVBF_INSN_CFMULS, model_tomcat_cfmuls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104875 { FRVBF_INSN_CFDIVS, model_tomcat_cfdivs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104876 { FRVBF_INSN_NFADDS, model_tomcat_nfadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104877 { FRVBF_INSN_NFSUBS, model_tomcat_nfsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104878 { FRVBF_INSN_NFMULS, model_tomcat_nfmuls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104879 { FRVBF_INSN_NFDIVS, model_tomcat_nfdivs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104880 { FRVBF_INSN_FCMPS, model_tomcat_fcmps, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104881 { FRVBF_INSN_FCMPD, model_tomcat_fcmpd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104882 { FRVBF_INSN_CFCMPS, model_tomcat_cfcmps, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104883 { FRVBF_INSN_FDCMPS, model_tomcat_fdcmps, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104884 { FRVBF_INSN_FMADDS, model_tomcat_fmadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104885 { FRVBF_INSN_FMSUBS, model_tomcat_fmsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104886 { FRVBF_INSN_FMADDD, model_tomcat_fmaddd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104887 { FRVBF_INSN_FMSUBD, model_tomcat_fmsubd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104888 { FRVBF_INSN_FDMADDS, model_tomcat_fdmadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104889 { FRVBF_INSN_NFDMADDS, model_tomcat_nfdmadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104890 { FRVBF_INSN_CFMADDS, model_tomcat_cfmadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104891 { FRVBF_INSN_CFMSUBS, model_tomcat_cfmsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104892 { FRVBF_INSN_NFMADDS, model_tomcat_nfmadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104893 { FRVBF_INSN_NFMSUBS, model_tomcat_nfmsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104894 { FRVBF_INSN_FMAS, model_tomcat_fmas, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104895 { FRVBF_INSN_FMSS, model_tomcat_fmss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104896 { FRVBF_INSN_FDMAS, model_tomcat_fdmas, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104897 { FRVBF_INSN_FDMSS, model_tomcat_fdmss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104898 { FRVBF_INSN_NFDMAS, model_tomcat_nfdmas, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104899 { FRVBF_INSN_NFDMSS, model_tomcat_nfdmss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104900 { FRVBF_INSN_CFMAS, model_tomcat_cfmas, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104901 { FRVBF_INSN_CFMSS, model_tomcat_cfmss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104902 { FRVBF_INSN_FMAD, model_tomcat_fmad, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104903 { FRVBF_INSN_FMSD, model_tomcat_fmsd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104904 { FRVBF_INSN_NFMAS, model_tomcat_nfmas, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104905 { FRVBF_INSN_NFMSS, model_tomcat_nfmss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104906 { FRVBF_INSN_FDADDS, model_tomcat_fdadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104907 { FRVBF_INSN_FDSUBS, model_tomcat_fdsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104908 { FRVBF_INSN_FDMULS, model_tomcat_fdmuls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104909 { FRVBF_INSN_FDDIVS, model_tomcat_fddivs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104910 { FRVBF_INSN_FDSADS, model_tomcat_fdsads, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104911 { FRVBF_INSN_FDMULCS, model_tomcat_fdmulcs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104912 { FRVBF_INSN_NFDMULCS, model_tomcat_nfdmulcs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104913 { FRVBF_INSN_NFDADDS, model_tomcat_nfdadds, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104914 { FRVBF_INSN_NFDSUBS, model_tomcat_nfdsubs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104915 { FRVBF_INSN_NFDMULS, model_tomcat_nfdmuls, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104916 { FRVBF_INSN_NFDDIVS, model_tomcat_nfddivs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104917 { FRVBF_INSN_NFDSADS, model_tomcat_nfdsads, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104918 { FRVBF_INSN_NFDCMPS, model_tomcat_nfdcmps, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104919 { FRVBF_INSN_MHSETLOS, model_tomcat_mhsetlos, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104920 { FRVBF_INSN_MHSETHIS, model_tomcat_mhsethis, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104921 { FRVBF_INSN_MHDSETS, model_tomcat_mhdsets, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104922 { FRVBF_INSN_MHSETLOH, model_tomcat_mhsetloh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104923 { FRVBF_INSN_MHSETHIH, model_tomcat_mhsethih, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104924 { FRVBF_INSN_MHDSETH, model_tomcat_mhdseth, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104925 { FRVBF_INSN_MAND, model_tomcat_mand, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104926 { FRVBF_INSN_MOR, model_tomcat_mor, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104927 { FRVBF_INSN_MXOR, model_tomcat_mxor, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104928 { FRVBF_INSN_CMAND, model_tomcat_cmand, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104929 { FRVBF_INSN_CMOR, model_tomcat_cmor, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104930 { FRVBF_INSN_CMXOR, model_tomcat_cmxor, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104931 { FRVBF_INSN_MNOT, model_tomcat_mnot, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104932 { FRVBF_INSN_CMNOT, model_tomcat_cmnot, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104933 { FRVBF_INSN_MROTLI, model_tomcat_mrotli, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104934 { FRVBF_INSN_MROTRI, model_tomcat_mrotri, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104935 { FRVBF_INSN_MWCUT, model_tomcat_mwcut, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104936 { FRVBF_INSN_MWCUTI, model_tomcat_mwcuti, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104937 { FRVBF_INSN_MCUT, model_tomcat_mcut, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104938 { FRVBF_INSN_MCUTI, model_tomcat_mcuti, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104939 { FRVBF_INSN_MCUTSS, model_tomcat_mcutss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104940 { FRVBF_INSN_MCUTSSI, model_tomcat_mcutssi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104941 { FRVBF_INSN_MDCUTSSI, model_tomcat_mdcutssi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104942 { FRVBF_INSN_MAVEH, model_tomcat_maveh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104943 { FRVBF_INSN_MSLLHI, model_tomcat_msllhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104944 { FRVBF_INSN_MSRLHI, model_tomcat_msrlhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104945 { FRVBF_INSN_MSRAHI, model_tomcat_msrahi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104946 { FRVBF_INSN_MDROTLI, model_tomcat_mdrotli, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104947 { FRVBF_INSN_MCPLHI, model_tomcat_mcplhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104948 { FRVBF_INSN_MCPLI, model_tomcat_mcpli, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104949 { FRVBF_INSN_MSATHS, model_tomcat_msaths, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104950 { FRVBF_INSN_MQSATHS, model_tomcat_mqsaths, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104951 { FRVBF_INSN_MSATHU, model_tomcat_msathu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104952 { FRVBF_INSN_MCMPSH, model_tomcat_mcmpsh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104953 { FRVBF_INSN_MCMPUH, model_tomcat_mcmpuh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104954 { FRVBF_INSN_MABSHS, model_tomcat_mabshs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104955 { FRVBF_INSN_MADDHSS, model_tomcat_maddhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104956 { FRVBF_INSN_MADDHUS, model_tomcat_maddhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104957 { FRVBF_INSN_MSUBHSS, model_tomcat_msubhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104958 { FRVBF_INSN_MSUBHUS, model_tomcat_msubhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104959 { FRVBF_INSN_CMADDHSS, model_tomcat_cmaddhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104960 { FRVBF_INSN_CMADDHUS, model_tomcat_cmaddhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104961 { FRVBF_INSN_CMSUBHSS, model_tomcat_cmsubhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104962 { FRVBF_INSN_CMSUBHUS, model_tomcat_cmsubhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104963 { FRVBF_INSN_MQADDHSS, model_tomcat_mqaddhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104964 { FRVBF_INSN_MQADDHUS, model_tomcat_mqaddhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104965 { FRVBF_INSN_MQSUBHSS, model_tomcat_mqsubhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104966 { FRVBF_INSN_MQSUBHUS, model_tomcat_mqsubhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104967 { FRVBF_INSN_CMQADDHSS, model_tomcat_cmqaddhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104968 { FRVBF_INSN_CMQADDHUS, model_tomcat_cmqaddhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104969 { FRVBF_INSN_CMQSUBHSS, model_tomcat_cmqsubhss, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104970 { FRVBF_INSN_CMQSUBHUS, model_tomcat_cmqsubhus, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104971 { FRVBF_INSN_MQLCLRHS, model_tomcat_mqlclrhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104972 { FRVBF_INSN_MQLMTHS, model_tomcat_mqlmths, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104973 { FRVBF_INSN_MQSLLHI, model_tomcat_mqsllhi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104974 { FRVBF_INSN_MQSRAHI, model_tomcat_mqsrahi, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104975 { FRVBF_INSN_MADDACCS, model_tomcat_maddaccs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104976 { FRVBF_INSN_MSUBACCS, model_tomcat_msubaccs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104977 { FRVBF_INSN_MDADDACCS, model_tomcat_mdaddaccs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104978 { FRVBF_INSN_MDSUBACCS, model_tomcat_mdsubaccs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104979 { FRVBF_INSN_MASACCS, model_tomcat_masaccs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104980 { FRVBF_INSN_MDASACCS, model_tomcat_mdasaccs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104981 { FRVBF_INSN_MMULHS, model_tomcat_mmulhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104982 { FRVBF_INSN_MMULHU, model_tomcat_mmulhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104983 { FRVBF_INSN_MMULXHS, model_tomcat_mmulxhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104984 { FRVBF_INSN_MMULXHU, model_tomcat_mmulxhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104985 { FRVBF_INSN_CMMULHS, model_tomcat_cmmulhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104986 { FRVBF_INSN_CMMULHU, model_tomcat_cmmulhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104987 { FRVBF_INSN_MQMULHS, model_tomcat_mqmulhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104988 { FRVBF_INSN_MQMULHU, model_tomcat_mqmulhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104989 { FRVBF_INSN_MQMULXHS, model_tomcat_mqmulxhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104990 { FRVBF_INSN_MQMULXHU, model_tomcat_mqmulxhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104991 { FRVBF_INSN_CMQMULHS, model_tomcat_cmqmulhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104992 { FRVBF_INSN_CMQMULHU, model_tomcat_cmqmulhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104993 { FRVBF_INSN_MMACHS, model_tomcat_mmachs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104994 { FRVBF_INSN_MMACHU, model_tomcat_mmachu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104995 { FRVBF_INSN_MMRDHS, model_tomcat_mmrdhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104996 { FRVBF_INSN_MMRDHU, model_tomcat_mmrdhu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104997 { FRVBF_INSN_CMMACHS, model_tomcat_cmmachs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104998 { FRVBF_INSN_CMMACHU, model_tomcat_cmmachu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
104999 { FRVBF_INSN_MQMACHS, model_tomcat_mqmachs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105000 { FRVBF_INSN_MQMACHU, model_tomcat_mqmachu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105001 { FRVBF_INSN_CMQMACHS, model_tomcat_cmqmachs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105002 { FRVBF_INSN_CMQMACHU, model_tomcat_cmqmachu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105003 { FRVBF_INSN_MQXMACHS, model_tomcat_mqxmachs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105004 { FRVBF_INSN_MQXMACXHS, model_tomcat_mqxmacxhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105005 { FRVBF_INSN_MQMACXHS, model_tomcat_mqmacxhs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105006 { FRVBF_INSN_MCPXRS, model_tomcat_mcpxrs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105007 { FRVBF_INSN_MCPXRU, model_tomcat_mcpxru, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105008 { FRVBF_INSN_MCPXIS, model_tomcat_mcpxis, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105009 { FRVBF_INSN_MCPXIU, model_tomcat_mcpxiu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105010 { FRVBF_INSN_CMCPXRS, model_tomcat_cmcpxrs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105011 { FRVBF_INSN_CMCPXRU, model_tomcat_cmcpxru, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105012 { FRVBF_INSN_CMCPXIS, model_tomcat_cmcpxis, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105013 { FRVBF_INSN_CMCPXIU, model_tomcat_cmcpxiu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105014 { FRVBF_INSN_MQCPXRS, model_tomcat_mqcpxrs, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105015 { FRVBF_INSN_MQCPXRU, model_tomcat_mqcpxru, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105016 { FRVBF_INSN_MQCPXIS, model_tomcat_mqcpxis, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105017 { FRVBF_INSN_MQCPXIU, model_tomcat_mqcpxiu, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105018 { FRVBF_INSN_MEXPDHW, model_tomcat_mexpdhw, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105019 { FRVBF_INSN_CMEXPDHW, model_tomcat_cmexpdhw, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105020 { FRVBF_INSN_MEXPDHD, model_tomcat_mexpdhd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105021 { FRVBF_INSN_CMEXPDHD, model_tomcat_cmexpdhd, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105022 { FRVBF_INSN_MPACKH, model_tomcat_mpackh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105023 { FRVBF_INSN_MDPACKH, model_tomcat_mdpackh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105024 { FRVBF_INSN_MUNPACKH, model_tomcat_munpackh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105025 { FRVBF_INSN_MDUNPACKH, model_tomcat_mdunpackh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105026 { FRVBF_INSN_MBTOH, model_tomcat_mbtoh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105027 { FRVBF_INSN_CMBTOH, model_tomcat_cmbtoh, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105028 { FRVBF_INSN_MHTOB, model_tomcat_mhtob, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105029 { FRVBF_INSN_CMHTOB, model_tomcat_cmhtob, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105030 { FRVBF_INSN_MBTOHE, model_tomcat_mbtohe, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105031 { FRVBF_INSN_CMBTOHE, model_tomcat_cmbtohe, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105032 { FRVBF_INSN_MNOP, model_tomcat_mnop, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105033 { FRVBF_INSN_MCLRACC_0, model_tomcat_mclracc_0, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105034 { FRVBF_INSN_MCLRACC_1, model_tomcat_mclracc_1, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105035 { FRVBF_INSN_MRDACC, model_tomcat_mrdacc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105036 { FRVBF_INSN_MRDACCG, model_tomcat_mrdaccg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105037 { FRVBF_INSN_MWTACC, model_tomcat_mwtacc, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105038 { FRVBF_INSN_MWTACCG, model_tomcat_mwtaccg, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105039 { FRVBF_INSN_MCOP1, model_tomcat_mcop1, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105040 { FRVBF_INSN_MCOP2, model_tomcat_mcop2, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105041 { FRVBF_INSN_FNOP, model_tomcat_fnop, { { (int) UNIT_TOMCAT_U_EXEC, 1, 1 } } },
105044 /* Model timing data for `fr400'. */
105046 static const INSN_TIMING fr400_timing[] = {
105047 { FRVBF_INSN_X_INVALID, 0, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105048 { FRVBF_INSN_X_AFTER, 0, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105049 { FRVBF_INSN_X_BEFORE, 0, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105050 { FRVBF_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105051 { FRVBF_INSN_X_CHAIN, 0, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105052 { FRVBF_INSN_X_BEGIN, 0, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105053 { FRVBF_INSN_ADD, model_fr400_add, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105054 { FRVBF_INSN_SUB, model_fr400_sub, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105055 { FRVBF_INSN_AND, model_fr400_and, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105056 { FRVBF_INSN_OR, model_fr400_or, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105057 { FRVBF_INSN_XOR, model_fr400_xor, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105058 { FRVBF_INSN_NOT, model_fr400_not, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105059 { FRVBF_INSN_SDIV, model_fr400_sdiv, { { (int) UNIT_FR400_U_IDIV, 1, 1 } } },
105060 { FRVBF_INSN_NSDIV, model_fr400_nsdiv, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105061 { FRVBF_INSN_UDIV, model_fr400_udiv, { { (int) UNIT_FR400_U_IDIV, 1, 1 } } },
105062 { FRVBF_INSN_NUDIV, model_fr400_nudiv, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105063 { FRVBF_INSN_SMUL, model_fr400_smul, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105064 { FRVBF_INSN_UMUL, model_fr400_umul, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105065 { FRVBF_INSN_SMU, model_fr400_smu, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105066 { FRVBF_INSN_SMASS, model_fr400_smass, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105067 { FRVBF_INSN_SMSSS, model_fr400_smsss, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105068 { FRVBF_INSN_SLL, model_fr400_sll, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105069 { FRVBF_INSN_SRL, model_fr400_srl, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105070 { FRVBF_INSN_SRA, model_fr400_sra, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105071 { FRVBF_INSN_SLASS, model_fr400_slass, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105072 { FRVBF_INSN_SCUTSS, model_fr400_scutss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105073 { FRVBF_INSN_SCAN, model_fr400_scan, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105074 { FRVBF_INSN_CADD, model_fr400_cadd, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105075 { FRVBF_INSN_CSUB, model_fr400_csub, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105076 { FRVBF_INSN_CAND, model_fr400_cand, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105077 { FRVBF_INSN_COR, model_fr400_cor, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105078 { FRVBF_INSN_CXOR, model_fr400_cxor, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105079 { FRVBF_INSN_CNOT, model_fr400_cnot, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105080 { FRVBF_INSN_CSMUL, model_fr400_csmul, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105081 { FRVBF_INSN_CSDIV, model_fr400_csdiv, { { (int) UNIT_FR400_U_IDIV, 1, 1 } } },
105082 { FRVBF_INSN_CUDIV, model_fr400_cudiv, { { (int) UNIT_FR400_U_IDIV, 1, 1 } } },
105083 { FRVBF_INSN_CSLL, model_fr400_csll, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105084 { FRVBF_INSN_CSRL, model_fr400_csrl, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105085 { FRVBF_INSN_CSRA, model_fr400_csra, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105086 { FRVBF_INSN_CSCAN, model_fr400_cscan, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105087 { FRVBF_INSN_ADDCC, model_fr400_addcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105088 { FRVBF_INSN_SUBCC, model_fr400_subcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105089 { FRVBF_INSN_ANDCC, model_fr400_andcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105090 { FRVBF_INSN_ORCC, model_fr400_orcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105091 { FRVBF_INSN_XORCC, model_fr400_xorcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105092 { FRVBF_INSN_SLLCC, model_fr400_sllcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105093 { FRVBF_INSN_SRLCC, model_fr400_srlcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105094 { FRVBF_INSN_SRACC, model_fr400_sracc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105095 { FRVBF_INSN_SMULCC, model_fr400_smulcc, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105096 { FRVBF_INSN_UMULCC, model_fr400_umulcc, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105097 { FRVBF_INSN_CADDCC, model_fr400_caddcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105098 { FRVBF_INSN_CSUBCC, model_fr400_csubcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105099 { FRVBF_INSN_CSMULCC, model_fr400_csmulcc, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105100 { FRVBF_INSN_CANDCC, model_fr400_candcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105101 { FRVBF_INSN_CORCC, model_fr400_corcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105102 { FRVBF_INSN_CXORCC, model_fr400_cxorcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105103 { FRVBF_INSN_CSLLCC, model_fr400_csllcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105104 { FRVBF_INSN_CSRLCC, model_fr400_csrlcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105105 { FRVBF_INSN_CSRACC, model_fr400_csracc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105106 { FRVBF_INSN_ADDX, model_fr400_addx, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105107 { FRVBF_INSN_SUBX, model_fr400_subx, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105108 { FRVBF_INSN_ADDXCC, model_fr400_addxcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105109 { FRVBF_INSN_SUBXCC, model_fr400_subxcc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105110 { FRVBF_INSN_ADDSS, model_fr400_addss, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105111 { FRVBF_INSN_SUBSS, model_fr400_subss, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105112 { FRVBF_INSN_ADDI, model_fr400_addi, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105113 { FRVBF_INSN_SUBI, model_fr400_subi, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105114 { FRVBF_INSN_ANDI, model_fr400_andi, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105115 { FRVBF_INSN_ORI, model_fr400_ori, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105116 { FRVBF_INSN_XORI, model_fr400_xori, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105117 { FRVBF_INSN_SDIVI, model_fr400_sdivi, { { (int) UNIT_FR400_U_IDIV, 1, 1 } } },
105118 { FRVBF_INSN_NSDIVI, model_fr400_nsdivi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105119 { FRVBF_INSN_UDIVI, model_fr400_udivi, { { (int) UNIT_FR400_U_IDIV, 1, 1 } } },
105120 { FRVBF_INSN_NUDIVI, model_fr400_nudivi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105121 { FRVBF_INSN_SMULI, model_fr400_smuli, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105122 { FRVBF_INSN_UMULI, model_fr400_umuli, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105123 { FRVBF_INSN_SLLI, model_fr400_slli, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105124 { FRVBF_INSN_SRLI, model_fr400_srli, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105125 { FRVBF_INSN_SRAI, model_fr400_srai, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105126 { FRVBF_INSN_SCANI, model_fr400_scani, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105127 { FRVBF_INSN_ADDICC, model_fr400_addicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105128 { FRVBF_INSN_SUBICC, model_fr400_subicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105129 { FRVBF_INSN_ANDICC, model_fr400_andicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105130 { FRVBF_INSN_ORICC, model_fr400_oricc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105131 { FRVBF_INSN_XORICC, model_fr400_xoricc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105132 { FRVBF_INSN_SMULICC, model_fr400_smulicc, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105133 { FRVBF_INSN_UMULICC, model_fr400_umulicc, { { (int) UNIT_FR400_U_IMUL, 1, 1 } } },
105134 { FRVBF_INSN_SLLICC, model_fr400_sllicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105135 { FRVBF_INSN_SRLICC, model_fr400_srlicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105136 { FRVBF_INSN_SRAICC, model_fr400_sraicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105137 { FRVBF_INSN_ADDXI, model_fr400_addxi, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105138 { FRVBF_INSN_SUBXI, model_fr400_subxi, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105139 { FRVBF_INSN_ADDXICC, model_fr400_addxicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105140 { FRVBF_INSN_SUBXICC, model_fr400_subxicc, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105141 { FRVBF_INSN_CMPB, model_fr400_cmpb, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105142 { FRVBF_INSN_CMPBA, model_fr400_cmpba, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105143 { FRVBF_INSN_SETLO, model_fr400_setlo, { { (int) UNIT_FR400_U_SET_HILO, 1, 1 } } },
105144 { FRVBF_INSN_SETHI, model_fr400_sethi, { { (int) UNIT_FR400_U_SET_HILO, 1, 1 } } },
105145 { FRVBF_INSN_SETLOS, model_fr400_setlos, { { (int) UNIT_FR400_U_INTEGER, 1, 1 } } },
105146 { FRVBF_INSN_LDSB, model_fr400_ldsb, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105147 { FRVBF_INSN_LDUB, model_fr400_ldub, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105148 { FRVBF_INSN_LDSH, model_fr400_ldsh, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105149 { FRVBF_INSN_LDUH, model_fr400_lduh, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105150 { FRVBF_INSN_LD, model_fr400_ld, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105151 { FRVBF_INSN_LDBF, model_fr400_ldbf, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105152 { FRVBF_INSN_LDHF, model_fr400_ldhf, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105153 { FRVBF_INSN_LDF, model_fr400_ldf, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105154 { FRVBF_INSN_LDC, model_fr400_ldc, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105155 { FRVBF_INSN_NLDSB, model_fr400_nldsb, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105156 { FRVBF_INSN_NLDUB, model_fr400_nldub, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105157 { FRVBF_INSN_NLDSH, model_fr400_nldsh, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105158 { FRVBF_INSN_NLDUH, model_fr400_nlduh, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105159 { FRVBF_INSN_NLD, model_fr400_nld, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105160 { FRVBF_INSN_NLDBF, model_fr400_nldbf, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105161 { FRVBF_INSN_NLDHF, model_fr400_nldhf, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105162 { FRVBF_INSN_NLDF, model_fr400_nldf, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105163 { FRVBF_INSN_LDD, model_fr400_ldd, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105164 { FRVBF_INSN_LDDF, model_fr400_lddf, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105165 { FRVBF_INSN_LDDC, model_fr400_lddc, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105166 { FRVBF_INSN_NLDD, model_fr400_nldd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105167 { FRVBF_INSN_NLDDF, model_fr400_nlddf, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105168 { FRVBF_INSN_LDQ, model_fr400_ldq, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105169 { FRVBF_INSN_LDQF, model_fr400_ldqf, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105170 { FRVBF_INSN_LDQC, model_fr400_ldqc, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105171 { FRVBF_INSN_NLDQ, model_fr400_nldq, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105172 { FRVBF_INSN_NLDQF, model_fr400_nldqf, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105173 { FRVBF_INSN_LDSBU, model_fr400_ldsbu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105174 { FRVBF_INSN_LDUBU, model_fr400_ldubu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105175 { FRVBF_INSN_LDSHU, model_fr400_ldshu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105176 { FRVBF_INSN_LDUHU, model_fr400_lduhu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105177 { FRVBF_INSN_LDU, model_fr400_ldu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105178 { FRVBF_INSN_NLDSBU, model_fr400_nldsbu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105179 { FRVBF_INSN_NLDUBU, model_fr400_nldubu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105180 { FRVBF_INSN_NLDSHU, model_fr400_nldshu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105181 { FRVBF_INSN_NLDUHU, model_fr400_nlduhu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105182 { FRVBF_INSN_NLDU, model_fr400_nldu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105183 { FRVBF_INSN_LDBFU, model_fr400_ldbfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105184 { FRVBF_INSN_LDHFU, model_fr400_ldhfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105185 { FRVBF_INSN_LDFU, model_fr400_ldfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105186 { FRVBF_INSN_LDCU, model_fr400_ldcu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105187 { FRVBF_INSN_NLDBFU, model_fr400_nldbfu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105188 { FRVBF_INSN_NLDHFU, model_fr400_nldhfu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105189 { FRVBF_INSN_NLDFU, model_fr400_nldfu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105190 { FRVBF_INSN_LDDU, model_fr400_lddu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105191 { FRVBF_INSN_NLDDU, model_fr400_nlddu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105192 { FRVBF_INSN_LDDFU, model_fr400_lddfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105193 { FRVBF_INSN_LDDCU, model_fr400_lddcu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105194 { FRVBF_INSN_NLDDFU, model_fr400_nlddfu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105195 { FRVBF_INSN_LDQU, model_fr400_ldqu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105196 { FRVBF_INSN_NLDQU, model_fr400_nldqu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105197 { FRVBF_INSN_LDQFU, model_fr400_ldqfu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105198 { FRVBF_INSN_LDQCU, model_fr400_ldqcu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105199 { FRVBF_INSN_NLDQFU, model_fr400_nldqfu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105200 { FRVBF_INSN_LDSBI, model_fr400_ldsbi, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105201 { FRVBF_INSN_LDSHI, model_fr400_ldshi, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105202 { FRVBF_INSN_LDI, model_fr400_ldi, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105203 { FRVBF_INSN_LDUBI, model_fr400_ldubi, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105204 { FRVBF_INSN_LDUHI, model_fr400_lduhi, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105205 { FRVBF_INSN_LDBFI, model_fr400_ldbfi, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105206 { FRVBF_INSN_LDHFI, model_fr400_ldhfi, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105207 { FRVBF_INSN_LDFI, model_fr400_ldfi, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105208 { FRVBF_INSN_NLDSBI, model_fr400_nldsbi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105209 { FRVBF_INSN_NLDUBI, model_fr400_nldubi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105210 { FRVBF_INSN_NLDSHI, model_fr400_nldshi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105211 { FRVBF_INSN_NLDUHI, model_fr400_nlduhi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105212 { FRVBF_INSN_NLDI, model_fr400_nldi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105213 { FRVBF_INSN_NLDBFI, model_fr400_nldbfi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105214 { FRVBF_INSN_NLDHFI, model_fr400_nldhfi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105215 { FRVBF_INSN_NLDFI, model_fr400_nldfi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105216 { FRVBF_INSN_LDDI, model_fr400_lddi, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105217 { FRVBF_INSN_LDDFI, model_fr400_lddfi, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105218 { FRVBF_INSN_NLDDI, model_fr400_nlddi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105219 { FRVBF_INSN_NLDDFI, model_fr400_nlddfi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105220 { FRVBF_INSN_LDQI, model_fr400_ldqi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105221 { FRVBF_INSN_LDQFI, model_fr400_ldqfi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105222 { FRVBF_INSN_NLDQFI, model_fr400_nldqfi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105223 { FRVBF_INSN_STB, model_fr400_stb, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105224 { FRVBF_INSN_STH, model_fr400_sth, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105225 { FRVBF_INSN_ST, model_fr400_st, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105226 { FRVBF_INSN_STBF, model_fr400_stbf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105227 { FRVBF_INSN_STHF, model_fr400_sthf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105228 { FRVBF_INSN_STF, model_fr400_stf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105229 { FRVBF_INSN_STC, model_fr400_stc, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105230 { FRVBF_INSN_STD, model_fr400_std, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105231 { FRVBF_INSN_STDF, model_fr400_stdf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105232 { FRVBF_INSN_STDC, model_fr400_stdc, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105233 { FRVBF_INSN_STQ, model_fr400_stq, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105234 { FRVBF_INSN_STQF, model_fr400_stqf, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105235 { FRVBF_INSN_STQC, model_fr400_stqc, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105236 { FRVBF_INSN_STBU, model_fr400_stbu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105237 { FRVBF_INSN_STHU, model_fr400_sthu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105238 { FRVBF_INSN_STU, model_fr400_stu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105239 { FRVBF_INSN_STBFU, model_fr400_stbfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105240 { FRVBF_INSN_STHFU, model_fr400_sthfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105241 { FRVBF_INSN_STFU, model_fr400_stfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105242 { FRVBF_INSN_STCU, model_fr400_stcu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105243 { FRVBF_INSN_STDU, model_fr400_stdu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105244 { FRVBF_INSN_STDFU, model_fr400_stdfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105245 { FRVBF_INSN_STDCU, model_fr400_stdcu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105246 { FRVBF_INSN_STQU, model_fr400_stqu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105247 { FRVBF_INSN_STQFU, model_fr400_stqfu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105248 { FRVBF_INSN_STQCU, model_fr400_stqcu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105249 { FRVBF_INSN_CLDSB, model_fr400_cldsb, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105250 { FRVBF_INSN_CLDUB, model_fr400_cldub, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105251 { FRVBF_INSN_CLDSH, model_fr400_cldsh, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105252 { FRVBF_INSN_CLDUH, model_fr400_clduh, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105253 { FRVBF_INSN_CLD, model_fr400_cld, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105254 { FRVBF_INSN_CLDBF, model_fr400_cldbf, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105255 { FRVBF_INSN_CLDHF, model_fr400_cldhf, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105256 { FRVBF_INSN_CLDF, model_fr400_cldf, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105257 { FRVBF_INSN_CLDD, model_fr400_cldd, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105258 { FRVBF_INSN_CLDDF, model_fr400_clddf, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105259 { FRVBF_INSN_CLDQ, model_fr400_cldq, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105260 { FRVBF_INSN_CLDSBU, model_fr400_cldsbu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105261 { FRVBF_INSN_CLDUBU, model_fr400_cldubu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105262 { FRVBF_INSN_CLDSHU, model_fr400_cldshu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105263 { FRVBF_INSN_CLDUHU, model_fr400_clduhu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105264 { FRVBF_INSN_CLDU, model_fr400_cldu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105265 { FRVBF_INSN_CLDBFU, model_fr400_cldbfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105266 { FRVBF_INSN_CLDHFU, model_fr400_cldhfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105267 { FRVBF_INSN_CLDFU, model_fr400_cldfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105268 { FRVBF_INSN_CLDDU, model_fr400_clddu, { { (int) UNIT_FR400_U_GR_LOAD, 1, 1 } } },
105269 { FRVBF_INSN_CLDDFU, model_fr400_clddfu, { { (int) UNIT_FR400_U_FR_LOAD, 1, 1 } } },
105270 { FRVBF_INSN_CLDQU, model_fr400_cldqu, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105271 { FRVBF_INSN_CSTB, model_fr400_cstb, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105272 { FRVBF_INSN_CSTH, model_fr400_csth, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105273 { FRVBF_INSN_CST, model_fr400_cst, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105274 { FRVBF_INSN_CSTBF, model_fr400_cstbf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105275 { FRVBF_INSN_CSTHF, model_fr400_csthf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105276 { FRVBF_INSN_CSTF, model_fr400_cstf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105277 { FRVBF_INSN_CSTD, model_fr400_cstd, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105278 { FRVBF_INSN_CSTDF, model_fr400_cstdf, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105279 { FRVBF_INSN_CSTQ, model_fr400_cstq, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105280 { FRVBF_INSN_CSTBU, model_fr400_cstbu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105281 { FRVBF_INSN_CSTHU, model_fr400_csthu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105282 { FRVBF_INSN_CSTU, model_fr400_cstu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105283 { FRVBF_INSN_CSTBFU, model_fr400_cstbfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105284 { FRVBF_INSN_CSTHFU, model_fr400_csthfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105285 { FRVBF_INSN_CSTFU, model_fr400_cstfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105286 { FRVBF_INSN_CSTDU, model_fr400_cstdu, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105287 { FRVBF_INSN_CSTDFU, model_fr400_cstdfu, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105288 { FRVBF_INSN_STBI, model_fr400_stbi, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105289 { FRVBF_INSN_STHI, model_fr400_sthi, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105290 { FRVBF_INSN_STI, model_fr400_sti, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105291 { FRVBF_INSN_STBFI, model_fr400_stbfi, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105292 { FRVBF_INSN_STHFI, model_fr400_sthfi, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105293 { FRVBF_INSN_STFI, model_fr400_stfi, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105294 { FRVBF_INSN_STDI, model_fr400_stdi, { { (int) UNIT_FR400_U_GR_STORE, 1, 1 } } },
105295 { FRVBF_INSN_STDFI, model_fr400_stdfi, { { (int) UNIT_FR400_U_FR_STORE, 1, 1 } } },
105296 { FRVBF_INSN_STQI, model_fr400_stqi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105297 { FRVBF_INSN_STQFI, model_fr400_stqfi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105298 { FRVBF_INSN_SWAP, model_fr400_swap, { { (int) UNIT_FR400_U_SWAP, 1, 1 } } },
105299 { FRVBF_INSN_SWAPI, model_fr400_swapi, { { (int) UNIT_FR400_U_SWAP, 1, 1 } } },
105300 { FRVBF_INSN_CSWAP, model_fr400_cswap, { { (int) UNIT_FR400_U_SWAP, 1, 1 } } },
105301 { FRVBF_INSN_MOVGF, model_fr400_movgf, { { (int) UNIT_FR400_U_GR2FR, 1, 1 } } },
105302 { FRVBF_INSN_MOVFG, model_fr400_movfg, { { (int) UNIT_FR400_U_FR2GR, 1, 1 } } },
105303 { FRVBF_INSN_MOVGFD, model_fr400_movgfd, { { (int) UNIT_FR400_U_GR2FR, 1, 1 } } },
105304 { FRVBF_INSN_MOVFGD, model_fr400_movfgd, { { (int) UNIT_FR400_U_FR2GR, 1, 1 } } },
105305 { FRVBF_INSN_MOVGFQ, model_fr400_movgfq, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105306 { FRVBF_INSN_MOVFGQ, model_fr400_movfgq, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105307 { FRVBF_INSN_CMOVGF, model_fr400_cmovgf, { { (int) UNIT_FR400_U_GR2FR, 1, 1 } } },
105308 { FRVBF_INSN_CMOVFG, model_fr400_cmovfg, { { (int) UNIT_FR400_U_FR2GR, 1, 1 } } },
105309 { FRVBF_INSN_CMOVGFD, model_fr400_cmovgfd, { { (int) UNIT_FR400_U_GR2FR, 1, 1 } } },
105310 { FRVBF_INSN_CMOVFGD, model_fr400_cmovfgd, { { (int) UNIT_FR400_U_FR2GR, 1, 1 } } },
105311 { FRVBF_INSN_MOVGS, model_fr400_movgs, { { (int) UNIT_FR400_U_GR2SPR, 1, 1 } } },
105312 { FRVBF_INSN_MOVSG, model_fr400_movsg, { { (int) UNIT_FR400_U_SPR2GR, 1, 1 } } },
105313 { FRVBF_INSN_BRA, model_fr400_bra, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105314 { FRVBF_INSN_BNO, model_fr400_bno, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105315 { FRVBF_INSN_BEQ, model_fr400_beq, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105316 { FRVBF_INSN_BNE, model_fr400_bne, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105317 { FRVBF_INSN_BLE, model_fr400_ble, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105318 { FRVBF_INSN_BGT, model_fr400_bgt, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105319 { FRVBF_INSN_BLT, model_fr400_blt, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105320 { FRVBF_INSN_BGE, model_fr400_bge, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105321 { FRVBF_INSN_BLS, model_fr400_bls, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105322 { FRVBF_INSN_BHI, model_fr400_bhi, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105323 { FRVBF_INSN_BC, model_fr400_bc, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105324 { FRVBF_INSN_BNC, model_fr400_bnc, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105325 { FRVBF_INSN_BN, model_fr400_bn, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105326 { FRVBF_INSN_BP, model_fr400_bp, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105327 { FRVBF_INSN_BV, model_fr400_bv, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105328 { FRVBF_INSN_BNV, model_fr400_bnv, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105329 { FRVBF_INSN_FBRA, model_fr400_fbra, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105330 { FRVBF_INSN_FBNO, model_fr400_fbno, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105331 { FRVBF_INSN_FBNE, model_fr400_fbne, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105332 { FRVBF_INSN_FBEQ, model_fr400_fbeq, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105333 { FRVBF_INSN_FBLG, model_fr400_fblg, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105334 { FRVBF_INSN_FBUE, model_fr400_fbue, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105335 { FRVBF_INSN_FBUL, model_fr400_fbul, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105336 { FRVBF_INSN_FBGE, model_fr400_fbge, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105337 { FRVBF_INSN_FBLT, model_fr400_fblt, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105338 { FRVBF_INSN_FBUGE, model_fr400_fbuge, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105339 { FRVBF_INSN_FBUG, model_fr400_fbug, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105340 { FRVBF_INSN_FBLE, model_fr400_fble, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105341 { FRVBF_INSN_FBGT, model_fr400_fbgt, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105342 { FRVBF_INSN_FBULE, model_fr400_fbule, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105343 { FRVBF_INSN_FBU, model_fr400_fbu, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105344 { FRVBF_INSN_FBO, model_fr400_fbo, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105345 { FRVBF_INSN_BCTRLR, model_fr400_bctrlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105346 { FRVBF_INSN_BRALR, model_fr400_bralr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105347 { FRVBF_INSN_BNOLR, model_fr400_bnolr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105348 { FRVBF_INSN_BEQLR, model_fr400_beqlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105349 { FRVBF_INSN_BNELR, model_fr400_bnelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105350 { FRVBF_INSN_BLELR, model_fr400_blelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105351 { FRVBF_INSN_BGTLR, model_fr400_bgtlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105352 { FRVBF_INSN_BLTLR, model_fr400_bltlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105353 { FRVBF_INSN_BGELR, model_fr400_bgelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105354 { FRVBF_INSN_BLSLR, model_fr400_blslr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105355 { FRVBF_INSN_BHILR, model_fr400_bhilr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105356 { FRVBF_INSN_BCLR, model_fr400_bclr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105357 { FRVBF_INSN_BNCLR, model_fr400_bnclr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105358 { FRVBF_INSN_BNLR, model_fr400_bnlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105359 { FRVBF_INSN_BPLR, model_fr400_bplr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105360 { FRVBF_INSN_BVLR, model_fr400_bvlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105361 { FRVBF_INSN_BNVLR, model_fr400_bnvlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105362 { FRVBF_INSN_FBRALR, model_fr400_fbralr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105363 { FRVBF_INSN_FBNOLR, model_fr400_fbnolr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105364 { FRVBF_INSN_FBEQLR, model_fr400_fbeqlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105365 { FRVBF_INSN_FBNELR, model_fr400_fbnelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105366 { FRVBF_INSN_FBLGLR, model_fr400_fblglr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105367 { FRVBF_INSN_FBUELR, model_fr400_fbuelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105368 { FRVBF_INSN_FBULLR, model_fr400_fbullr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105369 { FRVBF_INSN_FBGELR, model_fr400_fbgelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105370 { FRVBF_INSN_FBLTLR, model_fr400_fbltlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105371 { FRVBF_INSN_FBUGELR, model_fr400_fbugelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105372 { FRVBF_INSN_FBUGLR, model_fr400_fbuglr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105373 { FRVBF_INSN_FBLELR, model_fr400_fblelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105374 { FRVBF_INSN_FBGTLR, model_fr400_fbgtlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105375 { FRVBF_INSN_FBULELR, model_fr400_fbulelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105376 { FRVBF_INSN_FBULR, model_fr400_fbulr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105377 { FRVBF_INSN_FBOLR, model_fr400_fbolr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105378 { FRVBF_INSN_BCRALR, model_fr400_bcralr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105379 { FRVBF_INSN_BCNOLR, model_fr400_bcnolr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105380 { FRVBF_INSN_BCEQLR, model_fr400_bceqlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105381 { FRVBF_INSN_BCNELR, model_fr400_bcnelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105382 { FRVBF_INSN_BCLELR, model_fr400_bclelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105383 { FRVBF_INSN_BCGTLR, model_fr400_bcgtlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105384 { FRVBF_INSN_BCLTLR, model_fr400_bcltlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105385 { FRVBF_INSN_BCGELR, model_fr400_bcgelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105386 { FRVBF_INSN_BCLSLR, model_fr400_bclslr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105387 { FRVBF_INSN_BCHILR, model_fr400_bchilr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105388 { FRVBF_INSN_BCCLR, model_fr400_bcclr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105389 { FRVBF_INSN_BCNCLR, model_fr400_bcnclr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105390 { FRVBF_INSN_BCNLR, model_fr400_bcnlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105391 { FRVBF_INSN_BCPLR, model_fr400_bcplr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105392 { FRVBF_INSN_BCVLR, model_fr400_bcvlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105393 { FRVBF_INSN_BCNVLR, model_fr400_bcnvlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105394 { FRVBF_INSN_FCBRALR, model_fr400_fcbralr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105395 { FRVBF_INSN_FCBNOLR, model_fr400_fcbnolr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105396 { FRVBF_INSN_FCBEQLR, model_fr400_fcbeqlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105397 { FRVBF_INSN_FCBNELR, model_fr400_fcbnelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105398 { FRVBF_INSN_FCBLGLR, model_fr400_fcblglr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105399 { FRVBF_INSN_FCBUELR, model_fr400_fcbuelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105400 { FRVBF_INSN_FCBULLR, model_fr400_fcbullr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105401 { FRVBF_INSN_FCBGELR, model_fr400_fcbgelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105402 { FRVBF_INSN_FCBLTLR, model_fr400_fcbltlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105403 { FRVBF_INSN_FCBUGELR, model_fr400_fcbugelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105404 { FRVBF_INSN_FCBUGLR, model_fr400_fcbuglr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105405 { FRVBF_INSN_FCBLELR, model_fr400_fcblelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105406 { FRVBF_INSN_FCBGTLR, model_fr400_fcbgtlr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105407 { FRVBF_INSN_FCBULELR, model_fr400_fcbulelr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105408 { FRVBF_INSN_FCBULR, model_fr400_fcbulr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105409 { FRVBF_INSN_FCBOLR, model_fr400_fcbolr, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105410 { FRVBF_INSN_JMPL, model_fr400_jmpl, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105411 { FRVBF_INSN_CALLL, model_fr400_calll, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105412 { FRVBF_INSN_JMPIL, model_fr400_jmpil, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105413 { FRVBF_INSN_CALLIL, model_fr400_callil, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105414 { FRVBF_INSN_CALL, model_fr400_call, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105415 { FRVBF_INSN_RETT, model_fr400_rett, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105416 { FRVBF_INSN_REI, model_fr400_rei, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105417 { FRVBF_INSN_TRA, model_fr400_tra, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105418 { FRVBF_INSN_TNO, model_fr400_tno, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105419 { FRVBF_INSN_TEQ, model_fr400_teq, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105420 { FRVBF_INSN_TNE, model_fr400_tne, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105421 { FRVBF_INSN_TLE, model_fr400_tle, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105422 { FRVBF_INSN_TGT, model_fr400_tgt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105423 { FRVBF_INSN_TLT, model_fr400_tlt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105424 { FRVBF_INSN_TGE, model_fr400_tge, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105425 { FRVBF_INSN_TLS, model_fr400_tls, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105426 { FRVBF_INSN_THI, model_fr400_thi, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105427 { FRVBF_INSN_TC, model_fr400_tc, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105428 { FRVBF_INSN_TNC, model_fr400_tnc, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105429 { FRVBF_INSN_TN, model_fr400_tn, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105430 { FRVBF_INSN_TP, model_fr400_tp, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105431 { FRVBF_INSN_TV, model_fr400_tv, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105432 { FRVBF_INSN_TNV, model_fr400_tnv, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105433 { FRVBF_INSN_FTRA, model_fr400_ftra, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105434 { FRVBF_INSN_FTNO, model_fr400_ftno, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105435 { FRVBF_INSN_FTNE, model_fr400_ftne, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105436 { FRVBF_INSN_FTEQ, model_fr400_fteq, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105437 { FRVBF_INSN_FTLG, model_fr400_ftlg, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105438 { FRVBF_INSN_FTUE, model_fr400_ftue, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105439 { FRVBF_INSN_FTUL, model_fr400_ftul, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105440 { FRVBF_INSN_FTGE, model_fr400_ftge, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105441 { FRVBF_INSN_FTLT, model_fr400_ftlt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105442 { FRVBF_INSN_FTUGE, model_fr400_ftuge, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105443 { FRVBF_INSN_FTUG, model_fr400_ftug, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105444 { FRVBF_INSN_FTLE, model_fr400_ftle, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105445 { FRVBF_INSN_FTGT, model_fr400_ftgt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105446 { FRVBF_INSN_FTULE, model_fr400_ftule, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105447 { FRVBF_INSN_FTU, model_fr400_ftu, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105448 { FRVBF_INSN_FTO, model_fr400_fto, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105449 { FRVBF_INSN_TIRA, model_fr400_tira, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105450 { FRVBF_INSN_TINO, model_fr400_tino, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105451 { FRVBF_INSN_TIEQ, model_fr400_tieq, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105452 { FRVBF_INSN_TINE, model_fr400_tine, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105453 { FRVBF_INSN_TILE, model_fr400_tile, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105454 { FRVBF_INSN_TIGT, model_fr400_tigt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105455 { FRVBF_INSN_TILT, model_fr400_tilt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105456 { FRVBF_INSN_TIGE, model_fr400_tige, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105457 { FRVBF_INSN_TILS, model_fr400_tils, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105458 { FRVBF_INSN_TIHI, model_fr400_tihi, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105459 { FRVBF_INSN_TIC, model_fr400_tic, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105460 { FRVBF_INSN_TINC, model_fr400_tinc, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105461 { FRVBF_INSN_TIN, model_fr400_tin, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105462 { FRVBF_INSN_TIP, model_fr400_tip, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105463 { FRVBF_INSN_TIV, model_fr400_tiv, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105464 { FRVBF_INSN_TINV, model_fr400_tinv, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105465 { FRVBF_INSN_FTIRA, model_fr400_ftira, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105466 { FRVBF_INSN_FTINO, model_fr400_ftino, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105467 { FRVBF_INSN_FTINE, model_fr400_ftine, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105468 { FRVBF_INSN_FTIEQ, model_fr400_ftieq, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105469 { FRVBF_INSN_FTILG, model_fr400_ftilg, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105470 { FRVBF_INSN_FTIUE, model_fr400_ftiue, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105471 { FRVBF_INSN_FTIUL, model_fr400_ftiul, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105472 { FRVBF_INSN_FTIGE, model_fr400_ftige, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105473 { FRVBF_INSN_FTILT, model_fr400_ftilt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105474 { FRVBF_INSN_FTIUGE, model_fr400_ftiuge, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105475 { FRVBF_INSN_FTIUG, model_fr400_ftiug, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105476 { FRVBF_INSN_FTILE, model_fr400_ftile, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105477 { FRVBF_INSN_FTIGT, model_fr400_ftigt, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105478 { FRVBF_INSN_FTIULE, model_fr400_ftiule, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105479 { FRVBF_INSN_FTIU, model_fr400_ftiu, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105480 { FRVBF_INSN_FTIO, model_fr400_ftio, { { (int) UNIT_FR400_U_TRAP, 1, 1 } } },
105481 { FRVBF_INSN_BREAK, model_fr400_break, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105482 { FRVBF_INSN_MTRAP, model_fr400_mtrap, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105483 { FRVBF_INSN_ANDCR, model_fr400_andcr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105484 { FRVBF_INSN_ORCR, model_fr400_orcr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105485 { FRVBF_INSN_XORCR, model_fr400_xorcr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105486 { FRVBF_INSN_NANDCR, model_fr400_nandcr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105487 { FRVBF_INSN_NORCR, model_fr400_norcr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105488 { FRVBF_INSN_ANDNCR, model_fr400_andncr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105489 { FRVBF_INSN_ORNCR, model_fr400_orncr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105490 { FRVBF_INSN_NANDNCR, model_fr400_nandncr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105491 { FRVBF_INSN_NORNCR, model_fr400_norncr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105492 { FRVBF_INSN_NOTCR, model_fr400_notcr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105493 { FRVBF_INSN_CKRA, model_fr400_ckra, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105494 { FRVBF_INSN_CKNO, model_fr400_ckno, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105495 { FRVBF_INSN_CKEQ, model_fr400_ckeq, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105496 { FRVBF_INSN_CKNE, model_fr400_ckne, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105497 { FRVBF_INSN_CKLE, model_fr400_ckle, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105498 { FRVBF_INSN_CKGT, model_fr400_ckgt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105499 { FRVBF_INSN_CKLT, model_fr400_cklt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105500 { FRVBF_INSN_CKGE, model_fr400_ckge, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105501 { FRVBF_INSN_CKLS, model_fr400_ckls, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105502 { FRVBF_INSN_CKHI, model_fr400_ckhi, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105503 { FRVBF_INSN_CKC, model_fr400_ckc, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105504 { FRVBF_INSN_CKNC, model_fr400_cknc, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105505 { FRVBF_INSN_CKN, model_fr400_ckn, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105506 { FRVBF_INSN_CKP, model_fr400_ckp, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105507 { FRVBF_INSN_CKV, model_fr400_ckv, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105508 { FRVBF_INSN_CKNV, model_fr400_cknv, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105509 { FRVBF_INSN_FCKRA, model_fr400_fckra, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105510 { FRVBF_INSN_FCKNO, model_fr400_fckno, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105511 { FRVBF_INSN_FCKNE, model_fr400_fckne, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105512 { FRVBF_INSN_FCKEQ, model_fr400_fckeq, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105513 { FRVBF_INSN_FCKLG, model_fr400_fcklg, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105514 { FRVBF_INSN_FCKUE, model_fr400_fckue, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105515 { FRVBF_INSN_FCKUL, model_fr400_fckul, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105516 { FRVBF_INSN_FCKGE, model_fr400_fckge, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105517 { FRVBF_INSN_FCKLT, model_fr400_fcklt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105518 { FRVBF_INSN_FCKUGE, model_fr400_fckuge, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105519 { FRVBF_INSN_FCKUG, model_fr400_fckug, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105520 { FRVBF_INSN_FCKLE, model_fr400_fckle, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105521 { FRVBF_INSN_FCKGT, model_fr400_fckgt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105522 { FRVBF_INSN_FCKULE, model_fr400_fckule, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105523 { FRVBF_INSN_FCKU, model_fr400_fcku, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105524 { FRVBF_INSN_FCKO, model_fr400_fcko, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105525 { FRVBF_INSN_CCKRA, model_fr400_cckra, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105526 { FRVBF_INSN_CCKNO, model_fr400_cckno, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105527 { FRVBF_INSN_CCKEQ, model_fr400_cckeq, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105528 { FRVBF_INSN_CCKNE, model_fr400_cckne, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105529 { FRVBF_INSN_CCKLE, model_fr400_cckle, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105530 { FRVBF_INSN_CCKGT, model_fr400_cckgt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105531 { FRVBF_INSN_CCKLT, model_fr400_ccklt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105532 { FRVBF_INSN_CCKGE, model_fr400_cckge, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105533 { FRVBF_INSN_CCKLS, model_fr400_cckls, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105534 { FRVBF_INSN_CCKHI, model_fr400_cckhi, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105535 { FRVBF_INSN_CCKC, model_fr400_cckc, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105536 { FRVBF_INSN_CCKNC, model_fr400_ccknc, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105537 { FRVBF_INSN_CCKN, model_fr400_cckn, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105538 { FRVBF_INSN_CCKP, model_fr400_cckp, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105539 { FRVBF_INSN_CCKV, model_fr400_cckv, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105540 { FRVBF_INSN_CCKNV, model_fr400_ccknv, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105541 { FRVBF_INSN_CFCKRA, model_fr400_cfckra, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105542 { FRVBF_INSN_CFCKNO, model_fr400_cfckno, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105543 { FRVBF_INSN_CFCKNE, model_fr400_cfckne, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105544 { FRVBF_INSN_CFCKEQ, model_fr400_cfckeq, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105545 { FRVBF_INSN_CFCKLG, model_fr400_cfcklg, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105546 { FRVBF_INSN_CFCKUE, model_fr400_cfckue, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105547 { FRVBF_INSN_CFCKUL, model_fr400_cfckul, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105548 { FRVBF_INSN_CFCKGE, model_fr400_cfckge, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105549 { FRVBF_INSN_CFCKLT, model_fr400_cfcklt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105550 { FRVBF_INSN_CFCKUGE, model_fr400_cfckuge, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105551 { FRVBF_INSN_CFCKUG, model_fr400_cfckug, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105552 { FRVBF_INSN_CFCKLE, model_fr400_cfckle, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105553 { FRVBF_INSN_CFCKGT, model_fr400_cfckgt, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105554 { FRVBF_INSN_CFCKULE, model_fr400_cfckule, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105555 { FRVBF_INSN_CFCKU, model_fr400_cfcku, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105556 { FRVBF_INSN_CFCKO, model_fr400_cfcko, { { (int) UNIT_FR400_U_CHECK, 1, 1 } } },
105557 { FRVBF_INSN_CJMPL, model_fr400_cjmpl, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105558 { FRVBF_INSN_CCALLL, model_fr400_ccalll, { { (int) UNIT_FR400_U_BRANCH, 1, 1 } } },
105559 { FRVBF_INSN_ICI, model_fr400_ici, { { (int) UNIT_FR400_U_ICI, 1, 1 } } },
105560 { FRVBF_INSN_DCI, model_fr400_dci, { { (int) UNIT_FR400_U_DCI, 1, 1 } } },
105561 { FRVBF_INSN_ICEI, model_fr400_icei, { { (int) UNIT_FR400_U_ICI, 1, 1 } } },
105562 { FRVBF_INSN_DCEI, model_fr400_dcei, { { (int) UNIT_FR400_U_DCI, 1, 1 } } },
105563 { FRVBF_INSN_DCF, model_fr400_dcf, { { (int) UNIT_FR400_U_DCF, 1, 1 } } },
105564 { FRVBF_INSN_DCEF, model_fr400_dcef, { { (int) UNIT_FR400_U_DCF, 1, 1 } } },
105565 { FRVBF_INSN_WITLB, model_fr400_witlb, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105566 { FRVBF_INSN_WDTLB, model_fr400_wdtlb, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105567 { FRVBF_INSN_ITLBI, model_fr400_itlbi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105568 { FRVBF_INSN_DTLBI, model_fr400_dtlbi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105569 { FRVBF_INSN_ICPL, model_fr400_icpl, { { (int) UNIT_FR400_U_ICPL, 1, 1 } } },
105570 { FRVBF_INSN_DCPL, model_fr400_dcpl, { { (int) UNIT_FR400_U_DCPL, 1, 1 } } },
105571 { FRVBF_INSN_ICUL, model_fr400_icul, { { (int) UNIT_FR400_U_ICUL, 1, 1 } } },
105572 { FRVBF_INSN_DCUL, model_fr400_dcul, { { (int) UNIT_FR400_U_DCUL, 1, 1 } } },
105573 { FRVBF_INSN_BAR, model_fr400_bar, { { (int) UNIT_FR400_U_BARRIER, 1, 1 } } },
105574 { FRVBF_INSN_MEMBAR, model_fr400_membar, { { (int) UNIT_FR400_U_MEMBAR, 1, 1 } } },
105575 { FRVBF_INSN_LRAI, model_fr400_lrai, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105576 { FRVBF_INSN_LRAD, model_fr400_lrad, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105577 { FRVBF_INSN_TLBPR, model_fr400_tlbpr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105578 { FRVBF_INSN_COP1, model_fr400_cop1, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105579 { FRVBF_INSN_COP2, model_fr400_cop2, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105580 { FRVBF_INSN_CLRGR, model_fr400_clrgr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105581 { FRVBF_INSN_CLRFR, model_fr400_clrfr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105582 { FRVBF_INSN_CLRGA, model_fr400_clrga, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105583 { FRVBF_INSN_CLRFA, model_fr400_clrfa, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105584 { FRVBF_INSN_COMMITGR, model_fr400_commitgr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105585 { FRVBF_INSN_COMMITFR, model_fr400_commitfr, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105586 { FRVBF_INSN_COMMITGA, model_fr400_commitga, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105587 { FRVBF_INSN_COMMITFA, model_fr400_commitfa, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105588 { FRVBF_INSN_FITOS, model_fr400_fitos, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105589 { FRVBF_INSN_FSTOI, model_fr400_fstoi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105590 { FRVBF_INSN_FITOD, model_fr400_fitod, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105591 { FRVBF_INSN_FDTOI, model_fr400_fdtoi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105592 { FRVBF_INSN_FDITOS, model_fr400_fditos, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105593 { FRVBF_INSN_FDSTOI, model_fr400_fdstoi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105594 { FRVBF_INSN_NFDITOS, model_fr400_nfditos, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105595 { FRVBF_INSN_NFDSTOI, model_fr400_nfdstoi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105596 { FRVBF_INSN_CFITOS, model_fr400_cfitos, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105597 { FRVBF_INSN_CFSTOI, model_fr400_cfstoi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105598 { FRVBF_INSN_NFITOS, model_fr400_nfitos, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105599 { FRVBF_INSN_NFSTOI, model_fr400_nfstoi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105600 { FRVBF_INSN_FMOVS, model_fr400_fmovs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105601 { FRVBF_INSN_FMOVD, model_fr400_fmovd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105602 { FRVBF_INSN_FDMOVS, model_fr400_fdmovs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105603 { FRVBF_INSN_CFMOVS, model_fr400_cfmovs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105604 { FRVBF_INSN_FNEGS, model_fr400_fnegs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105605 { FRVBF_INSN_FNEGD, model_fr400_fnegd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105606 { FRVBF_INSN_FDNEGS, model_fr400_fdnegs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105607 { FRVBF_INSN_CFNEGS, model_fr400_cfnegs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105608 { FRVBF_INSN_FABSS, model_fr400_fabss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105609 { FRVBF_INSN_FABSD, model_fr400_fabsd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105610 { FRVBF_INSN_FDABSS, model_fr400_fdabss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105611 { FRVBF_INSN_CFABSS, model_fr400_cfabss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105612 { FRVBF_INSN_FSQRTS, model_fr400_fsqrts, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105613 { FRVBF_INSN_FDSQRTS, model_fr400_fdsqrts, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105614 { FRVBF_INSN_NFDSQRTS, model_fr400_nfdsqrts, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105615 { FRVBF_INSN_FSQRTD, model_fr400_fsqrtd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105616 { FRVBF_INSN_CFSQRTS, model_fr400_cfsqrts, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105617 { FRVBF_INSN_NFSQRTS, model_fr400_nfsqrts, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105618 { FRVBF_INSN_FADDS, model_fr400_fadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105619 { FRVBF_INSN_FSUBS, model_fr400_fsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105620 { FRVBF_INSN_FMULS, model_fr400_fmuls, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105621 { FRVBF_INSN_FDIVS, model_fr400_fdivs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105622 { FRVBF_INSN_FADDD, model_fr400_faddd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105623 { FRVBF_INSN_FSUBD, model_fr400_fsubd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105624 { FRVBF_INSN_FMULD, model_fr400_fmuld, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105625 { FRVBF_INSN_FDIVD, model_fr400_fdivd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105626 { FRVBF_INSN_CFADDS, model_fr400_cfadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105627 { FRVBF_INSN_CFSUBS, model_fr400_cfsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105628 { FRVBF_INSN_CFMULS, model_fr400_cfmuls, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105629 { FRVBF_INSN_CFDIVS, model_fr400_cfdivs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105630 { FRVBF_INSN_NFADDS, model_fr400_nfadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105631 { FRVBF_INSN_NFSUBS, model_fr400_nfsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105632 { FRVBF_INSN_NFMULS, model_fr400_nfmuls, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105633 { FRVBF_INSN_NFDIVS, model_fr400_nfdivs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105634 { FRVBF_INSN_FCMPS, model_fr400_fcmps, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105635 { FRVBF_INSN_FCMPD, model_fr400_fcmpd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105636 { FRVBF_INSN_CFCMPS, model_fr400_cfcmps, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105637 { FRVBF_INSN_FDCMPS, model_fr400_fdcmps, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105638 { FRVBF_INSN_FMADDS, model_fr400_fmadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105639 { FRVBF_INSN_FMSUBS, model_fr400_fmsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105640 { FRVBF_INSN_FMADDD, model_fr400_fmaddd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105641 { FRVBF_INSN_FMSUBD, model_fr400_fmsubd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105642 { FRVBF_INSN_FDMADDS, model_fr400_fdmadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105643 { FRVBF_INSN_NFDMADDS, model_fr400_nfdmadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105644 { FRVBF_INSN_CFMADDS, model_fr400_cfmadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105645 { FRVBF_INSN_CFMSUBS, model_fr400_cfmsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105646 { FRVBF_INSN_NFMADDS, model_fr400_nfmadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105647 { FRVBF_INSN_NFMSUBS, model_fr400_nfmsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105648 { FRVBF_INSN_FMAS, model_fr400_fmas, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105649 { FRVBF_INSN_FMSS, model_fr400_fmss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105650 { FRVBF_INSN_FDMAS, model_fr400_fdmas, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105651 { FRVBF_INSN_FDMSS, model_fr400_fdmss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105652 { FRVBF_INSN_NFDMAS, model_fr400_nfdmas, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105653 { FRVBF_INSN_NFDMSS, model_fr400_nfdmss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105654 { FRVBF_INSN_CFMAS, model_fr400_cfmas, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105655 { FRVBF_INSN_CFMSS, model_fr400_cfmss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105656 { FRVBF_INSN_FMAD, model_fr400_fmad, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105657 { FRVBF_INSN_FMSD, model_fr400_fmsd, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105658 { FRVBF_INSN_NFMAS, model_fr400_nfmas, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105659 { FRVBF_INSN_NFMSS, model_fr400_nfmss, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105660 { FRVBF_INSN_FDADDS, model_fr400_fdadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105661 { FRVBF_INSN_FDSUBS, model_fr400_fdsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105662 { FRVBF_INSN_FDMULS, model_fr400_fdmuls, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105663 { FRVBF_INSN_FDDIVS, model_fr400_fddivs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105664 { FRVBF_INSN_FDSADS, model_fr400_fdsads, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105665 { FRVBF_INSN_FDMULCS, model_fr400_fdmulcs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105666 { FRVBF_INSN_NFDMULCS, model_fr400_nfdmulcs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105667 { FRVBF_INSN_NFDADDS, model_fr400_nfdadds, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105668 { FRVBF_INSN_NFDSUBS, model_fr400_nfdsubs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105669 { FRVBF_INSN_NFDMULS, model_fr400_nfdmuls, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105670 { FRVBF_INSN_NFDDIVS, model_fr400_nfddivs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105671 { FRVBF_INSN_NFDSADS, model_fr400_nfdsads, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105672 { FRVBF_INSN_NFDCMPS, model_fr400_nfdcmps, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105673 { FRVBF_INSN_MHSETLOS, model_fr400_mhsetlos, { { (int) UNIT_FR400_U_MEDIA_HILO, 1, 1 } } },
105674 { FRVBF_INSN_MHSETHIS, model_fr400_mhsethis, { { (int) UNIT_FR400_U_MEDIA_HILO, 1, 1 } } },
105675 { FRVBF_INSN_MHDSETS, model_fr400_mhdsets, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105676 { FRVBF_INSN_MHSETLOH, model_fr400_mhsetloh, { { (int) UNIT_FR400_U_MEDIA_HILO, 1, 1 } } },
105677 { FRVBF_INSN_MHSETHIH, model_fr400_mhsethih, { { (int) UNIT_FR400_U_MEDIA_HILO, 1, 1 } } },
105678 { FRVBF_INSN_MHDSETH, model_fr400_mhdseth, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105679 { FRVBF_INSN_MAND, model_fr400_mand, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105680 { FRVBF_INSN_MOR, model_fr400_mor, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105681 { FRVBF_INSN_MXOR, model_fr400_mxor, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105682 { FRVBF_INSN_CMAND, model_fr400_cmand, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105683 { FRVBF_INSN_CMOR, model_fr400_cmor, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105684 { FRVBF_INSN_CMXOR, model_fr400_cmxor, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105685 { FRVBF_INSN_MNOT, model_fr400_mnot, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105686 { FRVBF_INSN_CMNOT, model_fr400_cmnot, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105687 { FRVBF_INSN_MROTLI, model_fr400_mrotli, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105688 { FRVBF_INSN_MROTRI, model_fr400_mrotri, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105689 { FRVBF_INSN_MWCUT, model_fr400_mwcut, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105690 { FRVBF_INSN_MWCUTI, model_fr400_mwcuti, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105691 { FRVBF_INSN_MCUT, model_fr400_mcut, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105692 { FRVBF_INSN_MCUTI, model_fr400_mcuti, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105693 { FRVBF_INSN_MCUTSS, model_fr400_mcutss, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105694 { FRVBF_INSN_MCUTSSI, model_fr400_mcutssi, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105695 { FRVBF_INSN_MDCUTSSI, model_fr400_mdcutssi, { { (int) UNIT_FR400_U_MEDIA_4_ACC_DUAL, 1, 1 } } },
105696 { FRVBF_INSN_MAVEH, model_fr400_maveh, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105697 { FRVBF_INSN_MSLLHI, model_fr400_msllhi, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105698 { FRVBF_INSN_MSRLHI, model_fr400_msrlhi, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105699 { FRVBF_INSN_MSRAHI, model_fr400_msrahi, { { (int) UNIT_FR400_U_MEDIA_6, 1, 1 } } },
105700 { FRVBF_INSN_MDROTLI, model_fr400_mdrotli, { { (int) UNIT_FR400_U_MEDIA_3_QUAD, 1, 1 } } },
105701 { FRVBF_INSN_MCPLHI, model_fr400_mcplhi, { { (int) UNIT_FR400_U_MEDIA_3_DUAL, 1, 1 } } },
105702 { FRVBF_INSN_MCPLI, model_fr400_mcpli, { { (int) UNIT_FR400_U_MEDIA_3_DUAL, 1, 1 } } },
105703 { FRVBF_INSN_MSATHS, model_fr400_msaths, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105704 { FRVBF_INSN_MQSATHS, model_fr400_mqsaths, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105705 { FRVBF_INSN_MSATHU, model_fr400_msathu, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105706 { FRVBF_INSN_MCMPSH, model_fr400_mcmpsh, { { (int) UNIT_FR400_U_MEDIA_7, 1, 1 } } },
105707 { FRVBF_INSN_MCMPUH, model_fr400_mcmpuh, { { (int) UNIT_FR400_U_MEDIA_7, 1, 1 } } },
105708 { FRVBF_INSN_MABSHS, model_fr400_mabshs, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105709 { FRVBF_INSN_MADDHSS, model_fr400_maddhss, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105710 { FRVBF_INSN_MADDHUS, model_fr400_maddhus, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105711 { FRVBF_INSN_MSUBHSS, model_fr400_msubhss, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105712 { FRVBF_INSN_MSUBHUS, model_fr400_msubhus, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105713 { FRVBF_INSN_CMADDHSS, model_fr400_cmaddhss, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105714 { FRVBF_INSN_CMADDHUS, model_fr400_cmaddhus, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105715 { FRVBF_INSN_CMSUBHSS, model_fr400_cmsubhss, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105716 { FRVBF_INSN_CMSUBHUS, model_fr400_cmsubhus, { { (int) UNIT_FR400_U_MEDIA_1, 1, 1 } } },
105717 { FRVBF_INSN_MQADDHSS, model_fr400_mqaddhss, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105718 { FRVBF_INSN_MQADDHUS, model_fr400_mqaddhus, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105719 { FRVBF_INSN_MQSUBHSS, model_fr400_mqsubhss, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105720 { FRVBF_INSN_MQSUBHUS, model_fr400_mqsubhus, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105721 { FRVBF_INSN_CMQADDHSS, model_fr400_cmqaddhss, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105722 { FRVBF_INSN_CMQADDHUS, model_fr400_cmqaddhus, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105723 { FRVBF_INSN_CMQSUBHSS, model_fr400_cmqsubhss, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105724 { FRVBF_INSN_CMQSUBHUS, model_fr400_cmqsubhus, { { (int) UNIT_FR400_U_MEDIA_1_QUAD, 1, 1 } } },
105725 { FRVBF_INSN_MQLCLRHS, model_fr400_mqlclrhs, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105726 { FRVBF_INSN_MQLMTHS, model_fr400_mqlmths, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105727 { FRVBF_INSN_MQSLLHI, model_fr400_mqsllhi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105728 { FRVBF_INSN_MQSRAHI, model_fr400_mqsrahi, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105729 { FRVBF_INSN_MADDACCS, model_fr400_maddaccs, { { (int) UNIT_FR400_U_MEDIA_2_ACC, 1, 1 } } },
105730 { FRVBF_INSN_MSUBACCS, model_fr400_msubaccs, { { (int) UNIT_FR400_U_MEDIA_2_ACC, 1, 1 } } },
105731 { FRVBF_INSN_MDADDACCS, model_fr400_mdaddaccs, { { (int) UNIT_FR400_U_MEDIA_2_ACC_DUAL, 1, 1 } } },
105732 { FRVBF_INSN_MDSUBACCS, model_fr400_mdsubaccs, { { (int) UNIT_FR400_U_MEDIA_2_ACC_DUAL, 1, 1 } } },
105733 { FRVBF_INSN_MASACCS, model_fr400_masaccs, { { (int) UNIT_FR400_U_MEDIA_2_ADD_SUB, 1, 1 } } },
105734 { FRVBF_INSN_MDASACCS, model_fr400_mdasaccs, { { (int) UNIT_FR400_U_MEDIA_2_ADD_SUB_DUAL, 1, 1 } } },
105735 { FRVBF_INSN_MMULHS, model_fr400_mmulhs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105736 { FRVBF_INSN_MMULHU, model_fr400_mmulhu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105737 { FRVBF_INSN_MMULXHS, model_fr400_mmulxhs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105738 { FRVBF_INSN_MMULXHU, model_fr400_mmulxhu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105739 { FRVBF_INSN_CMMULHS, model_fr400_cmmulhs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105740 { FRVBF_INSN_CMMULHU, model_fr400_cmmulhu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105741 { FRVBF_INSN_MQMULHS, model_fr400_mqmulhs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105742 { FRVBF_INSN_MQMULHU, model_fr400_mqmulhu, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105743 { FRVBF_INSN_MQMULXHS, model_fr400_mqmulxhs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105744 { FRVBF_INSN_MQMULXHU, model_fr400_mqmulxhu, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105745 { FRVBF_INSN_CMQMULHS, model_fr400_cmqmulhs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105746 { FRVBF_INSN_CMQMULHU, model_fr400_cmqmulhu, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105747 { FRVBF_INSN_MMACHS, model_fr400_mmachs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105748 { FRVBF_INSN_MMACHU, model_fr400_mmachu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105749 { FRVBF_INSN_MMRDHS, model_fr400_mmrdhs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105750 { FRVBF_INSN_MMRDHU, model_fr400_mmrdhu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105751 { FRVBF_INSN_CMMACHS, model_fr400_cmmachs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105752 { FRVBF_INSN_CMMACHU, model_fr400_cmmachu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105753 { FRVBF_INSN_MQMACHS, model_fr400_mqmachs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105754 { FRVBF_INSN_MQMACHU, model_fr400_mqmachu, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105755 { FRVBF_INSN_CMQMACHS, model_fr400_cmqmachs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105756 { FRVBF_INSN_CMQMACHU, model_fr400_cmqmachu, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105757 { FRVBF_INSN_MQXMACHS, model_fr400_mqxmachs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105758 { FRVBF_INSN_MQXMACXHS, model_fr400_mqxmacxhs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105759 { FRVBF_INSN_MQMACXHS, model_fr400_mqmacxhs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105760 { FRVBF_INSN_MCPXRS, model_fr400_mcpxrs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105761 { FRVBF_INSN_MCPXRU, model_fr400_mcpxru, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105762 { FRVBF_INSN_MCPXIS, model_fr400_mcpxis, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105763 { FRVBF_INSN_MCPXIU, model_fr400_mcpxiu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105764 { FRVBF_INSN_CMCPXRS, model_fr400_cmcpxrs, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105765 { FRVBF_INSN_CMCPXRU, model_fr400_cmcpxru, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105766 { FRVBF_INSN_CMCPXIS, model_fr400_cmcpxis, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105767 { FRVBF_INSN_CMCPXIU, model_fr400_cmcpxiu, { { (int) UNIT_FR400_U_MEDIA_2, 1, 1 } } },
105768 { FRVBF_INSN_MQCPXRS, model_fr400_mqcpxrs, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105769 { FRVBF_INSN_MQCPXRU, model_fr400_mqcpxru, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105770 { FRVBF_INSN_MQCPXIS, model_fr400_mqcpxis, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105771 { FRVBF_INSN_MQCPXIU, model_fr400_mqcpxiu, { { (int) UNIT_FR400_U_MEDIA_2_QUAD, 1, 1 } } },
105772 { FRVBF_INSN_MEXPDHW, model_fr400_mexpdhw, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105773 { FRVBF_INSN_CMEXPDHW, model_fr400_cmexpdhw, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105774 { FRVBF_INSN_MEXPDHD, model_fr400_mexpdhd, { { (int) UNIT_FR400_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
105775 { FRVBF_INSN_CMEXPDHD, model_fr400_cmexpdhd, { { (int) UNIT_FR400_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
105776 { FRVBF_INSN_MPACKH, model_fr400_mpackh, { { (int) UNIT_FR400_U_MEDIA_3, 1, 1 } } },
105777 { FRVBF_INSN_MDPACKH, model_fr400_mdpackh, { { (int) UNIT_FR400_U_MEDIA_3_QUAD, 1, 1 } } },
105778 { FRVBF_INSN_MUNPACKH, model_fr400_munpackh, { { (int) UNIT_FR400_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
105779 { FRVBF_INSN_MDUNPACKH, model_fr400_mdunpackh, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105780 { FRVBF_INSN_MBTOH, model_fr400_mbtoh, { { (int) UNIT_FR400_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
105781 { FRVBF_INSN_CMBTOH, model_fr400_cmbtoh, { { (int) UNIT_FR400_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
105782 { FRVBF_INSN_MHTOB, model_fr400_mhtob, { { (int) UNIT_FR400_U_MEDIA_DUAL_HTOB, 1, 1 } } },
105783 { FRVBF_INSN_CMHTOB, model_fr400_cmhtob, { { (int) UNIT_FR400_U_MEDIA_DUAL_HTOB, 1, 1 } } },
105784 { FRVBF_INSN_MBTOHE, model_fr400_mbtohe, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105785 { FRVBF_INSN_CMBTOHE, model_fr400_cmbtohe, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105786 { FRVBF_INSN_MNOP, model_fr400_mnop, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105787 { FRVBF_INSN_MCLRACC_0, model_fr400_mclracc_0, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105788 { FRVBF_INSN_MCLRACC_1, model_fr400_mclracc_1, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105789 { FRVBF_INSN_MRDACC, model_fr400_mrdacc, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105790 { FRVBF_INSN_MRDACCG, model_fr400_mrdaccg, { { (int) UNIT_FR400_U_MEDIA_4_ACCG, 1, 1 } } },
105791 { FRVBF_INSN_MWTACC, model_fr400_mwtacc, { { (int) UNIT_FR400_U_MEDIA_4, 1, 1 } } },
105792 { FRVBF_INSN_MWTACCG, model_fr400_mwtaccg, { { (int) UNIT_FR400_U_MEDIA_4_ACCG, 1, 1 } } },
105793 { FRVBF_INSN_MCOP1, model_fr400_mcop1, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105794 { FRVBF_INSN_MCOP2, model_fr400_mcop2, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105795 { FRVBF_INSN_FNOP, model_fr400_fnop, { { (int) UNIT_FR400_U_EXEC, 1, 1 } } },
105798 /* Model timing data for `fr450'. */
105800 static const INSN_TIMING fr450_timing[] = {
105801 { FRVBF_INSN_X_INVALID, 0, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105802 { FRVBF_INSN_X_AFTER, 0, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105803 { FRVBF_INSN_X_BEFORE, 0, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105804 { FRVBF_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105805 { FRVBF_INSN_X_CHAIN, 0, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105806 { FRVBF_INSN_X_BEGIN, 0, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105807 { FRVBF_INSN_ADD, model_fr450_add, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105808 { FRVBF_INSN_SUB, model_fr450_sub, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105809 { FRVBF_INSN_AND, model_fr450_and, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105810 { FRVBF_INSN_OR, model_fr450_or, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105811 { FRVBF_INSN_XOR, model_fr450_xor, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105812 { FRVBF_INSN_NOT, model_fr450_not, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105813 { FRVBF_INSN_SDIV, model_fr450_sdiv, { { (int) UNIT_FR450_U_IDIV, 1, 1 } } },
105814 { FRVBF_INSN_NSDIV, model_fr450_nsdiv, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105815 { FRVBF_INSN_UDIV, model_fr450_udiv, { { (int) UNIT_FR450_U_IDIV, 1, 1 } } },
105816 { FRVBF_INSN_NUDIV, model_fr450_nudiv, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105817 { FRVBF_INSN_SMUL, model_fr450_smul, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105818 { FRVBF_INSN_UMUL, model_fr450_umul, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105819 { FRVBF_INSN_SMU, model_fr450_smu, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105820 { FRVBF_INSN_SMASS, model_fr450_smass, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105821 { FRVBF_INSN_SMSSS, model_fr450_smsss, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105822 { FRVBF_INSN_SLL, model_fr450_sll, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105823 { FRVBF_INSN_SRL, model_fr450_srl, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105824 { FRVBF_INSN_SRA, model_fr450_sra, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105825 { FRVBF_INSN_SLASS, model_fr450_slass, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105826 { FRVBF_INSN_SCUTSS, model_fr450_scutss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105827 { FRVBF_INSN_SCAN, model_fr450_scan, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105828 { FRVBF_INSN_CADD, model_fr450_cadd, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105829 { FRVBF_INSN_CSUB, model_fr450_csub, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105830 { FRVBF_INSN_CAND, model_fr450_cand, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105831 { FRVBF_INSN_COR, model_fr450_cor, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105832 { FRVBF_INSN_CXOR, model_fr450_cxor, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105833 { FRVBF_INSN_CNOT, model_fr450_cnot, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105834 { FRVBF_INSN_CSMUL, model_fr450_csmul, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105835 { FRVBF_INSN_CSDIV, model_fr450_csdiv, { { (int) UNIT_FR450_U_IDIV, 1, 1 } } },
105836 { FRVBF_INSN_CUDIV, model_fr450_cudiv, { { (int) UNIT_FR450_U_IDIV, 1, 1 } } },
105837 { FRVBF_INSN_CSLL, model_fr450_csll, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105838 { FRVBF_INSN_CSRL, model_fr450_csrl, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105839 { FRVBF_INSN_CSRA, model_fr450_csra, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105840 { FRVBF_INSN_CSCAN, model_fr450_cscan, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105841 { FRVBF_INSN_ADDCC, model_fr450_addcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105842 { FRVBF_INSN_SUBCC, model_fr450_subcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105843 { FRVBF_INSN_ANDCC, model_fr450_andcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105844 { FRVBF_INSN_ORCC, model_fr450_orcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105845 { FRVBF_INSN_XORCC, model_fr450_xorcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105846 { FRVBF_INSN_SLLCC, model_fr450_sllcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105847 { FRVBF_INSN_SRLCC, model_fr450_srlcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105848 { FRVBF_INSN_SRACC, model_fr450_sracc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105849 { FRVBF_INSN_SMULCC, model_fr450_smulcc, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105850 { FRVBF_INSN_UMULCC, model_fr450_umulcc, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105851 { FRVBF_INSN_CADDCC, model_fr450_caddcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105852 { FRVBF_INSN_CSUBCC, model_fr450_csubcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105853 { FRVBF_INSN_CSMULCC, model_fr450_csmulcc, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105854 { FRVBF_INSN_CANDCC, model_fr450_candcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105855 { FRVBF_INSN_CORCC, model_fr450_corcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105856 { FRVBF_INSN_CXORCC, model_fr450_cxorcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105857 { FRVBF_INSN_CSLLCC, model_fr450_csllcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105858 { FRVBF_INSN_CSRLCC, model_fr450_csrlcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105859 { FRVBF_INSN_CSRACC, model_fr450_csracc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105860 { FRVBF_INSN_ADDX, model_fr450_addx, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105861 { FRVBF_INSN_SUBX, model_fr450_subx, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105862 { FRVBF_INSN_ADDXCC, model_fr450_addxcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105863 { FRVBF_INSN_SUBXCC, model_fr450_subxcc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105864 { FRVBF_INSN_ADDSS, model_fr450_addss, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105865 { FRVBF_INSN_SUBSS, model_fr450_subss, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105866 { FRVBF_INSN_ADDI, model_fr450_addi, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105867 { FRVBF_INSN_SUBI, model_fr450_subi, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105868 { FRVBF_INSN_ANDI, model_fr450_andi, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105869 { FRVBF_INSN_ORI, model_fr450_ori, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105870 { FRVBF_INSN_XORI, model_fr450_xori, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105871 { FRVBF_INSN_SDIVI, model_fr450_sdivi, { { (int) UNIT_FR450_U_IDIV, 1, 1 } } },
105872 { FRVBF_INSN_NSDIVI, model_fr450_nsdivi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105873 { FRVBF_INSN_UDIVI, model_fr450_udivi, { { (int) UNIT_FR450_U_IDIV, 1, 1 } } },
105874 { FRVBF_INSN_NUDIVI, model_fr450_nudivi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105875 { FRVBF_INSN_SMULI, model_fr450_smuli, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105876 { FRVBF_INSN_UMULI, model_fr450_umuli, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105877 { FRVBF_INSN_SLLI, model_fr450_slli, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105878 { FRVBF_INSN_SRLI, model_fr450_srli, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105879 { FRVBF_INSN_SRAI, model_fr450_srai, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105880 { FRVBF_INSN_SCANI, model_fr450_scani, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105881 { FRVBF_INSN_ADDICC, model_fr450_addicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105882 { FRVBF_INSN_SUBICC, model_fr450_subicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105883 { FRVBF_INSN_ANDICC, model_fr450_andicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105884 { FRVBF_INSN_ORICC, model_fr450_oricc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105885 { FRVBF_INSN_XORICC, model_fr450_xoricc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105886 { FRVBF_INSN_SMULICC, model_fr450_smulicc, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105887 { FRVBF_INSN_UMULICC, model_fr450_umulicc, { { (int) UNIT_FR450_U_IMUL, 1, 1 } } },
105888 { FRVBF_INSN_SLLICC, model_fr450_sllicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105889 { FRVBF_INSN_SRLICC, model_fr450_srlicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105890 { FRVBF_INSN_SRAICC, model_fr450_sraicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105891 { FRVBF_INSN_ADDXI, model_fr450_addxi, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105892 { FRVBF_INSN_SUBXI, model_fr450_subxi, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105893 { FRVBF_INSN_ADDXICC, model_fr450_addxicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105894 { FRVBF_INSN_SUBXICC, model_fr450_subxicc, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105895 { FRVBF_INSN_CMPB, model_fr450_cmpb, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105896 { FRVBF_INSN_CMPBA, model_fr450_cmpba, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105897 { FRVBF_INSN_SETLO, model_fr450_setlo, { { (int) UNIT_FR450_U_SET_HILO, 1, 1 } } },
105898 { FRVBF_INSN_SETHI, model_fr450_sethi, { { (int) UNIT_FR450_U_SET_HILO, 1, 1 } } },
105899 { FRVBF_INSN_SETLOS, model_fr450_setlos, { { (int) UNIT_FR450_U_INTEGER, 1, 1 } } },
105900 { FRVBF_INSN_LDSB, model_fr450_ldsb, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105901 { FRVBF_INSN_LDUB, model_fr450_ldub, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105902 { FRVBF_INSN_LDSH, model_fr450_ldsh, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105903 { FRVBF_INSN_LDUH, model_fr450_lduh, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105904 { FRVBF_INSN_LD, model_fr450_ld, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105905 { FRVBF_INSN_LDBF, model_fr450_ldbf, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105906 { FRVBF_INSN_LDHF, model_fr450_ldhf, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105907 { FRVBF_INSN_LDF, model_fr450_ldf, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105908 { FRVBF_INSN_LDC, model_fr450_ldc, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105909 { FRVBF_INSN_NLDSB, model_fr450_nldsb, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105910 { FRVBF_INSN_NLDUB, model_fr450_nldub, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105911 { FRVBF_INSN_NLDSH, model_fr450_nldsh, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105912 { FRVBF_INSN_NLDUH, model_fr450_nlduh, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105913 { FRVBF_INSN_NLD, model_fr450_nld, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105914 { FRVBF_INSN_NLDBF, model_fr450_nldbf, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105915 { FRVBF_INSN_NLDHF, model_fr450_nldhf, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105916 { FRVBF_INSN_NLDF, model_fr450_nldf, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105917 { FRVBF_INSN_LDD, model_fr450_ldd, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105918 { FRVBF_INSN_LDDF, model_fr450_lddf, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105919 { FRVBF_INSN_LDDC, model_fr450_lddc, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105920 { FRVBF_INSN_NLDD, model_fr450_nldd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105921 { FRVBF_INSN_NLDDF, model_fr450_nlddf, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105922 { FRVBF_INSN_LDQ, model_fr450_ldq, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105923 { FRVBF_INSN_LDQF, model_fr450_ldqf, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105924 { FRVBF_INSN_LDQC, model_fr450_ldqc, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105925 { FRVBF_INSN_NLDQ, model_fr450_nldq, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105926 { FRVBF_INSN_NLDQF, model_fr450_nldqf, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105927 { FRVBF_INSN_LDSBU, model_fr450_ldsbu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105928 { FRVBF_INSN_LDUBU, model_fr450_ldubu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105929 { FRVBF_INSN_LDSHU, model_fr450_ldshu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105930 { FRVBF_INSN_LDUHU, model_fr450_lduhu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105931 { FRVBF_INSN_LDU, model_fr450_ldu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105932 { FRVBF_INSN_NLDSBU, model_fr450_nldsbu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105933 { FRVBF_INSN_NLDUBU, model_fr450_nldubu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105934 { FRVBF_INSN_NLDSHU, model_fr450_nldshu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105935 { FRVBF_INSN_NLDUHU, model_fr450_nlduhu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105936 { FRVBF_INSN_NLDU, model_fr450_nldu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105937 { FRVBF_INSN_LDBFU, model_fr450_ldbfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105938 { FRVBF_INSN_LDHFU, model_fr450_ldhfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105939 { FRVBF_INSN_LDFU, model_fr450_ldfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105940 { FRVBF_INSN_LDCU, model_fr450_ldcu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105941 { FRVBF_INSN_NLDBFU, model_fr450_nldbfu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105942 { FRVBF_INSN_NLDHFU, model_fr450_nldhfu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105943 { FRVBF_INSN_NLDFU, model_fr450_nldfu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105944 { FRVBF_INSN_LDDU, model_fr450_lddu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105945 { FRVBF_INSN_NLDDU, model_fr450_nlddu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105946 { FRVBF_INSN_LDDFU, model_fr450_lddfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105947 { FRVBF_INSN_LDDCU, model_fr450_lddcu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105948 { FRVBF_INSN_NLDDFU, model_fr450_nlddfu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105949 { FRVBF_INSN_LDQU, model_fr450_ldqu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105950 { FRVBF_INSN_NLDQU, model_fr450_nldqu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105951 { FRVBF_INSN_LDQFU, model_fr450_ldqfu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105952 { FRVBF_INSN_LDQCU, model_fr450_ldqcu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105953 { FRVBF_INSN_NLDQFU, model_fr450_nldqfu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105954 { FRVBF_INSN_LDSBI, model_fr450_ldsbi, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105955 { FRVBF_INSN_LDSHI, model_fr450_ldshi, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105956 { FRVBF_INSN_LDI, model_fr450_ldi, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105957 { FRVBF_INSN_LDUBI, model_fr450_ldubi, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105958 { FRVBF_INSN_LDUHI, model_fr450_lduhi, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105959 { FRVBF_INSN_LDBFI, model_fr450_ldbfi, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105960 { FRVBF_INSN_LDHFI, model_fr450_ldhfi, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105961 { FRVBF_INSN_LDFI, model_fr450_ldfi, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105962 { FRVBF_INSN_NLDSBI, model_fr450_nldsbi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105963 { FRVBF_INSN_NLDUBI, model_fr450_nldubi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105964 { FRVBF_INSN_NLDSHI, model_fr450_nldshi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105965 { FRVBF_INSN_NLDUHI, model_fr450_nlduhi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105966 { FRVBF_INSN_NLDI, model_fr450_nldi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105967 { FRVBF_INSN_NLDBFI, model_fr450_nldbfi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105968 { FRVBF_INSN_NLDHFI, model_fr450_nldhfi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105969 { FRVBF_INSN_NLDFI, model_fr450_nldfi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105970 { FRVBF_INSN_LDDI, model_fr450_lddi, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
105971 { FRVBF_INSN_LDDFI, model_fr450_lddfi, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
105972 { FRVBF_INSN_NLDDI, model_fr450_nlddi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105973 { FRVBF_INSN_NLDDFI, model_fr450_nlddfi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105974 { FRVBF_INSN_LDQI, model_fr450_ldqi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105975 { FRVBF_INSN_LDQFI, model_fr450_ldqfi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105976 { FRVBF_INSN_NLDQFI, model_fr450_nldqfi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105977 { FRVBF_INSN_STB, model_fr450_stb, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105978 { FRVBF_INSN_STH, model_fr450_sth, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105979 { FRVBF_INSN_ST, model_fr450_st, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105980 { FRVBF_INSN_STBF, model_fr450_stbf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105981 { FRVBF_INSN_STHF, model_fr450_sthf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105982 { FRVBF_INSN_STF, model_fr450_stf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105983 { FRVBF_INSN_STC, model_fr450_stc, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105984 { FRVBF_INSN_STD, model_fr450_std, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105985 { FRVBF_INSN_STDF, model_fr450_stdf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105986 { FRVBF_INSN_STDC, model_fr450_stdc, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105987 { FRVBF_INSN_STQ, model_fr450_stq, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105988 { FRVBF_INSN_STQF, model_fr450_stqf, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105989 { FRVBF_INSN_STQC, model_fr450_stqc, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105990 { FRVBF_INSN_STBU, model_fr450_stbu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105991 { FRVBF_INSN_STHU, model_fr450_sthu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105992 { FRVBF_INSN_STU, model_fr450_stu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105993 { FRVBF_INSN_STBFU, model_fr450_stbfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105994 { FRVBF_INSN_STHFU, model_fr450_sthfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105995 { FRVBF_INSN_STFU, model_fr450_stfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105996 { FRVBF_INSN_STCU, model_fr450_stcu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
105997 { FRVBF_INSN_STDU, model_fr450_stdu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
105998 { FRVBF_INSN_STDFU, model_fr450_stdfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
105999 { FRVBF_INSN_STDCU, model_fr450_stdcu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106000 { FRVBF_INSN_STQU, model_fr450_stqu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106001 { FRVBF_INSN_STQFU, model_fr450_stqfu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106002 { FRVBF_INSN_STQCU, model_fr450_stqcu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106003 { FRVBF_INSN_CLDSB, model_fr450_cldsb, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106004 { FRVBF_INSN_CLDUB, model_fr450_cldub, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106005 { FRVBF_INSN_CLDSH, model_fr450_cldsh, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106006 { FRVBF_INSN_CLDUH, model_fr450_clduh, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106007 { FRVBF_INSN_CLD, model_fr450_cld, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106008 { FRVBF_INSN_CLDBF, model_fr450_cldbf, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
106009 { FRVBF_INSN_CLDHF, model_fr450_cldhf, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
106010 { FRVBF_INSN_CLDF, model_fr450_cldf, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
106011 { FRVBF_INSN_CLDD, model_fr450_cldd, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106012 { FRVBF_INSN_CLDDF, model_fr450_clddf, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106013 { FRVBF_INSN_CLDQ, model_fr450_cldq, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106014 { FRVBF_INSN_CLDSBU, model_fr450_cldsbu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106015 { FRVBF_INSN_CLDUBU, model_fr450_cldubu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106016 { FRVBF_INSN_CLDSHU, model_fr450_cldshu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106017 { FRVBF_INSN_CLDUHU, model_fr450_clduhu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106018 { FRVBF_INSN_CLDU, model_fr450_cldu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106019 { FRVBF_INSN_CLDBFU, model_fr450_cldbfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
106020 { FRVBF_INSN_CLDHFU, model_fr450_cldhfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
106021 { FRVBF_INSN_CLDFU, model_fr450_cldfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
106022 { FRVBF_INSN_CLDDU, model_fr450_clddu, { { (int) UNIT_FR450_U_GR_LOAD, 1, 1 } } },
106023 { FRVBF_INSN_CLDDFU, model_fr450_clddfu, { { (int) UNIT_FR450_U_FR_LOAD, 1, 1 } } },
106024 { FRVBF_INSN_CLDQU, model_fr450_cldqu, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106025 { FRVBF_INSN_CSTB, model_fr450_cstb, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106026 { FRVBF_INSN_CSTH, model_fr450_csth, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106027 { FRVBF_INSN_CST, model_fr450_cst, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106028 { FRVBF_INSN_CSTBF, model_fr450_cstbf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106029 { FRVBF_INSN_CSTHF, model_fr450_csthf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106030 { FRVBF_INSN_CSTF, model_fr450_cstf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106031 { FRVBF_INSN_CSTD, model_fr450_cstd, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106032 { FRVBF_INSN_CSTDF, model_fr450_cstdf, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106033 { FRVBF_INSN_CSTQ, model_fr450_cstq, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106034 { FRVBF_INSN_CSTBU, model_fr450_cstbu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106035 { FRVBF_INSN_CSTHU, model_fr450_csthu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106036 { FRVBF_INSN_CSTU, model_fr450_cstu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106037 { FRVBF_INSN_CSTBFU, model_fr450_cstbfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106038 { FRVBF_INSN_CSTHFU, model_fr450_csthfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106039 { FRVBF_INSN_CSTFU, model_fr450_cstfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106040 { FRVBF_INSN_CSTDU, model_fr450_cstdu, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106041 { FRVBF_INSN_CSTDFU, model_fr450_cstdfu, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106042 { FRVBF_INSN_STBI, model_fr450_stbi, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106043 { FRVBF_INSN_STHI, model_fr450_sthi, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106044 { FRVBF_INSN_STI, model_fr450_sti, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106045 { FRVBF_INSN_STBFI, model_fr450_stbfi, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106046 { FRVBF_INSN_STHFI, model_fr450_sthfi, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106047 { FRVBF_INSN_STFI, model_fr450_stfi, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106048 { FRVBF_INSN_STDI, model_fr450_stdi, { { (int) UNIT_FR450_U_GR_STORE, 1, 1 } } },
106049 { FRVBF_INSN_STDFI, model_fr450_stdfi, { { (int) UNIT_FR450_U_FR_STORE, 1, 1 } } },
106050 { FRVBF_INSN_STQI, model_fr450_stqi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106051 { FRVBF_INSN_STQFI, model_fr450_stqfi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106052 { FRVBF_INSN_SWAP, model_fr450_swap, { { (int) UNIT_FR450_U_SWAP, 1, 1 } } },
106053 { FRVBF_INSN_SWAPI, model_fr450_swapi, { { (int) UNIT_FR450_U_SWAP, 1, 1 } } },
106054 { FRVBF_INSN_CSWAP, model_fr450_cswap, { { (int) UNIT_FR450_U_SWAP, 1, 1 } } },
106055 { FRVBF_INSN_MOVGF, model_fr450_movgf, { { (int) UNIT_FR450_U_GR2FR, 1, 1 } } },
106056 { FRVBF_INSN_MOVFG, model_fr450_movfg, { { (int) UNIT_FR450_U_FR2GR, 1, 1 } } },
106057 { FRVBF_INSN_MOVGFD, model_fr450_movgfd, { { (int) UNIT_FR450_U_GR2FR, 1, 1 } } },
106058 { FRVBF_INSN_MOVFGD, model_fr450_movfgd, { { (int) UNIT_FR450_U_FR2GR, 1, 1 } } },
106059 { FRVBF_INSN_MOVGFQ, model_fr450_movgfq, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106060 { FRVBF_INSN_MOVFGQ, model_fr450_movfgq, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106061 { FRVBF_INSN_CMOVGF, model_fr450_cmovgf, { { (int) UNIT_FR450_U_GR2FR, 1, 1 } } },
106062 { FRVBF_INSN_CMOVFG, model_fr450_cmovfg, { { (int) UNIT_FR450_U_FR2GR, 1, 1 } } },
106063 { FRVBF_INSN_CMOVGFD, model_fr450_cmovgfd, { { (int) UNIT_FR450_U_GR2FR, 1, 1 } } },
106064 { FRVBF_INSN_CMOVFGD, model_fr450_cmovfgd, { { (int) UNIT_FR450_U_FR2GR, 1, 1 } } },
106065 { FRVBF_INSN_MOVGS, model_fr450_movgs, { { (int) UNIT_FR450_U_GR2SPR, 1, 1 } } },
106066 { FRVBF_INSN_MOVSG, model_fr450_movsg, { { (int) UNIT_FR450_U_SPR2GR, 1, 1 } } },
106067 { FRVBF_INSN_BRA, model_fr450_bra, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106068 { FRVBF_INSN_BNO, model_fr450_bno, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106069 { FRVBF_INSN_BEQ, model_fr450_beq, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106070 { FRVBF_INSN_BNE, model_fr450_bne, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106071 { FRVBF_INSN_BLE, model_fr450_ble, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106072 { FRVBF_INSN_BGT, model_fr450_bgt, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106073 { FRVBF_INSN_BLT, model_fr450_blt, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106074 { FRVBF_INSN_BGE, model_fr450_bge, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106075 { FRVBF_INSN_BLS, model_fr450_bls, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106076 { FRVBF_INSN_BHI, model_fr450_bhi, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106077 { FRVBF_INSN_BC, model_fr450_bc, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106078 { FRVBF_INSN_BNC, model_fr450_bnc, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106079 { FRVBF_INSN_BN, model_fr450_bn, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106080 { FRVBF_INSN_BP, model_fr450_bp, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106081 { FRVBF_INSN_BV, model_fr450_bv, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106082 { FRVBF_INSN_BNV, model_fr450_bnv, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106083 { FRVBF_INSN_FBRA, model_fr450_fbra, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106084 { FRVBF_INSN_FBNO, model_fr450_fbno, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106085 { FRVBF_INSN_FBNE, model_fr450_fbne, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106086 { FRVBF_INSN_FBEQ, model_fr450_fbeq, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106087 { FRVBF_INSN_FBLG, model_fr450_fblg, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106088 { FRVBF_INSN_FBUE, model_fr450_fbue, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106089 { FRVBF_INSN_FBUL, model_fr450_fbul, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106090 { FRVBF_INSN_FBGE, model_fr450_fbge, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106091 { FRVBF_INSN_FBLT, model_fr450_fblt, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106092 { FRVBF_INSN_FBUGE, model_fr450_fbuge, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106093 { FRVBF_INSN_FBUG, model_fr450_fbug, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106094 { FRVBF_INSN_FBLE, model_fr450_fble, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106095 { FRVBF_INSN_FBGT, model_fr450_fbgt, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106096 { FRVBF_INSN_FBULE, model_fr450_fbule, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106097 { FRVBF_INSN_FBU, model_fr450_fbu, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106098 { FRVBF_INSN_FBO, model_fr450_fbo, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106099 { FRVBF_INSN_BCTRLR, model_fr450_bctrlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106100 { FRVBF_INSN_BRALR, model_fr450_bralr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106101 { FRVBF_INSN_BNOLR, model_fr450_bnolr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106102 { FRVBF_INSN_BEQLR, model_fr450_beqlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106103 { FRVBF_INSN_BNELR, model_fr450_bnelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106104 { FRVBF_INSN_BLELR, model_fr450_blelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106105 { FRVBF_INSN_BGTLR, model_fr450_bgtlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106106 { FRVBF_INSN_BLTLR, model_fr450_bltlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106107 { FRVBF_INSN_BGELR, model_fr450_bgelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106108 { FRVBF_INSN_BLSLR, model_fr450_blslr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106109 { FRVBF_INSN_BHILR, model_fr450_bhilr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106110 { FRVBF_INSN_BCLR, model_fr450_bclr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106111 { FRVBF_INSN_BNCLR, model_fr450_bnclr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106112 { FRVBF_INSN_BNLR, model_fr450_bnlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106113 { FRVBF_INSN_BPLR, model_fr450_bplr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106114 { FRVBF_INSN_BVLR, model_fr450_bvlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106115 { FRVBF_INSN_BNVLR, model_fr450_bnvlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106116 { FRVBF_INSN_FBRALR, model_fr450_fbralr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106117 { FRVBF_INSN_FBNOLR, model_fr450_fbnolr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106118 { FRVBF_INSN_FBEQLR, model_fr450_fbeqlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106119 { FRVBF_INSN_FBNELR, model_fr450_fbnelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106120 { FRVBF_INSN_FBLGLR, model_fr450_fblglr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106121 { FRVBF_INSN_FBUELR, model_fr450_fbuelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106122 { FRVBF_INSN_FBULLR, model_fr450_fbullr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106123 { FRVBF_INSN_FBGELR, model_fr450_fbgelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106124 { FRVBF_INSN_FBLTLR, model_fr450_fbltlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106125 { FRVBF_INSN_FBUGELR, model_fr450_fbugelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106126 { FRVBF_INSN_FBUGLR, model_fr450_fbuglr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106127 { FRVBF_INSN_FBLELR, model_fr450_fblelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106128 { FRVBF_INSN_FBGTLR, model_fr450_fbgtlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106129 { FRVBF_INSN_FBULELR, model_fr450_fbulelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106130 { FRVBF_INSN_FBULR, model_fr450_fbulr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106131 { FRVBF_INSN_FBOLR, model_fr450_fbolr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106132 { FRVBF_INSN_BCRALR, model_fr450_bcralr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106133 { FRVBF_INSN_BCNOLR, model_fr450_bcnolr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106134 { FRVBF_INSN_BCEQLR, model_fr450_bceqlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106135 { FRVBF_INSN_BCNELR, model_fr450_bcnelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106136 { FRVBF_INSN_BCLELR, model_fr450_bclelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106137 { FRVBF_INSN_BCGTLR, model_fr450_bcgtlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106138 { FRVBF_INSN_BCLTLR, model_fr450_bcltlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106139 { FRVBF_INSN_BCGELR, model_fr450_bcgelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106140 { FRVBF_INSN_BCLSLR, model_fr450_bclslr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106141 { FRVBF_INSN_BCHILR, model_fr450_bchilr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106142 { FRVBF_INSN_BCCLR, model_fr450_bcclr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106143 { FRVBF_INSN_BCNCLR, model_fr450_bcnclr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106144 { FRVBF_INSN_BCNLR, model_fr450_bcnlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106145 { FRVBF_INSN_BCPLR, model_fr450_bcplr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106146 { FRVBF_INSN_BCVLR, model_fr450_bcvlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106147 { FRVBF_INSN_BCNVLR, model_fr450_bcnvlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106148 { FRVBF_INSN_FCBRALR, model_fr450_fcbralr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106149 { FRVBF_INSN_FCBNOLR, model_fr450_fcbnolr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106150 { FRVBF_INSN_FCBEQLR, model_fr450_fcbeqlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106151 { FRVBF_INSN_FCBNELR, model_fr450_fcbnelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106152 { FRVBF_INSN_FCBLGLR, model_fr450_fcblglr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106153 { FRVBF_INSN_FCBUELR, model_fr450_fcbuelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106154 { FRVBF_INSN_FCBULLR, model_fr450_fcbullr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106155 { FRVBF_INSN_FCBGELR, model_fr450_fcbgelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106156 { FRVBF_INSN_FCBLTLR, model_fr450_fcbltlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106157 { FRVBF_INSN_FCBUGELR, model_fr450_fcbugelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106158 { FRVBF_INSN_FCBUGLR, model_fr450_fcbuglr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106159 { FRVBF_INSN_FCBLELR, model_fr450_fcblelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106160 { FRVBF_INSN_FCBGTLR, model_fr450_fcbgtlr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106161 { FRVBF_INSN_FCBULELR, model_fr450_fcbulelr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106162 { FRVBF_INSN_FCBULR, model_fr450_fcbulr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106163 { FRVBF_INSN_FCBOLR, model_fr450_fcbolr, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106164 { FRVBF_INSN_JMPL, model_fr450_jmpl, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106165 { FRVBF_INSN_CALLL, model_fr450_calll, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106166 { FRVBF_INSN_JMPIL, model_fr450_jmpil, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106167 { FRVBF_INSN_CALLIL, model_fr450_callil, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106168 { FRVBF_INSN_CALL, model_fr450_call, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106169 { FRVBF_INSN_RETT, model_fr450_rett, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106170 { FRVBF_INSN_REI, model_fr450_rei, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106171 { FRVBF_INSN_TRA, model_fr450_tra, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106172 { FRVBF_INSN_TNO, model_fr450_tno, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106173 { FRVBF_INSN_TEQ, model_fr450_teq, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106174 { FRVBF_INSN_TNE, model_fr450_tne, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106175 { FRVBF_INSN_TLE, model_fr450_tle, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106176 { FRVBF_INSN_TGT, model_fr450_tgt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106177 { FRVBF_INSN_TLT, model_fr450_tlt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106178 { FRVBF_INSN_TGE, model_fr450_tge, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106179 { FRVBF_INSN_TLS, model_fr450_tls, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106180 { FRVBF_INSN_THI, model_fr450_thi, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106181 { FRVBF_INSN_TC, model_fr450_tc, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106182 { FRVBF_INSN_TNC, model_fr450_tnc, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106183 { FRVBF_INSN_TN, model_fr450_tn, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106184 { FRVBF_INSN_TP, model_fr450_tp, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106185 { FRVBF_INSN_TV, model_fr450_tv, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106186 { FRVBF_INSN_TNV, model_fr450_tnv, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106187 { FRVBF_INSN_FTRA, model_fr450_ftra, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106188 { FRVBF_INSN_FTNO, model_fr450_ftno, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106189 { FRVBF_INSN_FTNE, model_fr450_ftne, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106190 { FRVBF_INSN_FTEQ, model_fr450_fteq, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106191 { FRVBF_INSN_FTLG, model_fr450_ftlg, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106192 { FRVBF_INSN_FTUE, model_fr450_ftue, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106193 { FRVBF_INSN_FTUL, model_fr450_ftul, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106194 { FRVBF_INSN_FTGE, model_fr450_ftge, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106195 { FRVBF_INSN_FTLT, model_fr450_ftlt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106196 { FRVBF_INSN_FTUGE, model_fr450_ftuge, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106197 { FRVBF_INSN_FTUG, model_fr450_ftug, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106198 { FRVBF_INSN_FTLE, model_fr450_ftle, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106199 { FRVBF_INSN_FTGT, model_fr450_ftgt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106200 { FRVBF_INSN_FTULE, model_fr450_ftule, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106201 { FRVBF_INSN_FTU, model_fr450_ftu, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106202 { FRVBF_INSN_FTO, model_fr450_fto, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106203 { FRVBF_INSN_TIRA, model_fr450_tira, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106204 { FRVBF_INSN_TINO, model_fr450_tino, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106205 { FRVBF_INSN_TIEQ, model_fr450_tieq, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106206 { FRVBF_INSN_TINE, model_fr450_tine, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106207 { FRVBF_INSN_TILE, model_fr450_tile, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106208 { FRVBF_INSN_TIGT, model_fr450_tigt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106209 { FRVBF_INSN_TILT, model_fr450_tilt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106210 { FRVBF_INSN_TIGE, model_fr450_tige, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106211 { FRVBF_INSN_TILS, model_fr450_tils, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106212 { FRVBF_INSN_TIHI, model_fr450_tihi, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106213 { FRVBF_INSN_TIC, model_fr450_tic, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106214 { FRVBF_INSN_TINC, model_fr450_tinc, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106215 { FRVBF_INSN_TIN, model_fr450_tin, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106216 { FRVBF_INSN_TIP, model_fr450_tip, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106217 { FRVBF_INSN_TIV, model_fr450_tiv, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106218 { FRVBF_INSN_TINV, model_fr450_tinv, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106219 { FRVBF_INSN_FTIRA, model_fr450_ftira, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106220 { FRVBF_INSN_FTINO, model_fr450_ftino, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106221 { FRVBF_INSN_FTINE, model_fr450_ftine, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106222 { FRVBF_INSN_FTIEQ, model_fr450_ftieq, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106223 { FRVBF_INSN_FTILG, model_fr450_ftilg, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106224 { FRVBF_INSN_FTIUE, model_fr450_ftiue, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106225 { FRVBF_INSN_FTIUL, model_fr450_ftiul, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106226 { FRVBF_INSN_FTIGE, model_fr450_ftige, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106227 { FRVBF_INSN_FTILT, model_fr450_ftilt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106228 { FRVBF_INSN_FTIUGE, model_fr450_ftiuge, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106229 { FRVBF_INSN_FTIUG, model_fr450_ftiug, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106230 { FRVBF_INSN_FTILE, model_fr450_ftile, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106231 { FRVBF_INSN_FTIGT, model_fr450_ftigt, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106232 { FRVBF_INSN_FTIULE, model_fr450_ftiule, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106233 { FRVBF_INSN_FTIU, model_fr450_ftiu, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106234 { FRVBF_INSN_FTIO, model_fr450_ftio, { { (int) UNIT_FR450_U_TRAP, 1, 1 } } },
106235 { FRVBF_INSN_BREAK, model_fr450_break, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106236 { FRVBF_INSN_MTRAP, model_fr450_mtrap, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106237 { FRVBF_INSN_ANDCR, model_fr450_andcr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106238 { FRVBF_INSN_ORCR, model_fr450_orcr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106239 { FRVBF_INSN_XORCR, model_fr450_xorcr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106240 { FRVBF_INSN_NANDCR, model_fr450_nandcr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106241 { FRVBF_INSN_NORCR, model_fr450_norcr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106242 { FRVBF_INSN_ANDNCR, model_fr450_andncr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106243 { FRVBF_INSN_ORNCR, model_fr450_orncr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106244 { FRVBF_INSN_NANDNCR, model_fr450_nandncr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106245 { FRVBF_INSN_NORNCR, model_fr450_norncr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106246 { FRVBF_INSN_NOTCR, model_fr450_notcr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106247 { FRVBF_INSN_CKRA, model_fr450_ckra, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106248 { FRVBF_INSN_CKNO, model_fr450_ckno, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106249 { FRVBF_INSN_CKEQ, model_fr450_ckeq, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106250 { FRVBF_INSN_CKNE, model_fr450_ckne, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106251 { FRVBF_INSN_CKLE, model_fr450_ckle, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106252 { FRVBF_INSN_CKGT, model_fr450_ckgt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106253 { FRVBF_INSN_CKLT, model_fr450_cklt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106254 { FRVBF_INSN_CKGE, model_fr450_ckge, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106255 { FRVBF_INSN_CKLS, model_fr450_ckls, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106256 { FRVBF_INSN_CKHI, model_fr450_ckhi, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106257 { FRVBF_INSN_CKC, model_fr450_ckc, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106258 { FRVBF_INSN_CKNC, model_fr450_cknc, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106259 { FRVBF_INSN_CKN, model_fr450_ckn, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106260 { FRVBF_INSN_CKP, model_fr450_ckp, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106261 { FRVBF_INSN_CKV, model_fr450_ckv, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106262 { FRVBF_INSN_CKNV, model_fr450_cknv, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106263 { FRVBF_INSN_FCKRA, model_fr450_fckra, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106264 { FRVBF_INSN_FCKNO, model_fr450_fckno, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106265 { FRVBF_INSN_FCKNE, model_fr450_fckne, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106266 { FRVBF_INSN_FCKEQ, model_fr450_fckeq, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106267 { FRVBF_INSN_FCKLG, model_fr450_fcklg, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106268 { FRVBF_INSN_FCKUE, model_fr450_fckue, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106269 { FRVBF_INSN_FCKUL, model_fr450_fckul, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106270 { FRVBF_INSN_FCKGE, model_fr450_fckge, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106271 { FRVBF_INSN_FCKLT, model_fr450_fcklt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106272 { FRVBF_INSN_FCKUGE, model_fr450_fckuge, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106273 { FRVBF_INSN_FCKUG, model_fr450_fckug, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106274 { FRVBF_INSN_FCKLE, model_fr450_fckle, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106275 { FRVBF_INSN_FCKGT, model_fr450_fckgt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106276 { FRVBF_INSN_FCKULE, model_fr450_fckule, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106277 { FRVBF_INSN_FCKU, model_fr450_fcku, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106278 { FRVBF_INSN_FCKO, model_fr450_fcko, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106279 { FRVBF_INSN_CCKRA, model_fr450_cckra, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106280 { FRVBF_INSN_CCKNO, model_fr450_cckno, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106281 { FRVBF_INSN_CCKEQ, model_fr450_cckeq, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106282 { FRVBF_INSN_CCKNE, model_fr450_cckne, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106283 { FRVBF_INSN_CCKLE, model_fr450_cckle, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106284 { FRVBF_INSN_CCKGT, model_fr450_cckgt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106285 { FRVBF_INSN_CCKLT, model_fr450_ccklt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106286 { FRVBF_INSN_CCKGE, model_fr450_cckge, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106287 { FRVBF_INSN_CCKLS, model_fr450_cckls, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106288 { FRVBF_INSN_CCKHI, model_fr450_cckhi, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106289 { FRVBF_INSN_CCKC, model_fr450_cckc, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106290 { FRVBF_INSN_CCKNC, model_fr450_ccknc, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106291 { FRVBF_INSN_CCKN, model_fr450_cckn, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106292 { FRVBF_INSN_CCKP, model_fr450_cckp, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106293 { FRVBF_INSN_CCKV, model_fr450_cckv, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106294 { FRVBF_INSN_CCKNV, model_fr450_ccknv, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106295 { FRVBF_INSN_CFCKRA, model_fr450_cfckra, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106296 { FRVBF_INSN_CFCKNO, model_fr450_cfckno, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106297 { FRVBF_INSN_CFCKNE, model_fr450_cfckne, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106298 { FRVBF_INSN_CFCKEQ, model_fr450_cfckeq, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106299 { FRVBF_INSN_CFCKLG, model_fr450_cfcklg, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106300 { FRVBF_INSN_CFCKUE, model_fr450_cfckue, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106301 { FRVBF_INSN_CFCKUL, model_fr450_cfckul, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106302 { FRVBF_INSN_CFCKGE, model_fr450_cfckge, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106303 { FRVBF_INSN_CFCKLT, model_fr450_cfcklt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106304 { FRVBF_INSN_CFCKUGE, model_fr450_cfckuge, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106305 { FRVBF_INSN_CFCKUG, model_fr450_cfckug, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106306 { FRVBF_INSN_CFCKLE, model_fr450_cfckle, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106307 { FRVBF_INSN_CFCKGT, model_fr450_cfckgt, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106308 { FRVBF_INSN_CFCKULE, model_fr450_cfckule, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106309 { FRVBF_INSN_CFCKU, model_fr450_cfcku, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106310 { FRVBF_INSN_CFCKO, model_fr450_cfcko, { { (int) UNIT_FR450_U_CHECK, 1, 1 } } },
106311 { FRVBF_INSN_CJMPL, model_fr450_cjmpl, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106312 { FRVBF_INSN_CCALLL, model_fr450_ccalll, { { (int) UNIT_FR450_U_BRANCH, 1, 1 } } },
106313 { FRVBF_INSN_ICI, model_fr450_ici, { { (int) UNIT_FR450_U_ICI, 1, 1 } } },
106314 { FRVBF_INSN_DCI, model_fr450_dci, { { (int) UNIT_FR450_U_DCI, 1, 1 } } },
106315 { FRVBF_INSN_ICEI, model_fr450_icei, { { (int) UNIT_FR450_U_ICI, 1, 1 } } },
106316 { FRVBF_INSN_DCEI, model_fr450_dcei, { { (int) UNIT_FR450_U_DCI, 1, 1 } } },
106317 { FRVBF_INSN_DCF, model_fr450_dcf, { { (int) UNIT_FR450_U_DCF, 1, 1 } } },
106318 { FRVBF_INSN_DCEF, model_fr450_dcef, { { (int) UNIT_FR450_U_DCF, 1, 1 } } },
106319 { FRVBF_INSN_WITLB, model_fr450_witlb, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106320 { FRVBF_INSN_WDTLB, model_fr450_wdtlb, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106321 { FRVBF_INSN_ITLBI, model_fr450_itlbi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106322 { FRVBF_INSN_DTLBI, model_fr450_dtlbi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106323 { FRVBF_INSN_ICPL, model_fr450_icpl, { { (int) UNIT_FR450_U_ICPL, 1, 1 } } },
106324 { FRVBF_INSN_DCPL, model_fr450_dcpl, { { (int) UNIT_FR450_U_DCPL, 1, 1 } } },
106325 { FRVBF_INSN_ICUL, model_fr450_icul, { { (int) UNIT_FR450_U_ICUL, 1, 1 } } },
106326 { FRVBF_INSN_DCUL, model_fr450_dcul, { { (int) UNIT_FR450_U_DCUL, 1, 1 } } },
106327 { FRVBF_INSN_BAR, model_fr450_bar, { { (int) UNIT_FR450_U_BARRIER, 1, 1 } } },
106328 { FRVBF_INSN_MEMBAR, model_fr450_membar, { { (int) UNIT_FR450_U_MEMBAR, 1, 1 } } },
106329 { FRVBF_INSN_LRAI, model_fr450_lrai, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106330 { FRVBF_INSN_LRAD, model_fr450_lrad, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106331 { FRVBF_INSN_TLBPR, model_fr450_tlbpr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106332 { FRVBF_INSN_COP1, model_fr450_cop1, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106333 { FRVBF_INSN_COP2, model_fr450_cop2, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106334 { FRVBF_INSN_CLRGR, model_fr450_clrgr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106335 { FRVBF_INSN_CLRFR, model_fr450_clrfr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106336 { FRVBF_INSN_CLRGA, model_fr450_clrga, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106337 { FRVBF_INSN_CLRFA, model_fr450_clrfa, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106338 { FRVBF_INSN_COMMITGR, model_fr450_commitgr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106339 { FRVBF_INSN_COMMITFR, model_fr450_commitfr, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106340 { FRVBF_INSN_COMMITGA, model_fr450_commitga, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106341 { FRVBF_INSN_COMMITFA, model_fr450_commitfa, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106342 { FRVBF_INSN_FITOS, model_fr450_fitos, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106343 { FRVBF_INSN_FSTOI, model_fr450_fstoi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106344 { FRVBF_INSN_FITOD, model_fr450_fitod, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106345 { FRVBF_INSN_FDTOI, model_fr450_fdtoi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106346 { FRVBF_INSN_FDITOS, model_fr450_fditos, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106347 { FRVBF_INSN_FDSTOI, model_fr450_fdstoi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106348 { FRVBF_INSN_NFDITOS, model_fr450_nfditos, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106349 { FRVBF_INSN_NFDSTOI, model_fr450_nfdstoi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106350 { FRVBF_INSN_CFITOS, model_fr450_cfitos, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106351 { FRVBF_INSN_CFSTOI, model_fr450_cfstoi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106352 { FRVBF_INSN_NFITOS, model_fr450_nfitos, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106353 { FRVBF_INSN_NFSTOI, model_fr450_nfstoi, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106354 { FRVBF_INSN_FMOVS, model_fr450_fmovs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106355 { FRVBF_INSN_FMOVD, model_fr450_fmovd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106356 { FRVBF_INSN_FDMOVS, model_fr450_fdmovs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106357 { FRVBF_INSN_CFMOVS, model_fr450_cfmovs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106358 { FRVBF_INSN_FNEGS, model_fr450_fnegs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106359 { FRVBF_INSN_FNEGD, model_fr450_fnegd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106360 { FRVBF_INSN_FDNEGS, model_fr450_fdnegs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106361 { FRVBF_INSN_CFNEGS, model_fr450_cfnegs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106362 { FRVBF_INSN_FABSS, model_fr450_fabss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106363 { FRVBF_INSN_FABSD, model_fr450_fabsd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106364 { FRVBF_INSN_FDABSS, model_fr450_fdabss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106365 { FRVBF_INSN_CFABSS, model_fr450_cfabss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106366 { FRVBF_INSN_FSQRTS, model_fr450_fsqrts, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106367 { FRVBF_INSN_FDSQRTS, model_fr450_fdsqrts, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106368 { FRVBF_INSN_NFDSQRTS, model_fr450_nfdsqrts, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106369 { FRVBF_INSN_FSQRTD, model_fr450_fsqrtd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106370 { FRVBF_INSN_CFSQRTS, model_fr450_cfsqrts, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106371 { FRVBF_INSN_NFSQRTS, model_fr450_nfsqrts, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106372 { FRVBF_INSN_FADDS, model_fr450_fadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106373 { FRVBF_INSN_FSUBS, model_fr450_fsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106374 { FRVBF_INSN_FMULS, model_fr450_fmuls, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106375 { FRVBF_INSN_FDIVS, model_fr450_fdivs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106376 { FRVBF_INSN_FADDD, model_fr450_faddd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106377 { FRVBF_INSN_FSUBD, model_fr450_fsubd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106378 { FRVBF_INSN_FMULD, model_fr450_fmuld, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106379 { FRVBF_INSN_FDIVD, model_fr450_fdivd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106380 { FRVBF_INSN_CFADDS, model_fr450_cfadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106381 { FRVBF_INSN_CFSUBS, model_fr450_cfsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106382 { FRVBF_INSN_CFMULS, model_fr450_cfmuls, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106383 { FRVBF_INSN_CFDIVS, model_fr450_cfdivs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106384 { FRVBF_INSN_NFADDS, model_fr450_nfadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106385 { FRVBF_INSN_NFSUBS, model_fr450_nfsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106386 { FRVBF_INSN_NFMULS, model_fr450_nfmuls, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106387 { FRVBF_INSN_NFDIVS, model_fr450_nfdivs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106388 { FRVBF_INSN_FCMPS, model_fr450_fcmps, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106389 { FRVBF_INSN_FCMPD, model_fr450_fcmpd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106390 { FRVBF_INSN_CFCMPS, model_fr450_cfcmps, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106391 { FRVBF_INSN_FDCMPS, model_fr450_fdcmps, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106392 { FRVBF_INSN_FMADDS, model_fr450_fmadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106393 { FRVBF_INSN_FMSUBS, model_fr450_fmsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106394 { FRVBF_INSN_FMADDD, model_fr450_fmaddd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106395 { FRVBF_INSN_FMSUBD, model_fr450_fmsubd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106396 { FRVBF_INSN_FDMADDS, model_fr450_fdmadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106397 { FRVBF_INSN_NFDMADDS, model_fr450_nfdmadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106398 { FRVBF_INSN_CFMADDS, model_fr450_cfmadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106399 { FRVBF_INSN_CFMSUBS, model_fr450_cfmsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106400 { FRVBF_INSN_NFMADDS, model_fr450_nfmadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106401 { FRVBF_INSN_NFMSUBS, model_fr450_nfmsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106402 { FRVBF_INSN_FMAS, model_fr450_fmas, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106403 { FRVBF_INSN_FMSS, model_fr450_fmss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106404 { FRVBF_INSN_FDMAS, model_fr450_fdmas, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106405 { FRVBF_INSN_FDMSS, model_fr450_fdmss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106406 { FRVBF_INSN_NFDMAS, model_fr450_nfdmas, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106407 { FRVBF_INSN_NFDMSS, model_fr450_nfdmss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106408 { FRVBF_INSN_CFMAS, model_fr450_cfmas, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106409 { FRVBF_INSN_CFMSS, model_fr450_cfmss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106410 { FRVBF_INSN_FMAD, model_fr450_fmad, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106411 { FRVBF_INSN_FMSD, model_fr450_fmsd, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106412 { FRVBF_INSN_NFMAS, model_fr450_nfmas, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106413 { FRVBF_INSN_NFMSS, model_fr450_nfmss, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106414 { FRVBF_INSN_FDADDS, model_fr450_fdadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106415 { FRVBF_INSN_FDSUBS, model_fr450_fdsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106416 { FRVBF_INSN_FDMULS, model_fr450_fdmuls, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106417 { FRVBF_INSN_FDDIVS, model_fr450_fddivs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106418 { FRVBF_INSN_FDSADS, model_fr450_fdsads, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106419 { FRVBF_INSN_FDMULCS, model_fr450_fdmulcs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106420 { FRVBF_INSN_NFDMULCS, model_fr450_nfdmulcs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106421 { FRVBF_INSN_NFDADDS, model_fr450_nfdadds, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106422 { FRVBF_INSN_NFDSUBS, model_fr450_nfdsubs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106423 { FRVBF_INSN_NFDMULS, model_fr450_nfdmuls, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106424 { FRVBF_INSN_NFDDIVS, model_fr450_nfddivs, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106425 { FRVBF_INSN_NFDSADS, model_fr450_nfdsads, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106426 { FRVBF_INSN_NFDCMPS, model_fr450_nfdcmps, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106427 { FRVBF_INSN_MHSETLOS, model_fr450_mhsetlos, { { (int) UNIT_FR450_U_MEDIA_HILO, 1, 1 } } },
106428 { FRVBF_INSN_MHSETHIS, model_fr450_mhsethis, { { (int) UNIT_FR450_U_MEDIA_HILO, 1, 1 } } },
106429 { FRVBF_INSN_MHDSETS, model_fr450_mhdsets, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106430 { FRVBF_INSN_MHSETLOH, model_fr450_mhsetloh, { { (int) UNIT_FR450_U_MEDIA_HILO, 1, 1 } } },
106431 { FRVBF_INSN_MHSETHIH, model_fr450_mhsethih, { { (int) UNIT_FR450_U_MEDIA_HILO, 1, 1 } } },
106432 { FRVBF_INSN_MHDSETH, model_fr450_mhdseth, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106433 { FRVBF_INSN_MAND, model_fr450_mand, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106434 { FRVBF_INSN_MOR, model_fr450_mor, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106435 { FRVBF_INSN_MXOR, model_fr450_mxor, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106436 { FRVBF_INSN_CMAND, model_fr450_cmand, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106437 { FRVBF_INSN_CMOR, model_fr450_cmor, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106438 { FRVBF_INSN_CMXOR, model_fr450_cmxor, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106439 { FRVBF_INSN_MNOT, model_fr450_mnot, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106440 { FRVBF_INSN_CMNOT, model_fr450_cmnot, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106441 { FRVBF_INSN_MROTLI, model_fr450_mrotli, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106442 { FRVBF_INSN_MROTRI, model_fr450_mrotri, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106443 { FRVBF_INSN_MWCUT, model_fr450_mwcut, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106444 { FRVBF_INSN_MWCUTI, model_fr450_mwcuti, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106445 { FRVBF_INSN_MCUT, model_fr450_mcut, { { (int) UNIT_FR450_U_MEDIA_4, 1, 1 } } },
106446 { FRVBF_INSN_MCUTI, model_fr450_mcuti, { { (int) UNIT_FR450_U_MEDIA_4, 1, 1 } } },
106447 { FRVBF_INSN_MCUTSS, model_fr450_mcutss, { { (int) UNIT_FR450_U_MEDIA_4, 1, 1 } } },
106448 { FRVBF_INSN_MCUTSSI, model_fr450_mcutssi, { { (int) UNIT_FR450_U_MEDIA_4, 1, 1 } } },
106449 { FRVBF_INSN_MDCUTSSI, model_fr450_mdcutssi, { { (int) UNIT_FR450_U_MEDIA_4_ACC_DUAL, 1, 1 } } },
106450 { FRVBF_INSN_MAVEH, model_fr450_maveh, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106451 { FRVBF_INSN_MSLLHI, model_fr450_msllhi, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106452 { FRVBF_INSN_MSRLHI, model_fr450_msrlhi, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106453 { FRVBF_INSN_MSRAHI, model_fr450_msrahi, { { (int) UNIT_FR450_U_MEDIA_6, 1, 1 } } },
106454 { FRVBF_INSN_MDROTLI, model_fr450_mdrotli, { { (int) UNIT_FR450_U_MEDIA_3_QUAD, 1, 1 } } },
106455 { FRVBF_INSN_MCPLHI, model_fr450_mcplhi, { { (int) UNIT_FR450_U_MEDIA_3_DUAL, 1, 1 } } },
106456 { FRVBF_INSN_MCPLI, model_fr450_mcpli, { { (int) UNIT_FR450_U_MEDIA_3_DUAL, 1, 1 } } },
106457 { FRVBF_INSN_MSATHS, model_fr450_msaths, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106458 { FRVBF_INSN_MQSATHS, model_fr450_mqsaths, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106459 { FRVBF_INSN_MSATHU, model_fr450_msathu, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106460 { FRVBF_INSN_MCMPSH, model_fr450_mcmpsh, { { (int) UNIT_FR450_U_MEDIA_7, 1, 1 } } },
106461 { FRVBF_INSN_MCMPUH, model_fr450_mcmpuh, { { (int) UNIT_FR450_U_MEDIA_7, 1, 1 } } },
106462 { FRVBF_INSN_MABSHS, model_fr450_mabshs, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106463 { FRVBF_INSN_MADDHSS, model_fr450_maddhss, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106464 { FRVBF_INSN_MADDHUS, model_fr450_maddhus, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106465 { FRVBF_INSN_MSUBHSS, model_fr450_msubhss, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106466 { FRVBF_INSN_MSUBHUS, model_fr450_msubhus, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106467 { FRVBF_INSN_CMADDHSS, model_fr450_cmaddhss, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106468 { FRVBF_INSN_CMADDHUS, model_fr450_cmaddhus, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106469 { FRVBF_INSN_CMSUBHSS, model_fr450_cmsubhss, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106470 { FRVBF_INSN_CMSUBHUS, model_fr450_cmsubhus, { { (int) UNIT_FR450_U_MEDIA_1, 1, 1 } } },
106471 { FRVBF_INSN_MQADDHSS, model_fr450_mqaddhss, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106472 { FRVBF_INSN_MQADDHUS, model_fr450_mqaddhus, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106473 { FRVBF_INSN_MQSUBHSS, model_fr450_mqsubhss, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106474 { FRVBF_INSN_MQSUBHUS, model_fr450_mqsubhus, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106475 { FRVBF_INSN_CMQADDHSS, model_fr450_cmqaddhss, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106476 { FRVBF_INSN_CMQADDHUS, model_fr450_cmqaddhus, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106477 { FRVBF_INSN_CMQSUBHSS, model_fr450_cmqsubhss, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106478 { FRVBF_INSN_CMQSUBHUS, model_fr450_cmqsubhus, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106479 { FRVBF_INSN_MQLCLRHS, model_fr450_mqlclrhs, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106480 { FRVBF_INSN_MQLMTHS, model_fr450_mqlmths, { { (int) UNIT_FR450_U_MEDIA_1_QUAD, 1, 1 } } },
106481 { FRVBF_INSN_MQSLLHI, model_fr450_mqsllhi, { { (int) UNIT_FR450_U_MEDIA_3_QUAD, 1, 1 } } },
106482 { FRVBF_INSN_MQSRAHI, model_fr450_mqsrahi, { { (int) UNIT_FR450_U_MEDIA_3_QUAD, 1, 1 } } },
106483 { FRVBF_INSN_MADDACCS, model_fr450_maddaccs, { { (int) UNIT_FR450_U_MEDIA_2_ACC, 1, 1 } } },
106484 { FRVBF_INSN_MSUBACCS, model_fr450_msubaccs, { { (int) UNIT_FR450_U_MEDIA_2_ACC, 1, 1 } } },
106485 { FRVBF_INSN_MDADDACCS, model_fr450_mdaddaccs, { { (int) UNIT_FR450_U_MEDIA_2_ACC_DUAL, 1, 1 } } },
106486 { FRVBF_INSN_MDSUBACCS, model_fr450_mdsubaccs, { { (int) UNIT_FR450_U_MEDIA_2_ACC_DUAL, 1, 1 } } },
106487 { FRVBF_INSN_MASACCS, model_fr450_masaccs, { { (int) UNIT_FR450_U_MEDIA_2_ADD_SUB, 1, 1 } } },
106488 { FRVBF_INSN_MDASACCS, model_fr450_mdasaccs, { { (int) UNIT_FR450_U_MEDIA_2_ADD_SUB_DUAL, 1, 1 } } },
106489 { FRVBF_INSN_MMULHS, model_fr450_mmulhs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106490 { FRVBF_INSN_MMULHU, model_fr450_mmulhu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106491 { FRVBF_INSN_MMULXHS, model_fr450_mmulxhs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106492 { FRVBF_INSN_MMULXHU, model_fr450_mmulxhu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106493 { FRVBF_INSN_CMMULHS, model_fr450_cmmulhs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106494 { FRVBF_INSN_CMMULHU, model_fr450_cmmulhu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106495 { FRVBF_INSN_MQMULHS, model_fr450_mqmulhs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106496 { FRVBF_INSN_MQMULHU, model_fr450_mqmulhu, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106497 { FRVBF_INSN_MQMULXHS, model_fr450_mqmulxhs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106498 { FRVBF_INSN_MQMULXHU, model_fr450_mqmulxhu, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106499 { FRVBF_INSN_CMQMULHS, model_fr450_cmqmulhs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106500 { FRVBF_INSN_CMQMULHU, model_fr450_cmqmulhu, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106501 { FRVBF_INSN_MMACHS, model_fr450_mmachs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106502 { FRVBF_INSN_MMACHU, model_fr450_mmachu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106503 { FRVBF_INSN_MMRDHS, model_fr450_mmrdhs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106504 { FRVBF_INSN_MMRDHU, model_fr450_mmrdhu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106505 { FRVBF_INSN_CMMACHS, model_fr450_cmmachs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106506 { FRVBF_INSN_CMMACHU, model_fr450_cmmachu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106507 { FRVBF_INSN_MQMACHS, model_fr450_mqmachs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106508 { FRVBF_INSN_MQMACHU, model_fr450_mqmachu, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106509 { FRVBF_INSN_CMQMACHS, model_fr450_cmqmachs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106510 { FRVBF_INSN_CMQMACHU, model_fr450_cmqmachu, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106511 { FRVBF_INSN_MQXMACHS, model_fr450_mqxmachs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106512 { FRVBF_INSN_MQXMACXHS, model_fr450_mqxmacxhs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106513 { FRVBF_INSN_MQMACXHS, model_fr450_mqmacxhs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106514 { FRVBF_INSN_MCPXRS, model_fr450_mcpxrs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106515 { FRVBF_INSN_MCPXRU, model_fr450_mcpxru, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106516 { FRVBF_INSN_MCPXIS, model_fr450_mcpxis, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106517 { FRVBF_INSN_MCPXIU, model_fr450_mcpxiu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106518 { FRVBF_INSN_CMCPXRS, model_fr450_cmcpxrs, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106519 { FRVBF_INSN_CMCPXRU, model_fr450_cmcpxru, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106520 { FRVBF_INSN_CMCPXIS, model_fr450_cmcpxis, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106521 { FRVBF_INSN_CMCPXIU, model_fr450_cmcpxiu, { { (int) UNIT_FR450_U_MEDIA_2, 1, 1 } } },
106522 { FRVBF_INSN_MQCPXRS, model_fr450_mqcpxrs, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106523 { FRVBF_INSN_MQCPXRU, model_fr450_mqcpxru, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106524 { FRVBF_INSN_MQCPXIS, model_fr450_mqcpxis, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106525 { FRVBF_INSN_MQCPXIU, model_fr450_mqcpxiu, { { (int) UNIT_FR450_U_MEDIA_2_QUAD, 1, 1 } } },
106526 { FRVBF_INSN_MEXPDHW, model_fr450_mexpdhw, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106527 { FRVBF_INSN_CMEXPDHW, model_fr450_cmexpdhw, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106528 { FRVBF_INSN_MEXPDHD, model_fr450_mexpdhd, { { (int) UNIT_FR450_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
106529 { FRVBF_INSN_CMEXPDHD, model_fr450_cmexpdhd, { { (int) UNIT_FR450_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
106530 { FRVBF_INSN_MPACKH, model_fr450_mpackh, { { (int) UNIT_FR450_U_MEDIA_3, 1, 1 } } },
106531 { FRVBF_INSN_MDPACKH, model_fr450_mdpackh, { { (int) UNIT_FR450_U_MEDIA_3_QUAD, 1, 1 } } },
106532 { FRVBF_INSN_MUNPACKH, model_fr450_munpackh, { { (int) UNIT_FR450_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
106533 { FRVBF_INSN_MDUNPACKH, model_fr450_mdunpackh, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106534 { FRVBF_INSN_MBTOH, model_fr450_mbtoh, { { (int) UNIT_FR450_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
106535 { FRVBF_INSN_CMBTOH, model_fr450_cmbtoh, { { (int) UNIT_FR450_U_MEDIA_DUAL_EXPAND, 1, 1 } } },
106536 { FRVBF_INSN_MHTOB, model_fr450_mhtob, { { (int) UNIT_FR450_U_MEDIA_DUAL_HTOB, 1, 1 } } },
106537 { FRVBF_INSN_CMHTOB, model_fr450_cmhtob, { { (int) UNIT_FR450_U_MEDIA_DUAL_HTOB, 1, 1 } } },
106538 { FRVBF_INSN_MBTOHE, model_fr450_mbtohe, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106539 { FRVBF_INSN_CMBTOHE, model_fr450_cmbtohe, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106540 { FRVBF_INSN_MNOP, model_fr450_mnop, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106541 { FRVBF_INSN_MCLRACC_0, model_fr450_mclracc_0, { { (int) UNIT_FR450_U_MEDIA_4, 1, 1 } } },
106542 { FRVBF_INSN_MCLRACC_1, model_fr450_mclracc_1, { { (int) UNIT_FR450_U_MEDIA_4_MCLRACCA, 1, 1 } } },
106543 { FRVBF_INSN_MRDACC, model_fr450_mrdacc, { { (int) UNIT_FR450_U_MEDIA_4, 1, 1 } } },
106544 { FRVBF_INSN_MRDACCG, model_fr450_mrdaccg, { { (int) UNIT_FR450_U_MEDIA_4_ACCG, 1, 1 } } },
106545 { FRVBF_INSN_MWTACC, model_fr450_mwtacc, { { (int) UNIT_FR450_U_MEDIA_4, 1, 1 } } },
106546 { FRVBF_INSN_MWTACCG, model_fr450_mwtaccg, { { (int) UNIT_FR450_U_MEDIA_4_ACCG, 1, 1 } } },
106547 { FRVBF_INSN_MCOP1, model_fr450_mcop1, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106548 { FRVBF_INSN_MCOP2, model_fr450_mcop2, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106549 { FRVBF_INSN_FNOP, model_fr450_fnop, { { (int) UNIT_FR450_U_EXEC, 1, 1 } } },
106552 /* Model timing data for `simple'. */
106554 static const INSN_TIMING simple_timing[] = {
106555 { FRVBF_INSN_X_INVALID, 0, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106556 { FRVBF_INSN_X_AFTER, 0, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106557 { FRVBF_INSN_X_BEFORE, 0, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106558 { FRVBF_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106559 { FRVBF_INSN_X_CHAIN, 0, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106560 { FRVBF_INSN_X_BEGIN, 0, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106561 { FRVBF_INSN_ADD, model_simple_add, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106562 { FRVBF_INSN_SUB, model_simple_sub, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106563 { FRVBF_INSN_AND, model_simple_and, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106564 { FRVBF_INSN_OR, model_simple_or, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106565 { FRVBF_INSN_XOR, model_simple_xor, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106566 { FRVBF_INSN_NOT, model_simple_not, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106567 { FRVBF_INSN_SDIV, model_simple_sdiv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106568 { FRVBF_INSN_NSDIV, model_simple_nsdiv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106569 { FRVBF_INSN_UDIV, model_simple_udiv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106570 { FRVBF_INSN_NUDIV, model_simple_nudiv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106571 { FRVBF_INSN_SMUL, model_simple_smul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106572 { FRVBF_INSN_UMUL, model_simple_umul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106573 { FRVBF_INSN_SMU, model_simple_smu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106574 { FRVBF_INSN_SMASS, model_simple_smass, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106575 { FRVBF_INSN_SMSSS, model_simple_smsss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106576 { FRVBF_INSN_SLL, model_simple_sll, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106577 { FRVBF_INSN_SRL, model_simple_srl, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106578 { FRVBF_INSN_SRA, model_simple_sra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106579 { FRVBF_INSN_SLASS, model_simple_slass, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106580 { FRVBF_INSN_SCUTSS, model_simple_scutss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106581 { FRVBF_INSN_SCAN, model_simple_scan, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106582 { FRVBF_INSN_CADD, model_simple_cadd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106583 { FRVBF_INSN_CSUB, model_simple_csub, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106584 { FRVBF_INSN_CAND, model_simple_cand, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106585 { FRVBF_INSN_COR, model_simple_cor, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106586 { FRVBF_INSN_CXOR, model_simple_cxor, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106587 { FRVBF_INSN_CNOT, model_simple_cnot, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106588 { FRVBF_INSN_CSMUL, model_simple_csmul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106589 { FRVBF_INSN_CSDIV, model_simple_csdiv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106590 { FRVBF_INSN_CUDIV, model_simple_cudiv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106591 { FRVBF_INSN_CSLL, model_simple_csll, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106592 { FRVBF_INSN_CSRL, model_simple_csrl, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106593 { FRVBF_INSN_CSRA, model_simple_csra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106594 { FRVBF_INSN_CSCAN, model_simple_cscan, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106595 { FRVBF_INSN_ADDCC, model_simple_addcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106596 { FRVBF_INSN_SUBCC, model_simple_subcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106597 { FRVBF_INSN_ANDCC, model_simple_andcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106598 { FRVBF_INSN_ORCC, model_simple_orcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106599 { FRVBF_INSN_XORCC, model_simple_xorcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106600 { FRVBF_INSN_SLLCC, model_simple_sllcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106601 { FRVBF_INSN_SRLCC, model_simple_srlcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106602 { FRVBF_INSN_SRACC, model_simple_sracc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106603 { FRVBF_INSN_SMULCC, model_simple_smulcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106604 { FRVBF_INSN_UMULCC, model_simple_umulcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106605 { FRVBF_INSN_CADDCC, model_simple_caddcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106606 { FRVBF_INSN_CSUBCC, model_simple_csubcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106607 { FRVBF_INSN_CSMULCC, model_simple_csmulcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106608 { FRVBF_INSN_CANDCC, model_simple_candcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106609 { FRVBF_INSN_CORCC, model_simple_corcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106610 { FRVBF_INSN_CXORCC, model_simple_cxorcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106611 { FRVBF_INSN_CSLLCC, model_simple_csllcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106612 { FRVBF_INSN_CSRLCC, model_simple_csrlcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106613 { FRVBF_INSN_CSRACC, model_simple_csracc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106614 { FRVBF_INSN_ADDX, model_simple_addx, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106615 { FRVBF_INSN_SUBX, model_simple_subx, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106616 { FRVBF_INSN_ADDXCC, model_simple_addxcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106617 { FRVBF_INSN_SUBXCC, model_simple_subxcc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106618 { FRVBF_INSN_ADDSS, model_simple_addss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106619 { FRVBF_INSN_SUBSS, model_simple_subss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106620 { FRVBF_INSN_ADDI, model_simple_addi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106621 { FRVBF_INSN_SUBI, model_simple_subi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106622 { FRVBF_INSN_ANDI, model_simple_andi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106623 { FRVBF_INSN_ORI, model_simple_ori, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106624 { FRVBF_INSN_XORI, model_simple_xori, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106625 { FRVBF_INSN_SDIVI, model_simple_sdivi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106626 { FRVBF_INSN_NSDIVI, model_simple_nsdivi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106627 { FRVBF_INSN_UDIVI, model_simple_udivi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106628 { FRVBF_INSN_NUDIVI, model_simple_nudivi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106629 { FRVBF_INSN_SMULI, model_simple_smuli, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106630 { FRVBF_INSN_UMULI, model_simple_umuli, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106631 { FRVBF_INSN_SLLI, model_simple_slli, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106632 { FRVBF_INSN_SRLI, model_simple_srli, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106633 { FRVBF_INSN_SRAI, model_simple_srai, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106634 { FRVBF_INSN_SCANI, model_simple_scani, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106635 { FRVBF_INSN_ADDICC, model_simple_addicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106636 { FRVBF_INSN_SUBICC, model_simple_subicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106637 { FRVBF_INSN_ANDICC, model_simple_andicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106638 { FRVBF_INSN_ORICC, model_simple_oricc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106639 { FRVBF_INSN_XORICC, model_simple_xoricc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106640 { FRVBF_INSN_SMULICC, model_simple_smulicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106641 { FRVBF_INSN_UMULICC, model_simple_umulicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106642 { FRVBF_INSN_SLLICC, model_simple_sllicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106643 { FRVBF_INSN_SRLICC, model_simple_srlicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106644 { FRVBF_INSN_SRAICC, model_simple_sraicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106645 { FRVBF_INSN_ADDXI, model_simple_addxi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106646 { FRVBF_INSN_SUBXI, model_simple_subxi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106647 { FRVBF_INSN_ADDXICC, model_simple_addxicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106648 { FRVBF_INSN_SUBXICC, model_simple_subxicc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106649 { FRVBF_INSN_CMPB, model_simple_cmpb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106650 { FRVBF_INSN_CMPBA, model_simple_cmpba, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106651 { FRVBF_INSN_SETLO, model_simple_setlo, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106652 { FRVBF_INSN_SETHI, model_simple_sethi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106653 { FRVBF_INSN_SETLOS, model_simple_setlos, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106654 { FRVBF_INSN_LDSB, model_simple_ldsb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106655 { FRVBF_INSN_LDUB, model_simple_ldub, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106656 { FRVBF_INSN_LDSH, model_simple_ldsh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106657 { FRVBF_INSN_LDUH, model_simple_lduh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106658 { FRVBF_INSN_LD, model_simple_ld, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106659 { FRVBF_INSN_LDBF, model_simple_ldbf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106660 { FRVBF_INSN_LDHF, model_simple_ldhf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106661 { FRVBF_INSN_LDF, model_simple_ldf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106662 { FRVBF_INSN_LDC, model_simple_ldc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106663 { FRVBF_INSN_NLDSB, model_simple_nldsb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106664 { FRVBF_INSN_NLDUB, model_simple_nldub, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106665 { FRVBF_INSN_NLDSH, model_simple_nldsh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106666 { FRVBF_INSN_NLDUH, model_simple_nlduh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106667 { FRVBF_INSN_NLD, model_simple_nld, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106668 { FRVBF_INSN_NLDBF, model_simple_nldbf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106669 { FRVBF_INSN_NLDHF, model_simple_nldhf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106670 { FRVBF_INSN_NLDF, model_simple_nldf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106671 { FRVBF_INSN_LDD, model_simple_ldd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106672 { FRVBF_INSN_LDDF, model_simple_lddf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106673 { FRVBF_INSN_LDDC, model_simple_lddc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106674 { FRVBF_INSN_NLDD, model_simple_nldd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106675 { FRVBF_INSN_NLDDF, model_simple_nlddf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106676 { FRVBF_INSN_LDQ, model_simple_ldq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106677 { FRVBF_INSN_LDQF, model_simple_ldqf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106678 { FRVBF_INSN_LDQC, model_simple_ldqc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106679 { FRVBF_INSN_NLDQ, model_simple_nldq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106680 { FRVBF_INSN_NLDQF, model_simple_nldqf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106681 { FRVBF_INSN_LDSBU, model_simple_ldsbu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106682 { FRVBF_INSN_LDUBU, model_simple_ldubu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106683 { FRVBF_INSN_LDSHU, model_simple_ldshu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106684 { FRVBF_INSN_LDUHU, model_simple_lduhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106685 { FRVBF_INSN_LDU, model_simple_ldu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106686 { FRVBF_INSN_NLDSBU, model_simple_nldsbu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106687 { FRVBF_INSN_NLDUBU, model_simple_nldubu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106688 { FRVBF_INSN_NLDSHU, model_simple_nldshu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106689 { FRVBF_INSN_NLDUHU, model_simple_nlduhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106690 { FRVBF_INSN_NLDU, model_simple_nldu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106691 { FRVBF_INSN_LDBFU, model_simple_ldbfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106692 { FRVBF_INSN_LDHFU, model_simple_ldhfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106693 { FRVBF_INSN_LDFU, model_simple_ldfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106694 { FRVBF_INSN_LDCU, model_simple_ldcu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106695 { FRVBF_INSN_NLDBFU, model_simple_nldbfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106696 { FRVBF_INSN_NLDHFU, model_simple_nldhfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106697 { FRVBF_INSN_NLDFU, model_simple_nldfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106698 { FRVBF_INSN_LDDU, model_simple_lddu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106699 { FRVBF_INSN_NLDDU, model_simple_nlddu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106700 { FRVBF_INSN_LDDFU, model_simple_lddfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106701 { FRVBF_INSN_LDDCU, model_simple_lddcu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106702 { FRVBF_INSN_NLDDFU, model_simple_nlddfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106703 { FRVBF_INSN_LDQU, model_simple_ldqu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106704 { FRVBF_INSN_NLDQU, model_simple_nldqu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106705 { FRVBF_INSN_LDQFU, model_simple_ldqfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106706 { FRVBF_INSN_LDQCU, model_simple_ldqcu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106707 { FRVBF_INSN_NLDQFU, model_simple_nldqfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106708 { FRVBF_INSN_LDSBI, model_simple_ldsbi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106709 { FRVBF_INSN_LDSHI, model_simple_ldshi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106710 { FRVBF_INSN_LDI, model_simple_ldi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106711 { FRVBF_INSN_LDUBI, model_simple_ldubi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106712 { FRVBF_INSN_LDUHI, model_simple_lduhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106713 { FRVBF_INSN_LDBFI, model_simple_ldbfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106714 { FRVBF_INSN_LDHFI, model_simple_ldhfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106715 { FRVBF_INSN_LDFI, model_simple_ldfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106716 { FRVBF_INSN_NLDSBI, model_simple_nldsbi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106717 { FRVBF_INSN_NLDUBI, model_simple_nldubi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106718 { FRVBF_INSN_NLDSHI, model_simple_nldshi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106719 { FRVBF_INSN_NLDUHI, model_simple_nlduhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106720 { FRVBF_INSN_NLDI, model_simple_nldi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106721 { FRVBF_INSN_NLDBFI, model_simple_nldbfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106722 { FRVBF_INSN_NLDHFI, model_simple_nldhfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106723 { FRVBF_INSN_NLDFI, model_simple_nldfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106724 { FRVBF_INSN_LDDI, model_simple_lddi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106725 { FRVBF_INSN_LDDFI, model_simple_lddfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106726 { FRVBF_INSN_NLDDI, model_simple_nlddi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106727 { FRVBF_INSN_NLDDFI, model_simple_nlddfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106728 { FRVBF_INSN_LDQI, model_simple_ldqi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106729 { FRVBF_INSN_LDQFI, model_simple_ldqfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106730 { FRVBF_INSN_NLDQFI, model_simple_nldqfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106731 { FRVBF_INSN_STB, model_simple_stb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106732 { FRVBF_INSN_STH, model_simple_sth, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106733 { FRVBF_INSN_ST, model_simple_st, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106734 { FRVBF_INSN_STBF, model_simple_stbf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106735 { FRVBF_INSN_STHF, model_simple_sthf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106736 { FRVBF_INSN_STF, model_simple_stf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106737 { FRVBF_INSN_STC, model_simple_stc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106738 { FRVBF_INSN_STD, model_simple_std, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106739 { FRVBF_INSN_STDF, model_simple_stdf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106740 { FRVBF_INSN_STDC, model_simple_stdc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106741 { FRVBF_INSN_STQ, model_simple_stq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106742 { FRVBF_INSN_STQF, model_simple_stqf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106743 { FRVBF_INSN_STQC, model_simple_stqc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106744 { FRVBF_INSN_STBU, model_simple_stbu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106745 { FRVBF_INSN_STHU, model_simple_sthu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106746 { FRVBF_INSN_STU, model_simple_stu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106747 { FRVBF_INSN_STBFU, model_simple_stbfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106748 { FRVBF_INSN_STHFU, model_simple_sthfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106749 { FRVBF_INSN_STFU, model_simple_stfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106750 { FRVBF_INSN_STCU, model_simple_stcu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106751 { FRVBF_INSN_STDU, model_simple_stdu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106752 { FRVBF_INSN_STDFU, model_simple_stdfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106753 { FRVBF_INSN_STDCU, model_simple_stdcu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106754 { FRVBF_INSN_STQU, model_simple_stqu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106755 { FRVBF_INSN_STQFU, model_simple_stqfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106756 { FRVBF_INSN_STQCU, model_simple_stqcu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106757 { FRVBF_INSN_CLDSB, model_simple_cldsb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106758 { FRVBF_INSN_CLDUB, model_simple_cldub, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106759 { FRVBF_INSN_CLDSH, model_simple_cldsh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106760 { FRVBF_INSN_CLDUH, model_simple_clduh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106761 { FRVBF_INSN_CLD, model_simple_cld, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106762 { FRVBF_INSN_CLDBF, model_simple_cldbf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106763 { FRVBF_INSN_CLDHF, model_simple_cldhf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106764 { FRVBF_INSN_CLDF, model_simple_cldf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106765 { FRVBF_INSN_CLDD, model_simple_cldd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106766 { FRVBF_INSN_CLDDF, model_simple_clddf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106767 { FRVBF_INSN_CLDQ, model_simple_cldq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106768 { FRVBF_INSN_CLDSBU, model_simple_cldsbu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106769 { FRVBF_INSN_CLDUBU, model_simple_cldubu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106770 { FRVBF_INSN_CLDSHU, model_simple_cldshu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106771 { FRVBF_INSN_CLDUHU, model_simple_clduhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106772 { FRVBF_INSN_CLDU, model_simple_cldu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106773 { FRVBF_INSN_CLDBFU, model_simple_cldbfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106774 { FRVBF_INSN_CLDHFU, model_simple_cldhfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106775 { FRVBF_INSN_CLDFU, model_simple_cldfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106776 { FRVBF_INSN_CLDDU, model_simple_clddu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106777 { FRVBF_INSN_CLDDFU, model_simple_clddfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106778 { FRVBF_INSN_CLDQU, model_simple_cldqu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106779 { FRVBF_INSN_CSTB, model_simple_cstb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106780 { FRVBF_INSN_CSTH, model_simple_csth, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106781 { FRVBF_INSN_CST, model_simple_cst, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106782 { FRVBF_INSN_CSTBF, model_simple_cstbf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106783 { FRVBF_INSN_CSTHF, model_simple_csthf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106784 { FRVBF_INSN_CSTF, model_simple_cstf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106785 { FRVBF_INSN_CSTD, model_simple_cstd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106786 { FRVBF_INSN_CSTDF, model_simple_cstdf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106787 { FRVBF_INSN_CSTQ, model_simple_cstq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106788 { FRVBF_INSN_CSTBU, model_simple_cstbu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106789 { FRVBF_INSN_CSTHU, model_simple_csthu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106790 { FRVBF_INSN_CSTU, model_simple_cstu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106791 { FRVBF_INSN_CSTBFU, model_simple_cstbfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106792 { FRVBF_INSN_CSTHFU, model_simple_csthfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106793 { FRVBF_INSN_CSTFU, model_simple_cstfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106794 { FRVBF_INSN_CSTDU, model_simple_cstdu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106795 { FRVBF_INSN_CSTDFU, model_simple_cstdfu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106796 { FRVBF_INSN_STBI, model_simple_stbi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106797 { FRVBF_INSN_STHI, model_simple_sthi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106798 { FRVBF_INSN_STI, model_simple_sti, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106799 { FRVBF_INSN_STBFI, model_simple_stbfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106800 { FRVBF_INSN_STHFI, model_simple_sthfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106801 { FRVBF_INSN_STFI, model_simple_stfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106802 { FRVBF_INSN_STDI, model_simple_stdi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106803 { FRVBF_INSN_STDFI, model_simple_stdfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106804 { FRVBF_INSN_STQI, model_simple_stqi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106805 { FRVBF_INSN_STQFI, model_simple_stqfi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106806 { FRVBF_INSN_SWAP, model_simple_swap, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106807 { FRVBF_INSN_SWAPI, model_simple_swapi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106808 { FRVBF_INSN_CSWAP, model_simple_cswap, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106809 { FRVBF_INSN_MOVGF, model_simple_movgf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106810 { FRVBF_INSN_MOVFG, model_simple_movfg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106811 { FRVBF_INSN_MOVGFD, model_simple_movgfd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106812 { FRVBF_INSN_MOVFGD, model_simple_movfgd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106813 { FRVBF_INSN_MOVGFQ, model_simple_movgfq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106814 { FRVBF_INSN_MOVFGQ, model_simple_movfgq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106815 { FRVBF_INSN_CMOVGF, model_simple_cmovgf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106816 { FRVBF_INSN_CMOVFG, model_simple_cmovfg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106817 { FRVBF_INSN_CMOVGFD, model_simple_cmovgfd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106818 { FRVBF_INSN_CMOVFGD, model_simple_cmovfgd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106819 { FRVBF_INSN_MOVGS, model_simple_movgs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106820 { FRVBF_INSN_MOVSG, model_simple_movsg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106821 { FRVBF_INSN_BRA, model_simple_bra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106822 { FRVBF_INSN_BNO, model_simple_bno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106823 { FRVBF_INSN_BEQ, model_simple_beq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106824 { FRVBF_INSN_BNE, model_simple_bne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106825 { FRVBF_INSN_BLE, model_simple_ble, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106826 { FRVBF_INSN_BGT, model_simple_bgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106827 { FRVBF_INSN_BLT, model_simple_blt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106828 { FRVBF_INSN_BGE, model_simple_bge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106829 { FRVBF_INSN_BLS, model_simple_bls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106830 { FRVBF_INSN_BHI, model_simple_bhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106831 { FRVBF_INSN_BC, model_simple_bc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106832 { FRVBF_INSN_BNC, model_simple_bnc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106833 { FRVBF_INSN_BN, model_simple_bn, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106834 { FRVBF_INSN_BP, model_simple_bp, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106835 { FRVBF_INSN_BV, model_simple_bv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106836 { FRVBF_INSN_BNV, model_simple_bnv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106837 { FRVBF_INSN_FBRA, model_simple_fbra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106838 { FRVBF_INSN_FBNO, model_simple_fbno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106839 { FRVBF_INSN_FBNE, model_simple_fbne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106840 { FRVBF_INSN_FBEQ, model_simple_fbeq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106841 { FRVBF_INSN_FBLG, model_simple_fblg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106842 { FRVBF_INSN_FBUE, model_simple_fbue, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106843 { FRVBF_INSN_FBUL, model_simple_fbul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106844 { FRVBF_INSN_FBGE, model_simple_fbge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106845 { FRVBF_INSN_FBLT, model_simple_fblt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106846 { FRVBF_INSN_FBUGE, model_simple_fbuge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106847 { FRVBF_INSN_FBUG, model_simple_fbug, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106848 { FRVBF_INSN_FBLE, model_simple_fble, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106849 { FRVBF_INSN_FBGT, model_simple_fbgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106850 { FRVBF_INSN_FBULE, model_simple_fbule, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106851 { FRVBF_INSN_FBU, model_simple_fbu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106852 { FRVBF_INSN_FBO, model_simple_fbo, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106853 { FRVBF_INSN_BCTRLR, model_simple_bctrlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106854 { FRVBF_INSN_BRALR, model_simple_bralr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106855 { FRVBF_INSN_BNOLR, model_simple_bnolr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106856 { FRVBF_INSN_BEQLR, model_simple_beqlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106857 { FRVBF_INSN_BNELR, model_simple_bnelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106858 { FRVBF_INSN_BLELR, model_simple_blelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106859 { FRVBF_INSN_BGTLR, model_simple_bgtlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106860 { FRVBF_INSN_BLTLR, model_simple_bltlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106861 { FRVBF_INSN_BGELR, model_simple_bgelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106862 { FRVBF_INSN_BLSLR, model_simple_blslr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106863 { FRVBF_INSN_BHILR, model_simple_bhilr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106864 { FRVBF_INSN_BCLR, model_simple_bclr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106865 { FRVBF_INSN_BNCLR, model_simple_bnclr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106866 { FRVBF_INSN_BNLR, model_simple_bnlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106867 { FRVBF_INSN_BPLR, model_simple_bplr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106868 { FRVBF_INSN_BVLR, model_simple_bvlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106869 { FRVBF_INSN_BNVLR, model_simple_bnvlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106870 { FRVBF_INSN_FBRALR, model_simple_fbralr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106871 { FRVBF_INSN_FBNOLR, model_simple_fbnolr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106872 { FRVBF_INSN_FBEQLR, model_simple_fbeqlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106873 { FRVBF_INSN_FBNELR, model_simple_fbnelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106874 { FRVBF_INSN_FBLGLR, model_simple_fblglr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106875 { FRVBF_INSN_FBUELR, model_simple_fbuelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106876 { FRVBF_INSN_FBULLR, model_simple_fbullr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106877 { FRVBF_INSN_FBGELR, model_simple_fbgelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106878 { FRVBF_INSN_FBLTLR, model_simple_fbltlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106879 { FRVBF_INSN_FBUGELR, model_simple_fbugelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106880 { FRVBF_INSN_FBUGLR, model_simple_fbuglr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106881 { FRVBF_INSN_FBLELR, model_simple_fblelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106882 { FRVBF_INSN_FBGTLR, model_simple_fbgtlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106883 { FRVBF_INSN_FBULELR, model_simple_fbulelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106884 { FRVBF_INSN_FBULR, model_simple_fbulr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106885 { FRVBF_INSN_FBOLR, model_simple_fbolr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106886 { FRVBF_INSN_BCRALR, model_simple_bcralr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106887 { FRVBF_INSN_BCNOLR, model_simple_bcnolr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106888 { FRVBF_INSN_BCEQLR, model_simple_bceqlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106889 { FRVBF_INSN_BCNELR, model_simple_bcnelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106890 { FRVBF_INSN_BCLELR, model_simple_bclelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106891 { FRVBF_INSN_BCGTLR, model_simple_bcgtlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106892 { FRVBF_INSN_BCLTLR, model_simple_bcltlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106893 { FRVBF_INSN_BCGELR, model_simple_bcgelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106894 { FRVBF_INSN_BCLSLR, model_simple_bclslr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106895 { FRVBF_INSN_BCHILR, model_simple_bchilr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106896 { FRVBF_INSN_BCCLR, model_simple_bcclr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106897 { FRVBF_INSN_BCNCLR, model_simple_bcnclr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106898 { FRVBF_INSN_BCNLR, model_simple_bcnlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106899 { FRVBF_INSN_BCPLR, model_simple_bcplr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106900 { FRVBF_INSN_BCVLR, model_simple_bcvlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106901 { FRVBF_INSN_BCNVLR, model_simple_bcnvlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106902 { FRVBF_INSN_FCBRALR, model_simple_fcbralr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106903 { FRVBF_INSN_FCBNOLR, model_simple_fcbnolr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106904 { FRVBF_INSN_FCBEQLR, model_simple_fcbeqlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106905 { FRVBF_INSN_FCBNELR, model_simple_fcbnelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106906 { FRVBF_INSN_FCBLGLR, model_simple_fcblglr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106907 { FRVBF_INSN_FCBUELR, model_simple_fcbuelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106908 { FRVBF_INSN_FCBULLR, model_simple_fcbullr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106909 { FRVBF_INSN_FCBGELR, model_simple_fcbgelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106910 { FRVBF_INSN_FCBLTLR, model_simple_fcbltlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106911 { FRVBF_INSN_FCBUGELR, model_simple_fcbugelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106912 { FRVBF_INSN_FCBUGLR, model_simple_fcbuglr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106913 { FRVBF_INSN_FCBLELR, model_simple_fcblelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106914 { FRVBF_INSN_FCBGTLR, model_simple_fcbgtlr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106915 { FRVBF_INSN_FCBULELR, model_simple_fcbulelr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106916 { FRVBF_INSN_FCBULR, model_simple_fcbulr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106917 { FRVBF_INSN_FCBOLR, model_simple_fcbolr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106918 { FRVBF_INSN_JMPL, model_simple_jmpl, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106919 { FRVBF_INSN_CALLL, model_simple_calll, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106920 { FRVBF_INSN_JMPIL, model_simple_jmpil, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106921 { FRVBF_INSN_CALLIL, model_simple_callil, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106922 { FRVBF_INSN_CALL, model_simple_call, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106923 { FRVBF_INSN_RETT, model_simple_rett, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106924 { FRVBF_INSN_REI, model_simple_rei, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106925 { FRVBF_INSN_TRA, model_simple_tra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106926 { FRVBF_INSN_TNO, model_simple_tno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106927 { FRVBF_INSN_TEQ, model_simple_teq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106928 { FRVBF_INSN_TNE, model_simple_tne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106929 { FRVBF_INSN_TLE, model_simple_tle, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106930 { FRVBF_INSN_TGT, model_simple_tgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106931 { FRVBF_INSN_TLT, model_simple_tlt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106932 { FRVBF_INSN_TGE, model_simple_tge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106933 { FRVBF_INSN_TLS, model_simple_tls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106934 { FRVBF_INSN_THI, model_simple_thi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106935 { FRVBF_INSN_TC, model_simple_tc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106936 { FRVBF_INSN_TNC, model_simple_tnc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106937 { FRVBF_INSN_TN, model_simple_tn, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106938 { FRVBF_INSN_TP, model_simple_tp, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106939 { FRVBF_INSN_TV, model_simple_tv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106940 { FRVBF_INSN_TNV, model_simple_tnv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106941 { FRVBF_INSN_FTRA, model_simple_ftra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106942 { FRVBF_INSN_FTNO, model_simple_ftno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106943 { FRVBF_INSN_FTNE, model_simple_ftne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106944 { FRVBF_INSN_FTEQ, model_simple_fteq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106945 { FRVBF_INSN_FTLG, model_simple_ftlg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106946 { FRVBF_INSN_FTUE, model_simple_ftue, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106947 { FRVBF_INSN_FTUL, model_simple_ftul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106948 { FRVBF_INSN_FTGE, model_simple_ftge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106949 { FRVBF_INSN_FTLT, model_simple_ftlt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106950 { FRVBF_INSN_FTUGE, model_simple_ftuge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106951 { FRVBF_INSN_FTUG, model_simple_ftug, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106952 { FRVBF_INSN_FTLE, model_simple_ftle, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106953 { FRVBF_INSN_FTGT, model_simple_ftgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106954 { FRVBF_INSN_FTULE, model_simple_ftule, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106955 { FRVBF_INSN_FTU, model_simple_ftu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106956 { FRVBF_INSN_FTO, model_simple_fto, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106957 { FRVBF_INSN_TIRA, model_simple_tira, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106958 { FRVBF_INSN_TINO, model_simple_tino, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106959 { FRVBF_INSN_TIEQ, model_simple_tieq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106960 { FRVBF_INSN_TINE, model_simple_tine, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106961 { FRVBF_INSN_TILE, model_simple_tile, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106962 { FRVBF_INSN_TIGT, model_simple_tigt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106963 { FRVBF_INSN_TILT, model_simple_tilt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106964 { FRVBF_INSN_TIGE, model_simple_tige, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106965 { FRVBF_INSN_TILS, model_simple_tils, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106966 { FRVBF_INSN_TIHI, model_simple_tihi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106967 { FRVBF_INSN_TIC, model_simple_tic, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106968 { FRVBF_INSN_TINC, model_simple_tinc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106969 { FRVBF_INSN_TIN, model_simple_tin, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106970 { FRVBF_INSN_TIP, model_simple_tip, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106971 { FRVBF_INSN_TIV, model_simple_tiv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106972 { FRVBF_INSN_TINV, model_simple_tinv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106973 { FRVBF_INSN_FTIRA, model_simple_ftira, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106974 { FRVBF_INSN_FTINO, model_simple_ftino, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106975 { FRVBF_INSN_FTINE, model_simple_ftine, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106976 { FRVBF_INSN_FTIEQ, model_simple_ftieq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106977 { FRVBF_INSN_FTILG, model_simple_ftilg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106978 { FRVBF_INSN_FTIUE, model_simple_ftiue, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106979 { FRVBF_INSN_FTIUL, model_simple_ftiul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106980 { FRVBF_INSN_FTIGE, model_simple_ftige, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106981 { FRVBF_INSN_FTILT, model_simple_ftilt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106982 { FRVBF_INSN_FTIUGE, model_simple_ftiuge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106983 { FRVBF_INSN_FTIUG, model_simple_ftiug, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106984 { FRVBF_INSN_FTILE, model_simple_ftile, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106985 { FRVBF_INSN_FTIGT, model_simple_ftigt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106986 { FRVBF_INSN_FTIULE, model_simple_ftiule, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106987 { FRVBF_INSN_FTIU, model_simple_ftiu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106988 { FRVBF_INSN_FTIO, model_simple_ftio, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106989 { FRVBF_INSN_BREAK, model_simple_break, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106990 { FRVBF_INSN_MTRAP, model_simple_mtrap, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106991 { FRVBF_INSN_ANDCR, model_simple_andcr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106992 { FRVBF_INSN_ORCR, model_simple_orcr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106993 { FRVBF_INSN_XORCR, model_simple_xorcr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106994 { FRVBF_INSN_NANDCR, model_simple_nandcr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106995 { FRVBF_INSN_NORCR, model_simple_norcr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106996 { FRVBF_INSN_ANDNCR, model_simple_andncr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106997 { FRVBF_INSN_ORNCR, model_simple_orncr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106998 { FRVBF_INSN_NANDNCR, model_simple_nandncr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
106999 { FRVBF_INSN_NORNCR, model_simple_norncr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107000 { FRVBF_INSN_NOTCR, model_simple_notcr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107001 { FRVBF_INSN_CKRA, model_simple_ckra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107002 { FRVBF_INSN_CKNO, model_simple_ckno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107003 { FRVBF_INSN_CKEQ, model_simple_ckeq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107004 { FRVBF_INSN_CKNE, model_simple_ckne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107005 { FRVBF_INSN_CKLE, model_simple_ckle, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107006 { FRVBF_INSN_CKGT, model_simple_ckgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107007 { FRVBF_INSN_CKLT, model_simple_cklt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107008 { FRVBF_INSN_CKGE, model_simple_ckge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107009 { FRVBF_INSN_CKLS, model_simple_ckls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107010 { FRVBF_INSN_CKHI, model_simple_ckhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107011 { FRVBF_INSN_CKC, model_simple_ckc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107012 { FRVBF_INSN_CKNC, model_simple_cknc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107013 { FRVBF_INSN_CKN, model_simple_ckn, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107014 { FRVBF_INSN_CKP, model_simple_ckp, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107015 { FRVBF_INSN_CKV, model_simple_ckv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107016 { FRVBF_INSN_CKNV, model_simple_cknv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107017 { FRVBF_INSN_FCKRA, model_simple_fckra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107018 { FRVBF_INSN_FCKNO, model_simple_fckno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107019 { FRVBF_INSN_FCKNE, model_simple_fckne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107020 { FRVBF_INSN_FCKEQ, model_simple_fckeq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107021 { FRVBF_INSN_FCKLG, model_simple_fcklg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107022 { FRVBF_INSN_FCKUE, model_simple_fckue, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107023 { FRVBF_INSN_FCKUL, model_simple_fckul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107024 { FRVBF_INSN_FCKGE, model_simple_fckge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107025 { FRVBF_INSN_FCKLT, model_simple_fcklt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107026 { FRVBF_INSN_FCKUGE, model_simple_fckuge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107027 { FRVBF_INSN_FCKUG, model_simple_fckug, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107028 { FRVBF_INSN_FCKLE, model_simple_fckle, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107029 { FRVBF_INSN_FCKGT, model_simple_fckgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107030 { FRVBF_INSN_FCKULE, model_simple_fckule, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107031 { FRVBF_INSN_FCKU, model_simple_fcku, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107032 { FRVBF_INSN_FCKO, model_simple_fcko, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107033 { FRVBF_INSN_CCKRA, model_simple_cckra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107034 { FRVBF_INSN_CCKNO, model_simple_cckno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107035 { FRVBF_INSN_CCKEQ, model_simple_cckeq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107036 { FRVBF_INSN_CCKNE, model_simple_cckne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107037 { FRVBF_INSN_CCKLE, model_simple_cckle, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107038 { FRVBF_INSN_CCKGT, model_simple_cckgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107039 { FRVBF_INSN_CCKLT, model_simple_ccklt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107040 { FRVBF_INSN_CCKGE, model_simple_cckge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107041 { FRVBF_INSN_CCKLS, model_simple_cckls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107042 { FRVBF_INSN_CCKHI, model_simple_cckhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107043 { FRVBF_INSN_CCKC, model_simple_cckc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107044 { FRVBF_INSN_CCKNC, model_simple_ccknc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107045 { FRVBF_INSN_CCKN, model_simple_cckn, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107046 { FRVBF_INSN_CCKP, model_simple_cckp, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107047 { FRVBF_INSN_CCKV, model_simple_cckv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107048 { FRVBF_INSN_CCKNV, model_simple_ccknv, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107049 { FRVBF_INSN_CFCKRA, model_simple_cfckra, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107050 { FRVBF_INSN_CFCKNO, model_simple_cfckno, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107051 { FRVBF_INSN_CFCKNE, model_simple_cfckne, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107052 { FRVBF_INSN_CFCKEQ, model_simple_cfckeq, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107053 { FRVBF_INSN_CFCKLG, model_simple_cfcklg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107054 { FRVBF_INSN_CFCKUE, model_simple_cfckue, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107055 { FRVBF_INSN_CFCKUL, model_simple_cfckul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107056 { FRVBF_INSN_CFCKGE, model_simple_cfckge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107057 { FRVBF_INSN_CFCKLT, model_simple_cfcklt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107058 { FRVBF_INSN_CFCKUGE, model_simple_cfckuge, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107059 { FRVBF_INSN_CFCKUG, model_simple_cfckug, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107060 { FRVBF_INSN_CFCKLE, model_simple_cfckle, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107061 { FRVBF_INSN_CFCKGT, model_simple_cfckgt, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107062 { FRVBF_INSN_CFCKULE, model_simple_cfckule, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107063 { FRVBF_INSN_CFCKU, model_simple_cfcku, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107064 { FRVBF_INSN_CFCKO, model_simple_cfcko, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107065 { FRVBF_INSN_CJMPL, model_simple_cjmpl, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107066 { FRVBF_INSN_CCALLL, model_simple_ccalll, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107067 { FRVBF_INSN_ICI, model_simple_ici, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107068 { FRVBF_INSN_DCI, model_simple_dci, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107069 { FRVBF_INSN_ICEI, model_simple_icei, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107070 { FRVBF_INSN_DCEI, model_simple_dcei, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107071 { FRVBF_INSN_DCF, model_simple_dcf, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107072 { FRVBF_INSN_DCEF, model_simple_dcef, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107073 { FRVBF_INSN_WITLB, model_simple_witlb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107074 { FRVBF_INSN_WDTLB, model_simple_wdtlb, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107075 { FRVBF_INSN_ITLBI, model_simple_itlbi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107076 { FRVBF_INSN_DTLBI, model_simple_dtlbi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107077 { FRVBF_INSN_ICPL, model_simple_icpl, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107078 { FRVBF_INSN_DCPL, model_simple_dcpl, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107079 { FRVBF_INSN_ICUL, model_simple_icul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107080 { FRVBF_INSN_DCUL, model_simple_dcul, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107081 { FRVBF_INSN_BAR, model_simple_bar, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107082 { FRVBF_INSN_MEMBAR, model_simple_membar, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107083 { FRVBF_INSN_LRAI, model_simple_lrai, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107084 { FRVBF_INSN_LRAD, model_simple_lrad, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107085 { FRVBF_INSN_TLBPR, model_simple_tlbpr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107086 { FRVBF_INSN_COP1, model_simple_cop1, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107087 { FRVBF_INSN_COP2, model_simple_cop2, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107088 { FRVBF_INSN_CLRGR, model_simple_clrgr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107089 { FRVBF_INSN_CLRFR, model_simple_clrfr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107090 { FRVBF_INSN_CLRGA, model_simple_clrga, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107091 { FRVBF_INSN_CLRFA, model_simple_clrfa, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107092 { FRVBF_INSN_COMMITGR, model_simple_commitgr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107093 { FRVBF_INSN_COMMITFR, model_simple_commitfr, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107094 { FRVBF_INSN_COMMITGA, model_simple_commitga, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107095 { FRVBF_INSN_COMMITFA, model_simple_commitfa, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107096 { FRVBF_INSN_FITOS, model_simple_fitos, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107097 { FRVBF_INSN_FSTOI, model_simple_fstoi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107098 { FRVBF_INSN_FITOD, model_simple_fitod, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107099 { FRVBF_INSN_FDTOI, model_simple_fdtoi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107100 { FRVBF_INSN_FDITOS, model_simple_fditos, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107101 { FRVBF_INSN_FDSTOI, model_simple_fdstoi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107102 { FRVBF_INSN_NFDITOS, model_simple_nfditos, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107103 { FRVBF_INSN_NFDSTOI, model_simple_nfdstoi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107104 { FRVBF_INSN_CFITOS, model_simple_cfitos, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107105 { FRVBF_INSN_CFSTOI, model_simple_cfstoi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107106 { FRVBF_INSN_NFITOS, model_simple_nfitos, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107107 { FRVBF_INSN_NFSTOI, model_simple_nfstoi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107108 { FRVBF_INSN_FMOVS, model_simple_fmovs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107109 { FRVBF_INSN_FMOVD, model_simple_fmovd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107110 { FRVBF_INSN_FDMOVS, model_simple_fdmovs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107111 { FRVBF_INSN_CFMOVS, model_simple_cfmovs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107112 { FRVBF_INSN_FNEGS, model_simple_fnegs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107113 { FRVBF_INSN_FNEGD, model_simple_fnegd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107114 { FRVBF_INSN_FDNEGS, model_simple_fdnegs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107115 { FRVBF_INSN_CFNEGS, model_simple_cfnegs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107116 { FRVBF_INSN_FABSS, model_simple_fabss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107117 { FRVBF_INSN_FABSD, model_simple_fabsd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107118 { FRVBF_INSN_FDABSS, model_simple_fdabss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107119 { FRVBF_INSN_CFABSS, model_simple_cfabss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107120 { FRVBF_INSN_FSQRTS, model_simple_fsqrts, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107121 { FRVBF_INSN_FDSQRTS, model_simple_fdsqrts, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107122 { FRVBF_INSN_NFDSQRTS, model_simple_nfdsqrts, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107123 { FRVBF_INSN_FSQRTD, model_simple_fsqrtd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107124 { FRVBF_INSN_CFSQRTS, model_simple_cfsqrts, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107125 { FRVBF_INSN_NFSQRTS, model_simple_nfsqrts, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107126 { FRVBF_INSN_FADDS, model_simple_fadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107127 { FRVBF_INSN_FSUBS, model_simple_fsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107128 { FRVBF_INSN_FMULS, model_simple_fmuls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107129 { FRVBF_INSN_FDIVS, model_simple_fdivs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107130 { FRVBF_INSN_FADDD, model_simple_faddd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107131 { FRVBF_INSN_FSUBD, model_simple_fsubd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107132 { FRVBF_INSN_FMULD, model_simple_fmuld, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107133 { FRVBF_INSN_FDIVD, model_simple_fdivd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107134 { FRVBF_INSN_CFADDS, model_simple_cfadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107135 { FRVBF_INSN_CFSUBS, model_simple_cfsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107136 { FRVBF_INSN_CFMULS, model_simple_cfmuls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107137 { FRVBF_INSN_CFDIVS, model_simple_cfdivs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107138 { FRVBF_INSN_NFADDS, model_simple_nfadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107139 { FRVBF_INSN_NFSUBS, model_simple_nfsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107140 { FRVBF_INSN_NFMULS, model_simple_nfmuls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107141 { FRVBF_INSN_NFDIVS, model_simple_nfdivs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107142 { FRVBF_INSN_FCMPS, model_simple_fcmps, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107143 { FRVBF_INSN_FCMPD, model_simple_fcmpd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107144 { FRVBF_INSN_CFCMPS, model_simple_cfcmps, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107145 { FRVBF_INSN_FDCMPS, model_simple_fdcmps, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107146 { FRVBF_INSN_FMADDS, model_simple_fmadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107147 { FRVBF_INSN_FMSUBS, model_simple_fmsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107148 { FRVBF_INSN_FMADDD, model_simple_fmaddd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107149 { FRVBF_INSN_FMSUBD, model_simple_fmsubd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107150 { FRVBF_INSN_FDMADDS, model_simple_fdmadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107151 { FRVBF_INSN_NFDMADDS, model_simple_nfdmadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107152 { FRVBF_INSN_CFMADDS, model_simple_cfmadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107153 { FRVBF_INSN_CFMSUBS, model_simple_cfmsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107154 { FRVBF_INSN_NFMADDS, model_simple_nfmadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107155 { FRVBF_INSN_NFMSUBS, model_simple_nfmsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107156 { FRVBF_INSN_FMAS, model_simple_fmas, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107157 { FRVBF_INSN_FMSS, model_simple_fmss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107158 { FRVBF_INSN_FDMAS, model_simple_fdmas, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107159 { FRVBF_INSN_FDMSS, model_simple_fdmss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107160 { FRVBF_INSN_NFDMAS, model_simple_nfdmas, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107161 { FRVBF_INSN_NFDMSS, model_simple_nfdmss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107162 { FRVBF_INSN_CFMAS, model_simple_cfmas, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107163 { FRVBF_INSN_CFMSS, model_simple_cfmss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107164 { FRVBF_INSN_FMAD, model_simple_fmad, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107165 { FRVBF_INSN_FMSD, model_simple_fmsd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107166 { FRVBF_INSN_NFMAS, model_simple_nfmas, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107167 { FRVBF_INSN_NFMSS, model_simple_nfmss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107168 { FRVBF_INSN_FDADDS, model_simple_fdadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107169 { FRVBF_INSN_FDSUBS, model_simple_fdsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107170 { FRVBF_INSN_FDMULS, model_simple_fdmuls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107171 { FRVBF_INSN_FDDIVS, model_simple_fddivs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107172 { FRVBF_INSN_FDSADS, model_simple_fdsads, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107173 { FRVBF_INSN_FDMULCS, model_simple_fdmulcs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107174 { FRVBF_INSN_NFDMULCS, model_simple_nfdmulcs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107175 { FRVBF_INSN_NFDADDS, model_simple_nfdadds, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107176 { FRVBF_INSN_NFDSUBS, model_simple_nfdsubs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107177 { FRVBF_INSN_NFDMULS, model_simple_nfdmuls, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107178 { FRVBF_INSN_NFDDIVS, model_simple_nfddivs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107179 { FRVBF_INSN_NFDSADS, model_simple_nfdsads, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107180 { FRVBF_INSN_NFDCMPS, model_simple_nfdcmps, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107181 { FRVBF_INSN_MHSETLOS, model_simple_mhsetlos, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107182 { FRVBF_INSN_MHSETHIS, model_simple_mhsethis, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107183 { FRVBF_INSN_MHDSETS, model_simple_mhdsets, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107184 { FRVBF_INSN_MHSETLOH, model_simple_mhsetloh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107185 { FRVBF_INSN_MHSETHIH, model_simple_mhsethih, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107186 { FRVBF_INSN_MHDSETH, model_simple_mhdseth, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107187 { FRVBF_INSN_MAND, model_simple_mand, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107188 { FRVBF_INSN_MOR, model_simple_mor, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107189 { FRVBF_INSN_MXOR, model_simple_mxor, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107190 { FRVBF_INSN_CMAND, model_simple_cmand, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107191 { FRVBF_INSN_CMOR, model_simple_cmor, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107192 { FRVBF_INSN_CMXOR, model_simple_cmxor, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107193 { FRVBF_INSN_MNOT, model_simple_mnot, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107194 { FRVBF_INSN_CMNOT, model_simple_cmnot, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107195 { FRVBF_INSN_MROTLI, model_simple_mrotli, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107196 { FRVBF_INSN_MROTRI, model_simple_mrotri, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107197 { FRVBF_INSN_MWCUT, model_simple_mwcut, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107198 { FRVBF_INSN_MWCUTI, model_simple_mwcuti, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107199 { FRVBF_INSN_MCUT, model_simple_mcut, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107200 { FRVBF_INSN_MCUTI, model_simple_mcuti, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107201 { FRVBF_INSN_MCUTSS, model_simple_mcutss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107202 { FRVBF_INSN_MCUTSSI, model_simple_mcutssi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107203 { FRVBF_INSN_MDCUTSSI, model_simple_mdcutssi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107204 { FRVBF_INSN_MAVEH, model_simple_maveh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107205 { FRVBF_INSN_MSLLHI, model_simple_msllhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107206 { FRVBF_INSN_MSRLHI, model_simple_msrlhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107207 { FRVBF_INSN_MSRAHI, model_simple_msrahi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107208 { FRVBF_INSN_MDROTLI, model_simple_mdrotli, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107209 { FRVBF_INSN_MCPLHI, model_simple_mcplhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107210 { FRVBF_INSN_MCPLI, model_simple_mcpli, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107211 { FRVBF_INSN_MSATHS, model_simple_msaths, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107212 { FRVBF_INSN_MQSATHS, model_simple_mqsaths, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107213 { FRVBF_INSN_MSATHU, model_simple_msathu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107214 { FRVBF_INSN_MCMPSH, model_simple_mcmpsh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107215 { FRVBF_INSN_MCMPUH, model_simple_mcmpuh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107216 { FRVBF_INSN_MABSHS, model_simple_mabshs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107217 { FRVBF_INSN_MADDHSS, model_simple_maddhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107218 { FRVBF_INSN_MADDHUS, model_simple_maddhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107219 { FRVBF_INSN_MSUBHSS, model_simple_msubhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107220 { FRVBF_INSN_MSUBHUS, model_simple_msubhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107221 { FRVBF_INSN_CMADDHSS, model_simple_cmaddhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107222 { FRVBF_INSN_CMADDHUS, model_simple_cmaddhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107223 { FRVBF_INSN_CMSUBHSS, model_simple_cmsubhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107224 { FRVBF_INSN_CMSUBHUS, model_simple_cmsubhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107225 { FRVBF_INSN_MQADDHSS, model_simple_mqaddhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107226 { FRVBF_INSN_MQADDHUS, model_simple_mqaddhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107227 { FRVBF_INSN_MQSUBHSS, model_simple_mqsubhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107228 { FRVBF_INSN_MQSUBHUS, model_simple_mqsubhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107229 { FRVBF_INSN_CMQADDHSS, model_simple_cmqaddhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107230 { FRVBF_INSN_CMQADDHUS, model_simple_cmqaddhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107231 { FRVBF_INSN_CMQSUBHSS, model_simple_cmqsubhss, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107232 { FRVBF_INSN_CMQSUBHUS, model_simple_cmqsubhus, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107233 { FRVBF_INSN_MQLCLRHS, model_simple_mqlclrhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107234 { FRVBF_INSN_MQLMTHS, model_simple_mqlmths, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107235 { FRVBF_INSN_MQSLLHI, model_simple_mqsllhi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107236 { FRVBF_INSN_MQSRAHI, model_simple_mqsrahi, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107237 { FRVBF_INSN_MADDACCS, model_simple_maddaccs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107238 { FRVBF_INSN_MSUBACCS, model_simple_msubaccs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107239 { FRVBF_INSN_MDADDACCS, model_simple_mdaddaccs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107240 { FRVBF_INSN_MDSUBACCS, model_simple_mdsubaccs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107241 { FRVBF_INSN_MASACCS, model_simple_masaccs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107242 { FRVBF_INSN_MDASACCS, model_simple_mdasaccs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107243 { FRVBF_INSN_MMULHS, model_simple_mmulhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107244 { FRVBF_INSN_MMULHU, model_simple_mmulhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107245 { FRVBF_INSN_MMULXHS, model_simple_mmulxhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107246 { FRVBF_INSN_MMULXHU, model_simple_mmulxhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107247 { FRVBF_INSN_CMMULHS, model_simple_cmmulhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107248 { FRVBF_INSN_CMMULHU, model_simple_cmmulhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107249 { FRVBF_INSN_MQMULHS, model_simple_mqmulhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107250 { FRVBF_INSN_MQMULHU, model_simple_mqmulhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107251 { FRVBF_INSN_MQMULXHS, model_simple_mqmulxhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107252 { FRVBF_INSN_MQMULXHU, model_simple_mqmulxhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107253 { FRVBF_INSN_CMQMULHS, model_simple_cmqmulhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107254 { FRVBF_INSN_CMQMULHU, model_simple_cmqmulhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107255 { FRVBF_INSN_MMACHS, model_simple_mmachs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107256 { FRVBF_INSN_MMACHU, model_simple_mmachu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107257 { FRVBF_INSN_MMRDHS, model_simple_mmrdhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107258 { FRVBF_INSN_MMRDHU, model_simple_mmrdhu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107259 { FRVBF_INSN_CMMACHS, model_simple_cmmachs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107260 { FRVBF_INSN_CMMACHU, model_simple_cmmachu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107261 { FRVBF_INSN_MQMACHS, model_simple_mqmachs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107262 { FRVBF_INSN_MQMACHU, model_simple_mqmachu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107263 { FRVBF_INSN_CMQMACHS, model_simple_cmqmachs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107264 { FRVBF_INSN_CMQMACHU, model_simple_cmqmachu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107265 { FRVBF_INSN_MQXMACHS, model_simple_mqxmachs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107266 { FRVBF_INSN_MQXMACXHS, model_simple_mqxmacxhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107267 { FRVBF_INSN_MQMACXHS, model_simple_mqmacxhs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107268 { FRVBF_INSN_MCPXRS, model_simple_mcpxrs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107269 { FRVBF_INSN_MCPXRU, model_simple_mcpxru, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107270 { FRVBF_INSN_MCPXIS, model_simple_mcpxis, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107271 { FRVBF_INSN_MCPXIU, model_simple_mcpxiu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107272 { FRVBF_INSN_CMCPXRS, model_simple_cmcpxrs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107273 { FRVBF_INSN_CMCPXRU, model_simple_cmcpxru, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107274 { FRVBF_INSN_CMCPXIS, model_simple_cmcpxis, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107275 { FRVBF_INSN_CMCPXIU, model_simple_cmcpxiu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107276 { FRVBF_INSN_MQCPXRS, model_simple_mqcpxrs, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107277 { FRVBF_INSN_MQCPXRU, model_simple_mqcpxru, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107278 { FRVBF_INSN_MQCPXIS, model_simple_mqcpxis, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107279 { FRVBF_INSN_MQCPXIU, model_simple_mqcpxiu, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107280 { FRVBF_INSN_MEXPDHW, model_simple_mexpdhw, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107281 { FRVBF_INSN_CMEXPDHW, model_simple_cmexpdhw, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107282 { FRVBF_INSN_MEXPDHD, model_simple_mexpdhd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107283 { FRVBF_INSN_CMEXPDHD, model_simple_cmexpdhd, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107284 { FRVBF_INSN_MPACKH, model_simple_mpackh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107285 { FRVBF_INSN_MDPACKH, model_simple_mdpackh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107286 { FRVBF_INSN_MUNPACKH, model_simple_munpackh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107287 { FRVBF_INSN_MDUNPACKH, model_simple_mdunpackh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107288 { FRVBF_INSN_MBTOH, model_simple_mbtoh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107289 { FRVBF_INSN_CMBTOH, model_simple_cmbtoh, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107290 { FRVBF_INSN_MHTOB, model_simple_mhtob, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107291 { FRVBF_INSN_CMHTOB, model_simple_cmhtob, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107292 { FRVBF_INSN_MBTOHE, model_simple_mbtohe, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107293 { FRVBF_INSN_CMBTOHE, model_simple_cmbtohe, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107294 { FRVBF_INSN_MNOP, model_simple_mnop, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107295 { FRVBF_INSN_MCLRACC_0, model_simple_mclracc_0, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107296 { FRVBF_INSN_MCLRACC_1, model_simple_mclracc_1, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107297 { FRVBF_INSN_MRDACC, model_simple_mrdacc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107298 { FRVBF_INSN_MRDACCG, model_simple_mrdaccg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107299 { FRVBF_INSN_MWTACC, model_simple_mwtacc, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107300 { FRVBF_INSN_MWTACCG, model_simple_mwtaccg, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107301 { FRVBF_INSN_MCOP1, model_simple_mcop1, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107302 { FRVBF_INSN_MCOP2, model_simple_mcop2, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107303 { FRVBF_INSN_FNOP, model_simple_fnop, { { (int) UNIT_SIMPLE_U_EXEC, 1, 1 } } },
107306 #endif /* WITH_PROFILE_MODEL_P */
107308 static void
107309 frv_model_init (SIM_CPU *cpu)
107311 CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_FRV_DATA));
107314 static void
107315 fr550_model_init (SIM_CPU *cpu)
107317 CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_FR550_DATA));
107320 static void
107321 fr500_model_init (SIM_CPU *cpu)
107323 CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_FR500_DATA));
107326 static void
107327 tomcat_model_init (SIM_CPU *cpu)
107329 CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_TOMCAT_DATA));
107332 static void
107333 fr400_model_init (SIM_CPU *cpu)
107335 CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_FR400_DATA));
107338 static void
107339 fr450_model_init (SIM_CPU *cpu)
107341 CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_FR450_DATA));
107344 static void
107345 simple_model_init (SIM_CPU *cpu)
107347 CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_SIMPLE_DATA));
107350 #if WITH_PROFILE_MODEL_P
107351 #define TIMING_DATA(td) td
107352 #else
107353 #define TIMING_DATA(td) 0
107354 #endif
107356 static const SIM_MODEL frv_models[] =
107358 { "frv", & frv_mach, MODEL_FRV, TIMING_DATA (& frv_timing[0]), frv_model_init },
107359 { 0 }
107362 static const SIM_MODEL fr550_models[] =
107364 { "fr550", & fr550_mach, MODEL_FR550, TIMING_DATA (& fr550_timing[0]), fr550_model_init },
107365 { 0 }
107368 static const SIM_MODEL fr500_models[] =
107370 { "fr500", & fr500_mach, MODEL_FR500, TIMING_DATA (& fr500_timing[0]), fr500_model_init },
107371 { 0 }
107374 static const SIM_MODEL tomcat_models[] =
107376 { "tomcat", & tomcat_mach, MODEL_TOMCAT, TIMING_DATA (& tomcat_timing[0]), tomcat_model_init },
107377 { 0 }
107380 static const SIM_MODEL fr400_models[] =
107382 { "fr400", & fr400_mach, MODEL_FR400, TIMING_DATA (& fr400_timing[0]), fr400_model_init },
107383 { 0 }
107386 static const SIM_MODEL fr450_models[] =
107388 { "fr450", & fr450_mach, MODEL_FR450, TIMING_DATA (& fr450_timing[0]), fr450_model_init },
107389 { 0 }
107392 static const SIM_MODEL simple_models[] =
107394 { "simple", & simple_mach, MODEL_SIMPLE, TIMING_DATA (& simple_timing[0]), simple_model_init },
107395 { 0 }
107398 /* The properties of this cpu's implementation. */
107400 static const SIM_MACH_IMP_PROPERTIES frvbf_imp_properties =
107402 sizeof (SIM_CPU),
107403 #if WITH_SCACHE
107404 sizeof (SCACHE)
107405 #else
107407 #endif
107411 static void
107412 frvbf_prepare_run (SIM_CPU *cpu)
107414 if (CPU_IDESC (cpu) == NULL)
107415 frvbf_init_idesc_table (cpu);
107418 static const CGEN_INSN *
107419 frvbf_get_idata (SIM_CPU *cpu, int inum)
107421 return CPU_IDESC (cpu) [inum].idata;
107424 static void
107425 frv_init_cpu (SIM_CPU *cpu)
107427 CPU_REG_FETCH (cpu) = frvbf_fetch_register;
107428 CPU_REG_STORE (cpu) = frvbf_store_register;
107429 CPU_PC_FETCH (cpu) = frvbf_h_pc_get;
107430 CPU_PC_STORE (cpu) = frvbf_h_pc_set;
107431 CPU_GET_IDATA (cpu) = frvbf_get_idata;
107432 CPU_MAX_INSNS (cpu) = FRVBF_INSN__MAX;
107433 CPU_INSN_NAME (cpu) = cgen_insn_name;
107434 CPU_FULL_ENGINE_FN (cpu) = frvbf_engine_run_full;
107435 #if WITH_FAST
107436 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_fast;
107437 #else
107438 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_full;
107439 #endif
107442 const SIM_MACH frv_mach =
107444 "frv", "frv", MACH_FRV,
107445 32, 32, & frv_models[0], & frvbf_imp_properties,
107446 frv_init_cpu,
107447 frvbf_prepare_run
107450 static void
107451 fr550_init_cpu (SIM_CPU *cpu)
107453 CPU_REG_FETCH (cpu) = frvbf_fetch_register;
107454 CPU_REG_STORE (cpu) = frvbf_store_register;
107455 CPU_PC_FETCH (cpu) = frvbf_h_pc_get;
107456 CPU_PC_STORE (cpu) = frvbf_h_pc_set;
107457 CPU_GET_IDATA (cpu) = frvbf_get_idata;
107458 CPU_MAX_INSNS (cpu) = FRVBF_INSN__MAX;
107459 CPU_INSN_NAME (cpu) = cgen_insn_name;
107460 CPU_FULL_ENGINE_FN (cpu) = frvbf_engine_run_full;
107461 #if WITH_FAST
107462 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_fast;
107463 #else
107464 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_full;
107465 #endif
107468 const SIM_MACH fr550_mach =
107470 "fr550", "fr550", MACH_FR550,
107471 32, 32, & fr550_models[0], & frvbf_imp_properties,
107472 fr550_init_cpu,
107473 frvbf_prepare_run
107476 static void
107477 fr500_init_cpu (SIM_CPU *cpu)
107479 CPU_REG_FETCH (cpu) = frvbf_fetch_register;
107480 CPU_REG_STORE (cpu) = frvbf_store_register;
107481 CPU_PC_FETCH (cpu) = frvbf_h_pc_get;
107482 CPU_PC_STORE (cpu) = frvbf_h_pc_set;
107483 CPU_GET_IDATA (cpu) = frvbf_get_idata;
107484 CPU_MAX_INSNS (cpu) = FRVBF_INSN__MAX;
107485 CPU_INSN_NAME (cpu) = cgen_insn_name;
107486 CPU_FULL_ENGINE_FN (cpu) = frvbf_engine_run_full;
107487 #if WITH_FAST
107488 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_fast;
107489 #else
107490 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_full;
107491 #endif
107494 const SIM_MACH fr500_mach =
107496 "fr500", "fr500", MACH_FR500,
107497 32, 32, & fr500_models[0], & frvbf_imp_properties,
107498 fr500_init_cpu,
107499 frvbf_prepare_run
107502 static void
107503 tomcat_init_cpu (SIM_CPU *cpu)
107505 CPU_REG_FETCH (cpu) = frvbf_fetch_register;
107506 CPU_REG_STORE (cpu) = frvbf_store_register;
107507 CPU_PC_FETCH (cpu) = frvbf_h_pc_get;
107508 CPU_PC_STORE (cpu) = frvbf_h_pc_set;
107509 CPU_GET_IDATA (cpu) = frvbf_get_idata;
107510 CPU_MAX_INSNS (cpu) = FRVBF_INSN__MAX;
107511 CPU_INSN_NAME (cpu) = cgen_insn_name;
107512 CPU_FULL_ENGINE_FN (cpu) = frvbf_engine_run_full;
107513 #if WITH_FAST
107514 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_fast;
107515 #else
107516 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_full;
107517 #endif
107520 const SIM_MACH tomcat_mach =
107522 "tomcat", "tomcat", MACH_TOMCAT,
107523 32, 32, & tomcat_models[0], & frvbf_imp_properties,
107524 tomcat_init_cpu,
107525 frvbf_prepare_run
107528 static void
107529 fr400_init_cpu (SIM_CPU *cpu)
107531 CPU_REG_FETCH (cpu) = frvbf_fetch_register;
107532 CPU_REG_STORE (cpu) = frvbf_store_register;
107533 CPU_PC_FETCH (cpu) = frvbf_h_pc_get;
107534 CPU_PC_STORE (cpu) = frvbf_h_pc_set;
107535 CPU_GET_IDATA (cpu) = frvbf_get_idata;
107536 CPU_MAX_INSNS (cpu) = FRVBF_INSN__MAX;
107537 CPU_INSN_NAME (cpu) = cgen_insn_name;
107538 CPU_FULL_ENGINE_FN (cpu) = frvbf_engine_run_full;
107539 #if WITH_FAST
107540 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_fast;
107541 #else
107542 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_full;
107543 #endif
107546 const SIM_MACH fr400_mach =
107548 "fr400", "fr400", MACH_FR400,
107549 32, 32, & fr400_models[0], & frvbf_imp_properties,
107550 fr400_init_cpu,
107551 frvbf_prepare_run
107554 static void
107555 fr450_init_cpu (SIM_CPU *cpu)
107557 CPU_REG_FETCH (cpu) = frvbf_fetch_register;
107558 CPU_REG_STORE (cpu) = frvbf_store_register;
107559 CPU_PC_FETCH (cpu) = frvbf_h_pc_get;
107560 CPU_PC_STORE (cpu) = frvbf_h_pc_set;
107561 CPU_GET_IDATA (cpu) = frvbf_get_idata;
107562 CPU_MAX_INSNS (cpu) = FRVBF_INSN__MAX;
107563 CPU_INSN_NAME (cpu) = cgen_insn_name;
107564 CPU_FULL_ENGINE_FN (cpu) = frvbf_engine_run_full;
107565 #if WITH_FAST
107566 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_fast;
107567 #else
107568 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_full;
107569 #endif
107572 const SIM_MACH fr450_mach =
107574 "fr450", "fr450", MACH_FR450,
107575 32, 32, & fr450_models[0], & frvbf_imp_properties,
107576 fr450_init_cpu,
107577 frvbf_prepare_run
107580 static void
107581 simple_init_cpu (SIM_CPU *cpu)
107583 CPU_REG_FETCH (cpu) = frvbf_fetch_register;
107584 CPU_REG_STORE (cpu) = frvbf_store_register;
107585 CPU_PC_FETCH (cpu) = frvbf_h_pc_get;
107586 CPU_PC_STORE (cpu) = frvbf_h_pc_set;
107587 CPU_GET_IDATA (cpu) = frvbf_get_idata;
107588 CPU_MAX_INSNS (cpu) = FRVBF_INSN__MAX;
107589 CPU_INSN_NAME (cpu) = cgen_insn_name;
107590 CPU_FULL_ENGINE_FN (cpu) = frvbf_engine_run_full;
107591 #if WITH_FAST
107592 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_fast;
107593 #else
107594 CPU_FAST_ENGINE_FN (cpu) = frvbf_engine_run_full;
107595 #endif
107598 const SIM_MACH simple_mach =
107600 "simple", "simple", MACH_SIMPLE,
107601 32, 32, & simple_models[0], & frvbf_imp_properties,
107602 simple_init_cpu,
107603 frvbf_prepare_run