1 /* Simulator model support for or1k32bf.
3 THIS FILE IS MACHINE GENERATED WITH CGEN.
5 Copyright 1996-2019 Free Software Foundation, Inc.
7 This file is part of the GNU simulators.
9 This file is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3, or (at your option)
14 It is distributed in the hope that it will be useful, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
17 License for more details.
19 You should have received a copy of the GNU General Public License along
20 with this program; if not, write to the Free Software Foundation, Inc.,
21 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
25 #define WANT_CPU or1k32bf
26 #define WANT_CPU_OR1K32BF
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_or1200_l_j (SIM_CPU
*current_cpu
, void *sem_arg
)
40 #define FLD(f) abuf->fields.sfmt_l_j.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
;
47 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
54 model_or1200_l_adrp (SIM_CPU
*current_cpu
, void *sem_arg
)
56 #define FLD(f) abuf->fields.sfmt_l_adrp.f
57 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
58 const IDESC
* UNUSED idesc
= abuf
->idesc
;
62 int UNUSED insn_referenced
= abuf
->written
;
63 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
70 model_or1200_l_jal (SIM_CPU
*current_cpu
, void *sem_arg
)
72 #define FLD(f) abuf->fields.sfmt_l_j.f
73 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
74 const IDESC
* UNUSED idesc
= abuf
->idesc
;
78 int UNUSED insn_referenced
= abuf
->written
;
79 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
86 model_or1200_l_jr (SIM_CPU
*current_cpu
, void *sem_arg
)
88 #define FLD(f) abuf->fields.sfmt_l_sll.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
;
95 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
102 model_or1200_l_jalr (SIM_CPU
*current_cpu
, void *sem_arg
)
104 #define FLD(f) abuf->fields.sfmt_l_sll.f
105 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
106 const IDESC
* UNUSED idesc
= abuf
->idesc
;
110 int UNUSED insn_referenced
= abuf
->written
;
111 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
118 model_or1200_l_bnf (SIM_CPU
*current_cpu
, void *sem_arg
)
120 #define FLD(f) abuf->fields.sfmt_l_j.f
121 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
122 const IDESC
* UNUSED idesc
= abuf
->idesc
;
126 int UNUSED insn_referenced
= abuf
->written
;
127 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
134 model_or1200_l_bf (SIM_CPU
*current_cpu
, void *sem_arg
)
136 #define FLD(f) abuf->fields.sfmt_l_j.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
;
143 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
150 model_or1200_l_trap (SIM_CPU
*current_cpu
, void *sem_arg
)
152 #define FLD(f) abuf->fields.sfmt_empty.f
153 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
154 const IDESC
* UNUSED idesc
= abuf
->idesc
;
158 int UNUSED insn_referenced
= abuf
->written
;
159 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
166 model_or1200_l_sys (SIM_CPU
*current_cpu
, void *sem_arg
)
168 #define FLD(f) abuf->fields.sfmt_empty.f
169 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
170 const IDESC
* UNUSED idesc
= abuf
->idesc
;
174 int UNUSED insn_referenced
= abuf
->written
;
175 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
182 model_or1200_l_msync (SIM_CPU
*current_cpu
, void *sem_arg
)
184 #define FLD(f) abuf->fields.sfmt_empty.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
;
191 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
198 model_or1200_l_psync (SIM_CPU
*current_cpu
, void *sem_arg
)
200 #define FLD(f) abuf->fields.sfmt_empty.f
201 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
202 const IDESC
* UNUSED idesc
= abuf
->idesc
;
206 int UNUSED insn_referenced
= abuf
->written
;
207 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
214 model_or1200_l_csync (SIM_CPU
*current_cpu
, void *sem_arg
)
216 #define FLD(f) abuf->fields.sfmt_empty.f
217 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
218 const IDESC
* UNUSED idesc
= abuf
->idesc
;
222 int UNUSED insn_referenced
= abuf
->written
;
223 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
230 model_or1200_l_rfe (SIM_CPU
*current_cpu
, void *sem_arg
)
232 #define FLD(f) abuf->fields.sfmt_empty.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
;
239 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
246 model_or1200_l_nop_imm (SIM_CPU
*current_cpu
, void *sem_arg
)
248 #define FLD(f) abuf->fields.sfmt_l_mfspr.f
249 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
250 const IDESC
* UNUSED idesc
= abuf
->idesc
;
254 int UNUSED insn_referenced
= abuf
->written
;
255 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
262 model_or1200_l_movhi (SIM_CPU
*current_cpu
, void *sem_arg
)
264 #define FLD(f) abuf->fields.sfmt_l_mfspr.f
265 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
266 const IDESC
* UNUSED idesc
= abuf
->idesc
;
270 int UNUSED insn_referenced
= abuf
->written
;
271 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
278 model_or1200_l_macrc (SIM_CPU
*current_cpu
, void *sem_arg
)
280 #define FLD(f) abuf->fields.sfmt_l_adrp.f
281 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
282 const IDESC
* UNUSED idesc
= abuf
->idesc
;
286 int UNUSED insn_referenced
= abuf
->written
;
287 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
294 model_or1200_l_mfspr (SIM_CPU
*current_cpu
, void *sem_arg
)
296 #define FLD(f) abuf->fields.sfmt_l_mfspr.f
297 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
298 const IDESC
* UNUSED idesc
= abuf
->idesc
;
302 int UNUSED insn_referenced
= abuf
->written
;
303 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
310 model_or1200_l_mtspr (SIM_CPU
*current_cpu
, void *sem_arg
)
312 #define FLD(f) abuf->fields.sfmt_l_mtspr.f
313 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
314 const IDESC
* UNUSED idesc
= abuf
->idesc
;
318 int UNUSED insn_referenced
= abuf
->written
;
319 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
326 model_or1200_l_lwz (SIM_CPU
*current_cpu
, void *sem_arg
)
328 #define FLD(f) abuf->fields.sfmt_l_lwz.f
329 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
330 const IDESC
* UNUSED idesc
= abuf
->idesc
;
334 int UNUSED insn_referenced
= abuf
->written
;
335 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
342 model_or1200_l_lws (SIM_CPU
*current_cpu
, void *sem_arg
)
344 #define FLD(f) abuf->fields.sfmt_l_lwz.f
345 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
346 const IDESC
* UNUSED idesc
= abuf
->idesc
;
350 int UNUSED insn_referenced
= abuf
->written
;
351 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
358 model_or1200_l_lwa (SIM_CPU
*current_cpu
, void *sem_arg
)
360 #define FLD(f) abuf->fields.sfmt_l_lwz.f
361 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
362 const IDESC
* UNUSED idesc
= abuf
->idesc
;
366 int UNUSED insn_referenced
= abuf
->written
;
367 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
374 model_or1200_l_lbz (SIM_CPU
*current_cpu
, void *sem_arg
)
376 #define FLD(f) abuf->fields.sfmt_l_lwz.f
377 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
378 const IDESC
* UNUSED idesc
= abuf
->idesc
;
382 int UNUSED insn_referenced
= abuf
->written
;
383 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
390 model_or1200_l_lbs (SIM_CPU
*current_cpu
, void *sem_arg
)
392 #define FLD(f) abuf->fields.sfmt_l_lwz.f
393 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
394 const IDESC
* UNUSED idesc
= abuf
->idesc
;
398 int UNUSED insn_referenced
= abuf
->written
;
399 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
406 model_or1200_l_lhz (SIM_CPU
*current_cpu
, void *sem_arg
)
408 #define FLD(f) abuf->fields.sfmt_l_lwz.f
409 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
410 const IDESC
* UNUSED idesc
= abuf
->idesc
;
414 int UNUSED insn_referenced
= abuf
->written
;
415 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
422 model_or1200_l_lhs (SIM_CPU
*current_cpu
, void *sem_arg
)
424 #define FLD(f) abuf->fields.sfmt_l_lwz.f
425 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
426 const IDESC
* UNUSED idesc
= abuf
->idesc
;
430 int UNUSED insn_referenced
= abuf
->written
;
431 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
438 model_or1200_l_sw (SIM_CPU
*current_cpu
, void *sem_arg
)
440 #define FLD(f) abuf->fields.sfmt_l_sw.f
441 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
442 const IDESC
* UNUSED idesc
= abuf
->idesc
;
446 int UNUSED insn_referenced
= abuf
->written
;
447 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
454 model_or1200_l_sb (SIM_CPU
*current_cpu
, void *sem_arg
)
456 #define FLD(f) abuf->fields.sfmt_l_sw.f
457 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
458 const IDESC
* UNUSED idesc
= abuf
->idesc
;
462 int UNUSED insn_referenced
= abuf
->written
;
463 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
470 model_or1200_l_sh (SIM_CPU
*current_cpu
, void *sem_arg
)
472 #define FLD(f) abuf->fields.sfmt_l_sw.f
473 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
474 const IDESC
* UNUSED idesc
= abuf
->idesc
;
478 int UNUSED insn_referenced
= abuf
->written
;
479 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
486 model_or1200_l_swa (SIM_CPU
*current_cpu
, void *sem_arg
)
488 #define FLD(f) abuf->fields.sfmt_l_sw.f
489 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
490 const IDESC
* UNUSED idesc
= abuf
->idesc
;
494 int UNUSED insn_referenced
= abuf
->written
;
495 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
502 model_or1200_l_sll (SIM_CPU
*current_cpu
, void *sem_arg
)
504 #define FLD(f) abuf->fields.sfmt_l_sll.f
505 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
506 const IDESC
* UNUSED idesc
= abuf
->idesc
;
510 int UNUSED insn_referenced
= abuf
->written
;
511 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
518 model_or1200_l_slli (SIM_CPU
*current_cpu
, void *sem_arg
)
520 #define FLD(f) abuf->fields.sfmt_l_slli.f
521 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
522 const IDESC
* UNUSED idesc
= abuf
->idesc
;
526 int UNUSED insn_referenced
= abuf
->written
;
527 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
534 model_or1200_l_srl (SIM_CPU
*current_cpu
, void *sem_arg
)
536 #define FLD(f) abuf->fields.sfmt_l_sll.f
537 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
538 const IDESC
* UNUSED idesc
= abuf
->idesc
;
542 int UNUSED insn_referenced
= abuf
->written
;
543 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
550 model_or1200_l_srli (SIM_CPU
*current_cpu
, void *sem_arg
)
552 #define FLD(f) abuf->fields.sfmt_l_slli.f
553 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
554 const IDESC
* UNUSED idesc
= abuf
->idesc
;
558 int UNUSED insn_referenced
= abuf
->written
;
559 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
566 model_or1200_l_sra (SIM_CPU
*current_cpu
, void *sem_arg
)
568 #define FLD(f) abuf->fields.sfmt_l_sll.f
569 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
570 const IDESC
* UNUSED idesc
= abuf
->idesc
;
574 int UNUSED insn_referenced
= abuf
->written
;
575 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
582 model_or1200_l_srai (SIM_CPU
*current_cpu
, void *sem_arg
)
584 #define FLD(f) abuf->fields.sfmt_l_slli.f
585 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
586 const IDESC
* UNUSED idesc
= abuf
->idesc
;
590 int UNUSED insn_referenced
= abuf
->written
;
591 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
598 model_or1200_l_ror (SIM_CPU
*current_cpu
, void *sem_arg
)
600 #define FLD(f) abuf->fields.sfmt_l_sll.f
601 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
602 const IDESC
* UNUSED idesc
= abuf
->idesc
;
606 int UNUSED insn_referenced
= abuf
->written
;
607 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
614 model_or1200_l_rori (SIM_CPU
*current_cpu
, void *sem_arg
)
616 #define FLD(f) abuf->fields.sfmt_l_slli.f
617 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
618 const IDESC
* UNUSED idesc
= abuf
->idesc
;
622 int UNUSED insn_referenced
= abuf
->written
;
623 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
630 model_or1200_l_and (SIM_CPU
*current_cpu
, void *sem_arg
)
632 #define FLD(f) abuf->fields.sfmt_l_sll.f
633 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
634 const IDESC
* UNUSED idesc
= abuf
->idesc
;
638 int UNUSED insn_referenced
= abuf
->written
;
639 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
646 model_or1200_l_or (SIM_CPU
*current_cpu
, void *sem_arg
)
648 #define FLD(f) abuf->fields.sfmt_l_sll.f
649 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
650 const IDESC
* UNUSED idesc
= abuf
->idesc
;
654 int UNUSED insn_referenced
= abuf
->written
;
655 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
662 model_or1200_l_xor (SIM_CPU
*current_cpu
, void *sem_arg
)
664 #define FLD(f) abuf->fields.sfmt_l_sll.f
665 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
666 const IDESC
* UNUSED idesc
= abuf
->idesc
;
670 int UNUSED insn_referenced
= abuf
->written
;
671 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
678 model_or1200_l_add (SIM_CPU
*current_cpu
, void *sem_arg
)
680 #define FLD(f) abuf->fields.sfmt_l_sll.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
;
687 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
694 model_or1200_l_sub (SIM_CPU
*current_cpu
, void *sem_arg
)
696 #define FLD(f) abuf->fields.sfmt_l_sll.f
697 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
698 const IDESC
* UNUSED idesc
= abuf
->idesc
;
702 int UNUSED insn_referenced
= abuf
->written
;
703 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
710 model_or1200_l_addc (SIM_CPU
*current_cpu
, void *sem_arg
)
712 #define FLD(f) abuf->fields.sfmt_l_sll.f
713 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
714 const IDESC
* UNUSED idesc
= abuf
->idesc
;
718 int UNUSED insn_referenced
= abuf
->written
;
719 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
726 model_or1200_l_mul (SIM_CPU
*current_cpu
, void *sem_arg
)
728 #define FLD(f) abuf->fields.sfmt_l_sll.f
729 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
730 const IDESC
* UNUSED idesc
= abuf
->idesc
;
734 int UNUSED insn_referenced
= abuf
->written
;
735 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
742 model_or1200_l_muld (SIM_CPU
*current_cpu
, void *sem_arg
)
744 #define FLD(f) abuf->fields.sfmt_l_sll.f
745 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
746 const IDESC
* UNUSED idesc
= abuf
->idesc
;
750 int UNUSED insn_referenced
= abuf
->written
;
751 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
758 model_or1200_l_mulu (SIM_CPU
*current_cpu
, void *sem_arg
)
760 #define FLD(f) abuf->fields.sfmt_l_sll.f
761 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
762 const IDESC
* UNUSED idesc
= abuf
->idesc
;
766 int UNUSED insn_referenced
= abuf
->written
;
767 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
774 model_or1200_l_muldu (SIM_CPU
*current_cpu
, void *sem_arg
)
776 #define FLD(f) abuf->fields.sfmt_l_sll.f
777 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
778 const IDESC
* UNUSED idesc
= abuf
->idesc
;
782 int UNUSED insn_referenced
= abuf
->written
;
783 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
790 model_or1200_l_div (SIM_CPU
*current_cpu
, void *sem_arg
)
792 #define FLD(f) abuf->fields.sfmt_l_sll.f
793 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
794 const IDESC
* UNUSED idesc
= abuf
->idesc
;
798 int UNUSED insn_referenced
= abuf
->written
;
799 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
806 model_or1200_l_divu (SIM_CPU
*current_cpu
, void *sem_arg
)
808 #define FLD(f) abuf->fields.sfmt_l_sll.f
809 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
810 const IDESC
* UNUSED idesc
= abuf
->idesc
;
814 int UNUSED insn_referenced
= abuf
->written
;
815 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
822 model_or1200_l_ff1 (SIM_CPU
*current_cpu
, void *sem_arg
)
824 #define FLD(f) abuf->fields.sfmt_l_slli.f
825 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
826 const IDESC
* UNUSED idesc
= abuf
->idesc
;
830 int UNUSED insn_referenced
= abuf
->written
;
831 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
838 model_or1200_l_fl1 (SIM_CPU
*current_cpu
, void *sem_arg
)
840 #define FLD(f) abuf->fields.sfmt_l_slli.f
841 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
842 const IDESC
* UNUSED idesc
= abuf
->idesc
;
846 int UNUSED insn_referenced
= abuf
->written
;
847 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
854 model_or1200_l_andi (SIM_CPU
*current_cpu
, void *sem_arg
)
856 #define FLD(f) abuf->fields.sfmt_l_mfspr.f
857 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
858 const IDESC
* UNUSED idesc
= abuf
->idesc
;
862 int UNUSED insn_referenced
= abuf
->written
;
863 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
870 model_or1200_l_ori (SIM_CPU
*current_cpu
, void *sem_arg
)
872 #define FLD(f) abuf->fields.sfmt_l_mfspr.f
873 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
874 const IDESC
* UNUSED idesc
= abuf
->idesc
;
878 int UNUSED insn_referenced
= abuf
->written
;
879 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
886 model_or1200_l_xori (SIM_CPU
*current_cpu
, void *sem_arg
)
888 #define FLD(f) abuf->fields.sfmt_l_lwz.f
889 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
890 const IDESC
* UNUSED idesc
= abuf
->idesc
;
894 int UNUSED insn_referenced
= abuf
->written
;
895 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
902 model_or1200_l_addi (SIM_CPU
*current_cpu
, void *sem_arg
)
904 #define FLD(f) abuf->fields.sfmt_l_lwz.f
905 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
906 const IDESC
* UNUSED idesc
= abuf
->idesc
;
910 int UNUSED insn_referenced
= abuf
->written
;
911 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
918 model_or1200_l_addic (SIM_CPU
*current_cpu
, void *sem_arg
)
920 #define FLD(f) abuf->fields.sfmt_l_lwz.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
;
927 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
934 model_or1200_l_muli (SIM_CPU
*current_cpu
, void *sem_arg
)
936 #define FLD(f) abuf->fields.sfmt_l_lwz.f
937 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
938 const IDESC
* UNUSED idesc
= abuf
->idesc
;
942 int UNUSED insn_referenced
= abuf
->written
;
943 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
950 model_or1200_l_exths (SIM_CPU
*current_cpu
, void *sem_arg
)
952 #define FLD(f) abuf->fields.sfmt_l_slli.f
953 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
954 const IDESC
* UNUSED idesc
= abuf
->idesc
;
958 int UNUSED insn_referenced
= abuf
->written
;
959 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
966 model_or1200_l_extbs (SIM_CPU
*current_cpu
, void *sem_arg
)
968 #define FLD(f) abuf->fields.sfmt_l_slli.f
969 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
970 const IDESC
* UNUSED idesc
= abuf
->idesc
;
974 int UNUSED insn_referenced
= abuf
->written
;
975 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
982 model_or1200_l_exthz (SIM_CPU
*current_cpu
, void *sem_arg
)
984 #define FLD(f) abuf->fields.sfmt_l_slli.f
985 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
986 const IDESC
* UNUSED idesc
= abuf
->idesc
;
990 int UNUSED insn_referenced
= abuf
->written
;
991 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
998 model_or1200_l_extbz (SIM_CPU
*current_cpu
, void *sem_arg
)
1000 #define FLD(f) abuf->fields.sfmt_l_slli.f
1001 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1002 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1006 int UNUSED insn_referenced
= abuf
->written
;
1007 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1014 model_or1200_l_extws (SIM_CPU
*current_cpu
, void *sem_arg
)
1016 #define FLD(f) abuf->fields.sfmt_l_slli.f
1017 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1018 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1022 int UNUSED insn_referenced
= abuf
->written
;
1023 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1030 model_or1200_l_extwz (SIM_CPU
*current_cpu
, void *sem_arg
)
1032 #define FLD(f) abuf->fields.sfmt_l_slli.f
1033 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1034 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1038 int UNUSED insn_referenced
= abuf
->written
;
1039 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1046 model_or1200_l_cmov (SIM_CPU
*current_cpu
, void *sem_arg
)
1048 #define FLD(f) abuf->fields.sfmt_l_sll.f
1049 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1050 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1054 int UNUSED insn_referenced
= abuf
->written
;
1055 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1062 model_or1200_l_sfgts (SIM_CPU
*current_cpu
, void *sem_arg
)
1064 #define FLD(f) abuf->fields.sfmt_l_sll.f
1065 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1066 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1070 int UNUSED insn_referenced
= abuf
->written
;
1071 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1078 model_or1200_l_sfgtsi (SIM_CPU
*current_cpu
, void *sem_arg
)
1080 #define FLD(f) abuf->fields.sfmt_l_lwz.f
1081 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1082 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1086 int UNUSED insn_referenced
= abuf
->written
;
1087 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1094 model_or1200_l_sfgtu (SIM_CPU
*current_cpu
, void *sem_arg
)
1096 #define FLD(f) abuf->fields.sfmt_l_sll.f
1097 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1098 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1102 int UNUSED insn_referenced
= abuf
->written
;
1103 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1110 model_or1200_l_sfgtui (SIM_CPU
*current_cpu
, void *sem_arg
)
1112 #define FLD(f) abuf->fields.sfmt_l_lwz.f
1113 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1114 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1118 int UNUSED insn_referenced
= abuf
->written
;
1119 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1126 model_or1200_l_sfges (SIM_CPU
*current_cpu
, void *sem_arg
)
1128 #define FLD(f) abuf->fields.sfmt_l_sll.f
1129 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1130 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1134 int UNUSED insn_referenced
= abuf
->written
;
1135 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1142 model_or1200_l_sfgesi (SIM_CPU
*current_cpu
, void *sem_arg
)
1144 #define FLD(f) abuf->fields.sfmt_l_lwz.f
1145 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1146 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1150 int UNUSED insn_referenced
= abuf
->written
;
1151 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1158 model_or1200_l_sfgeu (SIM_CPU
*current_cpu
, void *sem_arg
)
1160 #define FLD(f) abuf->fields.sfmt_l_sll.f
1161 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1162 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1166 int UNUSED insn_referenced
= abuf
->written
;
1167 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1174 model_or1200_l_sfgeui (SIM_CPU
*current_cpu
, void *sem_arg
)
1176 #define FLD(f) abuf->fields.sfmt_l_lwz.f
1177 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1178 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1182 int UNUSED insn_referenced
= abuf
->written
;
1183 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1190 model_or1200_l_sflts (SIM_CPU
*current_cpu
, void *sem_arg
)
1192 #define FLD(f) abuf->fields.sfmt_l_sll.f
1193 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1194 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1198 int UNUSED insn_referenced
= abuf
->written
;
1199 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1206 model_or1200_l_sfltsi (SIM_CPU
*current_cpu
, void *sem_arg
)
1208 #define FLD(f) abuf->fields.sfmt_l_lwz.f
1209 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1210 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1214 int UNUSED insn_referenced
= abuf
->written
;
1215 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1222 model_or1200_l_sfltu (SIM_CPU
*current_cpu
, void *sem_arg
)
1224 #define FLD(f) abuf->fields.sfmt_l_sll.f
1225 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1226 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1230 int UNUSED insn_referenced
= abuf
->written
;
1231 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1238 model_or1200_l_sfltui (SIM_CPU
*current_cpu
, void *sem_arg
)
1240 #define FLD(f) abuf->fields.sfmt_l_lwz.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
;
1247 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1254 model_or1200_l_sfles (SIM_CPU
*current_cpu
, void *sem_arg
)
1256 #define FLD(f) abuf->fields.sfmt_l_sll.f
1257 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1258 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1262 int UNUSED insn_referenced
= abuf
->written
;
1263 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1270 model_or1200_l_sflesi (SIM_CPU
*current_cpu
, void *sem_arg
)
1272 #define FLD(f) abuf->fields.sfmt_l_lwz.f
1273 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1274 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1278 int UNUSED insn_referenced
= abuf
->written
;
1279 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1286 model_or1200_l_sfleu (SIM_CPU
*current_cpu
, void *sem_arg
)
1288 #define FLD(f) abuf->fields.sfmt_l_sll.f
1289 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1290 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1294 int UNUSED insn_referenced
= abuf
->written
;
1295 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1302 model_or1200_l_sfleui (SIM_CPU
*current_cpu
, void *sem_arg
)
1304 #define FLD(f) abuf->fields.sfmt_l_lwz.f
1305 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1306 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1310 int UNUSED insn_referenced
= abuf
->written
;
1311 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1318 model_or1200_l_sfeq (SIM_CPU
*current_cpu
, void *sem_arg
)
1320 #define FLD(f) abuf->fields.sfmt_l_sll.f
1321 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1322 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1326 int UNUSED insn_referenced
= abuf
->written
;
1327 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1334 model_or1200_l_sfeqi (SIM_CPU
*current_cpu
, void *sem_arg
)
1336 #define FLD(f) abuf->fields.sfmt_l_lwz.f
1337 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1338 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1342 int UNUSED insn_referenced
= abuf
->written
;
1343 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1350 model_or1200_l_sfne (SIM_CPU
*current_cpu
, void *sem_arg
)
1352 #define FLD(f) abuf->fields.sfmt_l_sll.f
1353 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1354 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1358 int UNUSED insn_referenced
= abuf
->written
;
1359 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1366 model_or1200_l_sfnei (SIM_CPU
*current_cpu
, void *sem_arg
)
1368 #define FLD(f) abuf->fields.sfmt_l_lwz.f
1369 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1370 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1374 int UNUSED insn_referenced
= abuf
->written
;
1375 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1382 model_or1200_l_mac (SIM_CPU
*current_cpu
, void *sem_arg
)
1384 #define FLD(f) abuf->fields.sfmt_l_sll.f
1385 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1386 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1390 int UNUSED insn_referenced
= abuf
->written
;
1391 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1398 model_or1200_l_maci (SIM_CPU
*current_cpu
, void *sem_arg
)
1400 #define FLD(f) abuf->fields.sfmt_l_lwz.f
1401 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1402 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1406 int UNUSED insn_referenced
= abuf
->written
;
1407 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1414 model_or1200_l_macu (SIM_CPU
*current_cpu
, void *sem_arg
)
1416 #define FLD(f) abuf->fields.sfmt_l_sll.f
1417 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1418 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1422 int UNUSED insn_referenced
= abuf
->written
;
1423 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1430 model_or1200_l_msb (SIM_CPU
*current_cpu
, void *sem_arg
)
1432 #define FLD(f) abuf->fields.sfmt_l_sll.f
1433 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1434 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1438 int UNUSED insn_referenced
= abuf
->written
;
1439 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1446 model_or1200_l_msbu (SIM_CPU
*current_cpu
, void *sem_arg
)
1448 #define FLD(f) abuf->fields.sfmt_l_sll.f
1449 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1450 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1454 int UNUSED insn_referenced
= abuf
->written
;
1455 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1462 model_or1200_l_cust1 (SIM_CPU
*current_cpu
, void *sem_arg
)
1464 #define FLD(f) abuf->fields.sfmt_empty.f
1465 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1466 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1470 int UNUSED insn_referenced
= abuf
->written
;
1471 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1478 model_or1200_l_cust2 (SIM_CPU
*current_cpu
, void *sem_arg
)
1480 #define FLD(f) abuf->fields.sfmt_empty.f
1481 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1482 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1486 int UNUSED insn_referenced
= abuf
->written
;
1487 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1494 model_or1200_l_cust3 (SIM_CPU
*current_cpu
, void *sem_arg
)
1496 #define FLD(f) abuf->fields.sfmt_empty.f
1497 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1498 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1502 int UNUSED insn_referenced
= abuf
->written
;
1503 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1510 model_or1200_l_cust4 (SIM_CPU
*current_cpu
, void *sem_arg
)
1512 #define FLD(f) abuf->fields.sfmt_empty.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
;
1519 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1526 model_or1200_l_cust5 (SIM_CPU
*current_cpu
, void *sem_arg
)
1528 #define FLD(f) abuf->fields.sfmt_empty.f
1529 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1530 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1534 int UNUSED insn_referenced
= abuf
->written
;
1535 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1542 model_or1200_l_cust6 (SIM_CPU
*current_cpu
, void *sem_arg
)
1544 #define FLD(f) abuf->fields.sfmt_empty.f
1545 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1546 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1550 int UNUSED insn_referenced
= abuf
->written
;
1551 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1558 model_or1200_l_cust7 (SIM_CPU
*current_cpu
, void *sem_arg
)
1560 #define FLD(f) abuf->fields.sfmt_empty.f
1561 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1562 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1566 int UNUSED insn_referenced
= abuf
->written
;
1567 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1574 model_or1200_l_cust8 (SIM_CPU
*current_cpu
, void *sem_arg
)
1576 #define FLD(f) abuf->fields.sfmt_empty.f
1577 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1578 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1582 int UNUSED insn_referenced
= abuf
->written
;
1583 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1590 model_or1200_lf_add_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1592 #define FLD(f) abuf->fields.sfmt_l_sll.f
1593 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1594 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1598 int UNUSED insn_referenced
= abuf
->written
;
1599 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1606 model_or1200_lf_sub_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1608 #define FLD(f) abuf->fields.sfmt_l_sll.f
1609 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1610 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1614 int UNUSED insn_referenced
= abuf
->written
;
1615 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1622 model_or1200_lf_mul_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1624 #define FLD(f) abuf->fields.sfmt_l_sll.f
1625 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1626 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1630 int UNUSED insn_referenced
= abuf
->written
;
1631 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1638 model_or1200_lf_div_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1640 #define FLD(f) abuf->fields.sfmt_l_sll.f
1641 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1642 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1646 int UNUSED insn_referenced
= abuf
->written
;
1647 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1654 model_or1200_lf_rem_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1656 #define FLD(f) abuf->fields.sfmt_l_sll.f
1657 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1658 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1662 int UNUSED insn_referenced
= abuf
->written
;
1663 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1670 model_or1200_lf_itof_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1672 #define FLD(f) abuf->fields.sfmt_l_slli.f
1673 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1674 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1678 int UNUSED insn_referenced
= abuf
->written
;
1679 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1686 model_or1200_lf_ftoi_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1688 #define FLD(f) abuf->fields.sfmt_l_slli.f
1689 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1690 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1694 int UNUSED insn_referenced
= abuf
->written
;
1695 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1702 model_or1200_lf_eq_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1704 #define FLD(f) abuf->fields.sfmt_l_sll.f
1705 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1706 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1710 int UNUSED insn_referenced
= abuf
->written
;
1711 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1718 model_or1200_lf_ne_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1720 #define FLD(f) abuf->fields.sfmt_l_sll.f
1721 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1722 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1726 int UNUSED insn_referenced
= abuf
->written
;
1727 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1734 model_or1200_lf_ge_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1736 #define FLD(f) abuf->fields.sfmt_l_sll.f
1737 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1738 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1742 int UNUSED insn_referenced
= abuf
->written
;
1743 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1750 model_or1200_lf_gt_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1752 #define FLD(f) abuf->fields.sfmt_l_sll.f
1753 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1754 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1758 int UNUSED insn_referenced
= abuf
->written
;
1759 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1766 model_or1200_lf_lt_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1768 #define FLD(f) abuf->fields.sfmt_l_sll.f
1769 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1770 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1774 int UNUSED insn_referenced
= abuf
->written
;
1775 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1782 model_or1200_lf_le_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1784 #define FLD(f) abuf->fields.sfmt_l_sll.f
1785 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1786 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1790 int UNUSED insn_referenced
= abuf
->written
;
1791 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1798 model_or1200_lf_madd_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1800 #define FLD(f) abuf->fields.sfmt_l_sll.f
1801 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1802 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1806 int UNUSED insn_referenced
= abuf
->written
;
1807 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1814 model_or1200_lf_cust1_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1816 #define FLD(f) abuf->fields.sfmt_empty.f
1817 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1818 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1822 int UNUSED insn_referenced
= abuf
->written
;
1823 cycles
+= or1k32bf_model_or1200_u_exec (current_cpu
, idesc
, 0, referenced
);
1830 model_or1200nd_l_j (SIM_CPU
*current_cpu
, void *sem_arg
)
1832 #define FLD(f) abuf->fields.sfmt_l_j.f
1833 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1834 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1838 int UNUSED insn_referenced
= abuf
->written
;
1839 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
1846 model_or1200nd_l_adrp (SIM_CPU
*current_cpu
, void *sem_arg
)
1848 #define FLD(f) abuf->fields.sfmt_l_adrp.f
1849 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1850 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1854 int UNUSED insn_referenced
= abuf
->written
;
1855 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
1862 model_or1200nd_l_jal (SIM_CPU
*current_cpu
, void *sem_arg
)
1864 #define FLD(f) abuf->fields.sfmt_l_j.f
1865 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1866 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1870 int UNUSED insn_referenced
= abuf
->written
;
1871 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
1878 model_or1200nd_l_jr (SIM_CPU
*current_cpu
, void *sem_arg
)
1880 #define FLD(f) abuf->fields.sfmt_l_sll.f
1881 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1882 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1886 int UNUSED insn_referenced
= abuf
->written
;
1887 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
1894 model_or1200nd_l_jalr (SIM_CPU
*current_cpu
, void *sem_arg
)
1896 #define FLD(f) abuf->fields.sfmt_l_sll.f
1897 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1898 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1902 int UNUSED insn_referenced
= abuf
->written
;
1903 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
1910 model_or1200nd_l_bnf (SIM_CPU
*current_cpu
, void *sem_arg
)
1912 #define FLD(f) abuf->fields.sfmt_l_j.f
1913 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1914 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1918 int UNUSED insn_referenced
= abuf
->written
;
1919 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
1926 model_or1200nd_l_bf (SIM_CPU
*current_cpu
, void *sem_arg
)
1928 #define FLD(f) abuf->fields.sfmt_l_j.f
1929 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1930 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1934 int UNUSED insn_referenced
= abuf
->written
;
1935 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
1942 model_or1200nd_l_trap (SIM_CPU
*current_cpu
, void *sem_arg
)
1944 #define FLD(f) abuf->fields.sfmt_empty.f
1945 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1946 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1950 int UNUSED insn_referenced
= abuf
->written
;
1951 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
1958 model_or1200nd_l_sys (SIM_CPU
*current_cpu
, void *sem_arg
)
1960 #define FLD(f) abuf->fields.sfmt_empty.f
1961 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1962 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1966 int UNUSED insn_referenced
= abuf
->written
;
1967 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
1974 model_or1200nd_l_msync (SIM_CPU
*current_cpu
, void *sem_arg
)
1976 #define FLD(f) abuf->fields.sfmt_empty.f
1977 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1978 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1982 int UNUSED insn_referenced
= abuf
->written
;
1983 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
1990 model_or1200nd_l_psync (SIM_CPU
*current_cpu
, void *sem_arg
)
1992 #define FLD(f) abuf->fields.sfmt_empty.f
1993 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
1994 const IDESC
* UNUSED idesc
= abuf
->idesc
;
1998 int UNUSED insn_referenced
= abuf
->written
;
1999 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2006 model_or1200nd_l_csync (SIM_CPU
*current_cpu
, void *sem_arg
)
2008 #define FLD(f) abuf->fields.sfmt_empty.f
2009 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2010 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2014 int UNUSED insn_referenced
= abuf
->written
;
2015 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2022 model_or1200nd_l_rfe (SIM_CPU
*current_cpu
, void *sem_arg
)
2024 #define FLD(f) abuf->fields.sfmt_empty.f
2025 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2026 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2030 int UNUSED insn_referenced
= abuf
->written
;
2031 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2038 model_or1200nd_l_nop_imm (SIM_CPU
*current_cpu
, void *sem_arg
)
2040 #define FLD(f) abuf->fields.sfmt_l_mfspr.f
2041 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2042 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2046 int UNUSED insn_referenced
= abuf
->written
;
2047 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2054 model_or1200nd_l_movhi (SIM_CPU
*current_cpu
, void *sem_arg
)
2056 #define FLD(f) abuf->fields.sfmt_l_mfspr.f
2057 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2058 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2062 int UNUSED insn_referenced
= abuf
->written
;
2063 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2070 model_or1200nd_l_macrc (SIM_CPU
*current_cpu
, void *sem_arg
)
2072 #define FLD(f) abuf->fields.sfmt_l_adrp.f
2073 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2074 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2078 int UNUSED insn_referenced
= abuf
->written
;
2079 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2086 model_or1200nd_l_mfspr (SIM_CPU
*current_cpu
, void *sem_arg
)
2088 #define FLD(f) abuf->fields.sfmt_l_mfspr.f
2089 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2090 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2094 int UNUSED insn_referenced
= abuf
->written
;
2095 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2102 model_or1200nd_l_mtspr (SIM_CPU
*current_cpu
, void *sem_arg
)
2104 #define FLD(f) abuf->fields.sfmt_l_mtspr.f
2105 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2106 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2110 int UNUSED insn_referenced
= abuf
->written
;
2111 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2118 model_or1200nd_l_lwz (SIM_CPU
*current_cpu
, void *sem_arg
)
2120 #define FLD(f) abuf->fields.sfmt_l_lwz.f
2121 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2122 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2126 int UNUSED insn_referenced
= abuf
->written
;
2127 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2134 model_or1200nd_l_lws (SIM_CPU
*current_cpu
, void *sem_arg
)
2136 #define FLD(f) abuf->fields.sfmt_l_lwz.f
2137 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2138 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2142 int UNUSED insn_referenced
= abuf
->written
;
2143 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2150 model_or1200nd_l_lwa (SIM_CPU
*current_cpu
, void *sem_arg
)
2152 #define FLD(f) abuf->fields.sfmt_l_lwz.f
2153 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2154 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2158 int UNUSED insn_referenced
= abuf
->written
;
2159 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2166 model_or1200nd_l_lbz (SIM_CPU
*current_cpu
, void *sem_arg
)
2168 #define FLD(f) abuf->fields.sfmt_l_lwz.f
2169 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2170 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2174 int UNUSED insn_referenced
= abuf
->written
;
2175 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2182 model_or1200nd_l_lbs (SIM_CPU
*current_cpu
, void *sem_arg
)
2184 #define FLD(f) abuf->fields.sfmt_l_lwz.f
2185 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2186 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2190 int UNUSED insn_referenced
= abuf
->written
;
2191 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2198 model_or1200nd_l_lhz (SIM_CPU
*current_cpu
, void *sem_arg
)
2200 #define FLD(f) abuf->fields.sfmt_l_lwz.f
2201 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2202 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2206 int UNUSED insn_referenced
= abuf
->written
;
2207 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2214 model_or1200nd_l_lhs (SIM_CPU
*current_cpu
, void *sem_arg
)
2216 #define FLD(f) abuf->fields.sfmt_l_lwz.f
2217 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2218 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2222 int UNUSED insn_referenced
= abuf
->written
;
2223 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2230 model_or1200nd_l_sw (SIM_CPU
*current_cpu
, void *sem_arg
)
2232 #define FLD(f) abuf->fields.sfmt_l_sw.f
2233 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2234 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2238 int UNUSED insn_referenced
= abuf
->written
;
2239 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2246 model_or1200nd_l_sb (SIM_CPU
*current_cpu
, void *sem_arg
)
2248 #define FLD(f) abuf->fields.sfmt_l_sw.f
2249 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2250 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2254 int UNUSED insn_referenced
= abuf
->written
;
2255 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2262 model_or1200nd_l_sh (SIM_CPU
*current_cpu
, void *sem_arg
)
2264 #define FLD(f) abuf->fields.sfmt_l_sw.f
2265 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2266 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2270 int UNUSED insn_referenced
= abuf
->written
;
2271 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2278 model_or1200nd_l_swa (SIM_CPU
*current_cpu
, void *sem_arg
)
2280 #define FLD(f) abuf->fields.sfmt_l_sw.f
2281 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2282 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2286 int UNUSED insn_referenced
= abuf
->written
;
2287 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2294 model_or1200nd_l_sll (SIM_CPU
*current_cpu
, void *sem_arg
)
2296 #define FLD(f) abuf->fields.sfmt_l_sll.f
2297 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2298 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2302 int UNUSED insn_referenced
= abuf
->written
;
2303 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2310 model_or1200nd_l_slli (SIM_CPU
*current_cpu
, void *sem_arg
)
2312 #define FLD(f) abuf->fields.sfmt_l_slli.f
2313 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2314 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2318 int UNUSED insn_referenced
= abuf
->written
;
2319 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2326 model_or1200nd_l_srl (SIM_CPU
*current_cpu
, void *sem_arg
)
2328 #define FLD(f) abuf->fields.sfmt_l_sll.f
2329 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2330 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2334 int UNUSED insn_referenced
= abuf
->written
;
2335 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2342 model_or1200nd_l_srli (SIM_CPU
*current_cpu
, void *sem_arg
)
2344 #define FLD(f) abuf->fields.sfmt_l_slli.f
2345 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2346 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2350 int UNUSED insn_referenced
= abuf
->written
;
2351 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2358 model_or1200nd_l_sra (SIM_CPU
*current_cpu
, void *sem_arg
)
2360 #define FLD(f) abuf->fields.sfmt_l_sll.f
2361 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2362 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2366 int UNUSED insn_referenced
= abuf
->written
;
2367 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2374 model_or1200nd_l_srai (SIM_CPU
*current_cpu
, void *sem_arg
)
2376 #define FLD(f) abuf->fields.sfmt_l_slli.f
2377 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2378 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2382 int UNUSED insn_referenced
= abuf
->written
;
2383 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2390 model_or1200nd_l_ror (SIM_CPU
*current_cpu
, void *sem_arg
)
2392 #define FLD(f) abuf->fields.sfmt_l_sll.f
2393 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2394 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2398 int UNUSED insn_referenced
= abuf
->written
;
2399 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2406 model_or1200nd_l_rori (SIM_CPU
*current_cpu
, void *sem_arg
)
2408 #define FLD(f) abuf->fields.sfmt_l_slli.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
;
2415 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2422 model_or1200nd_l_and (SIM_CPU
*current_cpu
, void *sem_arg
)
2424 #define FLD(f) abuf->fields.sfmt_l_sll.f
2425 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2426 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2430 int UNUSED insn_referenced
= abuf
->written
;
2431 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2438 model_or1200nd_l_or (SIM_CPU
*current_cpu
, void *sem_arg
)
2440 #define FLD(f) abuf->fields.sfmt_l_sll.f
2441 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2442 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2446 int UNUSED insn_referenced
= abuf
->written
;
2447 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2454 model_or1200nd_l_xor (SIM_CPU
*current_cpu
, void *sem_arg
)
2456 #define FLD(f) abuf->fields.sfmt_l_sll.f
2457 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2458 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2462 int UNUSED insn_referenced
= abuf
->written
;
2463 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2470 model_or1200nd_l_add (SIM_CPU
*current_cpu
, void *sem_arg
)
2472 #define FLD(f) abuf->fields.sfmt_l_sll.f
2473 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2474 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2478 int UNUSED insn_referenced
= abuf
->written
;
2479 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2486 model_or1200nd_l_sub (SIM_CPU
*current_cpu
, void *sem_arg
)
2488 #define FLD(f) abuf->fields.sfmt_l_sll.f
2489 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2490 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2494 int UNUSED insn_referenced
= abuf
->written
;
2495 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2502 model_or1200nd_l_addc (SIM_CPU
*current_cpu
, void *sem_arg
)
2504 #define FLD(f) abuf->fields.sfmt_l_sll.f
2505 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2506 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2510 int UNUSED insn_referenced
= abuf
->written
;
2511 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2518 model_or1200nd_l_mul (SIM_CPU
*current_cpu
, void *sem_arg
)
2520 #define FLD(f) abuf->fields.sfmt_l_sll.f
2521 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2522 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2526 int UNUSED insn_referenced
= abuf
->written
;
2527 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2534 model_or1200nd_l_muld (SIM_CPU
*current_cpu
, void *sem_arg
)
2536 #define FLD(f) abuf->fields.sfmt_l_sll.f
2537 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2538 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2542 int UNUSED insn_referenced
= abuf
->written
;
2543 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2550 model_or1200nd_l_mulu (SIM_CPU
*current_cpu
, void *sem_arg
)
2552 #define FLD(f) abuf->fields.sfmt_l_sll.f
2553 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2554 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2558 int UNUSED insn_referenced
= abuf
->written
;
2559 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2566 model_or1200nd_l_muldu (SIM_CPU
*current_cpu
, void *sem_arg
)
2568 #define FLD(f) abuf->fields.sfmt_l_sll.f
2569 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2570 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2574 int UNUSED insn_referenced
= abuf
->written
;
2575 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2582 model_or1200nd_l_div (SIM_CPU
*current_cpu
, void *sem_arg
)
2584 #define FLD(f) abuf->fields.sfmt_l_sll.f
2585 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2586 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2590 int UNUSED insn_referenced
= abuf
->written
;
2591 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2598 model_or1200nd_l_divu (SIM_CPU
*current_cpu
, void *sem_arg
)
2600 #define FLD(f) abuf->fields.sfmt_l_sll.f
2601 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2602 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2606 int UNUSED insn_referenced
= abuf
->written
;
2607 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2614 model_or1200nd_l_ff1 (SIM_CPU
*current_cpu
, void *sem_arg
)
2616 #define FLD(f) abuf->fields.sfmt_l_slli.f
2617 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2618 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2622 int UNUSED insn_referenced
= abuf
->written
;
2623 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2630 model_or1200nd_l_fl1 (SIM_CPU
*current_cpu
, void *sem_arg
)
2632 #define FLD(f) abuf->fields.sfmt_l_slli.f
2633 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2634 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2638 int UNUSED insn_referenced
= abuf
->written
;
2639 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2646 model_or1200nd_l_andi (SIM_CPU
*current_cpu
, void *sem_arg
)
2648 #define FLD(f) abuf->fields.sfmt_l_mfspr.f
2649 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2650 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2654 int UNUSED insn_referenced
= abuf
->written
;
2655 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2662 model_or1200nd_l_ori (SIM_CPU
*current_cpu
, void *sem_arg
)
2664 #define FLD(f) abuf->fields.sfmt_l_mfspr.f
2665 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2666 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2670 int UNUSED insn_referenced
= abuf
->written
;
2671 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2678 model_or1200nd_l_xori (SIM_CPU
*current_cpu
, void *sem_arg
)
2680 #define FLD(f) abuf->fields.sfmt_l_lwz.f
2681 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2682 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2686 int UNUSED insn_referenced
= abuf
->written
;
2687 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2694 model_or1200nd_l_addi (SIM_CPU
*current_cpu
, void *sem_arg
)
2696 #define FLD(f) abuf->fields.sfmt_l_lwz.f
2697 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2698 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2702 int UNUSED insn_referenced
= abuf
->written
;
2703 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2710 model_or1200nd_l_addic (SIM_CPU
*current_cpu
, void *sem_arg
)
2712 #define FLD(f) abuf->fields.sfmt_l_lwz.f
2713 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2714 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2718 int UNUSED insn_referenced
= abuf
->written
;
2719 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2726 model_or1200nd_l_muli (SIM_CPU
*current_cpu
, void *sem_arg
)
2728 #define FLD(f) abuf->fields.sfmt_l_lwz.f
2729 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2730 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2734 int UNUSED insn_referenced
= abuf
->written
;
2735 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2742 model_or1200nd_l_exths (SIM_CPU
*current_cpu
, void *sem_arg
)
2744 #define FLD(f) abuf->fields.sfmt_l_slli.f
2745 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2746 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2750 int UNUSED insn_referenced
= abuf
->written
;
2751 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2758 model_or1200nd_l_extbs (SIM_CPU
*current_cpu
, void *sem_arg
)
2760 #define FLD(f) abuf->fields.sfmt_l_slli.f
2761 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2762 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2766 int UNUSED insn_referenced
= abuf
->written
;
2767 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2774 model_or1200nd_l_exthz (SIM_CPU
*current_cpu
, void *sem_arg
)
2776 #define FLD(f) abuf->fields.sfmt_l_slli.f
2777 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2778 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2782 int UNUSED insn_referenced
= abuf
->written
;
2783 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2790 model_or1200nd_l_extbz (SIM_CPU
*current_cpu
, void *sem_arg
)
2792 #define FLD(f) abuf->fields.sfmt_l_slli.f
2793 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2794 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2798 int UNUSED insn_referenced
= abuf
->written
;
2799 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2806 model_or1200nd_l_extws (SIM_CPU
*current_cpu
, void *sem_arg
)
2808 #define FLD(f) abuf->fields.sfmt_l_slli.f
2809 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2810 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2814 int UNUSED insn_referenced
= abuf
->written
;
2815 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2822 model_or1200nd_l_extwz (SIM_CPU
*current_cpu
, void *sem_arg
)
2824 #define FLD(f) abuf->fields.sfmt_l_slli.f
2825 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2826 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2830 int UNUSED insn_referenced
= abuf
->written
;
2831 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2838 model_or1200nd_l_cmov (SIM_CPU
*current_cpu
, void *sem_arg
)
2840 #define FLD(f) abuf->fields.sfmt_l_sll.f
2841 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2842 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2846 int UNUSED insn_referenced
= abuf
->written
;
2847 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2854 model_or1200nd_l_sfgts (SIM_CPU
*current_cpu
, void *sem_arg
)
2856 #define FLD(f) abuf->fields.sfmt_l_sll.f
2857 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2858 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2862 int UNUSED insn_referenced
= abuf
->written
;
2863 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2870 model_or1200nd_l_sfgtsi (SIM_CPU
*current_cpu
, void *sem_arg
)
2872 #define FLD(f) abuf->fields.sfmt_l_lwz.f
2873 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2874 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2878 int UNUSED insn_referenced
= abuf
->written
;
2879 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2886 model_or1200nd_l_sfgtu (SIM_CPU
*current_cpu
, void *sem_arg
)
2888 #define FLD(f) abuf->fields.sfmt_l_sll.f
2889 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2890 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2894 int UNUSED insn_referenced
= abuf
->written
;
2895 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2902 model_or1200nd_l_sfgtui (SIM_CPU
*current_cpu
, void *sem_arg
)
2904 #define FLD(f) abuf->fields.sfmt_l_lwz.f
2905 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2906 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2910 int UNUSED insn_referenced
= abuf
->written
;
2911 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2918 model_or1200nd_l_sfges (SIM_CPU
*current_cpu
, void *sem_arg
)
2920 #define FLD(f) abuf->fields.sfmt_l_sll.f
2921 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2922 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2926 int UNUSED insn_referenced
= abuf
->written
;
2927 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2934 model_or1200nd_l_sfgesi (SIM_CPU
*current_cpu
, void *sem_arg
)
2936 #define FLD(f) abuf->fields.sfmt_l_lwz.f
2937 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2938 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2942 int UNUSED insn_referenced
= abuf
->written
;
2943 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2950 model_or1200nd_l_sfgeu (SIM_CPU
*current_cpu
, void *sem_arg
)
2952 #define FLD(f) abuf->fields.sfmt_l_sll.f
2953 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2954 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2958 int UNUSED insn_referenced
= abuf
->written
;
2959 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2966 model_or1200nd_l_sfgeui (SIM_CPU
*current_cpu
, void *sem_arg
)
2968 #define FLD(f) abuf->fields.sfmt_l_lwz.f
2969 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2970 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2974 int UNUSED insn_referenced
= abuf
->written
;
2975 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2982 model_or1200nd_l_sflts (SIM_CPU
*current_cpu
, void *sem_arg
)
2984 #define FLD(f) abuf->fields.sfmt_l_sll.f
2985 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
2986 const IDESC
* UNUSED idesc
= abuf
->idesc
;
2990 int UNUSED insn_referenced
= abuf
->written
;
2991 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
2998 model_or1200nd_l_sfltsi (SIM_CPU
*current_cpu
, void *sem_arg
)
3000 #define FLD(f) abuf->fields.sfmt_l_lwz.f
3001 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3002 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3006 int UNUSED insn_referenced
= abuf
->written
;
3007 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3014 model_or1200nd_l_sfltu (SIM_CPU
*current_cpu
, void *sem_arg
)
3016 #define FLD(f) abuf->fields.sfmt_l_sll.f
3017 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3018 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3022 int UNUSED insn_referenced
= abuf
->written
;
3023 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3030 model_or1200nd_l_sfltui (SIM_CPU
*current_cpu
, void *sem_arg
)
3032 #define FLD(f) abuf->fields.sfmt_l_lwz.f
3033 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3034 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3038 int UNUSED insn_referenced
= abuf
->written
;
3039 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3046 model_or1200nd_l_sfles (SIM_CPU
*current_cpu
, void *sem_arg
)
3048 #define FLD(f) abuf->fields.sfmt_l_sll.f
3049 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3050 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3054 int UNUSED insn_referenced
= abuf
->written
;
3055 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3062 model_or1200nd_l_sflesi (SIM_CPU
*current_cpu
, void *sem_arg
)
3064 #define FLD(f) abuf->fields.sfmt_l_lwz.f
3065 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3066 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3070 int UNUSED insn_referenced
= abuf
->written
;
3071 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3078 model_or1200nd_l_sfleu (SIM_CPU
*current_cpu
, void *sem_arg
)
3080 #define FLD(f) abuf->fields.sfmt_l_sll.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
;
3087 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3094 model_or1200nd_l_sfleui (SIM_CPU
*current_cpu
, void *sem_arg
)
3096 #define FLD(f) abuf->fields.sfmt_l_lwz.f
3097 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3098 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3102 int UNUSED insn_referenced
= abuf
->written
;
3103 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3110 model_or1200nd_l_sfeq (SIM_CPU
*current_cpu
, void *sem_arg
)
3112 #define FLD(f) abuf->fields.sfmt_l_sll.f
3113 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3114 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3118 int UNUSED insn_referenced
= abuf
->written
;
3119 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3126 model_or1200nd_l_sfeqi (SIM_CPU
*current_cpu
, void *sem_arg
)
3128 #define FLD(f) abuf->fields.sfmt_l_lwz.f
3129 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3130 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3134 int UNUSED insn_referenced
= abuf
->written
;
3135 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3142 model_or1200nd_l_sfne (SIM_CPU
*current_cpu
, void *sem_arg
)
3144 #define FLD(f) abuf->fields.sfmt_l_sll.f
3145 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3146 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3150 int UNUSED insn_referenced
= abuf
->written
;
3151 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3158 model_or1200nd_l_sfnei (SIM_CPU
*current_cpu
, void *sem_arg
)
3160 #define FLD(f) abuf->fields.sfmt_l_lwz.f
3161 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3162 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3166 int UNUSED insn_referenced
= abuf
->written
;
3167 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3174 model_or1200nd_l_mac (SIM_CPU
*current_cpu
, void *sem_arg
)
3176 #define FLD(f) abuf->fields.sfmt_l_sll.f
3177 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3178 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3182 int UNUSED insn_referenced
= abuf
->written
;
3183 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3190 model_or1200nd_l_maci (SIM_CPU
*current_cpu
, void *sem_arg
)
3192 #define FLD(f) abuf->fields.sfmt_l_lwz.f
3193 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3194 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3198 int UNUSED insn_referenced
= abuf
->written
;
3199 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3206 model_or1200nd_l_macu (SIM_CPU
*current_cpu
, void *sem_arg
)
3208 #define FLD(f) abuf->fields.sfmt_l_sll.f
3209 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3210 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3214 int UNUSED insn_referenced
= abuf
->written
;
3215 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3222 model_or1200nd_l_msb (SIM_CPU
*current_cpu
, void *sem_arg
)
3224 #define FLD(f) abuf->fields.sfmt_l_sll.f
3225 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3226 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3230 int UNUSED insn_referenced
= abuf
->written
;
3231 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3238 model_or1200nd_l_msbu (SIM_CPU
*current_cpu
, void *sem_arg
)
3240 #define FLD(f) abuf->fields.sfmt_l_sll.f
3241 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3242 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3246 int UNUSED insn_referenced
= abuf
->written
;
3247 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3254 model_or1200nd_l_cust1 (SIM_CPU
*current_cpu
, void *sem_arg
)
3256 #define FLD(f) abuf->fields.sfmt_empty.f
3257 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3258 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3262 int UNUSED insn_referenced
= abuf
->written
;
3263 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3270 model_or1200nd_l_cust2 (SIM_CPU
*current_cpu
, void *sem_arg
)
3272 #define FLD(f) abuf->fields.sfmt_empty.f
3273 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3274 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3278 int UNUSED insn_referenced
= abuf
->written
;
3279 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3286 model_or1200nd_l_cust3 (SIM_CPU
*current_cpu
, void *sem_arg
)
3288 #define FLD(f) abuf->fields.sfmt_empty.f
3289 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3290 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3294 int UNUSED insn_referenced
= abuf
->written
;
3295 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3302 model_or1200nd_l_cust4 (SIM_CPU
*current_cpu
, void *sem_arg
)
3304 #define FLD(f) abuf->fields.sfmt_empty.f
3305 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3306 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3310 int UNUSED insn_referenced
= abuf
->written
;
3311 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3318 model_or1200nd_l_cust5 (SIM_CPU
*current_cpu
, void *sem_arg
)
3320 #define FLD(f) abuf->fields.sfmt_empty.f
3321 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3322 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3326 int UNUSED insn_referenced
= abuf
->written
;
3327 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3334 model_or1200nd_l_cust6 (SIM_CPU
*current_cpu
, void *sem_arg
)
3336 #define FLD(f) abuf->fields.sfmt_empty.f
3337 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3338 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3342 int UNUSED insn_referenced
= abuf
->written
;
3343 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3350 model_or1200nd_l_cust7 (SIM_CPU
*current_cpu
, void *sem_arg
)
3352 #define FLD(f) abuf->fields.sfmt_empty.f
3353 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3354 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3358 int UNUSED insn_referenced
= abuf
->written
;
3359 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3366 model_or1200nd_l_cust8 (SIM_CPU
*current_cpu
, void *sem_arg
)
3368 #define FLD(f) abuf->fields.sfmt_empty.f
3369 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3370 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3374 int UNUSED insn_referenced
= abuf
->written
;
3375 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3382 model_or1200nd_lf_add_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3384 #define FLD(f) abuf->fields.sfmt_l_sll.f
3385 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3386 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3390 int UNUSED insn_referenced
= abuf
->written
;
3391 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3398 model_or1200nd_lf_sub_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3400 #define FLD(f) abuf->fields.sfmt_l_sll.f
3401 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3402 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3406 int UNUSED insn_referenced
= abuf
->written
;
3407 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3414 model_or1200nd_lf_mul_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3416 #define FLD(f) abuf->fields.sfmt_l_sll.f
3417 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3418 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3422 int UNUSED insn_referenced
= abuf
->written
;
3423 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3430 model_or1200nd_lf_div_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3432 #define FLD(f) abuf->fields.sfmt_l_sll.f
3433 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3434 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3438 int UNUSED insn_referenced
= abuf
->written
;
3439 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3446 model_or1200nd_lf_rem_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3448 #define FLD(f) abuf->fields.sfmt_l_sll.f
3449 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3450 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3454 int UNUSED insn_referenced
= abuf
->written
;
3455 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3462 model_or1200nd_lf_itof_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3464 #define FLD(f) abuf->fields.sfmt_l_slli.f
3465 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3466 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3470 int UNUSED insn_referenced
= abuf
->written
;
3471 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3478 model_or1200nd_lf_ftoi_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3480 #define FLD(f) abuf->fields.sfmt_l_slli.f
3481 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3482 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3486 int UNUSED insn_referenced
= abuf
->written
;
3487 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3494 model_or1200nd_lf_eq_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3496 #define FLD(f) abuf->fields.sfmt_l_sll.f
3497 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3498 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3502 int UNUSED insn_referenced
= abuf
->written
;
3503 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3510 model_or1200nd_lf_ne_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3512 #define FLD(f) abuf->fields.sfmt_l_sll.f
3513 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3514 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3518 int UNUSED insn_referenced
= abuf
->written
;
3519 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3526 model_or1200nd_lf_ge_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3528 #define FLD(f) abuf->fields.sfmt_l_sll.f
3529 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3530 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3534 int UNUSED insn_referenced
= abuf
->written
;
3535 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3542 model_or1200nd_lf_gt_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3544 #define FLD(f) abuf->fields.sfmt_l_sll.f
3545 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3546 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3550 int UNUSED insn_referenced
= abuf
->written
;
3551 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3558 model_or1200nd_lf_lt_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3560 #define FLD(f) abuf->fields.sfmt_l_sll.f
3561 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3562 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3566 int UNUSED insn_referenced
= abuf
->written
;
3567 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3574 model_or1200nd_lf_le_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3576 #define FLD(f) abuf->fields.sfmt_l_sll.f
3577 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3578 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3582 int UNUSED insn_referenced
= abuf
->written
;
3583 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3590 model_or1200nd_lf_madd_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3592 #define FLD(f) abuf->fields.sfmt_l_sll.f
3593 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3594 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3598 int UNUSED insn_referenced
= abuf
->written
;
3599 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3606 model_or1200nd_lf_cust1_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3608 #define FLD(f) abuf->fields.sfmt_empty.f
3609 const ARGBUF
* UNUSED abuf
= SEM_ARGBUF ((SEM_ARG
) sem_arg
);
3610 const IDESC
* UNUSED idesc
= abuf
->idesc
;
3614 int UNUSED insn_referenced
= abuf
->written
;
3615 cycles
+= or1k32bf_model_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
3621 /* We assume UNIT_NONE == 0 because the tables don't always terminate
3624 /* Model timing data for `or1200'. */
3626 static const INSN_TIMING or1200_timing
[] = {
3627 { OR1K32BF_INSN_X_INVALID
, 0, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3628 { OR1K32BF_INSN_X_AFTER
, 0, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3629 { OR1K32BF_INSN_X_BEFORE
, 0, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3630 { OR1K32BF_INSN_X_CTI_CHAIN
, 0, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3631 { OR1K32BF_INSN_X_CHAIN
, 0, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3632 { OR1K32BF_INSN_X_BEGIN
, 0, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3633 { OR1K32BF_INSN_L_J
, model_or1200_l_j
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3634 { OR1K32BF_INSN_L_ADRP
, model_or1200_l_adrp
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3635 { OR1K32BF_INSN_L_JAL
, model_or1200_l_jal
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3636 { OR1K32BF_INSN_L_JR
, model_or1200_l_jr
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3637 { OR1K32BF_INSN_L_JALR
, model_or1200_l_jalr
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3638 { OR1K32BF_INSN_L_BNF
, model_or1200_l_bnf
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3639 { OR1K32BF_INSN_L_BF
, model_or1200_l_bf
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3640 { OR1K32BF_INSN_L_TRAP
, model_or1200_l_trap
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3641 { OR1K32BF_INSN_L_SYS
, model_or1200_l_sys
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3642 { OR1K32BF_INSN_L_MSYNC
, model_or1200_l_msync
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3643 { OR1K32BF_INSN_L_PSYNC
, model_or1200_l_psync
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3644 { OR1K32BF_INSN_L_CSYNC
, model_or1200_l_csync
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3645 { OR1K32BF_INSN_L_RFE
, model_or1200_l_rfe
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3646 { OR1K32BF_INSN_L_NOP_IMM
, model_or1200_l_nop_imm
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3647 { OR1K32BF_INSN_L_MOVHI
, model_or1200_l_movhi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3648 { OR1K32BF_INSN_L_MACRC
, model_or1200_l_macrc
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3649 { OR1K32BF_INSN_L_MFSPR
, model_or1200_l_mfspr
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3650 { OR1K32BF_INSN_L_MTSPR
, model_or1200_l_mtspr
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3651 { OR1K32BF_INSN_L_LWZ
, model_or1200_l_lwz
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3652 { OR1K32BF_INSN_L_LWS
, model_or1200_l_lws
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3653 { OR1K32BF_INSN_L_LWA
, model_or1200_l_lwa
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3654 { OR1K32BF_INSN_L_LBZ
, model_or1200_l_lbz
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3655 { OR1K32BF_INSN_L_LBS
, model_or1200_l_lbs
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3656 { OR1K32BF_INSN_L_LHZ
, model_or1200_l_lhz
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3657 { OR1K32BF_INSN_L_LHS
, model_or1200_l_lhs
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3658 { OR1K32BF_INSN_L_SW
, model_or1200_l_sw
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3659 { OR1K32BF_INSN_L_SB
, model_or1200_l_sb
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3660 { OR1K32BF_INSN_L_SH
, model_or1200_l_sh
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3661 { OR1K32BF_INSN_L_SWA
, model_or1200_l_swa
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3662 { OR1K32BF_INSN_L_SLL
, model_or1200_l_sll
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3663 { OR1K32BF_INSN_L_SLLI
, model_or1200_l_slli
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3664 { OR1K32BF_INSN_L_SRL
, model_or1200_l_srl
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3665 { OR1K32BF_INSN_L_SRLI
, model_or1200_l_srli
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3666 { OR1K32BF_INSN_L_SRA
, model_or1200_l_sra
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3667 { OR1K32BF_INSN_L_SRAI
, model_or1200_l_srai
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3668 { OR1K32BF_INSN_L_ROR
, model_or1200_l_ror
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3669 { OR1K32BF_INSN_L_RORI
, model_or1200_l_rori
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3670 { OR1K32BF_INSN_L_AND
, model_or1200_l_and
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3671 { OR1K32BF_INSN_L_OR
, model_or1200_l_or
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3672 { OR1K32BF_INSN_L_XOR
, model_or1200_l_xor
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3673 { OR1K32BF_INSN_L_ADD
, model_or1200_l_add
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3674 { OR1K32BF_INSN_L_SUB
, model_or1200_l_sub
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3675 { OR1K32BF_INSN_L_ADDC
, model_or1200_l_addc
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3676 { OR1K32BF_INSN_L_MUL
, model_or1200_l_mul
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3677 { OR1K32BF_INSN_L_MULD
, model_or1200_l_muld
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3678 { OR1K32BF_INSN_L_MULU
, model_or1200_l_mulu
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3679 { OR1K32BF_INSN_L_MULDU
, model_or1200_l_muldu
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3680 { OR1K32BF_INSN_L_DIV
, model_or1200_l_div
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3681 { OR1K32BF_INSN_L_DIVU
, model_or1200_l_divu
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3682 { OR1K32BF_INSN_L_FF1
, model_or1200_l_ff1
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3683 { OR1K32BF_INSN_L_FL1
, model_or1200_l_fl1
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3684 { OR1K32BF_INSN_L_ANDI
, model_or1200_l_andi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3685 { OR1K32BF_INSN_L_ORI
, model_or1200_l_ori
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3686 { OR1K32BF_INSN_L_XORI
, model_or1200_l_xori
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3687 { OR1K32BF_INSN_L_ADDI
, model_or1200_l_addi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3688 { OR1K32BF_INSN_L_ADDIC
, model_or1200_l_addic
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3689 { OR1K32BF_INSN_L_MULI
, model_or1200_l_muli
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3690 { OR1K32BF_INSN_L_EXTHS
, model_or1200_l_exths
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3691 { OR1K32BF_INSN_L_EXTBS
, model_or1200_l_extbs
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3692 { OR1K32BF_INSN_L_EXTHZ
, model_or1200_l_exthz
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3693 { OR1K32BF_INSN_L_EXTBZ
, model_or1200_l_extbz
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3694 { OR1K32BF_INSN_L_EXTWS
, model_or1200_l_extws
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3695 { OR1K32BF_INSN_L_EXTWZ
, model_or1200_l_extwz
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3696 { OR1K32BF_INSN_L_CMOV
, model_or1200_l_cmov
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3697 { OR1K32BF_INSN_L_SFGTS
, model_or1200_l_sfgts
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3698 { OR1K32BF_INSN_L_SFGTSI
, model_or1200_l_sfgtsi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3699 { OR1K32BF_INSN_L_SFGTU
, model_or1200_l_sfgtu
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3700 { OR1K32BF_INSN_L_SFGTUI
, model_or1200_l_sfgtui
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3701 { OR1K32BF_INSN_L_SFGES
, model_or1200_l_sfges
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3702 { OR1K32BF_INSN_L_SFGESI
, model_or1200_l_sfgesi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3703 { OR1K32BF_INSN_L_SFGEU
, model_or1200_l_sfgeu
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3704 { OR1K32BF_INSN_L_SFGEUI
, model_or1200_l_sfgeui
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3705 { OR1K32BF_INSN_L_SFLTS
, model_or1200_l_sflts
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3706 { OR1K32BF_INSN_L_SFLTSI
, model_or1200_l_sfltsi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3707 { OR1K32BF_INSN_L_SFLTU
, model_or1200_l_sfltu
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3708 { OR1K32BF_INSN_L_SFLTUI
, model_or1200_l_sfltui
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3709 { OR1K32BF_INSN_L_SFLES
, model_or1200_l_sfles
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3710 { OR1K32BF_INSN_L_SFLESI
, model_or1200_l_sflesi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3711 { OR1K32BF_INSN_L_SFLEU
, model_or1200_l_sfleu
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3712 { OR1K32BF_INSN_L_SFLEUI
, model_or1200_l_sfleui
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3713 { OR1K32BF_INSN_L_SFEQ
, model_or1200_l_sfeq
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3714 { OR1K32BF_INSN_L_SFEQI
, model_or1200_l_sfeqi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3715 { OR1K32BF_INSN_L_SFNE
, model_or1200_l_sfne
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3716 { OR1K32BF_INSN_L_SFNEI
, model_or1200_l_sfnei
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3717 { OR1K32BF_INSN_L_MAC
, model_or1200_l_mac
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3718 { OR1K32BF_INSN_L_MACI
, model_or1200_l_maci
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3719 { OR1K32BF_INSN_L_MACU
, model_or1200_l_macu
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3720 { OR1K32BF_INSN_L_MSB
, model_or1200_l_msb
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3721 { OR1K32BF_INSN_L_MSBU
, model_or1200_l_msbu
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3722 { OR1K32BF_INSN_L_CUST1
, model_or1200_l_cust1
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3723 { OR1K32BF_INSN_L_CUST2
, model_or1200_l_cust2
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3724 { OR1K32BF_INSN_L_CUST3
, model_or1200_l_cust3
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3725 { OR1K32BF_INSN_L_CUST4
, model_or1200_l_cust4
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3726 { OR1K32BF_INSN_L_CUST5
, model_or1200_l_cust5
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3727 { OR1K32BF_INSN_L_CUST6
, model_or1200_l_cust6
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3728 { OR1K32BF_INSN_L_CUST7
, model_or1200_l_cust7
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3729 { OR1K32BF_INSN_L_CUST8
, model_or1200_l_cust8
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3730 { OR1K32BF_INSN_LF_ADD_S
, model_or1200_lf_add_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3731 { OR1K32BF_INSN_LF_SUB_S
, model_or1200_lf_sub_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3732 { OR1K32BF_INSN_LF_MUL_S
, model_or1200_lf_mul_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3733 { OR1K32BF_INSN_LF_DIV_S
, model_or1200_lf_div_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3734 { OR1K32BF_INSN_LF_REM_S
, model_or1200_lf_rem_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3735 { OR1K32BF_INSN_LF_ITOF_S
, model_or1200_lf_itof_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3736 { OR1K32BF_INSN_LF_FTOI_S
, model_or1200_lf_ftoi_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3737 { OR1K32BF_INSN_LF_EQ_S
, model_or1200_lf_eq_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3738 { OR1K32BF_INSN_LF_NE_S
, model_or1200_lf_ne_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3739 { OR1K32BF_INSN_LF_GE_S
, model_or1200_lf_ge_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3740 { OR1K32BF_INSN_LF_GT_S
, model_or1200_lf_gt_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3741 { OR1K32BF_INSN_LF_LT_S
, model_or1200_lf_lt_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3742 { OR1K32BF_INSN_LF_LE_S
, model_or1200_lf_le_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3743 { OR1K32BF_INSN_LF_MADD_S
, model_or1200_lf_madd_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3744 { OR1K32BF_INSN_LF_CUST1_S
, model_or1200_lf_cust1_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3747 /* Model timing data for `or1200nd'. */
3749 static const INSN_TIMING or1200nd_timing
[] = {
3750 { OR1K32BF_INSN_X_INVALID
, 0, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3751 { OR1K32BF_INSN_X_AFTER
, 0, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3752 { OR1K32BF_INSN_X_BEFORE
, 0, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3753 { OR1K32BF_INSN_X_CTI_CHAIN
, 0, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3754 { OR1K32BF_INSN_X_CHAIN
, 0, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3755 { OR1K32BF_INSN_X_BEGIN
, 0, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3756 { OR1K32BF_INSN_L_J
, model_or1200nd_l_j
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3757 { OR1K32BF_INSN_L_ADRP
, model_or1200nd_l_adrp
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3758 { OR1K32BF_INSN_L_JAL
, model_or1200nd_l_jal
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3759 { OR1K32BF_INSN_L_JR
, model_or1200nd_l_jr
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3760 { OR1K32BF_INSN_L_JALR
, model_or1200nd_l_jalr
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3761 { OR1K32BF_INSN_L_BNF
, model_or1200nd_l_bnf
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3762 { OR1K32BF_INSN_L_BF
, model_or1200nd_l_bf
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3763 { OR1K32BF_INSN_L_TRAP
, model_or1200nd_l_trap
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3764 { OR1K32BF_INSN_L_SYS
, model_or1200nd_l_sys
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3765 { OR1K32BF_INSN_L_MSYNC
, model_or1200nd_l_msync
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3766 { OR1K32BF_INSN_L_PSYNC
, model_or1200nd_l_psync
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3767 { OR1K32BF_INSN_L_CSYNC
, model_or1200nd_l_csync
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3768 { OR1K32BF_INSN_L_RFE
, model_or1200nd_l_rfe
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3769 { OR1K32BF_INSN_L_NOP_IMM
, model_or1200nd_l_nop_imm
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3770 { OR1K32BF_INSN_L_MOVHI
, model_or1200nd_l_movhi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3771 { OR1K32BF_INSN_L_MACRC
, model_or1200nd_l_macrc
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3772 { OR1K32BF_INSN_L_MFSPR
, model_or1200nd_l_mfspr
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3773 { OR1K32BF_INSN_L_MTSPR
, model_or1200nd_l_mtspr
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3774 { OR1K32BF_INSN_L_LWZ
, model_or1200nd_l_lwz
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3775 { OR1K32BF_INSN_L_LWS
, model_or1200nd_l_lws
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3776 { OR1K32BF_INSN_L_LWA
, model_or1200nd_l_lwa
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3777 { OR1K32BF_INSN_L_LBZ
, model_or1200nd_l_lbz
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3778 { OR1K32BF_INSN_L_LBS
, model_or1200nd_l_lbs
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3779 { OR1K32BF_INSN_L_LHZ
, model_or1200nd_l_lhz
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3780 { OR1K32BF_INSN_L_LHS
, model_or1200nd_l_lhs
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3781 { OR1K32BF_INSN_L_SW
, model_or1200nd_l_sw
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3782 { OR1K32BF_INSN_L_SB
, model_or1200nd_l_sb
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3783 { OR1K32BF_INSN_L_SH
, model_or1200nd_l_sh
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3784 { OR1K32BF_INSN_L_SWA
, model_or1200nd_l_swa
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3785 { OR1K32BF_INSN_L_SLL
, model_or1200nd_l_sll
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3786 { OR1K32BF_INSN_L_SLLI
, model_or1200nd_l_slli
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3787 { OR1K32BF_INSN_L_SRL
, model_or1200nd_l_srl
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3788 { OR1K32BF_INSN_L_SRLI
, model_or1200nd_l_srli
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3789 { OR1K32BF_INSN_L_SRA
, model_or1200nd_l_sra
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3790 { OR1K32BF_INSN_L_SRAI
, model_or1200nd_l_srai
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3791 { OR1K32BF_INSN_L_ROR
, model_or1200nd_l_ror
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3792 { OR1K32BF_INSN_L_RORI
, model_or1200nd_l_rori
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3793 { OR1K32BF_INSN_L_AND
, model_or1200nd_l_and
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3794 { OR1K32BF_INSN_L_OR
, model_or1200nd_l_or
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3795 { OR1K32BF_INSN_L_XOR
, model_or1200nd_l_xor
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3796 { OR1K32BF_INSN_L_ADD
, model_or1200nd_l_add
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3797 { OR1K32BF_INSN_L_SUB
, model_or1200nd_l_sub
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3798 { OR1K32BF_INSN_L_ADDC
, model_or1200nd_l_addc
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3799 { OR1K32BF_INSN_L_MUL
, model_or1200nd_l_mul
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3800 { OR1K32BF_INSN_L_MULD
, model_or1200nd_l_muld
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3801 { OR1K32BF_INSN_L_MULU
, model_or1200nd_l_mulu
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3802 { OR1K32BF_INSN_L_MULDU
, model_or1200nd_l_muldu
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3803 { OR1K32BF_INSN_L_DIV
, model_or1200nd_l_div
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3804 { OR1K32BF_INSN_L_DIVU
, model_or1200nd_l_divu
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3805 { OR1K32BF_INSN_L_FF1
, model_or1200nd_l_ff1
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3806 { OR1K32BF_INSN_L_FL1
, model_or1200nd_l_fl1
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3807 { OR1K32BF_INSN_L_ANDI
, model_or1200nd_l_andi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3808 { OR1K32BF_INSN_L_ORI
, model_or1200nd_l_ori
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3809 { OR1K32BF_INSN_L_XORI
, model_or1200nd_l_xori
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3810 { OR1K32BF_INSN_L_ADDI
, model_or1200nd_l_addi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3811 { OR1K32BF_INSN_L_ADDIC
, model_or1200nd_l_addic
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3812 { OR1K32BF_INSN_L_MULI
, model_or1200nd_l_muli
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3813 { OR1K32BF_INSN_L_EXTHS
, model_or1200nd_l_exths
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3814 { OR1K32BF_INSN_L_EXTBS
, model_or1200nd_l_extbs
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3815 { OR1K32BF_INSN_L_EXTHZ
, model_or1200nd_l_exthz
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3816 { OR1K32BF_INSN_L_EXTBZ
, model_or1200nd_l_extbz
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3817 { OR1K32BF_INSN_L_EXTWS
, model_or1200nd_l_extws
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3818 { OR1K32BF_INSN_L_EXTWZ
, model_or1200nd_l_extwz
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3819 { OR1K32BF_INSN_L_CMOV
, model_or1200nd_l_cmov
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3820 { OR1K32BF_INSN_L_SFGTS
, model_or1200nd_l_sfgts
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3821 { OR1K32BF_INSN_L_SFGTSI
, model_or1200nd_l_sfgtsi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3822 { OR1K32BF_INSN_L_SFGTU
, model_or1200nd_l_sfgtu
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3823 { OR1K32BF_INSN_L_SFGTUI
, model_or1200nd_l_sfgtui
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3824 { OR1K32BF_INSN_L_SFGES
, model_or1200nd_l_sfges
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3825 { OR1K32BF_INSN_L_SFGESI
, model_or1200nd_l_sfgesi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3826 { OR1K32BF_INSN_L_SFGEU
, model_or1200nd_l_sfgeu
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3827 { OR1K32BF_INSN_L_SFGEUI
, model_or1200nd_l_sfgeui
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3828 { OR1K32BF_INSN_L_SFLTS
, model_or1200nd_l_sflts
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3829 { OR1K32BF_INSN_L_SFLTSI
, model_or1200nd_l_sfltsi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3830 { OR1K32BF_INSN_L_SFLTU
, model_or1200nd_l_sfltu
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3831 { OR1K32BF_INSN_L_SFLTUI
, model_or1200nd_l_sfltui
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3832 { OR1K32BF_INSN_L_SFLES
, model_or1200nd_l_sfles
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3833 { OR1K32BF_INSN_L_SFLESI
, model_or1200nd_l_sflesi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3834 { OR1K32BF_INSN_L_SFLEU
, model_or1200nd_l_sfleu
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3835 { OR1K32BF_INSN_L_SFLEUI
, model_or1200nd_l_sfleui
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3836 { OR1K32BF_INSN_L_SFEQ
, model_or1200nd_l_sfeq
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3837 { OR1K32BF_INSN_L_SFEQI
, model_or1200nd_l_sfeqi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3838 { OR1K32BF_INSN_L_SFNE
, model_or1200nd_l_sfne
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3839 { OR1K32BF_INSN_L_SFNEI
, model_or1200nd_l_sfnei
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3840 { OR1K32BF_INSN_L_MAC
, model_or1200nd_l_mac
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3841 { OR1K32BF_INSN_L_MACI
, model_or1200nd_l_maci
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3842 { OR1K32BF_INSN_L_MACU
, model_or1200nd_l_macu
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3843 { OR1K32BF_INSN_L_MSB
, model_or1200nd_l_msb
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3844 { OR1K32BF_INSN_L_MSBU
, model_or1200nd_l_msbu
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3845 { OR1K32BF_INSN_L_CUST1
, model_or1200nd_l_cust1
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3846 { OR1K32BF_INSN_L_CUST2
, model_or1200nd_l_cust2
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3847 { OR1K32BF_INSN_L_CUST3
, model_or1200nd_l_cust3
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3848 { OR1K32BF_INSN_L_CUST4
, model_or1200nd_l_cust4
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3849 { OR1K32BF_INSN_L_CUST5
, model_or1200nd_l_cust5
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3850 { OR1K32BF_INSN_L_CUST6
, model_or1200nd_l_cust6
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3851 { OR1K32BF_INSN_L_CUST7
, model_or1200nd_l_cust7
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3852 { OR1K32BF_INSN_L_CUST8
, model_or1200nd_l_cust8
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3853 { OR1K32BF_INSN_LF_ADD_S
, model_or1200nd_lf_add_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3854 { OR1K32BF_INSN_LF_SUB_S
, model_or1200nd_lf_sub_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3855 { OR1K32BF_INSN_LF_MUL_S
, model_or1200nd_lf_mul_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3856 { OR1K32BF_INSN_LF_DIV_S
, model_or1200nd_lf_div_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3857 { OR1K32BF_INSN_LF_REM_S
, model_or1200nd_lf_rem_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3858 { OR1K32BF_INSN_LF_ITOF_S
, model_or1200nd_lf_itof_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3859 { OR1K32BF_INSN_LF_FTOI_S
, model_or1200nd_lf_ftoi_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3860 { OR1K32BF_INSN_LF_EQ_S
, model_or1200nd_lf_eq_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3861 { OR1K32BF_INSN_LF_NE_S
, model_or1200nd_lf_ne_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3862 { OR1K32BF_INSN_LF_GE_S
, model_or1200nd_lf_ge_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3863 { OR1K32BF_INSN_LF_GT_S
, model_or1200nd_lf_gt_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3864 { OR1K32BF_INSN_LF_LT_S
, model_or1200nd_lf_lt_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3865 { OR1K32BF_INSN_LF_LE_S
, model_or1200nd_lf_le_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3866 { OR1K32BF_INSN_LF_MADD_S
, model_or1200nd_lf_madd_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3867 { OR1K32BF_INSN_LF_CUST1_S
, model_or1200nd_lf_cust1_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3870 #endif /* WITH_PROFILE_MODEL_P */
3873 or1200_model_init (SIM_CPU
*cpu
)
3875 CPU_MODEL_DATA (cpu
) = (void *) zalloc (sizeof (MODEL_OR1200_DATA
));
3879 or1200nd_model_init (SIM_CPU
*cpu
)
3881 CPU_MODEL_DATA (cpu
) = (void *) zalloc (sizeof (MODEL_OR1200ND_DATA
));
3884 #if WITH_PROFILE_MODEL_P
3885 #define TIMING_DATA(td) td
3887 #define TIMING_DATA(td) 0
3890 static const SIM_MODEL or32_models
[] =
3892 { "or1200", & or32_mach
, MODEL_OR1200
, TIMING_DATA (& or1200_timing
[0]), or1200_model_init
},
3896 static const SIM_MODEL or32nd_models
[] =
3898 { "or1200nd", & or32nd_mach
, MODEL_OR1200ND
, TIMING_DATA (& or1200nd_timing
[0]), or1200nd_model_init
},
3902 /* The properties of this cpu's implementation. */
3904 static const SIM_MACH_IMP_PROPERTIES or1k32bf_imp_properties
=
3916 or1k32bf_prepare_run (SIM_CPU
*cpu
)
3918 if (CPU_IDESC (cpu
) == NULL
)
3919 or1k32bf_init_idesc_table (cpu
);
3922 static const CGEN_INSN
*
3923 or1k32bf_get_idata (SIM_CPU
*cpu
, int inum
)
3925 return CPU_IDESC (cpu
) [inum
].idata
;
3929 or32_init_cpu (SIM_CPU
*cpu
)
3931 CPU_REG_FETCH (cpu
) = or1k32bf_fetch_register
;
3932 CPU_REG_STORE (cpu
) = or1k32bf_store_register
;
3933 CPU_PC_FETCH (cpu
) = or1k32bf_h_pc_get
;
3934 CPU_PC_STORE (cpu
) = or1k32bf_h_pc_set
;
3935 CPU_GET_IDATA (cpu
) = or1k32bf_get_idata
;
3936 CPU_MAX_INSNS (cpu
) = OR1K32BF_INSN__MAX
;
3937 CPU_INSN_NAME (cpu
) = cgen_insn_name
;
3938 CPU_FULL_ENGINE_FN (cpu
) = or1k32bf_engine_run_full
;
3940 CPU_FAST_ENGINE_FN (cpu
) = or1k32bf_engine_run_fast
;
3942 CPU_FAST_ENGINE_FN (cpu
) = or1k32bf_engine_run_full
;
3946 const SIM_MACH or32_mach
=
3948 "or32", "or1k", MACH_OR32
,
3949 32, 32, & or32_models
[0], & or1k32bf_imp_properties
,
3951 or1k32bf_prepare_run
3955 or32nd_init_cpu (SIM_CPU
*cpu
)
3957 CPU_REG_FETCH (cpu
) = or1k32bf_fetch_register
;
3958 CPU_REG_STORE (cpu
) = or1k32bf_store_register
;
3959 CPU_PC_FETCH (cpu
) = or1k32bf_h_pc_get
;
3960 CPU_PC_STORE (cpu
) = or1k32bf_h_pc_set
;
3961 CPU_GET_IDATA (cpu
) = or1k32bf_get_idata
;
3962 CPU_MAX_INSNS (cpu
) = OR1K32BF_INSN__MAX
;
3963 CPU_INSN_NAME (cpu
) = cgen_insn_name
;
3964 CPU_FULL_ENGINE_FN (cpu
) = or1k32bf_engine_run_full
;
3966 CPU_FAST_ENGINE_FN (cpu
) = or1k32bf_engine_run_fast
;
3968 CPU_FAST_ENGINE_FN (cpu
) = or1k32bf_engine_run_full
;
3972 const SIM_MACH or32nd_mach
=
3974 "or32nd", "or1knd", MACH_OR32ND
,
3975 32, 32, & or32nd_models
[0], & or1k32bf_imp_properties
,
3977 or1k32bf_prepare_run