1 /* Simulator model support for fr30bf.
3 THIS FILE IS MACHINE GENERATED WITH CGEN.
5 Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
7 This file is part of the GNU simulators.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License along
20 with this program; if not, write to the Free Software Foundation, Inc.,
21 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 #define WANT_CPU fr30bf
26 #define WANT_CPU_FR30BF
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. */
38 model_fr30_1_add (SIM_CPU
*current_cpu
, void *sem_arg
)
40 #define FLD(f) abuf->fields.sfmt_add.f
41 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
42 const IDESC
* UNUSED idesc
= abuf
->idesc
;
46 int UNUSED insn_referenced
= abuf
->written
;
52 out_Ri
= FLD (out_Ri
);
56 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
63 model_fr30_1_addi (SIM_CPU
*current_cpu
, void *sem_arg
)
65 #define FLD(f) abuf->fields.sfmt_addi.f
66 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
67 const IDESC
* UNUSED idesc
= abuf
->idesc
;
71 int UNUSED insn_referenced
= abuf
->written
;
76 out_Ri
= FLD (out_Ri
);
79 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
86 model_fr30_1_add2 (SIM_CPU
*current_cpu
, void *sem_arg
)
88 #define FLD(f) abuf->fields.sfmt_add2.f
89 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
90 const IDESC
* UNUSED idesc
= abuf
->idesc
;
94 int UNUSED insn_referenced
= abuf
->written
;
99 out_Ri
= FLD (out_Ri
);
100 referenced
|= 1 << 0;
101 referenced
|= 1 << 2;
102 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
109 model_fr30_1_addc (SIM_CPU
*current_cpu
, void *sem_arg
)
111 #define FLD(f) abuf->fields.sfmt_add.f
112 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
113 const IDESC
* UNUSED idesc
= abuf
->idesc
;
117 int UNUSED insn_referenced
= abuf
->written
;
123 out_Ri
= FLD (out_Ri
);
124 referenced
|= 1 << 0;
125 referenced
|= 1 << 1;
126 referenced
|= 1 << 2;
127 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
134 model_fr30_1_addn (SIM_CPU
*current_cpu
, void *sem_arg
)
136 #define FLD(f) abuf->fields.sfmt_add.f
137 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
138 const IDESC
* UNUSED idesc
= abuf
->idesc
;
142 int UNUSED insn_referenced
= abuf
->written
;
148 out_Ri
= FLD (out_Ri
);
149 referenced
|= 1 << 0;
150 referenced
|= 1 << 1;
151 referenced
|= 1 << 2;
152 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
159 model_fr30_1_addni (SIM_CPU
*current_cpu
, void *sem_arg
)
161 #define FLD(f) abuf->fields.sfmt_addi.f
162 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
163 const IDESC
* UNUSED idesc
= abuf
->idesc
;
167 int UNUSED insn_referenced
= abuf
->written
;
172 out_Ri
= FLD (out_Ri
);
173 referenced
|= 1 << 0;
174 referenced
|= 1 << 2;
175 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
182 model_fr30_1_addn2 (SIM_CPU
*current_cpu
, void *sem_arg
)
184 #define FLD(f) abuf->fields.sfmt_add2.f
185 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
186 const IDESC
* UNUSED idesc
= abuf
->idesc
;
190 int UNUSED insn_referenced
= abuf
->written
;
195 out_Ri
= FLD (out_Ri
);
196 referenced
|= 1 << 0;
197 referenced
|= 1 << 2;
198 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
205 model_fr30_1_sub (SIM_CPU
*current_cpu
, void *sem_arg
)
207 #define FLD(f) abuf->fields.sfmt_add.f
208 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
209 const IDESC
* UNUSED idesc
= abuf
->idesc
;
213 int UNUSED insn_referenced
= abuf
->written
;
219 out_Ri
= FLD (out_Ri
);
220 referenced
|= 1 << 0;
221 referenced
|= 1 << 1;
222 referenced
|= 1 << 2;
223 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
230 model_fr30_1_subc (SIM_CPU
*current_cpu
, void *sem_arg
)
232 #define FLD(f) abuf->fields.sfmt_add.f
233 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
234 const IDESC
* UNUSED idesc
= abuf
->idesc
;
238 int UNUSED insn_referenced
= abuf
->written
;
244 out_Ri
= FLD (out_Ri
);
245 referenced
|= 1 << 0;
246 referenced
|= 1 << 1;
247 referenced
|= 1 << 2;
248 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
255 model_fr30_1_subn (SIM_CPU
*current_cpu
, void *sem_arg
)
257 #define FLD(f) abuf->fields.sfmt_add.f
258 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
259 const IDESC
* UNUSED idesc
= abuf
->idesc
;
263 int UNUSED insn_referenced
= abuf
->written
;
269 out_Ri
= FLD (out_Ri
);
270 referenced
|= 1 << 0;
271 referenced
|= 1 << 1;
272 referenced
|= 1 << 2;
273 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
280 model_fr30_1_cmp (SIM_CPU
*current_cpu
, void *sem_arg
)
282 #define FLD(f) abuf->fields.sfmt_str13.f
283 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
284 const IDESC
* UNUSED idesc
= abuf
->idesc
;
288 int UNUSED insn_referenced
= abuf
->written
;
294 referenced
|= 1 << 0;
295 referenced
|= 1 << 1;
296 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
303 model_fr30_1_cmpi (SIM_CPU
*current_cpu
, void *sem_arg
)
305 #define FLD(f) abuf->fields.sfmt_addi.f
306 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
307 const IDESC
* UNUSED idesc
= abuf
->idesc
;
311 int UNUSED insn_referenced
= abuf
->written
;
316 referenced
|= 1 << 0;
317 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
324 model_fr30_1_cmp2 (SIM_CPU
*current_cpu
, void *sem_arg
)
326 #define FLD(f) abuf->fields.sfmt_add2.f
327 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
328 const IDESC
* UNUSED idesc
= abuf
->idesc
;
332 int UNUSED insn_referenced
= abuf
->written
;
337 referenced
|= 1 << 0;
338 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
345 model_fr30_1_and (SIM_CPU
*current_cpu
, void *sem_arg
)
347 #define FLD(f) abuf->fields.sfmt_add.f
348 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
349 const IDESC
* UNUSED idesc
= abuf
->idesc
;
353 int UNUSED insn_referenced
= abuf
->written
;
359 out_Ri
= FLD (out_Ri
);
360 referenced
|= 1 << 0;
361 referenced
|= 1 << 1;
362 referenced
|= 1 << 2;
363 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
370 model_fr30_1_or (SIM_CPU
*current_cpu
, void *sem_arg
)
372 #define FLD(f) abuf->fields.sfmt_add.f
373 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
374 const IDESC
* UNUSED idesc
= abuf
->idesc
;
378 int UNUSED insn_referenced
= abuf
->written
;
384 out_Ri
= FLD (out_Ri
);
385 referenced
|= 1 << 0;
386 referenced
|= 1 << 1;
387 referenced
|= 1 << 2;
388 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
395 model_fr30_1_eor (SIM_CPU
*current_cpu
, void *sem_arg
)
397 #define FLD(f) abuf->fields.sfmt_add.f
398 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
399 const IDESC
* UNUSED idesc
= abuf
->idesc
;
403 int UNUSED insn_referenced
= abuf
->written
;
409 out_Ri
= FLD (out_Ri
);
410 referenced
|= 1 << 0;
411 referenced
|= 1 << 1;
412 referenced
|= 1 << 2;
413 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
420 model_fr30_1_andm (SIM_CPU
*current_cpu
, void *sem_arg
)
422 #define FLD(f) abuf->fields.sfmt_str13.f
423 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
424 const IDESC
* UNUSED idesc
= abuf
->idesc
;
428 int UNUSED insn_referenced
= abuf
->written
;
434 referenced
|= 1 << 0;
435 referenced
|= 1 << 1;
436 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
440 int UNUSED insn_referenced
= abuf
->written
;
444 referenced
|= 1 << 0;
445 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 1, referenced
, in_Rj
, out_Ri
);
449 int UNUSED insn_referenced
= abuf
->written
;
454 referenced
|= 1 << 0;
455 referenced
|= 1 << 1;
456 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 2, referenced
, in_Ri
, in_Rj
);
463 model_fr30_1_andh (SIM_CPU
*current_cpu
, void *sem_arg
)
465 #define FLD(f) abuf->fields.sfmt_str13.f
466 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
467 const IDESC
* UNUSED idesc
= abuf
->idesc
;
471 int UNUSED insn_referenced
= abuf
->written
;
477 referenced
|= 1 << 0;
478 referenced
|= 1 << 1;
479 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
483 int UNUSED insn_referenced
= abuf
->written
;
487 referenced
|= 1 << 0;
488 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 1, referenced
, in_Rj
, out_Ri
);
492 int UNUSED insn_referenced
= abuf
->written
;
497 referenced
|= 1 << 0;
498 referenced
|= 1 << 1;
499 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 2, referenced
, in_Ri
, in_Rj
);
506 model_fr30_1_andb (SIM_CPU
*current_cpu
, void *sem_arg
)
508 #define FLD(f) abuf->fields.sfmt_str13.f
509 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
510 const IDESC
* UNUSED idesc
= abuf
->idesc
;
514 int UNUSED insn_referenced
= abuf
->written
;
520 referenced
|= 1 << 0;
521 referenced
|= 1 << 1;
522 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
526 int UNUSED insn_referenced
= abuf
->written
;
530 referenced
|= 1 << 0;
531 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 1, referenced
, in_Rj
, out_Ri
);
535 int UNUSED insn_referenced
= abuf
->written
;
540 referenced
|= 1 << 0;
541 referenced
|= 1 << 1;
542 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 2, referenced
, in_Ri
, in_Rj
);
549 model_fr30_1_orm (SIM_CPU
*current_cpu
, void *sem_arg
)
551 #define FLD(f) abuf->fields.sfmt_str13.f
552 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
553 const IDESC
* UNUSED idesc
= abuf
->idesc
;
557 int UNUSED insn_referenced
= abuf
->written
;
563 referenced
|= 1 << 0;
564 referenced
|= 1 << 1;
565 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
569 int UNUSED insn_referenced
= abuf
->written
;
573 referenced
|= 1 << 0;
574 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 1, referenced
, in_Rj
, out_Ri
);
578 int UNUSED insn_referenced
= abuf
->written
;
583 referenced
|= 1 << 0;
584 referenced
|= 1 << 1;
585 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 2, referenced
, in_Ri
, in_Rj
);
592 model_fr30_1_orh (SIM_CPU
*current_cpu
, void *sem_arg
)
594 #define FLD(f) abuf->fields.sfmt_str13.f
595 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
596 const IDESC
* UNUSED idesc
= abuf
->idesc
;
600 int UNUSED insn_referenced
= abuf
->written
;
606 referenced
|= 1 << 0;
607 referenced
|= 1 << 1;
608 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
612 int UNUSED insn_referenced
= abuf
->written
;
616 referenced
|= 1 << 0;
617 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 1, referenced
, in_Rj
, out_Ri
);
621 int UNUSED insn_referenced
= abuf
->written
;
626 referenced
|= 1 << 0;
627 referenced
|= 1 << 1;
628 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 2, referenced
, in_Ri
, in_Rj
);
635 model_fr30_1_orb (SIM_CPU
*current_cpu
, void *sem_arg
)
637 #define FLD(f) abuf->fields.sfmt_str13.f
638 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
639 const IDESC
* UNUSED idesc
= abuf
->idesc
;
643 int UNUSED insn_referenced
= abuf
->written
;
649 referenced
|= 1 << 0;
650 referenced
|= 1 << 1;
651 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
655 int UNUSED insn_referenced
= abuf
->written
;
659 referenced
|= 1 << 0;
660 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 1, referenced
, in_Rj
, out_Ri
);
664 int UNUSED insn_referenced
= abuf
->written
;
669 referenced
|= 1 << 0;
670 referenced
|= 1 << 1;
671 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 2, referenced
, in_Ri
, in_Rj
);
678 model_fr30_1_eorm (SIM_CPU
*current_cpu
, void *sem_arg
)
680 #define FLD(f) abuf->fields.sfmt_str13.f
681 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
682 const IDESC
* UNUSED idesc
= abuf
->idesc
;
686 int UNUSED insn_referenced
= abuf
->written
;
692 referenced
|= 1 << 0;
693 referenced
|= 1 << 1;
694 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
698 int UNUSED insn_referenced
= abuf
->written
;
702 referenced
|= 1 << 0;
703 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 1, referenced
, in_Rj
, out_Ri
);
707 int UNUSED insn_referenced
= abuf
->written
;
712 referenced
|= 1 << 0;
713 referenced
|= 1 << 1;
714 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 2, referenced
, in_Ri
, in_Rj
);
721 model_fr30_1_eorh (SIM_CPU
*current_cpu
, void *sem_arg
)
723 #define FLD(f) abuf->fields.sfmt_str13.f
724 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
725 const IDESC
* UNUSED idesc
= abuf
->idesc
;
729 int UNUSED insn_referenced
= abuf
->written
;
735 referenced
|= 1 << 0;
736 referenced
|= 1 << 1;
737 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
741 int UNUSED insn_referenced
= abuf
->written
;
745 referenced
|= 1 << 0;
746 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 1, referenced
, in_Rj
, out_Ri
);
750 int UNUSED insn_referenced
= abuf
->written
;
755 referenced
|= 1 << 0;
756 referenced
|= 1 << 1;
757 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 2, referenced
, in_Ri
, in_Rj
);
764 model_fr30_1_eorb (SIM_CPU
*current_cpu
, void *sem_arg
)
766 #define FLD(f) abuf->fields.sfmt_str13.f
767 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
768 const IDESC
* UNUSED idesc
= abuf
->idesc
;
772 int UNUSED insn_referenced
= abuf
->written
;
778 referenced
|= 1 << 0;
779 referenced
|= 1 << 1;
780 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
784 int UNUSED insn_referenced
= abuf
->written
;
788 referenced
|= 1 << 0;
789 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 1, referenced
, in_Rj
, out_Ri
);
793 int UNUSED insn_referenced
= abuf
->written
;
798 referenced
|= 1 << 0;
799 referenced
|= 1 << 1;
800 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 2, referenced
, in_Ri
, in_Rj
);
807 model_fr30_1_bandl (SIM_CPU
*current_cpu
, void *sem_arg
)
809 #define FLD(f) abuf->fields.sfmt_addi.f
810 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
811 const IDESC
* UNUSED idesc
= abuf
->idesc
;
815 int UNUSED insn_referenced
= abuf
->written
;
820 referenced
|= 1 << 0;
821 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
825 int UNUSED insn_referenced
= abuf
->written
;
828 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 1, referenced
, in_Rj
, out_Ri
);
832 int UNUSED insn_referenced
= abuf
->written
;
836 referenced
|= 1 << 0;
837 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 2, referenced
, in_Ri
, in_Rj
);
844 model_fr30_1_borl (SIM_CPU
*current_cpu
, void *sem_arg
)
846 #define FLD(f) abuf->fields.sfmt_addi.f
847 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
848 const IDESC
* UNUSED idesc
= abuf
->idesc
;
852 int UNUSED insn_referenced
= abuf
->written
;
857 referenced
|= 1 << 0;
858 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
862 int UNUSED insn_referenced
= abuf
->written
;
865 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 1, referenced
, in_Rj
, out_Ri
);
869 int UNUSED insn_referenced
= abuf
->written
;
873 referenced
|= 1 << 0;
874 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 2, referenced
, in_Ri
, in_Rj
);
881 model_fr30_1_beorl (SIM_CPU
*current_cpu
, void *sem_arg
)
883 #define FLD(f) abuf->fields.sfmt_addi.f
884 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
885 const IDESC
* UNUSED idesc
= abuf
->idesc
;
889 int UNUSED insn_referenced
= abuf
->written
;
894 referenced
|= 1 << 0;
895 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
899 int UNUSED insn_referenced
= abuf
->written
;
902 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 1, referenced
, in_Rj
, out_Ri
);
906 int UNUSED insn_referenced
= abuf
->written
;
910 referenced
|= 1 << 0;
911 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 2, referenced
, in_Ri
, in_Rj
);
918 model_fr30_1_bandh (SIM_CPU
*current_cpu
, void *sem_arg
)
920 #define FLD(f) abuf->fields.sfmt_addi.f
921 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
922 const IDESC
* UNUSED idesc
= abuf
->idesc
;
926 int UNUSED insn_referenced
= abuf
->written
;
931 referenced
|= 1 << 0;
932 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
936 int UNUSED insn_referenced
= abuf
->written
;
939 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 1, referenced
, in_Rj
, out_Ri
);
943 int UNUSED insn_referenced
= abuf
->written
;
947 referenced
|= 1 << 0;
948 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 2, referenced
, in_Ri
, in_Rj
);
955 model_fr30_1_borh (SIM_CPU
*current_cpu
, void *sem_arg
)
957 #define FLD(f) abuf->fields.sfmt_addi.f
958 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
959 const IDESC
* UNUSED idesc
= abuf
->idesc
;
963 int UNUSED insn_referenced
= abuf
->written
;
968 referenced
|= 1 << 0;
969 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
973 int UNUSED insn_referenced
= abuf
->written
;
976 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 1, referenced
, in_Rj
, out_Ri
);
980 int UNUSED insn_referenced
= abuf
->written
;
984 referenced
|= 1 << 0;
985 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 2, referenced
, in_Ri
, in_Rj
);
992 model_fr30_1_beorh (SIM_CPU
*current_cpu
, void *sem_arg
)
994 #define FLD(f) abuf->fields.sfmt_addi.f
995 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
996 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1000 int UNUSED insn_referenced
= abuf
->written
;
1004 in_Ri
= FLD (in_Ri
);
1005 referenced
|= 1 << 0;
1006 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1010 int UNUSED insn_referenced
= abuf
->written
;
1013 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 1, referenced
, in_Rj
, out_Ri
);
1017 int UNUSED insn_referenced
= abuf
->written
;
1020 in_Ri
= FLD (in_Ri
);
1021 referenced
|= 1 << 0;
1022 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 2, referenced
, in_Ri
, in_Rj
);
1029 model_fr30_1_btstl (SIM_CPU
*current_cpu
, void *sem_arg
)
1031 #define FLD(f) abuf->fields.sfmt_addi.f
1032 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1033 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1037 int UNUSED insn_referenced
= abuf
->written
;
1040 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
1044 int UNUSED insn_referenced
= abuf
->written
;
1048 in_Ri
= FLD (in_Ri
);
1049 referenced
|= 1 << 0;
1050 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 1, referenced
, in_Ri
, in_Rj
, out_Ri
);
1057 model_fr30_1_btsth (SIM_CPU
*current_cpu
, void *sem_arg
)
1059 #define FLD(f) abuf->fields.sfmt_addi.f
1060 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1061 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1065 int UNUSED insn_referenced
= abuf
->written
;
1068 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
1072 int UNUSED insn_referenced
= abuf
->written
;
1076 in_Ri
= FLD (in_Ri
);
1077 referenced
|= 1 << 0;
1078 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 1, referenced
, in_Ri
, in_Rj
, out_Ri
);
1085 model_fr30_1_mul (SIM_CPU
*current_cpu
, void *sem_arg
)
1087 #define FLD(f) abuf->fields.sfmt_str13.f
1088 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1089 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1093 int UNUSED insn_referenced
= abuf
->written
;
1097 in_Ri
= FLD (in_Ri
);
1098 in_Rj
= FLD (in_Rj
);
1099 referenced
|= 1 << 0;
1100 referenced
|= 1 << 1;
1101 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1108 model_fr30_1_mulu (SIM_CPU
*current_cpu
, void *sem_arg
)
1110 #define FLD(f) abuf->fields.sfmt_str13.f
1111 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1112 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1116 int UNUSED insn_referenced
= abuf
->written
;
1120 in_Ri
= FLD (in_Ri
);
1121 in_Rj
= FLD (in_Rj
);
1122 referenced
|= 1 << 0;
1123 referenced
|= 1 << 1;
1124 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1131 model_fr30_1_mulh (SIM_CPU
*current_cpu
, void *sem_arg
)
1133 #define FLD(f) abuf->fields.sfmt_str13.f
1134 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1135 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1139 int UNUSED insn_referenced
= abuf
->written
;
1143 in_Ri
= FLD (in_Ri
);
1144 in_Rj
= FLD (in_Rj
);
1145 referenced
|= 1 << 0;
1146 referenced
|= 1 << 1;
1147 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1154 model_fr30_1_muluh (SIM_CPU
*current_cpu
, void *sem_arg
)
1156 #define FLD(f) abuf->fields.sfmt_str13.f
1157 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1158 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1162 int UNUSED insn_referenced
= abuf
->written
;
1166 in_Ri
= FLD (in_Ri
);
1167 in_Rj
= FLD (in_Rj
);
1168 referenced
|= 1 << 0;
1169 referenced
|= 1 << 1;
1170 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1177 model_fr30_1_div0s (SIM_CPU
*current_cpu
, void *sem_arg
)
1179 #define FLD(f) abuf->fields.sfmt_mov2dr.f
1180 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1181 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1185 int UNUSED insn_referenced
= abuf
->written
;
1189 in_Ri
= FLD (in_Ri
);
1190 referenced
|= 1 << 0;
1191 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1198 model_fr30_1_div0u (SIM_CPU
*current_cpu
, void *sem_arg
)
1200 #define FLD(f) abuf->fields.fmt_empty.f
1201 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1202 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1206 int UNUSED insn_referenced
= abuf
->written
;
1210 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1217 model_fr30_1_div1 (SIM_CPU
*current_cpu
, void *sem_arg
)
1219 #define FLD(f) abuf->fields.sfmt_mov2dr.f
1220 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1221 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1225 int UNUSED insn_referenced
= abuf
->written
;
1229 in_Ri
= FLD (in_Ri
);
1230 if (insn_referenced
& (1 << 0)) referenced
|= 1 << 0;
1231 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1238 model_fr30_1_div2 (SIM_CPU
*current_cpu
, void *sem_arg
)
1240 #define FLD(f) abuf->fields.sfmt_mov2dr.f
1241 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1242 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1246 int UNUSED insn_referenced
= abuf
->written
;
1250 in_Ri
= FLD (in_Ri
);
1251 if (insn_referenced
& (1 << 0)) referenced
|= 1 << 0;
1252 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1259 model_fr30_1_div3 (SIM_CPU
*current_cpu
, void *sem_arg
)
1261 #define FLD(f) abuf->fields.fmt_empty.f
1262 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1263 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1267 int UNUSED insn_referenced
= abuf
->written
;
1271 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1278 model_fr30_1_div4s (SIM_CPU
*current_cpu
, void *sem_arg
)
1280 #define FLD(f) abuf->fields.fmt_empty.f
1281 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1282 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1286 int UNUSED insn_referenced
= abuf
->written
;
1290 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1297 model_fr30_1_lsl (SIM_CPU
*current_cpu
, void *sem_arg
)
1299 #define FLD(f) abuf->fields.sfmt_add.f
1300 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1301 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1305 int UNUSED insn_referenced
= abuf
->written
;
1309 in_Ri
= FLD (in_Ri
);
1310 in_Rj
= FLD (in_Rj
);
1311 out_Ri
= FLD (out_Ri
);
1312 if (insn_referenced
& (1 << 0)) referenced
|= 1 << 0;
1313 referenced
|= 1 << 1;
1314 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 2;
1315 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1322 model_fr30_1_lsli (SIM_CPU
*current_cpu
, void *sem_arg
)
1324 #define FLD(f) abuf->fields.sfmt_addi.f
1325 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1326 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1330 int UNUSED insn_referenced
= abuf
->written
;
1334 in_Ri
= FLD (in_Ri
);
1335 out_Ri
= FLD (out_Ri
);
1336 if (insn_referenced
& (1 << 0)) referenced
|= 1 << 0;
1337 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 2;
1338 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1345 model_fr30_1_lsl2 (SIM_CPU
*current_cpu
, void *sem_arg
)
1347 #define FLD(f) abuf->fields.sfmt_addi.f
1348 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1349 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1353 int UNUSED insn_referenced
= abuf
->written
;
1357 in_Ri
= FLD (in_Ri
);
1358 out_Ri
= FLD (out_Ri
);
1359 if (insn_referenced
& (1 << 0)) referenced
|= 1 << 0;
1360 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 2;
1361 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1368 model_fr30_1_lsr (SIM_CPU
*current_cpu
, void *sem_arg
)
1370 #define FLD(f) abuf->fields.sfmt_add.f
1371 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1372 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1376 int UNUSED insn_referenced
= abuf
->written
;
1380 in_Ri
= FLD (in_Ri
);
1381 in_Rj
= FLD (in_Rj
);
1382 out_Ri
= FLD (out_Ri
);
1383 if (insn_referenced
& (1 << 0)) referenced
|= 1 << 0;
1384 referenced
|= 1 << 1;
1385 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 2;
1386 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1393 model_fr30_1_lsri (SIM_CPU
*current_cpu
, void *sem_arg
)
1395 #define FLD(f) abuf->fields.sfmt_addi.f
1396 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1397 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1401 int UNUSED insn_referenced
= abuf
->written
;
1405 in_Ri
= FLD (in_Ri
);
1406 out_Ri
= FLD (out_Ri
);
1407 if (insn_referenced
& (1 << 0)) referenced
|= 1 << 0;
1408 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 2;
1409 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1416 model_fr30_1_lsr2 (SIM_CPU
*current_cpu
, void *sem_arg
)
1418 #define FLD(f) abuf->fields.sfmt_addi.f
1419 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1420 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1424 int UNUSED insn_referenced
= abuf
->written
;
1428 in_Ri
= FLD (in_Ri
);
1429 out_Ri
= FLD (out_Ri
);
1430 if (insn_referenced
& (1 << 0)) referenced
|= 1 << 0;
1431 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 2;
1432 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1439 model_fr30_1_asr (SIM_CPU
*current_cpu
, void *sem_arg
)
1441 #define FLD(f) abuf->fields.sfmt_add.f
1442 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1443 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1447 int UNUSED insn_referenced
= abuf
->written
;
1451 in_Ri
= FLD (in_Ri
);
1452 in_Rj
= FLD (in_Rj
);
1453 out_Ri
= FLD (out_Ri
);
1454 if (insn_referenced
& (1 << 0)) referenced
|= 1 << 0;
1455 referenced
|= 1 << 1;
1456 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 2;
1457 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1464 model_fr30_1_asri (SIM_CPU
*current_cpu
, void *sem_arg
)
1466 #define FLD(f) abuf->fields.sfmt_addi.f
1467 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1468 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1472 int UNUSED insn_referenced
= abuf
->written
;
1476 in_Ri
= FLD (in_Ri
);
1477 out_Ri
= FLD (out_Ri
);
1478 if (insn_referenced
& (1 << 0)) referenced
|= 1 << 0;
1479 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 2;
1480 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1487 model_fr30_1_asr2 (SIM_CPU
*current_cpu
, void *sem_arg
)
1489 #define FLD(f) abuf->fields.sfmt_addi.f
1490 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1491 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1495 int UNUSED insn_referenced
= abuf
->written
;
1499 in_Ri
= FLD (in_Ri
);
1500 out_Ri
= FLD (out_Ri
);
1501 if (insn_referenced
& (1 << 0)) referenced
|= 1 << 0;
1502 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 2;
1503 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1510 model_fr30_1_ldi8 (SIM_CPU
*current_cpu
, void *sem_arg
)
1512 #define FLD(f) abuf->fields.sfmt_ldi8.f
1513 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1514 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1518 int UNUSED insn_referenced
= abuf
->written
;
1522 out_Ri
= FLD (out_Ri
);
1523 referenced
|= 1 << 2;
1524 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1531 model_fr30_1_ldi20 (SIM_CPU
*current_cpu
, void *sem_arg
)
1533 #define FLD(f) abuf->fields.sfmt_ldi20.f
1534 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1535 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1539 int UNUSED insn_referenced
= abuf
->written
;
1543 out_Ri
= FLD (out_Ri
);
1544 referenced
|= 1 << 2;
1545 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1552 model_fr30_1_ldi32 (SIM_CPU
*current_cpu
, void *sem_arg
)
1554 #define FLD(f) abuf->fields.sfmt_ldi32.f
1555 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1556 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1560 int UNUSED insn_referenced
= abuf
->written
;
1564 out_Ri
= FLD (out_Ri
);
1565 referenced
|= 1 << 2;
1566 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
1573 model_fr30_1_ld (SIM_CPU
*current_cpu
, void *sem_arg
)
1575 #define FLD(f) abuf->fields.sfmt_ldr13.f
1576 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1577 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1581 int UNUSED insn_referenced
= abuf
->written
;
1584 in_Rj
= FLD (in_Rj
);
1585 out_Ri
= FLD (out_Ri
);
1586 referenced
|= 1 << 0;
1587 referenced
|= 1 << 1;
1588 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
1595 model_fr30_1_lduh (SIM_CPU
*current_cpu
, void *sem_arg
)
1597 #define FLD(f) abuf->fields.sfmt_ldr13.f
1598 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1599 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1603 int UNUSED insn_referenced
= abuf
->written
;
1606 in_Rj
= FLD (in_Rj
);
1607 out_Ri
= FLD (out_Ri
);
1608 referenced
|= 1 << 0;
1609 referenced
|= 1 << 1;
1610 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
1617 model_fr30_1_ldub (SIM_CPU
*current_cpu
, void *sem_arg
)
1619 #define FLD(f) abuf->fields.sfmt_ldr13.f
1620 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1621 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1625 int UNUSED insn_referenced
= abuf
->written
;
1628 in_Rj
= FLD (in_Rj
);
1629 out_Ri
= FLD (out_Ri
);
1630 referenced
|= 1 << 0;
1631 referenced
|= 1 << 1;
1632 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
1639 model_fr30_1_ldr13 (SIM_CPU
*current_cpu
, void *sem_arg
)
1641 #define FLD(f) abuf->fields.sfmt_ldr13.f
1642 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1643 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1647 int UNUSED insn_referenced
= abuf
->written
;
1650 in_Rj
= FLD (in_Rj
);
1651 out_Ri
= FLD (out_Ri
);
1652 referenced
|= 1 << 0;
1653 referenced
|= 1 << 1;
1654 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
1661 model_fr30_1_ldr13uh (SIM_CPU
*current_cpu
, void *sem_arg
)
1663 #define FLD(f) abuf->fields.sfmt_ldr13.f
1664 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1665 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1669 int UNUSED insn_referenced
= abuf
->written
;
1672 in_Rj
= FLD (in_Rj
);
1673 out_Ri
= FLD (out_Ri
);
1674 referenced
|= 1 << 0;
1675 referenced
|= 1 << 1;
1676 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
1683 model_fr30_1_ldr13ub (SIM_CPU
*current_cpu
, void *sem_arg
)
1685 #define FLD(f) abuf->fields.sfmt_ldr13.f
1686 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1687 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1691 int UNUSED insn_referenced
= abuf
->written
;
1694 in_Rj
= FLD (in_Rj
);
1695 out_Ri
= FLD (out_Ri
);
1696 referenced
|= 1 << 0;
1697 referenced
|= 1 << 1;
1698 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
1705 model_fr30_1_ldr14 (SIM_CPU
*current_cpu
, void *sem_arg
)
1707 #define FLD(f) abuf->fields.sfmt_ldr14.f
1708 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1709 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1713 int UNUSED insn_referenced
= abuf
->written
;
1716 out_Ri
= FLD (out_Ri
);
1717 referenced
|= 1 << 1;
1718 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
1725 model_fr30_1_ldr14uh (SIM_CPU
*current_cpu
, void *sem_arg
)
1727 #define FLD(f) abuf->fields.sfmt_ldr14uh.f
1728 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1729 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1733 int UNUSED insn_referenced
= abuf
->written
;
1736 out_Ri
= FLD (out_Ri
);
1737 referenced
|= 1 << 1;
1738 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
1745 model_fr30_1_ldr14ub (SIM_CPU
*current_cpu
, void *sem_arg
)
1747 #define FLD(f) abuf->fields.sfmt_ldr14ub.f
1748 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1749 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1753 int UNUSED insn_referenced
= abuf
->written
;
1756 out_Ri
= FLD (out_Ri
);
1757 referenced
|= 1 << 1;
1758 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
1765 model_fr30_1_ldr15 (SIM_CPU
*current_cpu
, void *sem_arg
)
1767 #define FLD(f) abuf->fields.sfmt_ldr15.f
1768 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1769 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1773 int UNUSED insn_referenced
= abuf
->written
;
1776 out_Ri
= FLD (out_Ri
);
1777 referenced
|= 1 << 1;
1778 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
1785 model_fr30_1_ldr15gr (SIM_CPU
*current_cpu
, void *sem_arg
)
1787 #define FLD(f) abuf->fields.sfmt_ldr15gr.f
1788 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1789 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1793 int UNUSED insn_referenced
= abuf
->written
;
1796 out_Ri
= FLD (out_Ri
);
1797 referenced
|= 1 << 1;
1798 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
1805 model_fr30_1_ldr15dr (SIM_CPU
*current_cpu
, void *sem_arg
)
1807 #define FLD(f) abuf->fields.sfmt_ldr15dr.f
1808 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1809 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1813 int UNUSED insn_referenced
= abuf
->written
;
1816 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
1823 model_fr30_1_ldr15ps (SIM_CPU
*current_cpu
, void *sem_arg
)
1825 #define FLD(f) abuf->fields.sfmt_addsp.f
1826 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1827 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1831 int UNUSED insn_referenced
= abuf
->written
;
1834 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
1841 model_fr30_1_st (SIM_CPU
*current_cpu
, void *sem_arg
)
1843 #define FLD(f) abuf->fields.sfmt_str13.f
1844 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1845 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1849 int UNUSED insn_referenced
= abuf
->written
;
1852 in_Ri
= FLD (in_Ri
);
1853 in_Rj
= FLD (in_Rj
);
1854 referenced
|= 1 << 0;
1855 referenced
|= 1 << 1;
1856 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
1863 model_fr30_1_sth (SIM_CPU
*current_cpu
, void *sem_arg
)
1865 #define FLD(f) abuf->fields.sfmt_str13.f
1866 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1867 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1871 int UNUSED insn_referenced
= abuf
->written
;
1874 in_Ri
= FLD (in_Ri
);
1875 in_Rj
= FLD (in_Rj
);
1876 referenced
|= 1 << 0;
1877 referenced
|= 1 << 1;
1878 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
1885 model_fr30_1_stb (SIM_CPU
*current_cpu
, void *sem_arg
)
1887 #define FLD(f) abuf->fields.sfmt_str13.f
1888 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1889 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1893 int UNUSED insn_referenced
= abuf
->written
;
1896 in_Ri
= FLD (in_Ri
);
1897 in_Rj
= FLD (in_Rj
);
1898 referenced
|= 1 << 0;
1899 referenced
|= 1 << 1;
1900 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
1907 model_fr30_1_str13 (SIM_CPU
*current_cpu
, void *sem_arg
)
1909 #define FLD(f) abuf->fields.sfmt_str13.f
1910 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1911 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1915 int UNUSED insn_referenced
= abuf
->written
;
1918 in_Ri
= FLD (in_Ri
);
1919 in_Rj
= FLD (in_Rj
);
1920 referenced
|= 1 << 0;
1921 referenced
|= 1 << 1;
1922 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
1929 model_fr30_1_str13h (SIM_CPU
*current_cpu
, void *sem_arg
)
1931 #define FLD(f) abuf->fields.sfmt_str13.f
1932 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1933 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1937 int UNUSED insn_referenced
= abuf
->written
;
1940 in_Ri
= FLD (in_Ri
);
1941 in_Rj
= FLD (in_Rj
);
1942 referenced
|= 1 << 0;
1943 referenced
|= 1 << 1;
1944 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
1951 model_fr30_1_str13b (SIM_CPU
*current_cpu
, void *sem_arg
)
1953 #define FLD(f) abuf->fields.sfmt_str13.f
1954 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1955 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1959 int UNUSED insn_referenced
= abuf
->written
;
1962 in_Ri
= FLD (in_Ri
);
1963 in_Rj
= FLD (in_Rj
);
1964 referenced
|= 1 << 0;
1965 referenced
|= 1 << 1;
1966 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
1973 model_fr30_1_str14 (SIM_CPU
*current_cpu
, void *sem_arg
)
1975 #define FLD(f) abuf->fields.sfmt_str14.f
1976 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1977 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1981 int UNUSED insn_referenced
= abuf
->written
;
1984 in_Ri
= FLD (in_Ri
);
1985 referenced
|= 1 << 0;
1986 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
1993 model_fr30_1_str14h (SIM_CPU
*current_cpu
, void *sem_arg
)
1995 #define FLD(f) abuf->fields.sfmt_str14h.f
1996 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1997 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2001 int UNUSED insn_referenced
= abuf
->written
;
2004 in_Ri
= FLD (in_Ri
);
2005 referenced
|= 1 << 0;
2006 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
2013 model_fr30_1_str14b (SIM_CPU
*current_cpu
, void *sem_arg
)
2015 #define FLD(f) abuf->fields.sfmt_str14b.f
2016 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2017 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2021 int UNUSED insn_referenced
= abuf
->written
;
2024 in_Ri
= FLD (in_Ri
);
2025 referenced
|= 1 << 0;
2026 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
2033 model_fr30_1_str15 (SIM_CPU
*current_cpu
, void *sem_arg
)
2035 #define FLD(f) abuf->fields.sfmt_str15.f
2036 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2037 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2041 int UNUSED insn_referenced
= abuf
->written
;
2044 in_Ri
= FLD (in_Ri
);
2045 referenced
|= 1 << 0;
2046 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
2053 model_fr30_1_str15gr (SIM_CPU
*current_cpu
, void *sem_arg
)
2055 #define FLD(f) abuf->fields.sfmt_str15gr.f
2056 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2057 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2061 int UNUSED insn_referenced
= abuf
->written
;
2064 in_Ri
= FLD (in_Ri
);
2065 referenced
|= 1 << 0;
2066 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
2073 model_fr30_1_str15dr (SIM_CPU
*current_cpu
, void *sem_arg
)
2075 #define FLD(f) abuf->fields.sfmt_ldr15dr.f
2076 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2077 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2081 int UNUSED insn_referenced
= abuf
->written
;
2084 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
2091 model_fr30_1_str15ps (SIM_CPU
*current_cpu
, void *sem_arg
)
2093 #define FLD(f) abuf->fields.sfmt_addsp.f
2094 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2095 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2099 int UNUSED insn_referenced
= abuf
->written
;
2102 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
2109 model_fr30_1_mov (SIM_CPU
*current_cpu
, void *sem_arg
)
2111 #define FLD(f) abuf->fields.sfmt_ldr13.f
2112 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2113 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2117 int UNUSED insn_referenced
= abuf
->written
;
2121 in_Rj
= FLD (in_Rj
);
2122 out_Ri
= FLD (out_Ri
);
2123 referenced
|= 1 << 1;
2124 referenced
|= 1 << 2;
2125 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
2132 model_fr30_1_movdr (SIM_CPU
*current_cpu
, void *sem_arg
)
2134 #define FLD(f) abuf->fields.sfmt_movdr.f
2135 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2136 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2140 int UNUSED insn_referenced
= abuf
->written
;
2144 out_Ri
= FLD (out_Ri
);
2145 referenced
|= 1 << 2;
2146 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
2153 model_fr30_1_movps (SIM_CPU
*current_cpu
, void *sem_arg
)
2155 #define FLD(f) abuf->fields.sfmt_movdr.f
2156 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2157 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2161 int UNUSED insn_referenced
= abuf
->written
;
2165 out_Ri
= FLD (out_Ri
);
2166 referenced
|= 1 << 2;
2167 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
2174 model_fr30_1_mov2dr (SIM_CPU
*current_cpu
, void *sem_arg
)
2176 #define FLD(f) abuf->fields.sfmt_mov2dr.f
2177 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2178 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2182 int UNUSED insn_referenced
= abuf
->written
;
2186 in_Ri
= FLD (in_Ri
);
2187 referenced
|= 1 << 0;
2188 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
2195 model_fr30_1_mov2ps (SIM_CPU
*current_cpu
, void *sem_arg
)
2197 #define FLD(f) abuf->fields.sfmt_mov2dr.f
2198 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2199 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2203 int UNUSED insn_referenced
= abuf
->written
;
2207 in_Ri
= FLD (in_Ri
);
2208 referenced
|= 1 << 0;
2209 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
2216 model_fr30_1_jmp (SIM_CPU
*current_cpu
, void *sem_arg
)
2218 #define FLD(f) abuf->fields.sfmt_mov2dr.f
2219 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2220 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2224 int UNUSED insn_referenced
= abuf
->written
;
2226 in_Ri
= FLD (in_Ri
);
2227 referenced
|= 1 << 0;
2228 referenced
|= 1 << 1;
2229 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2236 model_fr30_1_jmpd (SIM_CPU
*current_cpu
, void *sem_arg
)
2238 #define FLD(f) abuf->fields.sfmt_mov2dr.f
2239 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2240 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2244 int UNUSED insn_referenced
= abuf
->written
;
2246 in_Ri
= FLD (in_Ri
);
2247 referenced
|= 1 << 0;
2248 referenced
|= 1 << 1;
2249 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2256 model_fr30_1_callr (SIM_CPU
*current_cpu
, void *sem_arg
)
2258 #define FLD(f) abuf->fields.sfmt_mov2dr.f
2259 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2260 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2264 int UNUSED insn_referenced
= abuf
->written
;
2266 in_Ri
= FLD (in_Ri
);
2267 referenced
|= 1 << 0;
2268 referenced
|= 1 << 1;
2269 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2276 model_fr30_1_callrd (SIM_CPU
*current_cpu
, void *sem_arg
)
2278 #define FLD(f) abuf->fields.sfmt_mov2dr.f
2279 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2280 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2284 int UNUSED insn_referenced
= abuf
->written
;
2286 in_Ri
= FLD (in_Ri
);
2287 referenced
|= 1 << 0;
2288 referenced
|= 1 << 1;
2289 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2296 model_fr30_1_call (SIM_CPU
*current_cpu
, void *sem_arg
)
2298 #define FLD(f) abuf->fields.sfmt_call.f
2299 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2300 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2304 int UNUSED insn_referenced
= abuf
->written
;
2306 referenced
|= 1 << 1;
2307 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2314 model_fr30_1_calld (SIM_CPU
*current_cpu
, void *sem_arg
)
2316 #define FLD(f) abuf->fields.sfmt_call.f
2317 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2318 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2322 int UNUSED insn_referenced
= abuf
->written
;
2324 referenced
|= 1 << 1;
2325 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2332 model_fr30_1_ret (SIM_CPU
*current_cpu
, void *sem_arg
)
2334 #define FLD(f) abuf->fields.fmt_empty.f
2335 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2336 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2340 int UNUSED insn_referenced
= abuf
->written
;
2342 referenced
|= 1 << 1;
2343 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2350 model_fr30_1_ret_d (SIM_CPU
*current_cpu
, void *sem_arg
)
2352 #define FLD(f) abuf->fields.fmt_empty.f
2353 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2354 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2358 int UNUSED insn_referenced
= abuf
->written
;
2360 referenced
|= 1 << 1;
2361 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2368 model_fr30_1_int (SIM_CPU
*current_cpu
, void *sem_arg
)
2370 #define FLD(f) abuf->fields.sfmt_int.f
2371 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2372 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2376 int UNUSED insn_referenced
= abuf
->written
;
2380 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
2387 model_fr30_1_inte (SIM_CPU
*current_cpu
, void *sem_arg
)
2389 #define FLD(f) abuf->fields.fmt_empty.f
2390 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2391 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2395 int UNUSED insn_referenced
= abuf
->written
;
2399 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
2406 model_fr30_1_reti (SIM_CPU
*current_cpu
, void *sem_arg
)
2408 #define FLD(f) abuf->fields.fmt_empty.f
2409 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2410 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2414 int UNUSED insn_referenced
= abuf
->written
;
2418 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
2425 model_fr30_1_brad (SIM_CPU
*current_cpu
, void *sem_arg
)
2427 #define FLD(f) abuf->fields.sfmt_brad.f
2428 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2429 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2433 int UNUSED insn_referenced
= abuf
->written
;
2435 referenced
|= 1 << 1;
2436 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2443 model_fr30_1_bra (SIM_CPU
*current_cpu
, void *sem_arg
)
2445 #define FLD(f) abuf->fields.sfmt_brad.f
2446 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2447 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2451 int UNUSED insn_referenced
= abuf
->written
;
2453 referenced
|= 1 << 1;
2454 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2461 model_fr30_1_bnod (SIM_CPU
*current_cpu
, void *sem_arg
)
2463 #define FLD(f) abuf->fields.fmt_empty.f
2464 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2465 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2469 int UNUSED insn_referenced
= abuf
->written
;
2471 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2478 model_fr30_1_bno (SIM_CPU
*current_cpu
, void *sem_arg
)
2480 #define FLD(f) abuf->fields.fmt_empty.f
2481 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2482 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2486 int UNUSED insn_referenced
= abuf
->written
;
2488 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2495 model_fr30_1_beqd (SIM_CPU
*current_cpu
, void *sem_arg
)
2497 #define FLD(f) abuf->fields.sfmt_brad.f
2498 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2499 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2503 int UNUSED insn_referenced
= abuf
->written
;
2505 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2506 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2513 model_fr30_1_beq (SIM_CPU
*current_cpu
, void *sem_arg
)
2515 #define FLD(f) abuf->fields.sfmt_brad.f
2516 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2517 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2521 int UNUSED insn_referenced
= abuf
->written
;
2523 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2524 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2531 model_fr30_1_bned (SIM_CPU
*current_cpu
, void *sem_arg
)
2533 #define FLD(f) abuf->fields.sfmt_brad.f
2534 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2535 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2539 int UNUSED insn_referenced
= abuf
->written
;
2541 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2542 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2549 model_fr30_1_bne (SIM_CPU
*current_cpu
, void *sem_arg
)
2551 #define FLD(f) abuf->fields.sfmt_brad.f
2552 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2553 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2557 int UNUSED insn_referenced
= abuf
->written
;
2559 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2560 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2567 model_fr30_1_bcd (SIM_CPU
*current_cpu
, void *sem_arg
)
2569 #define FLD(f) abuf->fields.sfmt_brad.f
2570 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2571 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2575 int UNUSED insn_referenced
= abuf
->written
;
2577 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2578 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2585 model_fr30_1_bc (SIM_CPU
*current_cpu
, void *sem_arg
)
2587 #define FLD(f) abuf->fields.sfmt_brad.f
2588 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2589 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2593 int UNUSED insn_referenced
= abuf
->written
;
2595 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2596 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2603 model_fr30_1_bncd (SIM_CPU
*current_cpu
, void *sem_arg
)
2605 #define FLD(f) abuf->fields.sfmt_brad.f
2606 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2607 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2611 int UNUSED insn_referenced
= abuf
->written
;
2613 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2614 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2621 model_fr30_1_bnc (SIM_CPU
*current_cpu
, void *sem_arg
)
2623 #define FLD(f) abuf->fields.sfmt_brad.f
2624 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2625 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2629 int UNUSED insn_referenced
= abuf
->written
;
2631 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2632 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2639 model_fr30_1_bnd (SIM_CPU
*current_cpu
, void *sem_arg
)
2641 #define FLD(f) abuf->fields.sfmt_brad.f
2642 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2643 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2647 int UNUSED insn_referenced
= abuf
->written
;
2649 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2650 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2657 model_fr30_1_bn (SIM_CPU
*current_cpu
, void *sem_arg
)
2659 #define FLD(f) abuf->fields.sfmt_brad.f
2660 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2661 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2665 int UNUSED insn_referenced
= abuf
->written
;
2667 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2668 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2675 model_fr30_1_bpd (SIM_CPU
*current_cpu
, void *sem_arg
)
2677 #define FLD(f) abuf->fields.sfmt_brad.f
2678 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2679 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2683 int UNUSED insn_referenced
= abuf
->written
;
2685 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2686 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2693 model_fr30_1_bp (SIM_CPU
*current_cpu
, void *sem_arg
)
2695 #define FLD(f) abuf->fields.sfmt_brad.f
2696 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2697 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2701 int UNUSED insn_referenced
= abuf
->written
;
2703 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2704 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2711 model_fr30_1_bvd (SIM_CPU
*current_cpu
, void *sem_arg
)
2713 #define FLD(f) abuf->fields.sfmt_brad.f
2714 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2715 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2719 int UNUSED insn_referenced
= abuf
->written
;
2721 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2722 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2729 model_fr30_1_bv (SIM_CPU
*current_cpu
, void *sem_arg
)
2731 #define FLD(f) abuf->fields.sfmt_brad.f
2732 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2733 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2737 int UNUSED insn_referenced
= abuf
->written
;
2739 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2740 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2747 model_fr30_1_bnvd (SIM_CPU
*current_cpu
, void *sem_arg
)
2749 #define FLD(f) abuf->fields.sfmt_brad.f
2750 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2751 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2755 int UNUSED insn_referenced
= abuf
->written
;
2757 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2758 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2765 model_fr30_1_bnv (SIM_CPU
*current_cpu
, void *sem_arg
)
2767 #define FLD(f) abuf->fields.sfmt_brad.f
2768 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2769 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2773 int UNUSED insn_referenced
= abuf
->written
;
2775 if (insn_referenced
& (1 << 2)) referenced
|= 1 << 1;
2776 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2783 model_fr30_1_bltd (SIM_CPU
*current_cpu
, void *sem_arg
)
2785 #define FLD(f) abuf->fields.sfmt_brad.f
2786 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2787 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2791 int UNUSED insn_referenced
= abuf
->written
;
2793 if (insn_referenced
& (1 << 3)) referenced
|= 1 << 1;
2794 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2801 model_fr30_1_blt (SIM_CPU
*current_cpu
, void *sem_arg
)
2803 #define FLD(f) abuf->fields.sfmt_brad.f
2804 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2805 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2809 int UNUSED insn_referenced
= abuf
->written
;
2811 if (insn_referenced
& (1 << 3)) referenced
|= 1 << 1;
2812 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2819 model_fr30_1_bged (SIM_CPU
*current_cpu
, void *sem_arg
)
2821 #define FLD(f) abuf->fields.sfmt_brad.f
2822 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2823 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2827 int UNUSED insn_referenced
= abuf
->written
;
2829 if (insn_referenced
& (1 << 3)) referenced
|= 1 << 1;
2830 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2837 model_fr30_1_bge (SIM_CPU
*current_cpu
, void *sem_arg
)
2839 #define FLD(f) abuf->fields.sfmt_brad.f
2840 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2841 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2845 int UNUSED insn_referenced
= abuf
->written
;
2847 if (insn_referenced
& (1 << 3)) referenced
|= 1 << 1;
2848 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2855 model_fr30_1_bled (SIM_CPU
*current_cpu
, void *sem_arg
)
2857 #define FLD(f) abuf->fields.sfmt_brad.f
2858 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2859 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2863 int UNUSED insn_referenced
= abuf
->written
;
2865 if (insn_referenced
& (1 << 4)) referenced
|= 1 << 1;
2866 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2873 model_fr30_1_ble (SIM_CPU
*current_cpu
, void *sem_arg
)
2875 #define FLD(f) abuf->fields.sfmt_brad.f
2876 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2877 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2881 int UNUSED insn_referenced
= abuf
->written
;
2883 if (insn_referenced
& (1 << 4)) referenced
|= 1 << 1;
2884 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2891 model_fr30_1_bgtd (SIM_CPU
*current_cpu
, void *sem_arg
)
2893 #define FLD(f) abuf->fields.sfmt_brad.f
2894 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2895 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2899 int UNUSED insn_referenced
= abuf
->written
;
2901 if (insn_referenced
& (1 << 4)) referenced
|= 1 << 1;
2902 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2909 model_fr30_1_bgt (SIM_CPU
*current_cpu
, void *sem_arg
)
2911 #define FLD(f) abuf->fields.sfmt_brad.f
2912 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2913 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2917 int UNUSED insn_referenced
= abuf
->written
;
2919 if (insn_referenced
& (1 << 4)) referenced
|= 1 << 1;
2920 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2927 model_fr30_1_blsd (SIM_CPU
*current_cpu
, void *sem_arg
)
2929 #define FLD(f) abuf->fields.sfmt_brad.f
2930 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2931 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2935 int UNUSED insn_referenced
= abuf
->written
;
2937 if (insn_referenced
& (1 << 3)) referenced
|= 1 << 1;
2938 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2945 model_fr30_1_bls (SIM_CPU
*current_cpu
, void *sem_arg
)
2947 #define FLD(f) abuf->fields.sfmt_brad.f
2948 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2949 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2953 int UNUSED insn_referenced
= abuf
->written
;
2955 if (insn_referenced
& (1 << 3)) referenced
|= 1 << 1;
2956 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2963 model_fr30_1_bhid (SIM_CPU
*current_cpu
, void *sem_arg
)
2965 #define FLD(f) abuf->fields.sfmt_brad.f
2966 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2967 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2971 int UNUSED insn_referenced
= abuf
->written
;
2973 if (insn_referenced
& (1 << 3)) referenced
|= 1 << 1;
2974 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2981 model_fr30_1_bhi (SIM_CPU
*current_cpu
, void *sem_arg
)
2983 #define FLD(f) abuf->fields.sfmt_brad.f
2984 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2985 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2989 int UNUSED insn_referenced
= abuf
->written
;
2991 if (insn_referenced
& (1 << 3)) referenced
|= 1 << 1;
2992 cycles
+= fr30bf_model_fr30_1_u_cti (current_cpu
, idesc
, 0, referenced
, in_Ri
);
2999 model_fr30_1_dmovr13 (SIM_CPU
*current_cpu
, void *sem_arg
)
3001 #define FLD(f) abuf->fields.sfmt_dmovr13pi.f
3002 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3003 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3007 int UNUSED insn_referenced
= abuf
->written
;
3010 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
3017 model_fr30_1_dmovr13h (SIM_CPU
*current_cpu
, void *sem_arg
)
3019 #define FLD(f) abuf->fields.sfmt_dmovr13pih.f
3020 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3021 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3025 int UNUSED insn_referenced
= abuf
->written
;
3028 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
3035 model_fr30_1_dmovr13b (SIM_CPU
*current_cpu
, void *sem_arg
)
3037 #define FLD(f) abuf->fields.sfmt_dmovr13pib.f
3038 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3039 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3043 int UNUSED insn_referenced
= abuf
->written
;
3046 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
);
3053 model_fr30_1_dmovr13pi (SIM_CPU
*current_cpu
, void *sem_arg
)
3055 #define FLD(f) abuf->fields.sfmt_dmovr13pi.f
3056 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3057 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3061 int UNUSED insn_referenced
= abuf
->written
;
3064 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
3068 int UNUSED insn_referenced
= abuf
->written
;
3071 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 1, referenced
, in_Ri
, in_Rj
);
3078 model_fr30_1_dmovr13pih (SIM_CPU
*current_cpu
, void *sem_arg
)
3080 #define FLD(f) abuf->fields.sfmt_dmovr13pih.f
3081 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3082 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3086 int UNUSED insn_referenced
= abuf
->written
;
3089 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
3093 int UNUSED insn_referenced
= abuf
->written
;
3096 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 1, referenced
, in_Ri
, in_Rj
);
3103 model_fr30_1_dmovr13pib (SIM_CPU
*current_cpu
, void *sem_arg
)
3105 #define FLD(f) abuf->fields.sfmt_dmovr13pib.f
3106 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3107 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3111 int UNUSED insn_referenced
= abuf
->written
;
3114 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
3118 int UNUSED insn_referenced
= abuf
->written
;
3121 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 1, referenced
, in_Ri
, in_Rj
);
3128 model_fr30_1_dmovr15pi (SIM_CPU
*current_cpu
, void *sem_arg
)
3130 #define FLD(f) abuf->fields.sfmt_dmovr15pi.f
3131 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3132 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3136 int UNUSED insn_referenced
= abuf
->written
;
3139 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
3143 int UNUSED insn_referenced
= abuf
->written
;
3146 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 1, referenced
, in_Ri
, in_Rj
);
3153 model_fr30_1_dmov2r13 (SIM_CPU
*current_cpu
, void *sem_arg
)
3155 #define FLD(f) abuf->fields.sfmt_dmovr13pi.f
3156 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3157 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3161 int UNUSED insn_referenced
= abuf
->written
;
3164 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
3171 model_fr30_1_dmov2r13h (SIM_CPU
*current_cpu
, void *sem_arg
)
3173 #define FLD(f) abuf->fields.sfmt_dmovr13pih.f
3174 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3175 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3179 int UNUSED insn_referenced
= abuf
->written
;
3182 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
3189 model_fr30_1_dmov2r13b (SIM_CPU
*current_cpu
, void *sem_arg
)
3191 #define FLD(f) abuf->fields.sfmt_dmovr13pib.f
3192 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3193 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3197 int UNUSED insn_referenced
= abuf
->written
;
3200 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
3207 model_fr30_1_dmov2r13pi (SIM_CPU
*current_cpu
, void *sem_arg
)
3209 #define FLD(f) abuf->fields.sfmt_dmovr13pi.f
3210 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3211 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3215 int UNUSED insn_referenced
= abuf
->written
;
3218 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
3222 int UNUSED insn_referenced
= abuf
->written
;
3225 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 1, referenced
, in_Ri
, in_Rj
);
3232 model_fr30_1_dmov2r13pih (SIM_CPU
*current_cpu
, void *sem_arg
)
3234 #define FLD(f) abuf->fields.sfmt_dmovr13pih.f
3235 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3236 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3240 int UNUSED insn_referenced
= abuf
->written
;
3243 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
3247 int UNUSED insn_referenced
= abuf
->written
;
3250 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 1, referenced
, in_Ri
, in_Rj
);
3257 model_fr30_1_dmov2r13pib (SIM_CPU
*current_cpu
, void *sem_arg
)
3259 #define FLD(f) abuf->fields.sfmt_dmovr13pib.f
3260 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3261 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3265 int UNUSED insn_referenced
= abuf
->written
;
3268 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
3272 int UNUSED insn_referenced
= abuf
->written
;
3275 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 1, referenced
, in_Ri
, in_Rj
);
3282 model_fr30_1_dmov2r15pd (SIM_CPU
*current_cpu
, void *sem_arg
)
3284 #define FLD(f) abuf->fields.sfmt_dmovr15pi.f
3285 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3286 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3290 int UNUSED insn_referenced
= abuf
->written
;
3293 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
3297 int UNUSED insn_referenced
= abuf
->written
;
3300 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 1, referenced
, in_Ri
, in_Rj
);
3307 model_fr30_1_ldres (SIM_CPU
*current_cpu
, void *sem_arg
)
3309 #define FLD(f) abuf->fields.sfmt_add2.f
3310 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3311 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3315 int UNUSED insn_referenced
= abuf
->written
;
3319 in_Ri
= FLD (in_Ri
);
3320 out_Ri
= FLD (out_Ri
);
3321 referenced
|= 1 << 0;
3322 referenced
|= 1 << 2;
3323 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3330 model_fr30_1_stres (SIM_CPU
*current_cpu
, void *sem_arg
)
3332 #define FLD(f) abuf->fields.sfmt_add2.f
3333 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3334 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3338 int UNUSED insn_referenced
= abuf
->written
;
3342 in_Ri
= FLD (in_Ri
);
3343 out_Ri
= FLD (out_Ri
);
3344 referenced
|= 1 << 0;
3345 referenced
|= 1 << 2;
3346 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3353 model_fr30_1_copop (SIM_CPU
*current_cpu
, void *sem_arg
)
3355 #define FLD(f) abuf->fields.fmt_empty.f
3356 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3357 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3361 int UNUSED insn_referenced
= abuf
->written
;
3365 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3372 model_fr30_1_copld (SIM_CPU
*current_cpu
, void *sem_arg
)
3374 #define FLD(f) abuf->fields.fmt_empty.f
3375 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3376 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3380 int UNUSED insn_referenced
= abuf
->written
;
3384 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3391 model_fr30_1_copst (SIM_CPU
*current_cpu
, void *sem_arg
)
3393 #define FLD(f) abuf->fields.fmt_empty.f
3394 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3395 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3399 int UNUSED insn_referenced
= abuf
->written
;
3403 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3410 model_fr30_1_copsv (SIM_CPU
*current_cpu
, void *sem_arg
)
3412 #define FLD(f) abuf->fields.fmt_empty.f
3413 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3414 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3418 int UNUSED insn_referenced
= abuf
->written
;
3422 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3429 model_fr30_1_nop (SIM_CPU
*current_cpu
, void *sem_arg
)
3431 #define FLD(f) abuf->fields.fmt_empty.f
3432 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3433 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3437 int UNUSED insn_referenced
= abuf
->written
;
3441 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3448 model_fr30_1_andccr (SIM_CPU
*current_cpu
, void *sem_arg
)
3450 #define FLD(f) abuf->fields.sfmt_int.f
3451 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3452 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3456 int UNUSED insn_referenced
= abuf
->written
;
3460 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3467 model_fr30_1_orccr (SIM_CPU
*current_cpu
, void *sem_arg
)
3469 #define FLD(f) abuf->fields.sfmt_int.f
3470 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3471 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3475 int UNUSED insn_referenced
= abuf
->written
;
3479 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3486 model_fr30_1_stilm (SIM_CPU
*current_cpu
, void *sem_arg
)
3488 #define FLD(f) abuf->fields.sfmt_int.f
3489 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3490 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3494 int UNUSED insn_referenced
= abuf
->written
;
3498 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3505 model_fr30_1_addsp (SIM_CPU
*current_cpu
, void *sem_arg
)
3507 #define FLD(f) abuf->fields.sfmt_addsp.f
3508 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3509 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3513 int UNUSED insn_referenced
= abuf
->written
;
3517 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3524 model_fr30_1_extsb (SIM_CPU
*current_cpu
, void *sem_arg
)
3526 #define FLD(f) abuf->fields.sfmt_add2.f
3527 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3528 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3532 int UNUSED insn_referenced
= abuf
->written
;
3536 in_Ri
= FLD (in_Ri
);
3537 out_Ri
= FLD (out_Ri
);
3538 referenced
|= 1 << 0;
3539 referenced
|= 1 << 2;
3540 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3547 model_fr30_1_extub (SIM_CPU
*current_cpu
, void *sem_arg
)
3549 #define FLD(f) abuf->fields.sfmt_add2.f
3550 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3551 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3555 int UNUSED insn_referenced
= abuf
->written
;
3559 in_Ri
= FLD (in_Ri
);
3560 out_Ri
= FLD (out_Ri
);
3561 referenced
|= 1 << 0;
3562 referenced
|= 1 << 2;
3563 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3570 model_fr30_1_extsh (SIM_CPU
*current_cpu
, void *sem_arg
)
3572 #define FLD(f) abuf->fields.sfmt_add2.f
3573 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3574 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3578 int UNUSED insn_referenced
= abuf
->written
;
3582 in_Ri
= FLD (in_Ri
);
3583 out_Ri
= FLD (out_Ri
);
3584 referenced
|= 1 << 0;
3585 referenced
|= 1 << 2;
3586 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3593 model_fr30_1_extuh (SIM_CPU
*current_cpu
, void *sem_arg
)
3595 #define FLD(f) abuf->fields.sfmt_add2.f
3596 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3597 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3601 int UNUSED insn_referenced
= abuf
->written
;
3605 in_Ri
= FLD (in_Ri
);
3606 out_Ri
= FLD (out_Ri
);
3607 referenced
|= 1 << 0;
3608 referenced
|= 1 << 2;
3609 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3616 model_fr30_1_ldm0 (SIM_CPU
*current_cpu
, void *sem_arg
)
3618 #define FLD(f) abuf->fields.sfmt_ldm0.f
3619 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3620 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3624 int UNUSED insn_referenced
= abuf
->written
;
3626 cycles
+= fr30bf_model_fr30_1_u_ldm (current_cpu
, idesc
, 0, referenced
, in_reglist
);
3633 model_fr30_1_ldm1 (SIM_CPU
*current_cpu
, void *sem_arg
)
3635 #define FLD(f) abuf->fields.sfmt_ldm1.f
3636 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3637 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3641 int UNUSED insn_referenced
= abuf
->written
;
3643 cycles
+= fr30bf_model_fr30_1_u_ldm (current_cpu
, idesc
, 0, referenced
, in_reglist
);
3650 model_fr30_1_stm0 (SIM_CPU
*current_cpu
, void *sem_arg
)
3652 #define FLD(f) abuf->fields.sfmt_stm0.f
3653 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3654 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3658 int UNUSED insn_referenced
= abuf
->written
;
3660 cycles
+= fr30bf_model_fr30_1_u_stm (current_cpu
, idesc
, 0, referenced
, in_reglist
);
3667 model_fr30_1_stm1 (SIM_CPU
*current_cpu
, void *sem_arg
)
3669 #define FLD(f) abuf->fields.sfmt_stm1.f
3670 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3671 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3675 int UNUSED insn_referenced
= abuf
->written
;
3677 cycles
+= fr30bf_model_fr30_1_u_stm (current_cpu
, idesc
, 0, referenced
, in_reglist
);
3684 model_fr30_1_enter (SIM_CPU
*current_cpu
, void *sem_arg
)
3686 #define FLD(f) abuf->fields.sfmt_enter.f
3687 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3688 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3692 int UNUSED insn_referenced
= abuf
->written
;
3696 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3703 model_fr30_1_leave (SIM_CPU
*current_cpu
, void *sem_arg
)
3705 #define FLD(f) abuf->fields.sfmt_enter.f
3706 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3707 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3711 int UNUSED insn_referenced
= abuf
->written
;
3715 cycles
+= fr30bf_model_fr30_1_u_exec (current_cpu
, idesc
, 0, referenced
, in_Ri
, in_Rj
, out_Ri
);
3722 model_fr30_1_xchb (SIM_CPU
*current_cpu
, void *sem_arg
)
3724 #define FLD(f) abuf->fields.sfmt_add.f
3725 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3726 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3730 int UNUSED insn_referenced
= abuf
->written
;
3733 in_Rj
= FLD (in_Rj
);
3734 out_Ri
= FLD (out_Ri
);
3735 referenced
|= 1 << 0;
3736 referenced
|= 1 << 1;
3737 cycles
+= fr30bf_model_fr30_1_u_load (current_cpu
, idesc
, 0, referenced
, in_Rj
, out_Ri
);
3741 int UNUSED insn_referenced
= abuf
->written
;
3744 in_Ri
= FLD (in_Ri
);
3745 in_Rj
= FLD (in_Rj
);
3746 referenced
|= 1 << 0;
3747 referenced
|= 1 << 1;
3748 cycles
+= fr30bf_model_fr30_1_u_store (current_cpu
, idesc
, 1, referenced
, in_Ri
, in_Rj
);
3754 /* We assume UNIT_NONE == 0 because the tables don't always terminate
3757 /* Model timing data for `fr30-1'. */
3759 static const INSN_TIMING fr30_1_timing
[] = {
3760 { FR30BF_INSN_X_INVALID
, 0, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3761 { FR30BF_INSN_X_AFTER
, 0, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3762 { FR30BF_INSN_X_BEFORE
, 0, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3763 { FR30BF_INSN_X_CTI_CHAIN
, 0, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3764 { FR30BF_INSN_X_CHAIN
, 0, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3765 { FR30BF_INSN_X_BEGIN
, 0, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3766 { FR30BF_INSN_ADD
, model_fr30_1_add
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3767 { FR30BF_INSN_ADDI
, model_fr30_1_addi
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3768 { FR30BF_INSN_ADD2
, model_fr30_1_add2
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3769 { FR30BF_INSN_ADDC
, model_fr30_1_addc
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3770 { FR30BF_INSN_ADDN
, model_fr30_1_addn
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3771 { FR30BF_INSN_ADDNI
, model_fr30_1_addni
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3772 { FR30BF_INSN_ADDN2
, model_fr30_1_addn2
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3773 { FR30BF_INSN_SUB
, model_fr30_1_sub
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3774 { FR30BF_INSN_SUBC
, model_fr30_1_subc
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3775 { FR30BF_INSN_SUBN
, model_fr30_1_subn
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3776 { FR30BF_INSN_CMP
, model_fr30_1_cmp
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3777 { FR30BF_INSN_CMPI
, model_fr30_1_cmpi
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3778 { FR30BF_INSN_CMP2
, model_fr30_1_cmp2
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3779 { FR30BF_INSN_AND
, model_fr30_1_and
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3780 { FR30BF_INSN_OR
, model_fr30_1_or
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3781 { FR30BF_INSN_EOR
, model_fr30_1_eor
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3782 { FR30BF_INSN_ANDM
, model_fr30_1_andm
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3783 { FR30BF_INSN_ANDH
, model_fr30_1_andh
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3784 { FR30BF_INSN_ANDB
, model_fr30_1_andb
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3785 { FR30BF_INSN_ORM
, model_fr30_1_orm
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3786 { FR30BF_INSN_ORH
, model_fr30_1_orh
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3787 { FR30BF_INSN_ORB
, model_fr30_1_orb
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3788 { FR30BF_INSN_EORM
, model_fr30_1_eorm
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3789 { FR30BF_INSN_EORH
, model_fr30_1_eorh
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3790 { FR30BF_INSN_EORB
, model_fr30_1_eorb
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3791 { FR30BF_INSN_BANDL
, model_fr30_1_bandl
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3792 { FR30BF_INSN_BORL
, model_fr30_1_borl
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3793 { FR30BF_INSN_BEORL
, model_fr30_1_beorl
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3794 { FR30BF_INSN_BANDH
, model_fr30_1_bandh
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3795 { FR30BF_INSN_BORH
, model_fr30_1_borh
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3796 { FR30BF_INSN_BEORH
, model_fr30_1_beorh
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3797 { FR30BF_INSN_BTSTL
, model_fr30_1_btstl
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_EXEC
, 1, 2 } } },
3798 { FR30BF_INSN_BTSTH
, model_fr30_1_btsth
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_EXEC
, 1, 2 } } },
3799 { FR30BF_INSN_MUL
, model_fr30_1_mul
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 5 } } },
3800 { FR30BF_INSN_MULU
, model_fr30_1_mulu
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 5 } } },
3801 { FR30BF_INSN_MULH
, model_fr30_1_mulh
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 3 } } },
3802 { FR30BF_INSN_MULUH
, model_fr30_1_muluh
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 3 } } },
3803 { FR30BF_INSN_DIV0S
, model_fr30_1_div0s
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3804 { FR30BF_INSN_DIV0U
, model_fr30_1_div0u
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3805 { FR30BF_INSN_DIV1
, model_fr30_1_div1
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3806 { FR30BF_INSN_DIV2
, model_fr30_1_div2
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3807 { FR30BF_INSN_DIV3
, model_fr30_1_div3
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3808 { FR30BF_INSN_DIV4S
, model_fr30_1_div4s
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3809 { FR30BF_INSN_LSL
, model_fr30_1_lsl
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3810 { FR30BF_INSN_LSLI
, model_fr30_1_lsli
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3811 { FR30BF_INSN_LSL2
, model_fr30_1_lsl2
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3812 { FR30BF_INSN_LSR
, model_fr30_1_lsr
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3813 { FR30BF_INSN_LSRI
, model_fr30_1_lsri
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3814 { FR30BF_INSN_LSR2
, model_fr30_1_lsr2
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3815 { FR30BF_INSN_ASR
, model_fr30_1_asr
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3816 { FR30BF_INSN_ASRI
, model_fr30_1_asri
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3817 { FR30BF_INSN_ASR2
, model_fr30_1_asr2
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3818 { FR30BF_INSN_LDI8
, model_fr30_1_ldi8
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3819 { FR30BF_INSN_LDI20
, model_fr30_1_ldi20
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 2 } } },
3820 { FR30BF_INSN_LDI32
, model_fr30_1_ldi32
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 3 } } },
3821 { FR30BF_INSN_LD
, model_fr30_1_ld
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3822 { FR30BF_INSN_LDUH
, model_fr30_1_lduh
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3823 { FR30BF_INSN_LDUB
, model_fr30_1_ldub
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3824 { FR30BF_INSN_LDR13
, model_fr30_1_ldr13
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3825 { FR30BF_INSN_LDR13UH
, model_fr30_1_ldr13uh
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3826 { FR30BF_INSN_LDR13UB
, model_fr30_1_ldr13ub
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3827 { FR30BF_INSN_LDR14
, model_fr30_1_ldr14
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3828 { FR30BF_INSN_LDR14UH
, model_fr30_1_ldr14uh
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3829 { FR30BF_INSN_LDR14UB
, model_fr30_1_ldr14ub
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3830 { FR30BF_INSN_LDR15
, model_fr30_1_ldr15
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3831 { FR30BF_INSN_LDR15GR
, model_fr30_1_ldr15gr
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3832 { FR30BF_INSN_LDR15DR
, model_fr30_1_ldr15dr
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3833 { FR30BF_INSN_LDR15PS
, model_fr30_1_ldr15ps
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3834 { FR30BF_INSN_ST
, model_fr30_1_st
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3835 { FR30BF_INSN_STH
, model_fr30_1_sth
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3836 { FR30BF_INSN_STB
, model_fr30_1_stb
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3837 { FR30BF_INSN_STR13
, model_fr30_1_str13
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3838 { FR30BF_INSN_STR13H
, model_fr30_1_str13h
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3839 { FR30BF_INSN_STR13B
, model_fr30_1_str13b
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3840 { FR30BF_INSN_STR14
, model_fr30_1_str14
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3841 { FR30BF_INSN_STR14H
, model_fr30_1_str14h
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3842 { FR30BF_INSN_STR14B
, model_fr30_1_str14b
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3843 { FR30BF_INSN_STR15
, model_fr30_1_str15
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3844 { FR30BF_INSN_STR15GR
, model_fr30_1_str15gr
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3845 { FR30BF_INSN_STR15DR
, model_fr30_1_str15dr
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3846 { FR30BF_INSN_STR15PS
, model_fr30_1_str15ps
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3847 { FR30BF_INSN_MOV
, model_fr30_1_mov
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3848 { FR30BF_INSN_MOVDR
, model_fr30_1_movdr
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3849 { FR30BF_INSN_MOVPS
, model_fr30_1_movps
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3850 { FR30BF_INSN_MOV2DR
, model_fr30_1_mov2dr
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3851 { FR30BF_INSN_MOV2PS
, model_fr30_1_mov2ps
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3852 { FR30BF_INSN_JMP
, model_fr30_1_jmp
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3853 { FR30BF_INSN_JMPD
, model_fr30_1_jmpd
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3854 { FR30BF_INSN_CALLR
, model_fr30_1_callr
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3855 { FR30BF_INSN_CALLRD
, model_fr30_1_callrd
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3856 { FR30BF_INSN_CALL
, model_fr30_1_call
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3857 { FR30BF_INSN_CALLD
, model_fr30_1_calld
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3858 { FR30BF_INSN_RET
, model_fr30_1_ret
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3859 { FR30BF_INSN_RET_D
, model_fr30_1_ret_d
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3860 { FR30BF_INSN_INT
, model_fr30_1_int
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 6 } } },
3861 { FR30BF_INSN_INTE
, model_fr30_1_inte
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 6 } } },
3862 { FR30BF_INSN_RETI
, model_fr30_1_reti
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 4 } } },
3863 { FR30BF_INSN_BRAD
, model_fr30_1_brad
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3864 { FR30BF_INSN_BRA
, model_fr30_1_bra
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3865 { FR30BF_INSN_BNOD
, model_fr30_1_bnod
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3866 { FR30BF_INSN_BNO
, model_fr30_1_bno
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3867 { FR30BF_INSN_BEQD
, model_fr30_1_beqd
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3868 { FR30BF_INSN_BEQ
, model_fr30_1_beq
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3869 { FR30BF_INSN_BNED
, model_fr30_1_bned
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3870 { FR30BF_INSN_BNE
, model_fr30_1_bne
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3871 { FR30BF_INSN_BCD
, model_fr30_1_bcd
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3872 { FR30BF_INSN_BC
, model_fr30_1_bc
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3873 { FR30BF_INSN_BNCD
, model_fr30_1_bncd
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3874 { FR30BF_INSN_BNC
, model_fr30_1_bnc
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3875 { FR30BF_INSN_BND
, model_fr30_1_bnd
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3876 { FR30BF_INSN_BN
, model_fr30_1_bn
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3877 { FR30BF_INSN_BPD
, model_fr30_1_bpd
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3878 { FR30BF_INSN_BP
, model_fr30_1_bp
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3879 { FR30BF_INSN_BVD
, model_fr30_1_bvd
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3880 { FR30BF_INSN_BV
, model_fr30_1_bv
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3881 { FR30BF_INSN_BNVD
, model_fr30_1_bnvd
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3882 { FR30BF_INSN_BNV
, model_fr30_1_bnv
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3883 { FR30BF_INSN_BLTD
, model_fr30_1_bltd
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3884 { FR30BF_INSN_BLT
, model_fr30_1_blt
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3885 { FR30BF_INSN_BGED
, model_fr30_1_bged
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3886 { FR30BF_INSN_BGE
, model_fr30_1_bge
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3887 { FR30BF_INSN_BLED
, model_fr30_1_bled
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3888 { FR30BF_INSN_BLE
, model_fr30_1_ble
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3889 { FR30BF_INSN_BGTD
, model_fr30_1_bgtd
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3890 { FR30BF_INSN_BGT
, model_fr30_1_bgt
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3891 { FR30BF_INSN_BLSD
, model_fr30_1_blsd
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3892 { FR30BF_INSN_BLS
, model_fr30_1_bls
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3893 { FR30BF_INSN_BHID
, model_fr30_1_bhid
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3894 { FR30BF_INSN_BHI
, model_fr30_1_bhi
, { { (int) UNIT_FR30_1_U_CTI
, 1, 1 } } },
3895 { FR30BF_INSN_DMOVR13
, model_fr30_1_dmovr13
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3896 { FR30BF_INSN_DMOVR13H
, model_fr30_1_dmovr13h
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3897 { FR30BF_INSN_DMOVR13B
, model_fr30_1_dmovr13b
, { { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3898 { FR30BF_INSN_DMOVR13PI
, model_fr30_1_dmovr13pi
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3899 { FR30BF_INSN_DMOVR13PIH
, model_fr30_1_dmovr13pih
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3900 { FR30BF_INSN_DMOVR13PIB
, model_fr30_1_dmovr13pib
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3901 { FR30BF_INSN_DMOVR15PI
, model_fr30_1_dmovr15pi
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3902 { FR30BF_INSN_DMOV2R13
, model_fr30_1_dmov2r13
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3903 { FR30BF_INSN_DMOV2R13H
, model_fr30_1_dmov2r13h
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3904 { FR30BF_INSN_DMOV2R13B
, model_fr30_1_dmov2r13b
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 } } },
3905 { FR30BF_INSN_DMOV2R13PI
, model_fr30_1_dmov2r13pi
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3906 { FR30BF_INSN_DMOV2R13PIH
, model_fr30_1_dmov2r13pih
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3907 { FR30BF_INSN_DMOV2R13PIB
, model_fr30_1_dmov2r13pib
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3908 { FR30BF_INSN_DMOV2R15PD
, model_fr30_1_dmov2r15pd
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3909 { FR30BF_INSN_LDRES
, model_fr30_1_ldres
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3910 { FR30BF_INSN_STRES
, model_fr30_1_stres
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3911 { FR30BF_INSN_COPOP
, model_fr30_1_copop
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3912 { FR30BF_INSN_COPLD
, model_fr30_1_copld
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3913 { FR30BF_INSN_COPST
, model_fr30_1_copst
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3914 { FR30BF_INSN_COPSV
, model_fr30_1_copsv
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3915 { FR30BF_INSN_NOP
, model_fr30_1_nop
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3916 { FR30BF_INSN_ANDCCR
, model_fr30_1_andccr
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3917 { FR30BF_INSN_ORCCR
, model_fr30_1_orccr
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3918 { FR30BF_INSN_STILM
, model_fr30_1_stilm
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3919 { FR30BF_INSN_ADDSP
, model_fr30_1_addsp
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3920 { FR30BF_INSN_EXTSB
, model_fr30_1_extsb
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3921 { FR30BF_INSN_EXTUB
, model_fr30_1_extub
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3922 { FR30BF_INSN_EXTSH
, model_fr30_1_extsh
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3923 { FR30BF_INSN_EXTUH
, model_fr30_1_extuh
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3924 { FR30BF_INSN_LDM0
, model_fr30_1_ldm0
, { { (int) UNIT_FR30_1_U_LDM
, 1, 1 } } },
3925 { FR30BF_INSN_LDM1
, model_fr30_1_ldm1
, { { (int) UNIT_FR30_1_U_LDM
, 1, 1 } } },
3926 { FR30BF_INSN_STM0
, model_fr30_1_stm0
, { { (int) UNIT_FR30_1_U_STM
, 1, 1 } } },
3927 { FR30BF_INSN_STM1
, model_fr30_1_stm1
, { { (int) UNIT_FR30_1_U_STM
, 1, 1 } } },
3928 { FR30BF_INSN_ENTER
, model_fr30_1_enter
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 2 } } },
3929 { FR30BF_INSN_LEAVE
, model_fr30_1_leave
, { { (int) UNIT_FR30_1_U_EXEC
, 1, 1 } } },
3930 { FR30BF_INSN_XCHB
, model_fr30_1_xchb
, { { (int) UNIT_FR30_1_U_LOAD
, 1, 1 }, { (int) UNIT_FR30_1_U_STORE
, 1, 1 } } },
3933 #endif /* WITH_PROFILE_MODEL_P */
3936 fr30_1_model_init (SIM_CPU
*cpu
)
3938 CPU_MODEL_DATA (cpu
) = (void *) zalloc (sizeof (MODEL_FR30_1_DATA
));
3941 #if WITH_PROFILE_MODEL_P
3942 #define TIMING_DATA(td) td
3944 #define TIMING_DATA(td) 0
3947 static const MODEL fr30_models
[] =
3949 { "fr30-1", & fr30_mach
, MODEL_FR30_1
, TIMING_DATA (& fr30_1_timing
[0]), fr30_1_model_init
},
3953 /* The properties of this cpu's implementation. */
3955 static const MACH_IMP_PROPERTIES fr30bf_imp_properties
=
3967 fr30bf_prepare_run (SIM_CPU
*cpu
)
3969 if (CPU_IDESC (cpu
) == NULL
)
3970 fr30bf_init_idesc_table (cpu
);
3973 static const CGEN_INSN
*
3974 fr30bf_get_idata (SIM_CPU
*cpu
, int inum
)
3976 return CPU_IDESC (cpu
) [inum
].idata
;
3980 fr30_init_cpu (SIM_CPU
*cpu
)
3982 CPU_REG_FETCH (cpu
) = fr30bf_fetch_register
;
3983 CPU_REG_STORE (cpu
) = fr30bf_store_register
;
3984 CPU_PC_FETCH (cpu
) = fr30bf_h_pc_get
;
3985 CPU_PC_STORE (cpu
) = fr30bf_h_pc_set
;
3986 CPU_GET_IDATA (cpu
) = fr30bf_get_idata
;
3987 CPU_MAX_INSNS (cpu
) = FR30BF_INSN_XCHB
+ 1;
3988 CPU_INSN_NAME (cpu
) = cgen_insn_name
;
3989 CPU_FULL_ENGINE_FN (cpu
) = fr30bf_engine_run_full
;
3991 CPU_FAST_ENGINE_FN (cpu
) = fr30bf_engine_run_fast
;
3993 CPU_FAST_ENGINE_FN (cpu
) = fr30bf_engine_run_full
;
3997 const MACH fr30_mach
=
3999 "fr30", "fr30", MACH_FR30
,
4000 32, 32, & fr30_models
[0], & fr30bf_imp_properties
,