1 /* Simulator model support for or1k32bf.
3 THIS FILE IS MACHINE GENERATED WITH CGEN.
5 Copyright 1996-2010 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_jal (SIM_CPU
*current_cpu
, void *sem_arg
)
56 #define FLD(f) abuf->fields.sfmt_l_j.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_jr (SIM_CPU
*current_cpu
, void *sem_arg
)
72 #define FLD(f) abuf->fields.sfmt_l_sll.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_jalr (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_bnf (SIM_CPU
*current_cpu
, void *sem_arg
)
104 #define FLD(f) abuf->fields.sfmt_l_j.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_bf (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_trap (SIM_CPU
*current_cpu
, void *sem_arg
)
136 #define FLD(f) abuf->fields.sfmt_empty.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_sys (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_msync (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_psync (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_csync (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_rfe (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_nop_imm (SIM_CPU
*current_cpu
, void *sem_arg
)
232 #define FLD(f) abuf->fields.sfmt_l_mfspr.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_movhi (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_macrc (SIM_CPU
*current_cpu
, void *sem_arg
)
264 #define FLD(f) abuf->fields.sfmt_l_slli.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_mfspr (SIM_CPU
*current_cpu
, void *sem_arg
)
280 #define FLD(f) abuf->fields.sfmt_l_mfspr.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_mtspr (SIM_CPU
*current_cpu
, void *sem_arg
)
296 #define FLD(f) abuf->fields.sfmt_l_mtspr.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_lwz (SIM_CPU
*current_cpu
, void *sem_arg
)
312 #define FLD(f) abuf->fields.sfmt_l_lwz.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_lws (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_lwa (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_lbz (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_lbs (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_lhz (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_lhs (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_sw (SIM_CPU
*current_cpu
, void *sem_arg
)
424 #define FLD(f) abuf->fields.sfmt_l_sw.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_sb (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_sh (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_swa (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_sll (SIM_CPU
*current_cpu
, void *sem_arg
)
488 #define FLD(f) abuf->fields.sfmt_l_sll.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_slli (SIM_CPU
*current_cpu
, void *sem_arg
)
504 #define FLD(f) abuf->fields.sfmt_l_slli.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_srl (SIM_CPU
*current_cpu
, void *sem_arg
)
520 #define FLD(f) abuf->fields.sfmt_l_sll.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_srli (SIM_CPU
*current_cpu
, void *sem_arg
)
536 #define FLD(f) abuf->fields.sfmt_l_slli.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_sra (SIM_CPU
*current_cpu
, void *sem_arg
)
552 #define FLD(f) abuf->fields.sfmt_l_sll.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_srai (SIM_CPU
*current_cpu
, void *sem_arg
)
568 #define FLD(f) abuf->fields.sfmt_l_slli.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_ror (SIM_CPU
*current_cpu
, void *sem_arg
)
584 #define FLD(f) abuf->fields.sfmt_l_sll.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_rori (SIM_CPU
*current_cpu
, void *sem_arg
)
600 #define FLD(f) abuf->fields.sfmt_l_slli.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_and (SIM_CPU
*current_cpu
, void *sem_arg
)
616 #define FLD(f) abuf->fields.sfmt_l_sll.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_or (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_xor (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_add (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_sub (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_addc (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_mul (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_mulu (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_div (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_divu (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_ff1 (SIM_CPU
*current_cpu
, void *sem_arg
)
776 #define FLD(f) abuf->fields.sfmt_l_slli.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_fl1 (SIM_CPU
*current_cpu
, void *sem_arg
)
792 #define FLD(f) abuf->fields.sfmt_l_slli.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_andi (SIM_CPU
*current_cpu
, void *sem_arg
)
808 #define FLD(f) abuf->fields.sfmt_l_mfspr.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_ori (SIM_CPU
*current_cpu
, void *sem_arg
)
824 #define FLD(f) abuf->fields.sfmt_l_mfspr.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_xori (SIM_CPU
*current_cpu
, void *sem_arg
)
840 #define FLD(f) abuf->fields.sfmt_l_lwz.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_addi (SIM_CPU
*current_cpu
, void *sem_arg
)
856 #define FLD(f) abuf->fields.sfmt_l_lwz.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_addic (SIM_CPU
*current_cpu
, void *sem_arg
)
872 #define FLD(f) abuf->fields.sfmt_l_lwz.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_muli (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_exths (SIM_CPU
*current_cpu
, void *sem_arg
)
904 #define FLD(f) abuf->fields.sfmt_l_slli.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_extbs (SIM_CPU
*current_cpu
, void *sem_arg
)
920 #define FLD(f) abuf->fields.sfmt_l_slli.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_exthz (SIM_CPU
*current_cpu
, void *sem_arg
)
936 #define FLD(f) abuf->fields.sfmt_l_slli.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_extbz (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_extws (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_extwz (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_cmov (SIM_CPU
*current_cpu
, void *sem_arg
)
1000 #define FLD(f) abuf->fields.sfmt_l_sll.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_sfgts (SIM_CPU
*current_cpu
, void *sem_arg
)
1016 #define FLD(f) abuf->fields.sfmt_l_sll.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_sfgtsi (SIM_CPU
*current_cpu
, void *sem_arg
)
1032 #define FLD(f) abuf->fields.sfmt_l_lwz.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_sfgtu (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_sfgtui (SIM_CPU
*current_cpu
, void *sem_arg
)
1064 #define FLD(f) abuf->fields.sfmt_l_lwz.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_sfges (SIM_CPU
*current_cpu
, void *sem_arg
)
1080 #define FLD(f) abuf->fields.sfmt_l_sll.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_sfgesi (SIM_CPU
*current_cpu
, void *sem_arg
)
1096 #define FLD(f) abuf->fields.sfmt_l_lwz.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_sfgeu (SIM_CPU
*current_cpu
, void *sem_arg
)
1112 #define FLD(f) abuf->fields.sfmt_l_sll.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_sfgeui (SIM_CPU
*current_cpu
, void *sem_arg
)
1128 #define FLD(f) abuf->fields.sfmt_l_lwz.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_sflts (SIM_CPU
*current_cpu
, void *sem_arg
)
1144 #define FLD(f) abuf->fields.sfmt_l_sll.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_sfltsi (SIM_CPU
*current_cpu
, void *sem_arg
)
1160 #define FLD(f) abuf->fields.sfmt_l_lwz.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_sfltu (SIM_CPU
*current_cpu
, void *sem_arg
)
1176 #define FLD(f) abuf->fields.sfmt_l_sll.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_sfltui (SIM_CPU
*current_cpu
, void *sem_arg
)
1192 #define FLD(f) abuf->fields.sfmt_l_lwz.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_sfles (SIM_CPU
*current_cpu
, void *sem_arg
)
1208 #define FLD(f) abuf->fields.sfmt_l_sll.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_sflesi (SIM_CPU
*current_cpu
, void *sem_arg
)
1224 #define FLD(f) abuf->fields.sfmt_l_lwz.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_sfleu (SIM_CPU
*current_cpu
, void *sem_arg
)
1240 #define FLD(f) abuf->fields.sfmt_l_sll.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_sfleui (SIM_CPU
*current_cpu
, void *sem_arg
)
1256 #define FLD(f) abuf->fields.sfmt_l_lwz.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_sfeq (SIM_CPU
*current_cpu
, void *sem_arg
)
1272 #define FLD(f) abuf->fields.sfmt_l_sll.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_sfeqi (SIM_CPU
*current_cpu
, void *sem_arg
)
1288 #define FLD(f) abuf->fields.sfmt_l_lwz.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_sfne (SIM_CPU
*current_cpu
, void *sem_arg
)
1304 #define FLD(f) abuf->fields.sfmt_l_sll.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_sfnei (SIM_CPU
*current_cpu
, void *sem_arg
)
1320 #define FLD(f) abuf->fields.sfmt_l_lwz.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_mac (SIM_CPU
*current_cpu
, void *sem_arg
)
1336 #define FLD(f) abuf->fields.sfmt_l_sll.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_msb (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_maci (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_cust1 (SIM_CPU
*current_cpu
, void *sem_arg
)
1384 #define FLD(f) abuf->fields.sfmt_empty.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_cust2 (SIM_CPU
*current_cpu
, void *sem_arg
)
1400 #define FLD(f) abuf->fields.sfmt_empty.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_cust3 (SIM_CPU
*current_cpu
, void *sem_arg
)
1416 #define FLD(f) abuf->fields.sfmt_empty.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_cust4 (SIM_CPU
*current_cpu
, void *sem_arg
)
1432 #define FLD(f) abuf->fields.sfmt_empty.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_cust5 (SIM_CPU
*current_cpu
, void *sem_arg
)
1448 #define FLD(f) abuf->fields.sfmt_empty.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_cust6 (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_cust7 (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_cust8 (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_lf_add_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1512 #define FLD(f) abuf->fields.sfmt_l_sll.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_lf_sub_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1528 #define FLD(f) abuf->fields.sfmt_l_sll.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_lf_mul_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1544 #define FLD(f) abuf->fields.sfmt_l_sll.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_lf_div_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1560 #define FLD(f) abuf->fields.sfmt_l_sll.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_lf_rem_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1576 #define FLD(f) abuf->fields.sfmt_l_sll.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_itof_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1592 #define FLD(f) abuf->fields.sfmt_l_slli.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_ftoi_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1608 #define FLD(f) abuf->fields.sfmt_l_slli.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_eq_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_ne_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_ge_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_gt_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1672 #define FLD(f) abuf->fields.sfmt_l_sll.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_lt_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1688 #define FLD(f) abuf->fields.sfmt_l_sll.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_le_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_madd_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_cust1_s (SIM_CPU
*current_cpu
, void *sem_arg
)
1736 #define FLD(f) abuf->fields.sfmt_empty.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_or1200nd_l_j (SIM_CPU
*current_cpu
, void *sem_arg
)
1752 #define FLD(f) abuf->fields.sfmt_l_j.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_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
1766 model_or1200nd_l_jal (SIM_CPU
*current_cpu
, void *sem_arg
)
1768 #define FLD(f) abuf->fields.sfmt_l_j.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_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
1782 model_or1200nd_l_jr (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_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
1798 model_or1200nd_l_jalr (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_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
1814 model_or1200nd_l_bnf (SIM_CPU
*current_cpu
, void *sem_arg
)
1816 #define FLD(f) abuf->fields.sfmt_l_j.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_or1200nd_u_exec (current_cpu
, idesc
, 0, referenced
);
1830 model_or1200nd_l_bf (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_trap (SIM_CPU
*current_cpu
, void *sem_arg
)
1848 #define FLD(f) abuf->fields.sfmt_empty.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_sys (SIM_CPU
*current_cpu
, void *sem_arg
)
1864 #define FLD(f) abuf->fields.sfmt_empty.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_msync (SIM_CPU
*current_cpu
, void *sem_arg
)
1880 #define FLD(f) abuf->fields.sfmt_empty.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_psync (SIM_CPU
*current_cpu
, void *sem_arg
)
1896 #define FLD(f) abuf->fields.sfmt_empty.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_csync (SIM_CPU
*current_cpu
, void *sem_arg
)
1912 #define FLD(f) abuf->fields.sfmt_empty.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_rfe (SIM_CPU
*current_cpu
, void *sem_arg
)
1928 #define FLD(f) abuf->fields.sfmt_empty.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_nop_imm (SIM_CPU
*current_cpu
, void *sem_arg
)
1944 #define FLD(f) abuf->fields.sfmt_l_mfspr.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_movhi (SIM_CPU
*current_cpu
, void *sem_arg
)
1960 #define FLD(f) abuf->fields.sfmt_l_mfspr.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_macrc (SIM_CPU
*current_cpu
, void *sem_arg
)
1976 #define FLD(f) abuf->fields.sfmt_l_slli.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_mfspr (SIM_CPU
*current_cpu
, void *sem_arg
)
1992 #define FLD(f) abuf->fields.sfmt_l_mfspr.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_mtspr (SIM_CPU
*current_cpu
, void *sem_arg
)
2008 #define FLD(f) abuf->fields.sfmt_l_mtspr.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_lwz (SIM_CPU
*current_cpu
, void *sem_arg
)
2024 #define FLD(f) abuf->fields.sfmt_l_lwz.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_lws (SIM_CPU
*current_cpu
, void *sem_arg
)
2040 #define FLD(f) abuf->fields.sfmt_l_lwz.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_lwa (SIM_CPU
*current_cpu
, void *sem_arg
)
2056 #define FLD(f) abuf->fields.sfmt_l_lwz.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_lbz (SIM_CPU
*current_cpu
, void *sem_arg
)
2072 #define FLD(f) abuf->fields.sfmt_l_lwz.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_lbs (SIM_CPU
*current_cpu
, void *sem_arg
)
2088 #define FLD(f) abuf->fields.sfmt_l_lwz.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_lhz (SIM_CPU
*current_cpu
, void *sem_arg
)
2104 #define FLD(f) abuf->fields.sfmt_l_lwz.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_lhs (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_sw (SIM_CPU
*current_cpu
, void *sem_arg
)
2136 #define FLD(f) abuf->fields.sfmt_l_sw.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_sb (SIM_CPU
*current_cpu
, void *sem_arg
)
2152 #define FLD(f) abuf->fields.sfmt_l_sw.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_sh (SIM_CPU
*current_cpu
, void *sem_arg
)
2168 #define FLD(f) abuf->fields.sfmt_l_sw.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_swa (SIM_CPU
*current_cpu
, void *sem_arg
)
2184 #define FLD(f) abuf->fields.sfmt_l_sw.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_sll (SIM_CPU
*current_cpu
, void *sem_arg
)
2200 #define FLD(f) abuf->fields.sfmt_l_sll.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_slli (SIM_CPU
*current_cpu
, void *sem_arg
)
2216 #define FLD(f) abuf->fields.sfmt_l_slli.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_srl (SIM_CPU
*current_cpu
, void *sem_arg
)
2232 #define FLD(f) abuf->fields.sfmt_l_sll.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_srli (SIM_CPU
*current_cpu
, void *sem_arg
)
2248 #define FLD(f) abuf->fields.sfmt_l_slli.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_sra (SIM_CPU
*current_cpu
, void *sem_arg
)
2264 #define FLD(f) abuf->fields.sfmt_l_sll.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_srai (SIM_CPU
*current_cpu
, void *sem_arg
)
2280 #define FLD(f) abuf->fields.sfmt_l_slli.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_ror (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_rori (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_and (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_or (SIM_CPU
*current_cpu
, void *sem_arg
)
2344 #define FLD(f) abuf->fields.sfmt_l_sll.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_xor (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_add (SIM_CPU
*current_cpu
, void *sem_arg
)
2376 #define FLD(f) abuf->fields.sfmt_l_sll.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_sub (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_addc (SIM_CPU
*current_cpu
, void *sem_arg
)
2408 #define FLD(f) abuf->fields.sfmt_l_sll.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_mul (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_mulu (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_div (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_divu (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_ff1 (SIM_CPU
*current_cpu
, void *sem_arg
)
2488 #define FLD(f) abuf->fields.sfmt_l_slli.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_fl1 (SIM_CPU
*current_cpu
, void *sem_arg
)
2504 #define FLD(f) abuf->fields.sfmt_l_slli.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_andi (SIM_CPU
*current_cpu
, void *sem_arg
)
2520 #define FLD(f) abuf->fields.sfmt_l_mfspr.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_ori (SIM_CPU
*current_cpu
, void *sem_arg
)
2536 #define FLD(f) abuf->fields.sfmt_l_mfspr.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_xori (SIM_CPU
*current_cpu
, void *sem_arg
)
2552 #define FLD(f) abuf->fields.sfmt_l_lwz.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_addi (SIM_CPU
*current_cpu
, void *sem_arg
)
2568 #define FLD(f) abuf->fields.sfmt_l_lwz.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_addic (SIM_CPU
*current_cpu
, void *sem_arg
)
2584 #define FLD(f) abuf->fields.sfmt_l_lwz.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_muli (SIM_CPU
*current_cpu
, void *sem_arg
)
2600 #define FLD(f) abuf->fields.sfmt_l_lwz.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_exths (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_extbs (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_exthz (SIM_CPU
*current_cpu
, void *sem_arg
)
2648 #define FLD(f) abuf->fields.sfmt_l_slli.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_extbz (SIM_CPU
*current_cpu
, void *sem_arg
)
2664 #define FLD(f) abuf->fields.sfmt_l_slli.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_extws (SIM_CPU
*current_cpu
, void *sem_arg
)
2680 #define FLD(f) abuf->fields.sfmt_l_slli.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_extwz (SIM_CPU
*current_cpu
, void *sem_arg
)
2696 #define FLD(f) abuf->fields.sfmt_l_slli.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_cmov (SIM_CPU
*current_cpu
, void *sem_arg
)
2712 #define FLD(f) abuf->fields.sfmt_l_sll.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_sfgts (SIM_CPU
*current_cpu
, void *sem_arg
)
2728 #define FLD(f) abuf->fields.sfmt_l_sll.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_sfgtsi (SIM_CPU
*current_cpu
, void *sem_arg
)
2744 #define FLD(f) abuf->fields.sfmt_l_lwz.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_sfgtu (SIM_CPU
*current_cpu
, void *sem_arg
)
2760 #define FLD(f) abuf->fields.sfmt_l_sll.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_sfgtui (SIM_CPU
*current_cpu
, void *sem_arg
)
2776 #define FLD(f) abuf->fields.sfmt_l_lwz.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_sfges (SIM_CPU
*current_cpu
, void *sem_arg
)
2792 #define FLD(f) abuf->fields.sfmt_l_sll.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_sfgesi (SIM_CPU
*current_cpu
, void *sem_arg
)
2808 #define FLD(f) abuf->fields.sfmt_l_lwz.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_sfgeu (SIM_CPU
*current_cpu
, void *sem_arg
)
2824 #define FLD(f) abuf->fields.sfmt_l_sll.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_sfgeui (SIM_CPU
*current_cpu
, void *sem_arg
)
2840 #define FLD(f) abuf->fields.sfmt_l_lwz.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_sflts (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_sfltsi (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_sfltu (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_sfltui (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_sfles (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_sflesi (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_sfleu (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_sfleui (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_sfeq (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_sfeqi (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_sfne (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_sfnei (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_mac (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_msb (SIM_CPU
*current_cpu
, void *sem_arg
)
3064 #define FLD(f) abuf->fields.sfmt_l_sll.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_maci (SIM_CPU
*current_cpu
, void *sem_arg
)
3080 #define FLD(f) abuf->fields.sfmt_l_lwz.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_cust1 (SIM_CPU
*current_cpu
, void *sem_arg
)
3096 #define FLD(f) abuf->fields.sfmt_empty.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_cust2 (SIM_CPU
*current_cpu
, void *sem_arg
)
3112 #define FLD(f) abuf->fields.sfmt_empty.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_cust3 (SIM_CPU
*current_cpu
, void *sem_arg
)
3128 #define FLD(f) abuf->fields.sfmt_empty.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_cust4 (SIM_CPU
*current_cpu
, void *sem_arg
)
3144 #define FLD(f) abuf->fields.sfmt_empty.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_cust5 (SIM_CPU
*current_cpu
, void *sem_arg
)
3160 #define FLD(f) abuf->fields.sfmt_empty.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_cust6 (SIM_CPU
*current_cpu
, void *sem_arg
)
3176 #define FLD(f) abuf->fields.sfmt_empty.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_cust7 (SIM_CPU
*current_cpu
, void *sem_arg
)
3192 #define FLD(f) abuf->fields.sfmt_empty.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_cust8 (SIM_CPU
*current_cpu
, void *sem_arg
)
3208 #define FLD(f) abuf->fields.sfmt_empty.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_lf_add_s (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_lf_sub_s (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_lf_mul_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3256 #define FLD(f) abuf->fields.sfmt_l_sll.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_lf_div_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3272 #define FLD(f) abuf->fields.sfmt_l_sll.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_lf_rem_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3288 #define FLD(f) abuf->fields.sfmt_l_sll.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_lf_itof_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3304 #define FLD(f) abuf->fields.sfmt_l_slli.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_lf_ftoi_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3320 #define FLD(f) abuf->fields.sfmt_l_slli.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_lf_eq_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3336 #define FLD(f) abuf->fields.sfmt_l_sll.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_lf_ne_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3352 #define FLD(f) abuf->fields.sfmt_l_sll.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_lf_ge_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3368 #define FLD(f) abuf->fields.sfmt_l_sll.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_gt_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_lt_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_le_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_madd_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_cust1_s (SIM_CPU
*current_cpu
, void *sem_arg
)
3448 #define FLD(f) abuf->fields.sfmt_empty.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
);
3461 /* We assume UNIT_NONE == 0 because the tables don't always terminate
3464 /* Model timing data for `or1200'. */
3466 static const INSN_TIMING or1200_timing
[] = {
3467 { OR1K32BF_INSN_X_INVALID
, 0, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3468 { OR1K32BF_INSN_X_AFTER
, 0, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3469 { OR1K32BF_INSN_X_BEFORE
, 0, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3470 { OR1K32BF_INSN_X_CTI_CHAIN
, 0, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3471 { OR1K32BF_INSN_X_CHAIN
, 0, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3472 { OR1K32BF_INSN_X_BEGIN
, 0, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3473 { OR1K32BF_INSN_L_J
, model_or1200_l_j
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3474 { OR1K32BF_INSN_L_JAL
, model_or1200_l_jal
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3475 { OR1K32BF_INSN_L_JR
, model_or1200_l_jr
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3476 { OR1K32BF_INSN_L_JALR
, model_or1200_l_jalr
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3477 { OR1K32BF_INSN_L_BNF
, model_or1200_l_bnf
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3478 { OR1K32BF_INSN_L_BF
, model_or1200_l_bf
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3479 { OR1K32BF_INSN_L_TRAP
, model_or1200_l_trap
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3480 { OR1K32BF_INSN_L_SYS
, model_or1200_l_sys
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3481 { OR1K32BF_INSN_L_MSYNC
, model_or1200_l_msync
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3482 { OR1K32BF_INSN_L_PSYNC
, model_or1200_l_psync
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3483 { OR1K32BF_INSN_L_CSYNC
, model_or1200_l_csync
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3484 { OR1K32BF_INSN_L_RFE
, model_or1200_l_rfe
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3485 { OR1K32BF_INSN_L_NOP_IMM
, model_or1200_l_nop_imm
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3486 { OR1K32BF_INSN_L_MOVHI
, model_or1200_l_movhi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3487 { OR1K32BF_INSN_L_MACRC
, model_or1200_l_macrc
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3488 { OR1K32BF_INSN_L_MFSPR
, model_or1200_l_mfspr
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3489 { OR1K32BF_INSN_L_MTSPR
, model_or1200_l_mtspr
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3490 { OR1K32BF_INSN_L_LWZ
, model_or1200_l_lwz
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3491 { OR1K32BF_INSN_L_LWS
, model_or1200_l_lws
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3492 { OR1K32BF_INSN_L_LWA
, model_or1200_l_lwa
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3493 { OR1K32BF_INSN_L_LBZ
, model_or1200_l_lbz
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3494 { OR1K32BF_INSN_L_LBS
, model_or1200_l_lbs
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3495 { OR1K32BF_INSN_L_LHZ
, model_or1200_l_lhz
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3496 { OR1K32BF_INSN_L_LHS
, model_or1200_l_lhs
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3497 { OR1K32BF_INSN_L_SW
, model_or1200_l_sw
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3498 { OR1K32BF_INSN_L_SB
, model_or1200_l_sb
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3499 { OR1K32BF_INSN_L_SH
, model_or1200_l_sh
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3500 { OR1K32BF_INSN_L_SWA
, model_or1200_l_swa
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3501 { OR1K32BF_INSN_L_SLL
, model_or1200_l_sll
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3502 { OR1K32BF_INSN_L_SLLI
, model_or1200_l_slli
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3503 { OR1K32BF_INSN_L_SRL
, model_or1200_l_srl
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3504 { OR1K32BF_INSN_L_SRLI
, model_or1200_l_srli
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3505 { OR1K32BF_INSN_L_SRA
, model_or1200_l_sra
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3506 { OR1K32BF_INSN_L_SRAI
, model_or1200_l_srai
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3507 { OR1K32BF_INSN_L_ROR
, model_or1200_l_ror
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3508 { OR1K32BF_INSN_L_RORI
, model_or1200_l_rori
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3509 { OR1K32BF_INSN_L_AND
, model_or1200_l_and
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3510 { OR1K32BF_INSN_L_OR
, model_or1200_l_or
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3511 { OR1K32BF_INSN_L_XOR
, model_or1200_l_xor
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3512 { OR1K32BF_INSN_L_ADD
, model_or1200_l_add
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3513 { OR1K32BF_INSN_L_SUB
, model_or1200_l_sub
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3514 { OR1K32BF_INSN_L_ADDC
, model_or1200_l_addc
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3515 { OR1K32BF_INSN_L_MUL
, model_or1200_l_mul
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3516 { OR1K32BF_INSN_L_MULU
, model_or1200_l_mulu
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3517 { OR1K32BF_INSN_L_DIV
, model_or1200_l_div
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3518 { OR1K32BF_INSN_L_DIVU
, model_or1200_l_divu
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3519 { OR1K32BF_INSN_L_FF1
, model_or1200_l_ff1
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3520 { OR1K32BF_INSN_L_FL1
, model_or1200_l_fl1
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3521 { OR1K32BF_INSN_L_ANDI
, model_or1200_l_andi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3522 { OR1K32BF_INSN_L_ORI
, model_or1200_l_ori
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3523 { OR1K32BF_INSN_L_XORI
, model_or1200_l_xori
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3524 { OR1K32BF_INSN_L_ADDI
, model_or1200_l_addi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3525 { OR1K32BF_INSN_L_ADDIC
, model_or1200_l_addic
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3526 { OR1K32BF_INSN_L_MULI
, model_or1200_l_muli
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3527 { OR1K32BF_INSN_L_EXTHS
, model_or1200_l_exths
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3528 { OR1K32BF_INSN_L_EXTBS
, model_or1200_l_extbs
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3529 { OR1K32BF_INSN_L_EXTHZ
, model_or1200_l_exthz
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3530 { OR1K32BF_INSN_L_EXTBZ
, model_or1200_l_extbz
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3531 { OR1K32BF_INSN_L_EXTWS
, model_or1200_l_extws
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3532 { OR1K32BF_INSN_L_EXTWZ
, model_or1200_l_extwz
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3533 { OR1K32BF_INSN_L_CMOV
, model_or1200_l_cmov
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3534 { OR1K32BF_INSN_L_SFGTS
, model_or1200_l_sfgts
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3535 { OR1K32BF_INSN_L_SFGTSI
, model_or1200_l_sfgtsi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3536 { OR1K32BF_INSN_L_SFGTU
, model_or1200_l_sfgtu
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3537 { OR1K32BF_INSN_L_SFGTUI
, model_or1200_l_sfgtui
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3538 { OR1K32BF_INSN_L_SFGES
, model_or1200_l_sfges
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3539 { OR1K32BF_INSN_L_SFGESI
, model_or1200_l_sfgesi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3540 { OR1K32BF_INSN_L_SFGEU
, model_or1200_l_sfgeu
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3541 { OR1K32BF_INSN_L_SFGEUI
, model_or1200_l_sfgeui
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3542 { OR1K32BF_INSN_L_SFLTS
, model_or1200_l_sflts
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3543 { OR1K32BF_INSN_L_SFLTSI
, model_or1200_l_sfltsi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3544 { OR1K32BF_INSN_L_SFLTU
, model_or1200_l_sfltu
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3545 { OR1K32BF_INSN_L_SFLTUI
, model_or1200_l_sfltui
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3546 { OR1K32BF_INSN_L_SFLES
, model_or1200_l_sfles
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3547 { OR1K32BF_INSN_L_SFLESI
, model_or1200_l_sflesi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3548 { OR1K32BF_INSN_L_SFLEU
, model_or1200_l_sfleu
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3549 { OR1K32BF_INSN_L_SFLEUI
, model_or1200_l_sfleui
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3550 { OR1K32BF_INSN_L_SFEQ
, model_or1200_l_sfeq
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3551 { OR1K32BF_INSN_L_SFEQI
, model_or1200_l_sfeqi
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3552 { OR1K32BF_INSN_L_SFNE
, model_or1200_l_sfne
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3553 { OR1K32BF_INSN_L_SFNEI
, model_or1200_l_sfnei
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3554 { OR1K32BF_INSN_L_MAC
, model_or1200_l_mac
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3555 { OR1K32BF_INSN_L_MSB
, model_or1200_l_msb
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3556 { OR1K32BF_INSN_L_MACI
, model_or1200_l_maci
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3557 { OR1K32BF_INSN_L_CUST1
, model_or1200_l_cust1
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3558 { OR1K32BF_INSN_L_CUST2
, model_or1200_l_cust2
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3559 { OR1K32BF_INSN_L_CUST3
, model_or1200_l_cust3
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3560 { OR1K32BF_INSN_L_CUST4
, model_or1200_l_cust4
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3561 { OR1K32BF_INSN_L_CUST5
, model_or1200_l_cust5
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3562 { OR1K32BF_INSN_L_CUST6
, model_or1200_l_cust6
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3563 { OR1K32BF_INSN_L_CUST7
, model_or1200_l_cust7
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3564 { OR1K32BF_INSN_L_CUST8
, model_or1200_l_cust8
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3565 { OR1K32BF_INSN_LF_ADD_S
, model_or1200_lf_add_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3566 { OR1K32BF_INSN_LF_SUB_S
, model_or1200_lf_sub_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3567 { OR1K32BF_INSN_LF_MUL_S
, model_or1200_lf_mul_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3568 { OR1K32BF_INSN_LF_DIV_S
, model_or1200_lf_div_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3569 { OR1K32BF_INSN_LF_REM_S
, model_or1200_lf_rem_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3570 { OR1K32BF_INSN_LF_ITOF_S
, model_or1200_lf_itof_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3571 { OR1K32BF_INSN_LF_FTOI_S
, model_or1200_lf_ftoi_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3572 { OR1K32BF_INSN_LF_EQ_S
, model_or1200_lf_eq_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3573 { OR1K32BF_INSN_LF_NE_S
, model_or1200_lf_ne_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3574 { OR1K32BF_INSN_LF_GE_S
, model_or1200_lf_ge_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3575 { OR1K32BF_INSN_LF_GT_S
, model_or1200_lf_gt_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3576 { OR1K32BF_INSN_LF_LT_S
, model_or1200_lf_lt_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3577 { OR1K32BF_INSN_LF_LE_S
, model_or1200_lf_le_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3578 { OR1K32BF_INSN_LF_MADD_S
, model_or1200_lf_madd_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3579 { OR1K32BF_INSN_LF_CUST1_S
, model_or1200_lf_cust1_s
, { { (int) UNIT_OR1200_U_EXEC
, 1, 1 } } },
3582 /* Model timing data for `or1200nd'. */
3584 static const INSN_TIMING or1200nd_timing
[] = {
3585 { OR1K32BF_INSN_X_INVALID
, 0, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3586 { OR1K32BF_INSN_X_AFTER
, 0, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3587 { OR1K32BF_INSN_X_BEFORE
, 0, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3588 { OR1K32BF_INSN_X_CTI_CHAIN
, 0, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3589 { OR1K32BF_INSN_X_CHAIN
, 0, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3590 { OR1K32BF_INSN_X_BEGIN
, 0, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3591 { OR1K32BF_INSN_L_J
, model_or1200nd_l_j
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3592 { OR1K32BF_INSN_L_JAL
, model_or1200nd_l_jal
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3593 { OR1K32BF_INSN_L_JR
, model_or1200nd_l_jr
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3594 { OR1K32BF_INSN_L_JALR
, model_or1200nd_l_jalr
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3595 { OR1K32BF_INSN_L_BNF
, model_or1200nd_l_bnf
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3596 { OR1K32BF_INSN_L_BF
, model_or1200nd_l_bf
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3597 { OR1K32BF_INSN_L_TRAP
, model_or1200nd_l_trap
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3598 { OR1K32BF_INSN_L_SYS
, model_or1200nd_l_sys
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3599 { OR1K32BF_INSN_L_MSYNC
, model_or1200nd_l_msync
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3600 { OR1K32BF_INSN_L_PSYNC
, model_or1200nd_l_psync
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3601 { OR1K32BF_INSN_L_CSYNC
, model_or1200nd_l_csync
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3602 { OR1K32BF_INSN_L_RFE
, model_or1200nd_l_rfe
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3603 { OR1K32BF_INSN_L_NOP_IMM
, model_or1200nd_l_nop_imm
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3604 { OR1K32BF_INSN_L_MOVHI
, model_or1200nd_l_movhi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3605 { OR1K32BF_INSN_L_MACRC
, model_or1200nd_l_macrc
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3606 { OR1K32BF_INSN_L_MFSPR
, model_or1200nd_l_mfspr
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3607 { OR1K32BF_INSN_L_MTSPR
, model_or1200nd_l_mtspr
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3608 { OR1K32BF_INSN_L_LWZ
, model_or1200nd_l_lwz
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3609 { OR1K32BF_INSN_L_LWS
, model_or1200nd_l_lws
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3610 { OR1K32BF_INSN_L_LWA
, model_or1200nd_l_lwa
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3611 { OR1K32BF_INSN_L_LBZ
, model_or1200nd_l_lbz
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3612 { OR1K32BF_INSN_L_LBS
, model_or1200nd_l_lbs
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3613 { OR1K32BF_INSN_L_LHZ
, model_or1200nd_l_lhz
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3614 { OR1K32BF_INSN_L_LHS
, model_or1200nd_l_lhs
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3615 { OR1K32BF_INSN_L_SW
, model_or1200nd_l_sw
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3616 { OR1K32BF_INSN_L_SB
, model_or1200nd_l_sb
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3617 { OR1K32BF_INSN_L_SH
, model_or1200nd_l_sh
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3618 { OR1K32BF_INSN_L_SWA
, model_or1200nd_l_swa
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3619 { OR1K32BF_INSN_L_SLL
, model_or1200nd_l_sll
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3620 { OR1K32BF_INSN_L_SLLI
, model_or1200nd_l_slli
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3621 { OR1K32BF_INSN_L_SRL
, model_or1200nd_l_srl
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3622 { OR1K32BF_INSN_L_SRLI
, model_or1200nd_l_srli
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3623 { OR1K32BF_INSN_L_SRA
, model_or1200nd_l_sra
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3624 { OR1K32BF_INSN_L_SRAI
, model_or1200nd_l_srai
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3625 { OR1K32BF_INSN_L_ROR
, model_or1200nd_l_ror
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3626 { OR1K32BF_INSN_L_RORI
, model_or1200nd_l_rori
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3627 { OR1K32BF_INSN_L_AND
, model_or1200nd_l_and
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3628 { OR1K32BF_INSN_L_OR
, model_or1200nd_l_or
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3629 { OR1K32BF_INSN_L_XOR
, model_or1200nd_l_xor
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3630 { OR1K32BF_INSN_L_ADD
, model_or1200nd_l_add
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3631 { OR1K32BF_INSN_L_SUB
, model_or1200nd_l_sub
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3632 { OR1K32BF_INSN_L_ADDC
, model_or1200nd_l_addc
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3633 { OR1K32BF_INSN_L_MUL
, model_or1200nd_l_mul
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3634 { OR1K32BF_INSN_L_MULU
, model_or1200nd_l_mulu
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3635 { OR1K32BF_INSN_L_DIV
, model_or1200nd_l_div
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3636 { OR1K32BF_INSN_L_DIVU
, model_or1200nd_l_divu
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3637 { OR1K32BF_INSN_L_FF1
, model_or1200nd_l_ff1
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3638 { OR1K32BF_INSN_L_FL1
, model_or1200nd_l_fl1
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3639 { OR1K32BF_INSN_L_ANDI
, model_or1200nd_l_andi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3640 { OR1K32BF_INSN_L_ORI
, model_or1200nd_l_ori
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3641 { OR1K32BF_INSN_L_XORI
, model_or1200nd_l_xori
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3642 { OR1K32BF_INSN_L_ADDI
, model_or1200nd_l_addi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3643 { OR1K32BF_INSN_L_ADDIC
, model_or1200nd_l_addic
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3644 { OR1K32BF_INSN_L_MULI
, model_or1200nd_l_muli
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3645 { OR1K32BF_INSN_L_EXTHS
, model_or1200nd_l_exths
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3646 { OR1K32BF_INSN_L_EXTBS
, model_or1200nd_l_extbs
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3647 { OR1K32BF_INSN_L_EXTHZ
, model_or1200nd_l_exthz
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3648 { OR1K32BF_INSN_L_EXTBZ
, model_or1200nd_l_extbz
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3649 { OR1K32BF_INSN_L_EXTWS
, model_or1200nd_l_extws
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3650 { OR1K32BF_INSN_L_EXTWZ
, model_or1200nd_l_extwz
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3651 { OR1K32BF_INSN_L_CMOV
, model_or1200nd_l_cmov
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3652 { OR1K32BF_INSN_L_SFGTS
, model_or1200nd_l_sfgts
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3653 { OR1K32BF_INSN_L_SFGTSI
, model_or1200nd_l_sfgtsi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3654 { OR1K32BF_INSN_L_SFGTU
, model_or1200nd_l_sfgtu
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3655 { OR1K32BF_INSN_L_SFGTUI
, model_or1200nd_l_sfgtui
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3656 { OR1K32BF_INSN_L_SFGES
, model_or1200nd_l_sfges
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3657 { OR1K32BF_INSN_L_SFGESI
, model_or1200nd_l_sfgesi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3658 { OR1K32BF_INSN_L_SFGEU
, model_or1200nd_l_sfgeu
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3659 { OR1K32BF_INSN_L_SFGEUI
, model_or1200nd_l_sfgeui
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3660 { OR1K32BF_INSN_L_SFLTS
, model_or1200nd_l_sflts
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3661 { OR1K32BF_INSN_L_SFLTSI
, model_or1200nd_l_sfltsi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3662 { OR1K32BF_INSN_L_SFLTU
, model_or1200nd_l_sfltu
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3663 { OR1K32BF_INSN_L_SFLTUI
, model_or1200nd_l_sfltui
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3664 { OR1K32BF_INSN_L_SFLES
, model_or1200nd_l_sfles
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3665 { OR1K32BF_INSN_L_SFLESI
, model_or1200nd_l_sflesi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3666 { OR1K32BF_INSN_L_SFLEU
, model_or1200nd_l_sfleu
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3667 { OR1K32BF_INSN_L_SFLEUI
, model_or1200nd_l_sfleui
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3668 { OR1K32BF_INSN_L_SFEQ
, model_or1200nd_l_sfeq
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3669 { OR1K32BF_INSN_L_SFEQI
, model_or1200nd_l_sfeqi
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3670 { OR1K32BF_INSN_L_SFNE
, model_or1200nd_l_sfne
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3671 { OR1K32BF_INSN_L_SFNEI
, model_or1200nd_l_sfnei
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3672 { OR1K32BF_INSN_L_MAC
, model_or1200nd_l_mac
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3673 { OR1K32BF_INSN_L_MSB
, model_or1200nd_l_msb
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3674 { OR1K32BF_INSN_L_MACI
, model_or1200nd_l_maci
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3675 { OR1K32BF_INSN_L_CUST1
, model_or1200nd_l_cust1
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3676 { OR1K32BF_INSN_L_CUST2
, model_or1200nd_l_cust2
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3677 { OR1K32BF_INSN_L_CUST3
, model_or1200nd_l_cust3
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3678 { OR1K32BF_INSN_L_CUST4
, model_or1200nd_l_cust4
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3679 { OR1K32BF_INSN_L_CUST5
, model_or1200nd_l_cust5
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3680 { OR1K32BF_INSN_L_CUST6
, model_or1200nd_l_cust6
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3681 { OR1K32BF_INSN_L_CUST7
, model_or1200nd_l_cust7
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3682 { OR1K32BF_INSN_L_CUST8
, model_or1200nd_l_cust8
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3683 { OR1K32BF_INSN_LF_ADD_S
, model_or1200nd_lf_add_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3684 { OR1K32BF_INSN_LF_SUB_S
, model_or1200nd_lf_sub_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3685 { OR1K32BF_INSN_LF_MUL_S
, model_or1200nd_lf_mul_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3686 { OR1K32BF_INSN_LF_DIV_S
, model_or1200nd_lf_div_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3687 { OR1K32BF_INSN_LF_REM_S
, model_or1200nd_lf_rem_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3688 { OR1K32BF_INSN_LF_ITOF_S
, model_or1200nd_lf_itof_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3689 { OR1K32BF_INSN_LF_FTOI_S
, model_or1200nd_lf_ftoi_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3690 { OR1K32BF_INSN_LF_EQ_S
, model_or1200nd_lf_eq_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3691 { OR1K32BF_INSN_LF_NE_S
, model_or1200nd_lf_ne_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3692 { OR1K32BF_INSN_LF_GE_S
, model_or1200nd_lf_ge_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3693 { OR1K32BF_INSN_LF_GT_S
, model_or1200nd_lf_gt_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3694 { OR1K32BF_INSN_LF_LT_S
, model_or1200nd_lf_lt_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3695 { OR1K32BF_INSN_LF_LE_S
, model_or1200nd_lf_le_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3696 { OR1K32BF_INSN_LF_MADD_S
, model_or1200nd_lf_madd_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3697 { OR1K32BF_INSN_LF_CUST1_S
, model_or1200nd_lf_cust1_s
, { { (int) UNIT_OR1200ND_U_EXEC
, 1, 1 } } },
3700 #endif /* WITH_PROFILE_MODEL_P */
3703 or1200_model_init (SIM_CPU
*cpu
)
3705 CPU_MODEL_DATA (cpu
) = (void *) zalloc (sizeof (MODEL_OR1200_DATA
));
3709 or1200nd_model_init (SIM_CPU
*cpu
)
3711 CPU_MODEL_DATA (cpu
) = (void *) zalloc (sizeof (MODEL_OR1200ND_DATA
));
3714 #if WITH_PROFILE_MODEL_P
3715 #define TIMING_DATA(td) td
3717 #define TIMING_DATA(td) 0
3720 static const SIM_MODEL or32_models
[] =
3722 { "or1200", & or32_mach
, MODEL_OR1200
, TIMING_DATA (& or1200_timing
[0]), or1200_model_init
},
3726 static const SIM_MODEL or32nd_models
[] =
3728 { "or1200nd", & or32nd_mach
, MODEL_OR1200ND
, TIMING_DATA (& or1200nd_timing
[0]), or1200nd_model_init
},
3732 /* The properties of this cpu's implementation. */
3734 static const SIM_MACH_IMP_PROPERTIES or1k32bf_imp_properties
=
3746 or1k32bf_prepare_run (SIM_CPU
*cpu
)
3748 if (CPU_IDESC (cpu
) == NULL
)
3749 or1k32bf_init_idesc_table (cpu
);
3752 static const CGEN_INSN
*
3753 or1k32bf_get_idata (SIM_CPU
*cpu
, int inum
)
3755 return CPU_IDESC (cpu
) [inum
].idata
;
3759 or32_init_cpu (SIM_CPU
*cpu
)
3761 CPU_REG_FETCH (cpu
) = or1k32bf_fetch_register
;
3762 CPU_REG_STORE (cpu
) = or1k32bf_store_register
;
3763 CPU_PC_FETCH (cpu
) = or1k32bf_h_pc_get
;
3764 CPU_PC_STORE (cpu
) = or1k32bf_h_pc_set
;
3765 CPU_GET_IDATA (cpu
) = or1k32bf_get_idata
;
3766 CPU_MAX_INSNS (cpu
) = OR1K32BF_INSN__MAX
;
3767 CPU_INSN_NAME (cpu
) = cgen_insn_name
;
3768 CPU_FULL_ENGINE_FN (cpu
) = or1k32bf_engine_run_full
;
3770 CPU_FAST_ENGINE_FN (cpu
) = or1k32bf_engine_run_fast
;
3772 CPU_FAST_ENGINE_FN (cpu
) = or1k32bf_engine_run_full
;
3776 const SIM_MACH or32_mach
=
3778 "or32", "or1k", MACH_OR32
,
3779 32, 32, & or32_models
[0], & or1k32bf_imp_properties
,
3781 or1k32bf_prepare_run
3785 or32nd_init_cpu (SIM_CPU
*cpu
)
3787 CPU_REG_FETCH (cpu
) = or1k32bf_fetch_register
;
3788 CPU_REG_STORE (cpu
) = or1k32bf_store_register
;
3789 CPU_PC_FETCH (cpu
) = or1k32bf_h_pc_get
;
3790 CPU_PC_STORE (cpu
) = or1k32bf_h_pc_set
;
3791 CPU_GET_IDATA (cpu
) = or1k32bf_get_idata
;
3792 CPU_MAX_INSNS (cpu
) = OR1K32BF_INSN__MAX
;
3793 CPU_INSN_NAME (cpu
) = cgen_insn_name
;
3794 CPU_FULL_ENGINE_FN (cpu
) = or1k32bf_engine_run_full
;
3796 CPU_FAST_ENGINE_FN (cpu
) = or1k32bf_engine_run_fast
;
3798 CPU_FAST_ENGINE_FN (cpu
) = or1k32bf_engine_run_full
;
3802 const SIM_MACH or32nd_mach
=
3804 "or32nd", "or1knd", MACH_OR32ND
,
3805 32, 32, & or32nd_models
[0], & or1k32bf_imp_properties
,
3807 or1k32bf_prepare_run