1 /* Simulator model support for sh4_nofpu.
3 THIS FILE IS MACHINE GENERATED WITH CGEN.
5 Copyright (C) 2000-2009 Red Hat, Inc.
7 This file is part of the Red Hat simulators.
16 #include "sh4_nofpu.h"
18 using namespace sh4_nofpu; // FIXME: namespace organization still wip
20 /* The profiling data is recorded here, but is accessed via the profiling
21 mechanism. After all, this is information for profiling. */
23 /* Model handlers for each insn. */
25 sh4_nofpu_sh4_nofpu_model::sh4_nofpu_sh4_nofpu_model (sh4_nofpu_cpu *cpu)
31 sh4_nofpu_sh4_nofpu_model::model_add_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
33 #define FLD(f) abuf->fields.sfmt_macl_compact.f
34 const sh4_nofpu_scache* abuf = sem;
35 const sh4_nofpu_idesc* idesc = abuf->idesc;
39 in_usereg = FLD (in_rn);
40 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
44 in_usereg = FLD (in_rm);
45 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
48 cycles += model_u_exec_before (current_cpu, idesc, 2);
55 sh4_nofpu_sh4_nofpu_model::model_add_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
57 #define FLD(f) abuf->fields.sfmt_macl_compact.f
58 const sh4_nofpu_scache* abuf = sem;
59 const sh4_nofpu_idesc* idesc = abuf->idesc;
63 unsigned long long insn_referenced = abuf->written;
65 in_usereg = FLD (in_rn);
66 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
70 unsigned long long insn_referenced = abuf->written;
72 in_usereg = FLD (in_rm);
73 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
77 unsigned long long insn_referenced = abuf->written;
78 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
85 sh4_nofpu_sh4_nofpu_model::model_addi_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
87 #define FLD(f) abuf->fields.sfmt_addi_compact.f
88 const sh4_nofpu_scache* abuf = sem;
89 const sh4_nofpu_idesc* idesc = abuf->idesc;
93 in_usereg = FLD (in_rn);
94 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
97 cycles += model_u_exec_before (current_cpu, idesc, 1);
104 sh4_nofpu_sh4_nofpu_model::model_addi_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
106 #define FLD(f) abuf->fields.sfmt_addi_compact.f
107 const sh4_nofpu_scache* abuf = sem;
108 const sh4_nofpu_idesc* idesc = abuf->idesc;
112 unsigned long long insn_referenced = abuf->written;
114 in_usereg = FLD (in_rn);
115 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
119 unsigned long long insn_referenced = abuf->written;
120 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
127 sh4_nofpu_sh4_nofpu_model::model_addc_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
129 #define FLD(f) abuf->fields.sfmt_macl_compact.f
130 const sh4_nofpu_scache* abuf = sem;
131 const sh4_nofpu_idesc* idesc = abuf->idesc;
135 in_usereg = FLD (in_rn);
136 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
140 in_usereg = FLD (in_rm);
141 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
144 cycles += model_u_use_tbit_before (current_cpu, idesc, 2);
147 cycles += model_u_exec_before (current_cpu, idesc, 3);
150 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
157 sh4_nofpu_sh4_nofpu_model::model_addc_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
159 #define FLD(f) abuf->fields.sfmt_macl_compact.f
160 const sh4_nofpu_scache* abuf = sem;
161 const sh4_nofpu_idesc* idesc = abuf->idesc;
165 unsigned long long insn_referenced = abuf->written;
167 in_usereg = FLD (in_rn);
168 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
172 unsigned long long insn_referenced = abuf->written;
174 in_usereg = FLD (in_rm);
175 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
179 unsigned long long insn_referenced = abuf->written;
180 cycles += model_u_use_tbit_after (current_cpu, idesc, 2, referenced);
184 unsigned long long insn_referenced = abuf->written;
185 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
189 unsigned long long insn_referenced = abuf->written;
190 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
197 sh4_nofpu_sh4_nofpu_model::model_addv_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
199 #define FLD(f) abuf->fields.sfmt_macl_compact.f
200 const sh4_nofpu_scache* abuf = sem;
201 const sh4_nofpu_idesc* idesc = abuf->idesc;
205 in_usereg = FLD (in_rn);
206 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
210 in_usereg = FLD (in_rm);
211 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
214 cycles += model_u_use_tbit_before (current_cpu, idesc, 2);
217 cycles += model_u_exec_before (current_cpu, idesc, 3);
220 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
227 sh4_nofpu_sh4_nofpu_model::model_addv_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
229 #define FLD(f) abuf->fields.sfmt_macl_compact.f
230 const sh4_nofpu_scache* abuf = sem;
231 const sh4_nofpu_idesc* idesc = abuf->idesc;
235 unsigned long long insn_referenced = abuf->written;
237 in_usereg = FLD (in_rn);
238 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
242 unsigned long long insn_referenced = abuf->written;
244 in_usereg = FLD (in_rm);
245 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
249 unsigned long long insn_referenced = abuf->written;
250 cycles += model_u_use_tbit_after (current_cpu, idesc, 2, referenced);
254 unsigned long long insn_referenced = abuf->written;
255 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
259 unsigned long long insn_referenced = abuf->written;
260 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
267 sh4_nofpu_sh4_nofpu_model::model_and_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
269 #define FLD(f) abuf->fields.sfmt_and_compact.f
270 const sh4_nofpu_scache* abuf = sem;
271 const sh4_nofpu_idesc* idesc = abuf->idesc;
275 in_usereg = FLD (in_rn64);
276 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
280 in_usereg = FLD (in_rm64);
281 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
284 cycles += model_u_exec_before (current_cpu, idesc, 2);
291 sh4_nofpu_sh4_nofpu_model::model_and_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
293 #define FLD(f) abuf->fields.sfmt_and_compact.f
294 const sh4_nofpu_scache* abuf = sem;
295 const sh4_nofpu_idesc* idesc = abuf->idesc;
299 unsigned long long insn_referenced = abuf->written;
301 in_usereg = FLD (in_rn64);
302 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
306 unsigned long long insn_referenced = abuf->written;
308 in_usereg = FLD (in_rm64);
309 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
313 unsigned long long insn_referenced = abuf->written;
314 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
321 sh4_nofpu_sh4_nofpu_model::model_andi_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
323 #define FLD(f) abuf->fields.sfmt_andi_compact.f
324 const sh4_nofpu_scache* abuf = sem;
325 const sh4_nofpu_idesc* idesc = abuf->idesc;
329 in_usereg = FLD (in_r0);
330 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
333 cycles += model_u_exec_before (current_cpu, idesc, 1);
340 sh4_nofpu_sh4_nofpu_model::model_andi_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
342 #define FLD(f) abuf->fields.sfmt_andi_compact.f
343 const sh4_nofpu_scache* abuf = sem;
344 const sh4_nofpu_idesc* idesc = abuf->idesc;
348 unsigned long long insn_referenced = abuf->written;
350 in_usereg = FLD (in_r0);
351 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
355 unsigned long long insn_referenced = abuf->written;
356 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
363 sh4_nofpu_sh4_nofpu_model::model_andb_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
365 #define FLD(f) abuf->fields.sfmt_andi_compact.f
366 const sh4_nofpu_scache* abuf = sem;
367 const sh4_nofpu_idesc* idesc = abuf->idesc;
371 in_usereg = FLD (in_r0);
372 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
375 cycles += model_u_logic_b_before (current_cpu, idesc, 1);
378 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
385 sh4_nofpu_sh4_nofpu_model::model_andb_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
387 #define FLD(f) abuf->fields.sfmt_andi_compact.f
388 const sh4_nofpu_scache* abuf = sem;
389 const sh4_nofpu_idesc* idesc = abuf->idesc;
393 unsigned long long insn_referenced = abuf->written;
395 in_usereg = FLD (in_r0);
396 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
400 unsigned long long insn_referenced = abuf->written;
401 cycles += model_u_logic_b_after (current_cpu, idesc, 1, referenced);
405 unsigned long long insn_referenced = abuf->written;
406 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
413 sh4_nofpu_sh4_nofpu_model::model_bf_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
415 #define FLD(f) abuf->fields.sfmt_bf_compact.f
416 const sh4_nofpu_scache* abuf = sem;
417 const sh4_nofpu_idesc* idesc = abuf->idesc;
420 cycles += model_u_use_tbit_before (current_cpu, idesc, 0);
423 cycles += model_u_branch_before (current_cpu, idesc, 1);
430 sh4_nofpu_sh4_nofpu_model::model_bf_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
432 #define FLD(f) abuf->fields.sfmt_bf_compact.f
433 const sh4_nofpu_scache* abuf = sem;
434 const sh4_nofpu_idesc* idesc = abuf->idesc;
438 unsigned long long insn_referenced = abuf->written;
439 cycles += model_u_use_tbit_after (current_cpu, idesc, 0, referenced);
443 unsigned long long insn_referenced = abuf->written;
444 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
445 cycles += model_u_branch_after (current_cpu, idesc, 1, referenced);
452 sh4_nofpu_sh4_nofpu_model::model_bfs_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
454 #define FLD(f) abuf->fields.sfmt_bf_compact.f
455 const sh4_nofpu_scache* abuf = sem;
456 const sh4_nofpu_idesc* idesc = abuf->idesc;
459 cycles += model_u_use_tbit_before (current_cpu, idesc, 0);
462 cycles += model_u_branch_before (current_cpu, idesc, 1);
469 sh4_nofpu_sh4_nofpu_model::model_bfs_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
471 #define FLD(f) abuf->fields.sfmt_bf_compact.f
472 const sh4_nofpu_scache* abuf = sem;
473 const sh4_nofpu_idesc* idesc = abuf->idesc;
477 unsigned long long insn_referenced = abuf->written;
478 cycles += model_u_use_tbit_after (current_cpu, idesc, 0, referenced);
482 unsigned long long insn_referenced = abuf->written;
483 if (insn_referenced & (1 << 3)) referenced |= 1 << 0;
484 cycles += model_u_branch_after (current_cpu, idesc, 1, referenced);
491 sh4_nofpu_sh4_nofpu_model::model_bra_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
493 #define FLD(f) abuf->fields.sfmt_bra_compact.f
494 const sh4_nofpu_scache* abuf = sem;
495 const sh4_nofpu_idesc* idesc = abuf->idesc;
498 cycles += model_u_branch_before (current_cpu, idesc, 0);
505 sh4_nofpu_sh4_nofpu_model::model_bra_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
507 #define FLD(f) abuf->fields.sfmt_bra_compact.f
508 const sh4_nofpu_scache* abuf = sem;
509 const sh4_nofpu_idesc* idesc = abuf->idesc;
513 unsigned long long insn_referenced = abuf->written;
514 referenced |= 1 << 0;
515 cycles += model_u_branch_after (current_cpu, idesc, 0, referenced);
522 sh4_nofpu_sh4_nofpu_model::model_braf_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
524 #define FLD(f) abuf->fields.sfmt_divu_compact.f
525 const sh4_nofpu_scache* abuf = sem;
526 const sh4_nofpu_idesc* idesc = abuf->idesc;
530 in_usereg = FLD (in_rn);
531 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
534 cycles += model_u_jmp_before (current_cpu, idesc, 1);
541 sh4_nofpu_sh4_nofpu_model::model_braf_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
543 #define FLD(f) abuf->fields.sfmt_divu_compact.f
544 const sh4_nofpu_scache* abuf = sem;
545 const sh4_nofpu_idesc* idesc = abuf->idesc;
549 unsigned long long insn_referenced = abuf->written;
551 in_usereg = FLD (in_rn);
552 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
556 unsigned long long insn_referenced = abuf->written;
557 referenced |= 1 << 0;
558 cycles += model_u_jmp_after (current_cpu, idesc, 1, referenced);
565 sh4_nofpu_sh4_nofpu_model::model_bsr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
567 #define FLD(f) abuf->fields.sfmt_bra_compact.f
568 const sh4_nofpu_scache* abuf = sem;
569 const sh4_nofpu_idesc* idesc = abuf->idesc;
572 cycles += model_u_branch_before (current_cpu, idesc, 0);
579 sh4_nofpu_sh4_nofpu_model::model_bsr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
581 #define FLD(f) abuf->fields.sfmt_bra_compact.f
582 const sh4_nofpu_scache* abuf = sem;
583 const sh4_nofpu_idesc* idesc = abuf->idesc;
587 unsigned long long insn_referenced = abuf->written;
588 referenced |= 1 << 0;
589 cycles += model_u_branch_after (current_cpu, idesc, 0, referenced);
596 sh4_nofpu_sh4_nofpu_model::model_bsrf_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
598 #define FLD(f) abuf->fields.sfmt_divu_compact.f
599 const sh4_nofpu_scache* abuf = sem;
600 const sh4_nofpu_idesc* idesc = abuf->idesc;
604 in_usereg = FLD (in_rn);
605 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
608 cycles += model_u_jsr_before (current_cpu, idesc, 1);
615 sh4_nofpu_sh4_nofpu_model::model_bsrf_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
617 #define FLD(f) abuf->fields.sfmt_divu_compact.f
618 const sh4_nofpu_scache* abuf = sem;
619 const sh4_nofpu_idesc* idesc = abuf->idesc;
623 unsigned long long insn_referenced = abuf->written;
625 in_usereg = FLD (in_rn);
626 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
630 unsigned long long insn_referenced = abuf->written;
631 referenced |= 1 << 0;
632 cycles += model_u_jsr_after (current_cpu, idesc, 1, referenced);
639 sh4_nofpu_sh4_nofpu_model::model_bt_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
641 #define FLD(f) abuf->fields.sfmt_bf_compact.f
642 const sh4_nofpu_scache* abuf = sem;
643 const sh4_nofpu_idesc* idesc = abuf->idesc;
646 cycles += model_u_use_tbit_before (current_cpu, idesc, 0);
649 cycles += model_u_branch_before (current_cpu, idesc, 1);
656 sh4_nofpu_sh4_nofpu_model::model_bt_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
658 #define FLD(f) abuf->fields.sfmt_bf_compact.f
659 const sh4_nofpu_scache* abuf = sem;
660 const sh4_nofpu_idesc* idesc = abuf->idesc;
664 unsigned long long insn_referenced = abuf->written;
665 cycles += model_u_use_tbit_after (current_cpu, idesc, 0, referenced);
669 unsigned long long insn_referenced = abuf->written;
670 if (insn_referenced & (1 << 2)) referenced |= 1 << 0;
671 cycles += model_u_branch_after (current_cpu, idesc, 1, referenced);
678 sh4_nofpu_sh4_nofpu_model::model_bts_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
680 #define FLD(f) abuf->fields.sfmt_bf_compact.f
681 const sh4_nofpu_scache* abuf = sem;
682 const sh4_nofpu_idesc* idesc = abuf->idesc;
685 cycles += model_u_use_tbit_before (current_cpu, idesc, 0);
688 cycles += model_u_branch_before (current_cpu, idesc, 1);
695 sh4_nofpu_sh4_nofpu_model::model_bts_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
697 #define FLD(f) abuf->fields.sfmt_bf_compact.f
698 const sh4_nofpu_scache* abuf = sem;
699 const sh4_nofpu_idesc* idesc = abuf->idesc;
703 unsigned long long insn_referenced = abuf->written;
704 cycles += model_u_use_tbit_after (current_cpu, idesc, 0, referenced);
708 unsigned long long insn_referenced = abuf->written;
709 if (insn_referenced & (1 << 3)) referenced |= 1 << 0;
710 cycles += model_u_branch_after (current_cpu, idesc, 1, referenced);
717 sh4_nofpu_sh4_nofpu_model::model_clrmac_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
719 #define FLD(f) abuf->fields.fmt_empty.f
720 const sh4_nofpu_scache* abuf = sem;
721 const sh4_nofpu_idesc* idesc = abuf->idesc;
724 cycles += model_u_use_multiply_result_before (current_cpu, idesc, 0);
727 cycles += model_u_exec_before (current_cpu, idesc, 1);
730 cycles += model_u_set_mac_before (current_cpu, idesc, 2);
737 sh4_nofpu_sh4_nofpu_model::model_clrmac_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
739 #define FLD(f) abuf->fields.fmt_empty.f
740 const sh4_nofpu_scache* abuf = sem;
741 const sh4_nofpu_idesc* idesc = abuf->idesc;
745 unsigned long long insn_referenced = abuf->written;
746 cycles += model_u_use_multiply_result_after (current_cpu, idesc, 0, referenced);
750 unsigned long long insn_referenced = abuf->written;
751 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
755 unsigned long long insn_referenced = abuf->written;
756 cycles += model_u_set_mac_after (current_cpu, idesc, 2, referenced);
763 sh4_nofpu_sh4_nofpu_model::model_clrs_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
765 #define FLD(f) abuf->fields.fmt_empty.f
766 const sh4_nofpu_scache* abuf = sem;
767 const sh4_nofpu_idesc* idesc = abuf->idesc;
770 cycles += model_u_exec_before (current_cpu, idesc, 0);
773 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 1);
780 sh4_nofpu_sh4_nofpu_model::model_clrs_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
782 #define FLD(f) abuf->fields.fmt_empty.f
783 const sh4_nofpu_scache* abuf = sem;
784 const sh4_nofpu_idesc* idesc = abuf->idesc;
788 unsigned long long insn_referenced = abuf->written;
789 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
793 unsigned long long insn_referenced = abuf->written;
794 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 1, referenced);
801 sh4_nofpu_sh4_nofpu_model::model_clrt_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
803 #define FLD(f) abuf->fields.fmt_empty.f
804 const sh4_nofpu_scache* abuf = sem;
805 const sh4_nofpu_idesc* idesc = abuf->idesc;
808 cycles += model_u_exec_before (current_cpu, idesc, 0);
811 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
814 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 2);
821 sh4_nofpu_sh4_nofpu_model::model_clrt_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
823 #define FLD(f) abuf->fields.fmt_empty.f
824 const sh4_nofpu_scache* abuf = sem;
825 const sh4_nofpu_idesc* idesc = abuf->idesc;
829 unsigned long long insn_referenced = abuf->written;
830 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
834 unsigned long long insn_referenced = abuf->written;
835 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
839 unsigned long long insn_referenced = abuf->written;
840 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 2, referenced);
847 sh4_nofpu_sh4_nofpu_model::model_cmpeq_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
849 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
850 const sh4_nofpu_scache* abuf = sem;
851 const sh4_nofpu_idesc* idesc = abuf->idesc;
855 in_usereg = FLD (in_rn);
856 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
860 in_usereg = FLD (in_rm);
861 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
864 cycles += model_u_use_tbit_before (current_cpu, idesc, 2);
867 cycles += model_u_exec_before (current_cpu, idesc, 3);
870 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
877 sh4_nofpu_sh4_nofpu_model::model_cmpeq_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
879 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
880 const sh4_nofpu_scache* abuf = sem;
881 const sh4_nofpu_idesc* idesc = abuf->idesc;
885 unsigned long long insn_referenced = abuf->written;
887 in_usereg = FLD (in_rn);
888 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
892 unsigned long long insn_referenced = abuf->written;
894 in_usereg = FLD (in_rm);
895 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
899 unsigned long long insn_referenced = abuf->written;
900 cycles += model_u_use_tbit_after (current_cpu, idesc, 2, referenced);
904 unsigned long long insn_referenced = abuf->written;
905 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
909 unsigned long long insn_referenced = abuf->written;
910 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
917 sh4_nofpu_sh4_nofpu_model::model_cmpeqi_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
919 #define FLD(f) abuf->fields.sfmt_andi_compact.f
920 const sh4_nofpu_scache* abuf = sem;
921 const sh4_nofpu_idesc* idesc = abuf->idesc;
925 in_usereg = FLD (in_r0);
926 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
929 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
932 cycles += model_u_exec_before (current_cpu, idesc, 2);
935 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 3);
942 sh4_nofpu_sh4_nofpu_model::model_cmpeqi_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
944 #define FLD(f) abuf->fields.sfmt_andi_compact.f
945 const sh4_nofpu_scache* abuf = sem;
946 const sh4_nofpu_idesc* idesc = abuf->idesc;
950 unsigned long long insn_referenced = abuf->written;
952 in_usereg = FLD (in_r0);
953 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
957 unsigned long long insn_referenced = abuf->written;
958 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
962 unsigned long long insn_referenced = abuf->written;
963 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
967 unsigned long long insn_referenced = abuf->written;
968 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 3, referenced);
975 sh4_nofpu_sh4_nofpu_model::model_cmpge_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
977 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
978 const sh4_nofpu_scache* abuf = sem;
979 const sh4_nofpu_idesc* idesc = abuf->idesc;
983 in_usereg = FLD (in_rn);
984 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
988 in_usereg = FLD (in_rm);
989 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
992 cycles += model_u_use_tbit_before (current_cpu, idesc, 2);
995 cycles += model_u_exec_before (current_cpu, idesc, 3);
998 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
1005 sh4_nofpu_sh4_nofpu_model::model_cmpge_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1007 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
1008 const sh4_nofpu_scache* abuf = sem;
1009 const sh4_nofpu_idesc* idesc = abuf->idesc;
1013 unsigned long long insn_referenced = abuf->written;
1015 in_usereg = FLD (in_rn);
1016 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
1020 unsigned long long insn_referenced = abuf->written;
1022 in_usereg = FLD (in_rm);
1023 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
1027 unsigned long long insn_referenced = abuf->written;
1028 cycles += model_u_use_tbit_after (current_cpu, idesc, 2, referenced);
1032 unsigned long long insn_referenced = abuf->written;
1033 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
1037 unsigned long long insn_referenced = abuf->written;
1038 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
1045 sh4_nofpu_sh4_nofpu_model::model_cmpgt_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1047 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
1048 const sh4_nofpu_scache* abuf = sem;
1049 const sh4_nofpu_idesc* idesc = abuf->idesc;
1053 in_usereg = FLD (in_rn);
1054 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
1058 in_usereg = FLD (in_rm);
1059 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
1062 cycles += model_u_use_tbit_before (current_cpu, idesc, 2);
1065 cycles += model_u_exec_before (current_cpu, idesc, 3);
1068 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
1075 sh4_nofpu_sh4_nofpu_model::model_cmpgt_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1077 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
1078 const sh4_nofpu_scache* abuf = sem;
1079 const sh4_nofpu_idesc* idesc = abuf->idesc;
1083 unsigned long long insn_referenced = abuf->written;
1085 in_usereg = FLD (in_rn);
1086 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
1090 unsigned long long insn_referenced = abuf->written;
1092 in_usereg = FLD (in_rm);
1093 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
1097 unsigned long long insn_referenced = abuf->written;
1098 cycles += model_u_use_tbit_after (current_cpu, idesc, 2, referenced);
1102 unsigned long long insn_referenced = abuf->written;
1103 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
1107 unsigned long long insn_referenced = abuf->written;
1108 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
1115 sh4_nofpu_sh4_nofpu_model::model_cmphi_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1117 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
1118 const sh4_nofpu_scache* abuf = sem;
1119 const sh4_nofpu_idesc* idesc = abuf->idesc;
1123 in_usereg = FLD (in_rn);
1124 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
1128 in_usereg = FLD (in_rm);
1129 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
1132 cycles += model_u_use_tbit_before (current_cpu, idesc, 2);
1135 cycles += model_u_exec_before (current_cpu, idesc, 3);
1138 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
1145 sh4_nofpu_sh4_nofpu_model::model_cmphi_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1147 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
1148 const sh4_nofpu_scache* abuf = sem;
1149 const sh4_nofpu_idesc* idesc = abuf->idesc;
1153 unsigned long long insn_referenced = abuf->written;
1155 in_usereg = FLD (in_rn);
1156 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
1160 unsigned long long insn_referenced = abuf->written;
1162 in_usereg = FLD (in_rm);
1163 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
1167 unsigned long long insn_referenced = abuf->written;
1168 cycles += model_u_use_tbit_after (current_cpu, idesc, 2, referenced);
1172 unsigned long long insn_referenced = abuf->written;
1173 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
1177 unsigned long long insn_referenced = abuf->written;
1178 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
1185 sh4_nofpu_sh4_nofpu_model::model_cmphs_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1187 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
1188 const sh4_nofpu_scache* abuf = sem;
1189 const sh4_nofpu_idesc* idesc = abuf->idesc;
1193 in_usereg = FLD (in_rn);
1194 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
1198 in_usereg = FLD (in_rm);
1199 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
1202 cycles += model_u_use_tbit_before (current_cpu, idesc, 2);
1205 cycles += model_u_exec_before (current_cpu, idesc, 3);
1208 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
1215 sh4_nofpu_sh4_nofpu_model::model_cmphs_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1217 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
1218 const sh4_nofpu_scache* abuf = sem;
1219 const sh4_nofpu_idesc* idesc = abuf->idesc;
1223 unsigned long long insn_referenced = abuf->written;
1225 in_usereg = FLD (in_rn);
1226 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
1230 unsigned long long insn_referenced = abuf->written;
1232 in_usereg = FLD (in_rm);
1233 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
1237 unsigned long long insn_referenced = abuf->written;
1238 cycles += model_u_use_tbit_after (current_cpu, idesc, 2, referenced);
1242 unsigned long long insn_referenced = abuf->written;
1243 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
1247 unsigned long long insn_referenced = abuf->written;
1248 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
1255 sh4_nofpu_sh4_nofpu_model::model_cmppl_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1257 #define FLD(f) abuf->fields.sfmt_divu_compact.f
1258 const sh4_nofpu_scache* abuf = sem;
1259 const sh4_nofpu_idesc* idesc = abuf->idesc;
1263 in_usereg = FLD (in_rn);
1264 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
1267 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
1270 cycles += model_u_exec_before (current_cpu, idesc, 2);
1273 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 3);
1280 sh4_nofpu_sh4_nofpu_model::model_cmppl_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1282 #define FLD(f) abuf->fields.sfmt_divu_compact.f
1283 const sh4_nofpu_scache* abuf = sem;
1284 const sh4_nofpu_idesc* idesc = abuf->idesc;
1288 unsigned long long insn_referenced = abuf->written;
1290 in_usereg = FLD (in_rn);
1291 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
1295 unsigned long long insn_referenced = abuf->written;
1296 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
1300 unsigned long long insn_referenced = abuf->written;
1301 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
1305 unsigned long long insn_referenced = abuf->written;
1306 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 3, referenced);
1313 sh4_nofpu_sh4_nofpu_model::model_cmppz_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1315 #define FLD(f) abuf->fields.sfmt_divu_compact.f
1316 const sh4_nofpu_scache* abuf = sem;
1317 const sh4_nofpu_idesc* idesc = abuf->idesc;
1321 in_usereg = FLD (in_rn);
1322 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
1325 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
1328 cycles += model_u_exec_before (current_cpu, idesc, 2);
1331 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 3);
1338 sh4_nofpu_sh4_nofpu_model::model_cmppz_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1340 #define FLD(f) abuf->fields.sfmt_divu_compact.f
1341 const sh4_nofpu_scache* abuf = sem;
1342 const sh4_nofpu_idesc* idesc = abuf->idesc;
1346 unsigned long long insn_referenced = abuf->written;
1348 in_usereg = FLD (in_rn);
1349 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
1353 unsigned long long insn_referenced = abuf->written;
1354 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
1358 unsigned long long insn_referenced = abuf->written;
1359 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
1363 unsigned long long insn_referenced = abuf->written;
1364 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 3, referenced);
1371 sh4_nofpu_sh4_nofpu_model::model_cmpstr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1373 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
1374 const sh4_nofpu_scache* abuf = sem;
1375 const sh4_nofpu_idesc* idesc = abuf->idesc;
1379 in_usereg = FLD (in_rn);
1380 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
1384 in_usereg = FLD (in_rm);
1385 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
1388 cycles += model_u_use_tbit_before (current_cpu, idesc, 2);
1391 cycles += model_u_exec_before (current_cpu, idesc, 3);
1394 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
1401 sh4_nofpu_sh4_nofpu_model::model_cmpstr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1403 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
1404 const sh4_nofpu_scache* abuf = sem;
1405 const sh4_nofpu_idesc* idesc = abuf->idesc;
1409 unsigned long long insn_referenced = abuf->written;
1411 in_usereg = FLD (in_rn);
1412 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
1416 unsigned long long insn_referenced = abuf->written;
1418 in_usereg = FLD (in_rm);
1419 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
1423 unsigned long long insn_referenced = abuf->written;
1424 cycles += model_u_use_tbit_after (current_cpu, idesc, 2, referenced);
1428 unsigned long long insn_referenced = abuf->written;
1429 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
1433 unsigned long long insn_referenced = abuf->written;
1434 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
1441 sh4_nofpu_sh4_nofpu_model::model_div0s_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1443 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
1444 const sh4_nofpu_scache* abuf = sem;
1445 const sh4_nofpu_idesc* idesc = abuf->idesc;
1449 in_usereg = FLD (in_rn);
1450 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
1454 in_usereg = FLD (in_rm);
1455 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
1458 cycles += model_u_use_tbit_before (current_cpu, idesc, 2);
1461 cycles += model_u_exec_before (current_cpu, idesc, 3);
1464 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
1471 sh4_nofpu_sh4_nofpu_model::model_div0s_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1473 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
1474 const sh4_nofpu_scache* abuf = sem;
1475 const sh4_nofpu_idesc* idesc = abuf->idesc;
1479 unsigned long long insn_referenced = abuf->written;
1481 in_usereg = FLD (in_rn);
1482 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
1486 unsigned long long insn_referenced = abuf->written;
1488 in_usereg = FLD (in_rm);
1489 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
1493 unsigned long long insn_referenced = abuf->written;
1494 cycles += model_u_use_tbit_after (current_cpu, idesc, 2, referenced);
1498 unsigned long long insn_referenced = abuf->written;
1499 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
1503 unsigned long long insn_referenced = abuf->written;
1504 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
1511 sh4_nofpu_sh4_nofpu_model::model_div0u_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1513 #define FLD(f) abuf->fields.fmt_empty.f
1514 const sh4_nofpu_scache* abuf = sem;
1515 const sh4_nofpu_idesc* idesc = abuf->idesc;
1518 cycles += model_u_use_tbit_before (current_cpu, idesc, 0);
1521 cycles += model_u_exec_before (current_cpu, idesc, 1);
1524 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 2);
1531 sh4_nofpu_sh4_nofpu_model::model_div0u_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1533 #define FLD(f) abuf->fields.fmt_empty.f
1534 const sh4_nofpu_scache* abuf = sem;
1535 const sh4_nofpu_idesc* idesc = abuf->idesc;
1539 unsigned long long insn_referenced = abuf->written;
1540 cycles += model_u_use_tbit_after (current_cpu, idesc, 0, referenced);
1544 unsigned long long insn_referenced = abuf->written;
1545 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
1549 unsigned long long insn_referenced = abuf->written;
1550 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 2, referenced);
1557 sh4_nofpu_sh4_nofpu_model::model_div1_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1559 #define FLD(f) abuf->fields.sfmt_macl_compact.f
1560 const sh4_nofpu_scache* abuf = sem;
1561 const sh4_nofpu_idesc* idesc = abuf->idesc;
1565 in_usereg = FLD (in_rn);
1566 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
1570 in_usereg = FLD (in_rm);
1571 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
1574 cycles += model_u_use_tbit_before (current_cpu, idesc, 2);
1577 cycles += model_u_exec_before (current_cpu, idesc, 3);
1580 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
1587 sh4_nofpu_sh4_nofpu_model::model_div1_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1589 #define FLD(f) abuf->fields.sfmt_macl_compact.f
1590 const sh4_nofpu_scache* abuf = sem;
1591 const sh4_nofpu_idesc* idesc = abuf->idesc;
1595 unsigned long long insn_referenced = abuf->written;
1597 in_usereg = FLD (in_rn);
1598 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
1602 unsigned long long insn_referenced = abuf->written;
1604 in_usereg = FLD (in_rm);
1605 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
1609 unsigned long long insn_referenced = abuf->written;
1610 cycles += model_u_use_tbit_after (current_cpu, idesc, 2, referenced);
1614 unsigned long long insn_referenced = abuf->written;
1615 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
1619 unsigned long long insn_referenced = abuf->written;
1620 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
1627 sh4_nofpu_sh4_nofpu_model::model_divu_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1629 #define FLD(f) abuf->fields.sfmt_divu_compact.f
1630 const sh4_nofpu_scache* abuf = sem;
1631 const sh4_nofpu_idesc* idesc = abuf->idesc;
1635 in_usereg = FLD (in_rn);
1636 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
1640 in_usereg = FLD (in_r0);
1641 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
1644 cycles += model_u_exec_before (current_cpu, idesc, 2);
1651 sh4_nofpu_sh4_nofpu_model::model_divu_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1653 #define FLD(f) abuf->fields.sfmt_divu_compact.f
1654 const sh4_nofpu_scache* abuf = sem;
1655 const sh4_nofpu_idesc* idesc = abuf->idesc;
1659 unsigned long long insn_referenced = abuf->written;
1661 in_usereg = FLD (in_rn);
1662 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
1666 unsigned long long insn_referenced = abuf->written;
1668 in_usereg = FLD (in_r0);
1669 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
1673 unsigned long long insn_referenced = abuf->written;
1674 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
1681 sh4_nofpu_sh4_nofpu_model::model_mulr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1683 #define FLD(f) abuf->fields.sfmt_divu_compact.f
1684 const sh4_nofpu_scache* abuf = sem;
1685 const sh4_nofpu_idesc* idesc = abuf->idesc;
1689 in_usereg = FLD (in_rn);
1690 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
1694 in_usereg = FLD (in_r0);
1695 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
1698 cycles += model_u_mulr_before (current_cpu, idesc, 2);
1701 INT out_loadreg = -1;
1702 out_loadreg = FLD (out_rn);
1703 cycles += model_u_mulr_gr_before (current_cpu, idesc, 3, out_loadreg);
1710 sh4_nofpu_sh4_nofpu_model::model_mulr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1712 #define FLD(f) abuf->fields.sfmt_divu_compact.f
1713 const sh4_nofpu_scache* abuf = sem;
1714 const sh4_nofpu_idesc* idesc = abuf->idesc;
1718 unsigned long long insn_referenced = abuf->written;
1720 in_usereg = FLD (in_rn);
1721 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
1725 unsigned long long insn_referenced = abuf->written;
1727 in_usereg = FLD (in_r0);
1728 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
1732 unsigned long long insn_referenced = abuf->written;
1733 cycles += model_u_mulr_after (current_cpu, idesc, 2, referenced);
1737 unsigned long long insn_referenced = abuf->written;
1738 INT out_loadreg = -1;
1739 out_loadreg = FLD (out_rn);
1740 cycles += model_u_mulr_gr_after (current_cpu, idesc, 3, referenced, out_loadreg);
1747 sh4_nofpu_sh4_nofpu_model::model_dmulsl_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1749 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
1750 const sh4_nofpu_scache* abuf = sem;
1751 const sh4_nofpu_idesc* idesc = abuf->idesc;
1755 in_usereg = FLD (in_rn);
1756 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
1760 in_usereg = FLD (in_rm);
1761 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
1764 cycles += model_u_dmul_before (current_cpu, idesc, 2);
1771 sh4_nofpu_sh4_nofpu_model::model_dmulsl_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1773 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
1774 const sh4_nofpu_scache* abuf = sem;
1775 const sh4_nofpu_idesc* idesc = abuf->idesc;
1779 unsigned long long insn_referenced = abuf->written;
1781 in_usereg = FLD (in_rn);
1782 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
1786 unsigned long long insn_referenced = abuf->written;
1788 in_usereg = FLD (in_rm);
1789 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
1793 unsigned long long insn_referenced = abuf->written;
1794 cycles += model_u_dmul_after (current_cpu, idesc, 2, referenced);
1801 sh4_nofpu_sh4_nofpu_model::model_dmulul_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1803 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
1804 const sh4_nofpu_scache* abuf = sem;
1805 const sh4_nofpu_idesc* idesc = abuf->idesc;
1809 in_usereg = FLD (in_rn);
1810 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
1814 in_usereg = FLD (in_rm);
1815 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
1818 cycles += model_u_dmul_before (current_cpu, idesc, 2);
1825 sh4_nofpu_sh4_nofpu_model::model_dmulul_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1827 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
1828 const sh4_nofpu_scache* abuf = sem;
1829 const sh4_nofpu_idesc* idesc = abuf->idesc;
1833 unsigned long long insn_referenced = abuf->written;
1835 in_usereg = FLD (in_rn);
1836 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
1840 unsigned long long insn_referenced = abuf->written;
1842 in_usereg = FLD (in_rm);
1843 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
1847 unsigned long long insn_referenced = abuf->written;
1848 cycles += model_u_dmul_after (current_cpu, idesc, 2, referenced);
1855 sh4_nofpu_sh4_nofpu_model::model_dt_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1857 #define FLD(f) abuf->fields.sfmt_divu_compact.f
1858 const sh4_nofpu_scache* abuf = sem;
1859 const sh4_nofpu_idesc* idesc = abuf->idesc;
1863 in_usereg = FLD (in_rn);
1864 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
1867 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
1870 cycles += model_u_exec_before (current_cpu, idesc, 2);
1873 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 3);
1880 sh4_nofpu_sh4_nofpu_model::model_dt_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1882 #define FLD(f) abuf->fields.sfmt_divu_compact.f
1883 const sh4_nofpu_scache* abuf = sem;
1884 const sh4_nofpu_idesc* idesc = abuf->idesc;
1888 unsigned long long insn_referenced = abuf->written;
1890 in_usereg = FLD (in_rn);
1891 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
1895 unsigned long long insn_referenced = abuf->written;
1896 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
1900 unsigned long long insn_referenced = abuf->written;
1901 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
1905 unsigned long long insn_referenced = abuf->written;
1906 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 3, referenced);
1913 sh4_nofpu_sh4_nofpu_model::model_extsb_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1915 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
1916 const sh4_nofpu_scache* abuf = sem;
1917 const sh4_nofpu_idesc* idesc = abuf->idesc;
1921 in_usereg = FLD (in_rm);
1922 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
1925 cycles += model_u_exec_before (current_cpu, idesc, 1);
1928 cycles += model_u_shift_before (current_cpu, idesc, 2);
1935 sh4_nofpu_sh4_nofpu_model::model_extsb_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1937 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
1938 const sh4_nofpu_scache* abuf = sem;
1939 const sh4_nofpu_idesc* idesc = abuf->idesc;
1943 unsigned long long insn_referenced = abuf->written;
1945 in_usereg = FLD (in_rm);
1946 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
1950 unsigned long long insn_referenced = abuf->written;
1951 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
1955 unsigned long long insn_referenced = abuf->written;
1956 cycles += model_u_shift_after (current_cpu, idesc, 2, referenced);
1963 sh4_nofpu_sh4_nofpu_model::model_extsw_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1965 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
1966 const sh4_nofpu_scache* abuf = sem;
1967 const sh4_nofpu_idesc* idesc = abuf->idesc;
1971 in_usereg = FLD (in_rm);
1972 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
1975 cycles += model_u_exec_before (current_cpu, idesc, 1);
1978 cycles += model_u_shift_before (current_cpu, idesc, 2);
1985 sh4_nofpu_sh4_nofpu_model::model_extsw_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
1987 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
1988 const sh4_nofpu_scache* abuf = sem;
1989 const sh4_nofpu_idesc* idesc = abuf->idesc;
1993 unsigned long long insn_referenced = abuf->written;
1995 in_usereg = FLD (in_rm);
1996 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2000 unsigned long long insn_referenced = abuf->written;
2001 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
2005 unsigned long long insn_referenced = abuf->written;
2006 cycles += model_u_shift_after (current_cpu, idesc, 2, referenced);
2013 sh4_nofpu_sh4_nofpu_model::model_extub_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2015 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
2016 const sh4_nofpu_scache* abuf = sem;
2017 const sh4_nofpu_idesc* idesc = abuf->idesc;
2021 in_usereg = FLD (in_rm);
2022 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2025 cycles += model_u_exec_before (current_cpu, idesc, 1);
2028 cycles += model_u_shift_before (current_cpu, idesc, 2);
2035 sh4_nofpu_sh4_nofpu_model::model_extub_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2037 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
2038 const sh4_nofpu_scache* abuf = sem;
2039 const sh4_nofpu_idesc* idesc = abuf->idesc;
2043 unsigned long long insn_referenced = abuf->written;
2045 in_usereg = FLD (in_rm);
2046 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2050 unsigned long long insn_referenced = abuf->written;
2051 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
2055 unsigned long long insn_referenced = abuf->written;
2056 cycles += model_u_shift_after (current_cpu, idesc, 2, referenced);
2063 sh4_nofpu_sh4_nofpu_model::model_extuw_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2065 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
2066 const sh4_nofpu_scache* abuf = sem;
2067 const sh4_nofpu_idesc* idesc = abuf->idesc;
2071 in_usereg = FLD (in_rm);
2072 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2075 cycles += model_u_exec_before (current_cpu, idesc, 1);
2078 cycles += model_u_shift_before (current_cpu, idesc, 2);
2085 sh4_nofpu_sh4_nofpu_model::model_extuw_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2087 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
2088 const sh4_nofpu_scache* abuf = sem;
2089 const sh4_nofpu_idesc* idesc = abuf->idesc;
2093 unsigned long long insn_referenced = abuf->written;
2095 in_usereg = FLD (in_rm);
2096 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2100 unsigned long long insn_referenced = abuf->written;
2101 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
2105 unsigned long long insn_referenced = abuf->written;
2106 cycles += model_u_shift_after (current_cpu, idesc, 2, referenced);
2113 sh4_nofpu_sh4_nofpu_model::model_frchg_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2115 #define FLD(f) abuf->fields.fmt_empty.f
2116 const sh4_nofpu_scache* abuf = sem;
2117 const sh4_nofpu_idesc* idesc = abuf->idesc;
2120 cycles += model_u_exec_before (current_cpu, idesc, 0);
2127 sh4_nofpu_sh4_nofpu_model::model_frchg_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2129 #define FLD(f) abuf->fields.fmt_empty.f
2130 const sh4_nofpu_scache* abuf = sem;
2131 const sh4_nofpu_idesc* idesc = abuf->idesc;
2135 unsigned long long insn_referenced = abuf->written;
2136 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
2143 sh4_nofpu_sh4_nofpu_model::model_fschg_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2145 #define FLD(f) abuf->fields.fmt_empty.f
2146 const sh4_nofpu_scache* abuf = sem;
2147 const sh4_nofpu_idesc* idesc = abuf->idesc;
2150 cycles += model_u_exec_before (current_cpu, idesc, 0);
2157 sh4_nofpu_sh4_nofpu_model::model_fschg_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2159 #define FLD(f) abuf->fields.fmt_empty.f
2160 const sh4_nofpu_scache* abuf = sem;
2161 const sh4_nofpu_idesc* idesc = abuf->idesc;
2165 unsigned long long insn_referenced = abuf->written;
2166 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
2173 sh4_nofpu_sh4_nofpu_model::model_jmp_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2175 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2176 const sh4_nofpu_scache* abuf = sem;
2177 const sh4_nofpu_idesc* idesc = abuf->idesc;
2180 cycles += model_u_jmp_before (current_cpu, idesc, 0);
2187 sh4_nofpu_sh4_nofpu_model::model_jmp_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2189 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2190 const sh4_nofpu_scache* abuf = sem;
2191 const sh4_nofpu_idesc* idesc = abuf->idesc;
2195 unsigned long long insn_referenced = abuf->written;
2196 referenced |= 1 << 0;
2197 cycles += model_u_jmp_after (current_cpu, idesc, 0, referenced);
2204 sh4_nofpu_sh4_nofpu_model::model_jsr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2206 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2207 const sh4_nofpu_scache* abuf = sem;
2208 const sh4_nofpu_idesc* idesc = abuf->idesc;
2211 cycles += model_u_jsr_before (current_cpu, idesc, 0);
2218 sh4_nofpu_sh4_nofpu_model::model_jsr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2220 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2221 const sh4_nofpu_scache* abuf = sem;
2222 const sh4_nofpu_idesc* idesc = abuf->idesc;
2226 unsigned long long insn_referenced = abuf->written;
2227 referenced |= 1 << 0;
2228 cycles += model_u_jsr_after (current_cpu, idesc, 0, referenced);
2235 sh4_nofpu_sh4_nofpu_model::model_ldc_gbr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2237 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2238 const sh4_nofpu_scache* abuf = sem;
2239 const sh4_nofpu_idesc* idesc = abuf->idesc;
2243 in_usereg = FLD (in_rn);
2244 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2247 cycles += model_u_ldc_gbr_before (current_cpu, idesc, 1);
2254 sh4_nofpu_sh4_nofpu_model::model_ldc_gbr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2256 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2257 const sh4_nofpu_scache* abuf = sem;
2258 const sh4_nofpu_idesc* idesc = abuf->idesc;
2262 unsigned long long insn_referenced = abuf->written;
2264 in_usereg = FLD (in_rn);
2265 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2269 unsigned long long insn_referenced = abuf->written;
2270 cycles += model_u_ldc_gbr_after (current_cpu, idesc, 1, referenced);
2277 sh4_nofpu_sh4_nofpu_model::model_ldc_vbr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2279 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2280 const sh4_nofpu_scache* abuf = sem;
2281 const sh4_nofpu_idesc* idesc = abuf->idesc;
2285 in_usereg = FLD (in_rn);
2286 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2289 cycles += model_u_exec_before (current_cpu, idesc, 1);
2296 sh4_nofpu_sh4_nofpu_model::model_ldc_vbr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2298 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2299 const sh4_nofpu_scache* abuf = sem;
2300 const sh4_nofpu_idesc* idesc = abuf->idesc;
2304 unsigned long long insn_referenced = abuf->written;
2306 in_usereg = FLD (in_rn);
2307 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2311 unsigned long long insn_referenced = abuf->written;
2312 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
2319 sh4_nofpu_sh4_nofpu_model::model_ldc_sr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2321 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2322 const sh4_nofpu_scache* abuf = sem;
2323 const sh4_nofpu_idesc* idesc = abuf->idesc;
2327 in_usereg = FLD (in_rn);
2328 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2331 cycles += model_u_ldc_sr_before (current_cpu, idesc, 1);
2338 sh4_nofpu_sh4_nofpu_model::model_ldc_sr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2340 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2341 const sh4_nofpu_scache* abuf = sem;
2342 const sh4_nofpu_idesc* idesc = abuf->idesc;
2346 unsigned long long insn_referenced = abuf->written;
2348 in_usereg = FLD (in_rn);
2349 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2353 unsigned long long insn_referenced = abuf->written;
2354 cycles += model_u_ldc_sr_after (current_cpu, idesc, 1, referenced);
2361 sh4_nofpu_sh4_nofpu_model::model_ldcl_gbr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2363 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2364 const sh4_nofpu_scache* abuf = sem;
2365 const sh4_nofpu_idesc* idesc = abuf->idesc;
2369 in_usereg = FLD (in_rn);
2370 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2373 cycles += model_u_ldcl_before (current_cpu, idesc, 1);
2376 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
2379 cycles += model_u_load_gbr_before (current_cpu, idesc, 3);
2386 sh4_nofpu_sh4_nofpu_model::model_ldcl_gbr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2388 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2389 const sh4_nofpu_scache* abuf = sem;
2390 const sh4_nofpu_idesc* idesc = abuf->idesc;
2394 unsigned long long insn_referenced = abuf->written;
2396 in_usereg = FLD (in_rn);
2397 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2401 unsigned long long insn_referenced = abuf->written;
2402 cycles += model_u_ldcl_after (current_cpu, idesc, 1, referenced);
2406 unsigned long long insn_referenced = abuf->written;
2407 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
2411 unsigned long long insn_referenced = abuf->written;
2412 cycles += model_u_load_gbr_after (current_cpu, idesc, 3, referenced);
2419 sh4_nofpu_sh4_nofpu_model::model_ldcl_vbr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2421 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2422 const sh4_nofpu_scache* abuf = sem;
2423 const sh4_nofpu_idesc* idesc = abuf->idesc;
2427 in_usereg = FLD (in_rn);
2428 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2431 cycles += model_u_ldcl_vbr_before (current_cpu, idesc, 1);
2434 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
2437 cycles += model_u_load_vbr_before (current_cpu, idesc, 3);
2444 sh4_nofpu_sh4_nofpu_model::model_ldcl_vbr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2446 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2447 const sh4_nofpu_scache* abuf = sem;
2448 const sh4_nofpu_idesc* idesc = abuf->idesc;
2452 unsigned long long insn_referenced = abuf->written;
2454 in_usereg = FLD (in_rn);
2455 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2459 unsigned long long insn_referenced = abuf->written;
2460 cycles += model_u_ldcl_vbr_after (current_cpu, idesc, 1, referenced);
2464 unsigned long long insn_referenced = abuf->written;
2465 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
2469 unsigned long long insn_referenced = abuf->written;
2470 cycles += model_u_load_vbr_after (current_cpu, idesc, 3, referenced);
2477 sh4_nofpu_sh4_nofpu_model::model_lds_mach_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2479 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2480 const sh4_nofpu_scache* abuf = sem;
2481 const sh4_nofpu_idesc* idesc = abuf->idesc;
2485 in_usereg = FLD (in_rn);
2486 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2489 cycles += model_u_use_multiply_result_before (current_cpu, idesc, 1);
2492 cycles += model_u_exec_before (current_cpu, idesc, 2);
2495 cycles += model_u_set_mac_before (current_cpu, idesc, 3);
2502 sh4_nofpu_sh4_nofpu_model::model_lds_mach_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2504 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2505 const sh4_nofpu_scache* abuf = sem;
2506 const sh4_nofpu_idesc* idesc = abuf->idesc;
2510 unsigned long long insn_referenced = abuf->written;
2512 in_usereg = FLD (in_rn);
2513 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2517 unsigned long long insn_referenced = abuf->written;
2518 cycles += model_u_use_multiply_result_after (current_cpu, idesc, 1, referenced);
2522 unsigned long long insn_referenced = abuf->written;
2523 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
2527 unsigned long long insn_referenced = abuf->written;
2528 cycles += model_u_set_mac_after (current_cpu, idesc, 3, referenced);
2535 sh4_nofpu_sh4_nofpu_model::model_ldsl_mach_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2537 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2538 const sh4_nofpu_scache* abuf = sem;
2539 const sh4_nofpu_idesc* idesc = abuf->idesc;
2543 in_usereg = FLD (in_rn);
2544 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2547 cycles += model_u_use_multiply_result_before (current_cpu, idesc, 1);
2550 cycles += model_u_exec_before (current_cpu, idesc, 2);
2553 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
2556 cycles += model_u_load_mac_before (current_cpu, idesc, 4);
2563 sh4_nofpu_sh4_nofpu_model::model_ldsl_mach_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2565 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2566 const sh4_nofpu_scache* abuf = sem;
2567 const sh4_nofpu_idesc* idesc = abuf->idesc;
2571 unsigned long long insn_referenced = abuf->written;
2573 in_usereg = FLD (in_rn);
2574 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2578 unsigned long long insn_referenced = abuf->written;
2579 cycles += model_u_use_multiply_result_after (current_cpu, idesc, 1, referenced);
2583 unsigned long long insn_referenced = abuf->written;
2584 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
2588 unsigned long long insn_referenced = abuf->written;
2589 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
2593 unsigned long long insn_referenced = abuf->written;
2594 cycles += model_u_load_mac_after (current_cpu, idesc, 4, referenced);
2601 sh4_nofpu_sh4_nofpu_model::model_lds_macl_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2603 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2604 const sh4_nofpu_scache* abuf = sem;
2605 const sh4_nofpu_idesc* idesc = abuf->idesc;
2609 in_usereg = FLD (in_rn);
2610 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2613 cycles += model_u_use_multiply_result_before (current_cpu, idesc, 1);
2616 cycles += model_u_exec_before (current_cpu, idesc, 2);
2619 cycles += model_u_set_mac_before (current_cpu, idesc, 3);
2626 sh4_nofpu_sh4_nofpu_model::model_lds_macl_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2628 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2629 const sh4_nofpu_scache* abuf = sem;
2630 const sh4_nofpu_idesc* idesc = abuf->idesc;
2634 unsigned long long insn_referenced = abuf->written;
2636 in_usereg = FLD (in_rn);
2637 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2641 unsigned long long insn_referenced = abuf->written;
2642 cycles += model_u_use_multiply_result_after (current_cpu, idesc, 1, referenced);
2646 unsigned long long insn_referenced = abuf->written;
2647 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
2651 unsigned long long insn_referenced = abuf->written;
2652 cycles += model_u_set_mac_after (current_cpu, idesc, 3, referenced);
2659 sh4_nofpu_sh4_nofpu_model::model_ldsl_macl_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2661 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2662 const sh4_nofpu_scache* abuf = sem;
2663 const sh4_nofpu_idesc* idesc = abuf->idesc;
2667 in_usereg = FLD (in_rn);
2668 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2671 cycles += model_u_use_multiply_result_before (current_cpu, idesc, 1);
2674 cycles += model_u_exec_before (current_cpu, idesc, 2);
2677 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
2680 cycles += model_u_load_mac_before (current_cpu, idesc, 4);
2687 sh4_nofpu_sh4_nofpu_model::model_ldsl_macl_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2689 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2690 const sh4_nofpu_scache* abuf = sem;
2691 const sh4_nofpu_idesc* idesc = abuf->idesc;
2695 unsigned long long insn_referenced = abuf->written;
2697 in_usereg = FLD (in_rn);
2698 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2702 unsigned long long insn_referenced = abuf->written;
2703 cycles += model_u_use_multiply_result_after (current_cpu, idesc, 1, referenced);
2707 unsigned long long insn_referenced = abuf->written;
2708 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
2712 unsigned long long insn_referenced = abuf->written;
2713 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
2717 unsigned long long insn_referenced = abuf->written;
2718 cycles += model_u_load_mac_after (current_cpu, idesc, 4, referenced);
2725 sh4_nofpu_sh4_nofpu_model::model_lds_pr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2727 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2728 const sh4_nofpu_scache* abuf = sem;
2729 const sh4_nofpu_idesc* idesc = abuf->idesc;
2733 in_usereg = FLD (in_rn);
2734 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2737 cycles += model_u_lds_pr_before (current_cpu, idesc, 1);
2744 sh4_nofpu_sh4_nofpu_model::model_lds_pr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2746 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2747 const sh4_nofpu_scache* abuf = sem;
2748 const sh4_nofpu_idesc* idesc = abuf->idesc;
2752 unsigned long long insn_referenced = abuf->written;
2754 in_usereg = FLD (in_rn);
2755 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2759 unsigned long long insn_referenced = abuf->written;
2760 cycles += model_u_lds_pr_after (current_cpu, idesc, 1, referenced);
2767 sh4_nofpu_sh4_nofpu_model::model_ldsl_pr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2769 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2770 const sh4_nofpu_scache* abuf = sem;
2771 const sh4_nofpu_idesc* idesc = abuf->idesc;
2775 in_usereg = FLD (in_rn);
2776 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2779 cycles += model_u_lds_pr_before (current_cpu, idesc, 1);
2782 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
2785 cycles += model_u_load_pr_before (current_cpu, idesc, 3);
2792 sh4_nofpu_sh4_nofpu_model::model_ldsl_pr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2794 #define FLD(f) abuf->fields.sfmt_divu_compact.f
2795 const sh4_nofpu_scache* abuf = sem;
2796 const sh4_nofpu_idesc* idesc = abuf->idesc;
2800 unsigned long long insn_referenced = abuf->written;
2802 in_usereg = FLD (in_rn);
2803 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2807 unsigned long long insn_referenced = abuf->written;
2808 cycles += model_u_lds_pr_after (current_cpu, idesc, 1, referenced);
2812 unsigned long long insn_referenced = abuf->written;
2813 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
2817 unsigned long long insn_referenced = abuf->written;
2818 cycles += model_u_load_pr_after (current_cpu, idesc, 3, referenced);
2825 sh4_nofpu_sh4_nofpu_model::model_macl_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2827 #define FLD(f) abuf->fields.sfmt_macl_compact.f
2828 const sh4_nofpu_scache* abuf = sem;
2829 const sh4_nofpu_idesc* idesc = abuf->idesc;
2833 in_usereg = FLD (in_rn);
2834 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2838 in_usereg = FLD (in_rm);
2839 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
2842 cycles += model_u_macl_before (current_cpu, idesc, 2);
2849 sh4_nofpu_sh4_nofpu_model::model_macl_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2851 #define FLD(f) abuf->fields.sfmt_macl_compact.f
2852 const sh4_nofpu_scache* abuf = sem;
2853 const sh4_nofpu_idesc* idesc = abuf->idesc;
2857 unsigned long long insn_referenced = abuf->written;
2859 in_usereg = FLD (in_rn);
2860 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2864 unsigned long long insn_referenced = abuf->written;
2866 in_usereg = FLD (in_rm);
2867 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
2871 unsigned long long insn_referenced = abuf->written;
2872 cycles += model_u_macl_after (current_cpu, idesc, 2, referenced);
2879 sh4_nofpu_sh4_nofpu_model::model_macw_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2881 #define FLD(f) abuf->fields.sfmt_macl_compact.f
2882 const sh4_nofpu_scache* abuf = sem;
2883 const sh4_nofpu_idesc* idesc = abuf->idesc;
2887 in_usereg = FLD (in_rn);
2888 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2892 in_usereg = FLD (in_rm);
2893 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
2896 cycles += model_u_macw_before (current_cpu, idesc, 2);
2903 sh4_nofpu_sh4_nofpu_model::model_macw_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2905 #define FLD(f) abuf->fields.sfmt_macl_compact.f
2906 const sh4_nofpu_scache* abuf = sem;
2907 const sh4_nofpu_idesc* idesc = abuf->idesc;
2911 unsigned long long insn_referenced = abuf->written;
2913 in_usereg = FLD (in_rn);
2914 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2918 unsigned long long insn_referenced = abuf->written;
2920 in_usereg = FLD (in_rm);
2921 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
2925 unsigned long long insn_referenced = abuf->written;
2926 cycles += model_u_macw_after (current_cpu, idesc, 2, referenced);
2933 sh4_nofpu_sh4_nofpu_model::model_mov_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2935 #define FLD(f) abuf->fields.sfmt_and_compact.f
2936 const sh4_nofpu_scache* abuf = sem;
2937 const sh4_nofpu_idesc* idesc = abuf->idesc;
2941 in_usereg = FLD (in_rm64);
2942 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
2945 cycles += model_u_exec_before (current_cpu, idesc, 1);
2952 sh4_nofpu_sh4_nofpu_model::model_mov_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2954 #define FLD(f) abuf->fields.sfmt_and_compact.f
2955 const sh4_nofpu_scache* abuf = sem;
2956 const sh4_nofpu_idesc* idesc = abuf->idesc;
2960 unsigned long long insn_referenced = abuf->written;
2962 in_usereg = FLD (in_rm64);
2963 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
2967 unsigned long long insn_referenced = abuf->written;
2968 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
2975 sh4_nofpu_sh4_nofpu_model::model_movi_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2977 #define FLD(f) abuf->fields.sfmt_addi_compact.f
2978 const sh4_nofpu_scache* abuf = sem;
2979 const sh4_nofpu_idesc* idesc = abuf->idesc;
2982 cycles += model_u_exec_before (current_cpu, idesc, 0);
2989 sh4_nofpu_sh4_nofpu_model::model_movi_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
2991 #define FLD(f) abuf->fields.sfmt_addi_compact.f
2992 const sh4_nofpu_scache* abuf = sem;
2993 const sh4_nofpu_idesc* idesc = abuf->idesc;
2997 unsigned long long insn_referenced = abuf->written;
2998 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
3005 sh4_nofpu_sh4_nofpu_model::model_movi20_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3007 #define FLD(f) abuf->fields.sfmt_movi20_compact.f
3008 const sh4_nofpu_scache* abuf = sem;
3009 const sh4_nofpu_idesc* idesc = abuf->idesc;
3012 cycles += model_u_exec_before (current_cpu, idesc, 0);
3019 sh4_nofpu_sh4_nofpu_model::model_movi20_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3021 #define FLD(f) abuf->fields.sfmt_movi20_compact.f
3022 const sh4_nofpu_scache* abuf = sem;
3023 const sh4_nofpu_idesc* idesc = abuf->idesc;
3027 unsigned long long insn_referenced = abuf->written;
3028 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
3035 sh4_nofpu_sh4_nofpu_model::model_movb1_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3037 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
3038 const sh4_nofpu_scache* abuf = sem;
3039 const sh4_nofpu_idesc* idesc = abuf->idesc;
3043 in_usereg = FLD (in_rn);
3044 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
3048 in_usereg = FLD (in_rm);
3049 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
3052 cycles += model_u_exec_before (current_cpu, idesc, 2);
3055 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
3062 sh4_nofpu_sh4_nofpu_model::model_movb1_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3064 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
3065 const sh4_nofpu_scache* abuf = sem;
3066 const sh4_nofpu_idesc* idesc = abuf->idesc;
3070 unsigned long long insn_referenced = abuf->written;
3072 in_usereg = FLD (in_rn);
3073 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
3077 unsigned long long insn_referenced = abuf->written;
3079 in_usereg = FLD (in_rm);
3080 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
3084 unsigned long long insn_referenced = abuf->written;
3085 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
3089 unsigned long long insn_referenced = abuf->written;
3090 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
3097 sh4_nofpu_sh4_nofpu_model::model_movb2_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3099 #define FLD(f) abuf->fields.sfmt_macl_compact.f
3100 const sh4_nofpu_scache* abuf = sem;
3101 const sh4_nofpu_idesc* idesc = abuf->idesc;
3105 in_usereg = FLD (in_rn);
3106 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
3110 in_usereg = FLD (in_rm);
3111 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
3114 cycles += model_u_exec_before (current_cpu, idesc, 2);
3117 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
3124 sh4_nofpu_sh4_nofpu_model::model_movb2_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3126 #define FLD(f) abuf->fields.sfmt_macl_compact.f
3127 const sh4_nofpu_scache* abuf = sem;
3128 const sh4_nofpu_idesc* idesc = abuf->idesc;
3132 unsigned long long insn_referenced = abuf->written;
3134 in_usereg = FLD (in_rn);
3135 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
3139 unsigned long long insn_referenced = abuf->written;
3141 in_usereg = FLD (in_rm);
3142 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
3146 unsigned long long insn_referenced = abuf->written;
3147 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
3151 unsigned long long insn_referenced = abuf->written;
3152 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
3159 sh4_nofpu_sh4_nofpu_model::model_movb3_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3161 #define FLD(f) abuf->fields.sfmt_movb3_compact.f
3162 const sh4_nofpu_scache* abuf = sem;
3163 const sh4_nofpu_idesc* idesc = abuf->idesc;
3167 in_usereg = FLD (in_rn);
3168 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
3172 in_usereg = FLD (in_rm);
3173 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
3177 in_usereg = FLD (in_r0);
3178 cycles += model_u_use_gr_before (current_cpu, idesc, 2, in_usereg);
3181 cycles += model_u_exec_before (current_cpu, idesc, 3);
3184 cycles += model_u_memory_access_before (current_cpu, idesc, 4);
3191 sh4_nofpu_sh4_nofpu_model::model_movb3_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3193 #define FLD(f) abuf->fields.sfmt_movb3_compact.f
3194 const sh4_nofpu_scache* abuf = sem;
3195 const sh4_nofpu_idesc* idesc = abuf->idesc;
3199 unsigned long long insn_referenced = abuf->written;
3201 in_usereg = FLD (in_rn);
3202 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
3206 unsigned long long insn_referenced = abuf->written;
3208 in_usereg = FLD (in_rm);
3209 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
3213 unsigned long long insn_referenced = abuf->written;
3215 in_usereg = FLD (in_r0);
3216 cycles += model_u_use_gr_after (current_cpu, idesc, 2, referenced, in_usereg);
3220 unsigned long long insn_referenced = abuf->written;
3221 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
3225 unsigned long long insn_referenced = abuf->written;
3226 cycles += model_u_memory_access_after (current_cpu, idesc, 4, referenced);
3233 sh4_nofpu_sh4_nofpu_model::model_movb4_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3235 #define FLD(f) abuf->fields.sfmt_andi_compact.f
3236 const sh4_nofpu_scache* abuf = sem;
3237 const sh4_nofpu_idesc* idesc = abuf->idesc;
3240 cycles += model_u_exec_before (current_cpu, idesc, 0);
3243 cycles += model_u_sx_before (current_cpu, idesc, 1);
3246 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
3253 sh4_nofpu_sh4_nofpu_model::model_movb4_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3255 #define FLD(f) abuf->fields.sfmt_andi_compact.f
3256 const sh4_nofpu_scache* abuf = sem;
3257 const sh4_nofpu_idesc* idesc = abuf->idesc;
3261 unsigned long long insn_referenced = abuf->written;
3262 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
3266 unsigned long long insn_referenced = abuf->written;
3267 cycles += model_u_sx_after (current_cpu, idesc, 1, referenced);
3271 unsigned long long insn_referenced = abuf->written;
3272 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
3279 sh4_nofpu_sh4_nofpu_model::model_movb5_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3281 #define FLD(f) abuf->fields.sfmt_movb5_compact.f
3282 const sh4_nofpu_scache* abuf = sem;
3283 const sh4_nofpu_idesc* idesc = abuf->idesc;
3287 in_usereg = FLD (in_r0);
3288 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
3292 in_usereg = FLD (in_rm);
3293 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
3296 cycles += model_u_exec_before (current_cpu, idesc, 2);
3299 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
3306 sh4_nofpu_sh4_nofpu_model::model_movb5_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3308 #define FLD(f) abuf->fields.sfmt_movb5_compact.f
3309 const sh4_nofpu_scache* abuf = sem;
3310 const sh4_nofpu_idesc* idesc = abuf->idesc;
3314 unsigned long long insn_referenced = abuf->written;
3316 in_usereg = FLD (in_r0);
3317 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
3321 unsigned long long insn_referenced = abuf->written;
3323 in_usereg = FLD (in_rm);
3324 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
3328 unsigned long long insn_referenced = abuf->written;
3329 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
3333 unsigned long long insn_referenced = abuf->written;
3334 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
3341 sh4_nofpu_sh4_nofpu_model::model_movb6_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3343 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
3344 const sh4_nofpu_scache* abuf = sem;
3345 const sh4_nofpu_idesc* idesc = abuf->idesc;
3349 in_usereg = FLD (in_rm);
3350 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
3353 cycles += model_u_exec_before (current_cpu, idesc, 1);
3356 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
3359 INT out_loadreg = -1;
3360 out_loadreg = FLD (out_rn);
3361 cycles += model_u_load_gr_before (current_cpu, idesc, 3, out_loadreg);
3368 sh4_nofpu_sh4_nofpu_model::model_movb6_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3370 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
3371 const sh4_nofpu_scache* abuf = sem;
3372 const sh4_nofpu_idesc* idesc = abuf->idesc;
3376 unsigned long long insn_referenced = abuf->written;
3378 in_usereg = FLD (in_rm);
3379 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
3383 unsigned long long insn_referenced = abuf->written;
3384 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
3388 unsigned long long insn_referenced = abuf->written;
3389 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
3393 unsigned long long insn_referenced = abuf->written;
3394 INT out_loadreg = -1;
3395 out_loadreg = FLD (out_rn);
3396 cycles += model_u_load_gr_after (current_cpu, idesc, 3, referenced, out_loadreg);
3403 sh4_nofpu_sh4_nofpu_model::model_movb7_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3405 #define FLD(f) abuf->fields.sfmt_macl_compact.f
3406 const sh4_nofpu_scache* abuf = sem;
3407 const sh4_nofpu_idesc* idesc = abuf->idesc;
3411 in_usereg = FLD (in_rm);
3412 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
3415 cycles += model_u_exec_before (current_cpu, idesc, 1);
3418 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
3421 INT out_loadreg = -1;
3422 out_loadreg = FLD (out_rn);
3423 cycles += model_u_load_gr_before (current_cpu, idesc, 3, out_loadreg);
3430 sh4_nofpu_sh4_nofpu_model::model_movb7_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3432 #define FLD(f) abuf->fields.sfmt_macl_compact.f
3433 const sh4_nofpu_scache* abuf = sem;
3434 const sh4_nofpu_idesc* idesc = abuf->idesc;
3438 unsigned long long insn_referenced = abuf->written;
3440 in_usereg = FLD (in_rm);
3441 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
3445 unsigned long long insn_referenced = abuf->written;
3446 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
3450 unsigned long long insn_referenced = abuf->written;
3451 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
3455 unsigned long long insn_referenced = abuf->written;
3456 INT out_loadreg = -1;
3457 out_loadreg = FLD (out_rn);
3458 cycles += model_u_load_gr_after (current_cpu, idesc, 3, referenced, out_loadreg);
3465 sh4_nofpu_sh4_nofpu_model::model_movb8_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3467 #define FLD(f) abuf->fields.sfmt_movb8_compact.f
3468 const sh4_nofpu_scache* abuf = sem;
3469 const sh4_nofpu_idesc* idesc = abuf->idesc;
3473 in_usereg = FLD (in_rm);
3474 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
3478 in_usereg = FLD (in_r0);
3479 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
3482 cycles += model_u_exec_before (current_cpu, idesc, 2);
3485 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
3488 INT out_loadreg = -1;
3489 out_loadreg = FLD (out_rn);
3490 cycles += model_u_load_gr_before (current_cpu, idesc, 4, out_loadreg);
3497 sh4_nofpu_sh4_nofpu_model::model_movb8_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3499 #define FLD(f) abuf->fields.sfmt_movb8_compact.f
3500 const sh4_nofpu_scache* abuf = sem;
3501 const sh4_nofpu_idesc* idesc = abuf->idesc;
3505 unsigned long long insn_referenced = abuf->written;
3507 in_usereg = FLD (in_rm);
3508 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
3512 unsigned long long insn_referenced = abuf->written;
3514 in_usereg = FLD (in_r0);
3515 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
3519 unsigned long long insn_referenced = abuf->written;
3520 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
3524 unsigned long long insn_referenced = abuf->written;
3525 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
3529 unsigned long long insn_referenced = abuf->written;
3530 INT out_loadreg = -1;
3531 out_loadreg = FLD (out_rn);
3532 cycles += model_u_load_gr_after (current_cpu, idesc, 4, referenced, out_loadreg);
3539 sh4_nofpu_sh4_nofpu_model::model_movb9_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3541 #define FLD(f) abuf->fields.sfmt_andi_compact.f
3542 const sh4_nofpu_scache* abuf = sem;
3543 const sh4_nofpu_idesc* idesc = abuf->idesc;
3546 cycles += model_u_exec_before (current_cpu, idesc, 0);
3549 cycles += model_u_memory_access_before (current_cpu, idesc, 1);
3552 INT out_loadreg = -1;
3553 out_loadreg = FLD (out_r0);
3554 cycles += model_u_load_gr_before (current_cpu, idesc, 2, out_loadreg);
3561 sh4_nofpu_sh4_nofpu_model::model_movb9_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3563 #define FLD(f) abuf->fields.sfmt_andi_compact.f
3564 const sh4_nofpu_scache* abuf = sem;
3565 const sh4_nofpu_idesc* idesc = abuf->idesc;
3569 unsigned long long insn_referenced = abuf->written;
3570 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
3574 unsigned long long insn_referenced = abuf->written;
3575 cycles += model_u_memory_access_after (current_cpu, idesc, 1, referenced);
3579 unsigned long long insn_referenced = abuf->written;
3580 INT out_loadreg = -1;
3581 out_loadreg = FLD (out_r0);
3582 cycles += model_u_load_gr_after (current_cpu, idesc, 2, referenced, out_loadreg);
3589 sh4_nofpu_sh4_nofpu_model::model_movb10_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3591 #define FLD(f) abuf->fields.sfmt_movb10_compact.f
3592 const sh4_nofpu_scache* abuf = sem;
3593 const sh4_nofpu_idesc* idesc = abuf->idesc;
3597 in_usereg = FLD (in_rm);
3598 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
3601 cycles += model_u_exec_before (current_cpu, idesc, 1);
3604 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
3607 INT out_loadreg = -1;
3608 out_loadreg = FLD (out_r0);
3609 cycles += model_u_load_gr_before (current_cpu, idesc, 3, out_loadreg);
3616 sh4_nofpu_sh4_nofpu_model::model_movb10_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3618 #define FLD(f) abuf->fields.sfmt_movb10_compact.f
3619 const sh4_nofpu_scache* abuf = sem;
3620 const sh4_nofpu_idesc* idesc = abuf->idesc;
3624 unsigned long long insn_referenced = abuf->written;
3626 in_usereg = FLD (in_rm);
3627 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
3631 unsigned long long insn_referenced = abuf->written;
3632 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
3636 unsigned long long insn_referenced = abuf->written;
3637 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
3641 unsigned long long insn_referenced = abuf->written;
3642 INT out_loadreg = -1;
3643 out_loadreg = FLD (out_r0);
3644 cycles += model_u_load_gr_after (current_cpu, idesc, 3, referenced, out_loadreg);
3651 sh4_nofpu_sh4_nofpu_model::model_movl1_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3653 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
3654 const sh4_nofpu_scache* abuf = sem;
3655 const sh4_nofpu_idesc* idesc = abuf->idesc;
3659 in_usereg = FLD (in_rm);
3660 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
3664 in_usereg = FLD (in_rn);
3665 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
3668 cycles += model_u_exec_before (current_cpu, idesc, 2);
3671 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
3678 sh4_nofpu_sh4_nofpu_model::model_movl1_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3680 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
3681 const sh4_nofpu_scache* abuf = sem;
3682 const sh4_nofpu_idesc* idesc = abuf->idesc;
3686 unsigned long long insn_referenced = abuf->written;
3688 in_usereg = FLD (in_rm);
3689 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
3693 unsigned long long insn_referenced = abuf->written;
3695 in_usereg = FLD (in_rn);
3696 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
3700 unsigned long long insn_referenced = abuf->written;
3701 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
3705 unsigned long long insn_referenced = abuf->written;
3706 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
3713 sh4_nofpu_sh4_nofpu_model::model_movl2_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3715 #define FLD(f) abuf->fields.sfmt_macl_compact.f
3716 const sh4_nofpu_scache* abuf = sem;
3717 const sh4_nofpu_idesc* idesc = abuf->idesc;
3721 in_usereg = FLD (in_rm);
3722 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
3726 in_usereg = FLD (in_rn);
3727 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
3730 cycles += model_u_exec_before (current_cpu, idesc, 2);
3733 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
3740 sh4_nofpu_sh4_nofpu_model::model_movl2_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3742 #define FLD(f) abuf->fields.sfmt_macl_compact.f
3743 const sh4_nofpu_scache* abuf = sem;
3744 const sh4_nofpu_idesc* idesc = abuf->idesc;
3748 unsigned long long insn_referenced = abuf->written;
3750 in_usereg = FLD (in_rm);
3751 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
3755 unsigned long long insn_referenced = abuf->written;
3757 in_usereg = FLD (in_rn);
3758 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
3762 unsigned long long insn_referenced = abuf->written;
3763 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
3767 unsigned long long insn_referenced = abuf->written;
3768 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
3775 sh4_nofpu_sh4_nofpu_model::model_movl3_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3777 #define FLD(f) abuf->fields.sfmt_movb3_compact.f
3778 const sh4_nofpu_scache* abuf = sem;
3779 const sh4_nofpu_idesc* idesc = abuf->idesc;
3783 in_usereg = FLD (in_rm);
3784 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
3788 in_usereg = FLD (in_rn);
3789 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
3793 in_usereg = FLD (in_r0);
3794 cycles += model_u_use_gr_before (current_cpu, idesc, 2, in_usereg);
3797 cycles += model_u_exec_before (current_cpu, idesc, 3);
3800 cycles += model_u_memory_access_before (current_cpu, idesc, 4);
3807 sh4_nofpu_sh4_nofpu_model::model_movl3_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3809 #define FLD(f) abuf->fields.sfmt_movb3_compact.f
3810 const sh4_nofpu_scache* abuf = sem;
3811 const sh4_nofpu_idesc* idesc = abuf->idesc;
3815 unsigned long long insn_referenced = abuf->written;
3817 in_usereg = FLD (in_rm);
3818 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
3822 unsigned long long insn_referenced = abuf->written;
3824 in_usereg = FLD (in_rn);
3825 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
3829 unsigned long long insn_referenced = abuf->written;
3831 in_usereg = FLD (in_r0);
3832 cycles += model_u_use_gr_after (current_cpu, idesc, 2, referenced, in_usereg);
3836 unsigned long long insn_referenced = abuf->written;
3837 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
3841 unsigned long long insn_referenced = abuf->written;
3842 cycles += model_u_memory_access_after (current_cpu, idesc, 4, referenced);
3849 sh4_nofpu_sh4_nofpu_model::model_movl4_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3851 #define FLD(f) abuf->fields.sfmt_movl4_compact.f
3852 const sh4_nofpu_scache* abuf = sem;
3853 const sh4_nofpu_idesc* idesc = abuf->idesc;
3857 in_usereg = FLD (in_r0);
3858 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
3861 cycles += model_u_exec_before (current_cpu, idesc, 1);
3864 cycles += model_u_sx_before (current_cpu, idesc, 2);
3867 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
3874 sh4_nofpu_sh4_nofpu_model::model_movl4_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3876 #define FLD(f) abuf->fields.sfmt_movl4_compact.f
3877 const sh4_nofpu_scache* abuf = sem;
3878 const sh4_nofpu_idesc* idesc = abuf->idesc;
3882 unsigned long long insn_referenced = abuf->written;
3884 in_usereg = FLD (in_r0);
3885 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
3889 unsigned long long insn_referenced = abuf->written;
3890 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
3894 unsigned long long insn_referenced = abuf->written;
3895 cycles += model_u_sx_after (current_cpu, idesc, 2, referenced);
3899 unsigned long long insn_referenced = abuf->written;
3900 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
3907 sh4_nofpu_sh4_nofpu_model::model_movl5_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3909 #define FLD(f) abuf->fields.sfmt_movl5_compact.f
3910 const sh4_nofpu_scache* abuf = sem;
3911 const sh4_nofpu_idesc* idesc = abuf->idesc;
3915 in_usereg = FLD (in_rm);
3916 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
3920 in_usereg = FLD (in_rn);
3921 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
3924 cycles += model_u_exec_before (current_cpu, idesc, 2);
3927 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
3934 sh4_nofpu_sh4_nofpu_model::model_movl5_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3936 #define FLD(f) abuf->fields.sfmt_movl5_compact.f
3937 const sh4_nofpu_scache* abuf = sem;
3938 const sh4_nofpu_idesc* idesc = abuf->idesc;
3942 unsigned long long insn_referenced = abuf->written;
3944 in_usereg = FLD (in_rm);
3945 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
3949 unsigned long long insn_referenced = abuf->written;
3951 in_usereg = FLD (in_rn);
3952 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
3956 unsigned long long insn_referenced = abuf->written;
3957 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
3961 unsigned long long insn_referenced = abuf->written;
3962 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
3969 sh4_nofpu_sh4_nofpu_model::model_movl6_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3971 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
3972 const sh4_nofpu_scache* abuf = sem;
3973 const sh4_nofpu_idesc* idesc = abuf->idesc;
3977 in_usereg = FLD (in_rm);
3978 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
3981 cycles += model_u_exec_before (current_cpu, idesc, 1);
3984 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
3987 INT out_loadreg = -1;
3988 out_loadreg = FLD (out_rn);
3989 cycles += model_u_load_gr_before (current_cpu, idesc, 3, out_loadreg);
3996 sh4_nofpu_sh4_nofpu_model::model_movl6_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
3998 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
3999 const sh4_nofpu_scache* abuf = sem;
4000 const sh4_nofpu_idesc* idesc = abuf->idesc;
4004 unsigned long long insn_referenced = abuf->written;
4006 in_usereg = FLD (in_rm);
4007 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
4011 unsigned long long insn_referenced = abuf->written;
4012 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
4016 unsigned long long insn_referenced = abuf->written;
4017 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
4021 unsigned long long insn_referenced = abuf->written;
4022 INT out_loadreg = -1;
4023 out_loadreg = FLD (out_rn);
4024 cycles += model_u_load_gr_after (current_cpu, idesc, 3, referenced, out_loadreg);
4031 sh4_nofpu_sh4_nofpu_model::model_movl7_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4033 #define FLD(f) abuf->fields.sfmt_macl_compact.f
4034 const sh4_nofpu_scache* abuf = sem;
4035 const sh4_nofpu_idesc* idesc = abuf->idesc;
4039 in_usereg = FLD (in_rm);
4040 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
4043 cycles += model_u_exec_before (current_cpu, idesc, 1);
4046 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
4049 INT out_loadreg = -1;
4050 out_loadreg = FLD (out_rn);
4051 cycles += model_u_load_gr_before (current_cpu, idesc, 3, out_loadreg);
4058 sh4_nofpu_sh4_nofpu_model::model_movl7_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4060 #define FLD(f) abuf->fields.sfmt_macl_compact.f
4061 const sh4_nofpu_scache* abuf = sem;
4062 const sh4_nofpu_idesc* idesc = abuf->idesc;
4066 unsigned long long insn_referenced = abuf->written;
4068 in_usereg = FLD (in_rm);
4069 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
4073 unsigned long long insn_referenced = abuf->written;
4074 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
4078 unsigned long long insn_referenced = abuf->written;
4079 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
4083 unsigned long long insn_referenced = abuf->written;
4084 INT out_loadreg = -1;
4085 out_loadreg = FLD (out_rn);
4086 cycles += model_u_load_gr_after (current_cpu, idesc, 3, referenced, out_loadreg);
4093 sh4_nofpu_sh4_nofpu_model::model_movl8_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4095 #define FLD(f) abuf->fields.sfmt_movb8_compact.f
4096 const sh4_nofpu_scache* abuf = sem;
4097 const sh4_nofpu_idesc* idesc = abuf->idesc;
4101 in_usereg = FLD (in_rm);
4102 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
4106 in_usereg = FLD (in_r0);
4107 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
4110 cycles += model_u_exec_before (current_cpu, idesc, 2);
4113 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
4116 INT out_loadreg = -1;
4117 out_loadreg = FLD (out_rn);
4118 cycles += model_u_load_gr_before (current_cpu, idesc, 4, out_loadreg);
4125 sh4_nofpu_sh4_nofpu_model::model_movl8_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4127 #define FLD(f) abuf->fields.sfmt_movb8_compact.f
4128 const sh4_nofpu_scache* abuf = sem;
4129 const sh4_nofpu_idesc* idesc = abuf->idesc;
4133 unsigned long long insn_referenced = abuf->written;
4135 in_usereg = FLD (in_rm);
4136 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
4140 unsigned long long insn_referenced = abuf->written;
4142 in_usereg = FLD (in_r0);
4143 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
4147 unsigned long long insn_referenced = abuf->written;
4148 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
4152 unsigned long long insn_referenced = abuf->written;
4153 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
4157 unsigned long long insn_referenced = abuf->written;
4158 INT out_loadreg = -1;
4159 out_loadreg = FLD (out_rn);
4160 cycles += model_u_load_gr_after (current_cpu, idesc, 4, referenced, out_loadreg);
4167 sh4_nofpu_sh4_nofpu_model::model_movl9_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4169 #define FLD(f) abuf->fields.sfmt_movl9_compact.f
4170 const sh4_nofpu_scache* abuf = sem;
4171 const sh4_nofpu_idesc* idesc = abuf->idesc;
4174 cycles += model_u_exec_before (current_cpu, idesc, 0);
4177 cycles += model_u_memory_access_before (current_cpu, idesc, 1);
4180 INT out_loadreg = -1;
4181 out_loadreg = FLD (out_r0);
4182 cycles += model_u_load_gr_before (current_cpu, idesc, 2, out_loadreg);
4189 sh4_nofpu_sh4_nofpu_model::model_movl9_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4191 #define FLD(f) abuf->fields.sfmt_movl9_compact.f
4192 const sh4_nofpu_scache* abuf = sem;
4193 const sh4_nofpu_idesc* idesc = abuf->idesc;
4197 unsigned long long insn_referenced = abuf->written;
4198 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
4202 unsigned long long insn_referenced = abuf->written;
4203 cycles += model_u_memory_access_after (current_cpu, idesc, 1, referenced);
4207 unsigned long long insn_referenced = abuf->written;
4208 INT out_loadreg = -1;
4209 out_loadreg = FLD (out_r0);
4210 cycles += model_u_load_gr_after (current_cpu, idesc, 2, referenced, out_loadreg);
4217 sh4_nofpu_sh4_nofpu_model::model_movl10_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4219 #define FLD(f) abuf->fields.sfmt_movl10_compact.f
4220 const sh4_nofpu_scache* abuf = sem;
4221 const sh4_nofpu_idesc* idesc = abuf->idesc;
4224 cycles += model_u_exec_before (current_cpu, idesc, 0);
4227 cycles += model_u_memory_access_before (current_cpu, idesc, 1);
4230 INT out_loadreg = -1;
4231 out_loadreg = FLD (out_rn);
4232 cycles += model_u_load_gr_before (current_cpu, idesc, 2, out_loadreg);
4239 sh4_nofpu_sh4_nofpu_model::model_movl10_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4241 #define FLD(f) abuf->fields.sfmt_movl10_compact.f
4242 const sh4_nofpu_scache* abuf = sem;
4243 const sh4_nofpu_idesc* idesc = abuf->idesc;
4247 unsigned long long insn_referenced = abuf->written;
4248 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
4252 unsigned long long insn_referenced = abuf->written;
4253 cycles += model_u_memory_access_after (current_cpu, idesc, 1, referenced);
4257 unsigned long long insn_referenced = abuf->written;
4258 INT out_loadreg = -1;
4259 out_loadreg = FLD (out_rn);
4260 cycles += model_u_load_gr_after (current_cpu, idesc, 2, referenced, out_loadreg);
4267 sh4_nofpu_sh4_nofpu_model::model_movl11_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4269 #define FLD(f) abuf->fields.sfmt_movl11_compact.f
4270 const sh4_nofpu_scache* abuf = sem;
4271 const sh4_nofpu_idesc* idesc = abuf->idesc;
4275 in_usereg = FLD (in_rm);
4276 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
4279 cycles += model_u_exec_before (current_cpu, idesc, 1);
4282 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
4285 INT out_loadreg = -1;
4286 out_loadreg = FLD (out_rn);
4287 cycles += model_u_load_gr_before (current_cpu, idesc, 3, out_loadreg);
4294 sh4_nofpu_sh4_nofpu_model::model_movl11_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4296 #define FLD(f) abuf->fields.sfmt_movl11_compact.f
4297 const sh4_nofpu_scache* abuf = sem;
4298 const sh4_nofpu_idesc* idesc = abuf->idesc;
4302 unsigned long long insn_referenced = abuf->written;
4304 in_usereg = FLD (in_rm);
4305 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
4309 unsigned long long insn_referenced = abuf->written;
4310 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
4314 unsigned long long insn_referenced = abuf->written;
4315 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
4319 unsigned long long insn_referenced = abuf->written;
4320 INT out_loadreg = -1;
4321 out_loadreg = FLD (out_rn);
4322 cycles += model_u_load_gr_after (current_cpu, idesc, 3, referenced, out_loadreg);
4329 sh4_nofpu_sh4_nofpu_model::model_movl12_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4331 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
4332 const sh4_nofpu_scache* abuf = sem;
4333 const sh4_nofpu_idesc* idesc = abuf->idesc;
4337 in_usereg = FLD (in_rm);
4338 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
4341 cycles += model_u_exec_before (current_cpu, idesc, 1);
4344 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
4347 INT out_loadreg = -1;
4348 out_loadreg = FLD (out_rn);
4349 cycles += model_u_load_gr_before (current_cpu, idesc, 3, out_loadreg);
4356 sh4_nofpu_sh4_nofpu_model::model_movl12_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4358 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
4359 const sh4_nofpu_scache* abuf = sem;
4360 const sh4_nofpu_idesc* idesc = abuf->idesc;
4364 unsigned long long insn_referenced = abuf->written;
4366 in_usereg = FLD (in_rm);
4367 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
4371 unsigned long long insn_referenced = abuf->written;
4372 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
4376 unsigned long long insn_referenced = abuf->written;
4377 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
4381 unsigned long long insn_referenced = abuf->written;
4382 INT out_loadreg = -1;
4383 out_loadreg = FLD (out_rn);
4384 cycles += model_u_load_gr_after (current_cpu, idesc, 3, referenced, out_loadreg);
4391 sh4_nofpu_sh4_nofpu_model::model_movl13_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4393 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
4394 const sh4_nofpu_scache* abuf = sem;
4395 const sh4_nofpu_idesc* idesc = abuf->idesc;
4399 in_usereg = FLD (in_rm);
4400 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
4403 cycles += model_u_exec_before (current_cpu, idesc, 1);
4406 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
4413 sh4_nofpu_sh4_nofpu_model::model_movl13_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4415 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
4416 const sh4_nofpu_scache* abuf = sem;
4417 const sh4_nofpu_idesc* idesc = abuf->idesc;
4421 unsigned long long insn_referenced = abuf->written;
4423 in_usereg = FLD (in_rm);
4424 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
4428 unsigned long long insn_referenced = abuf->written;
4429 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
4433 unsigned long long insn_referenced = abuf->written;
4434 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
4441 sh4_nofpu_sh4_nofpu_model::model_movw1_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4443 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
4444 const sh4_nofpu_scache* abuf = sem;
4445 const sh4_nofpu_idesc* idesc = abuf->idesc;
4449 in_usereg = FLD (in_rm);
4450 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
4454 in_usereg = FLD (in_rn);
4455 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
4458 cycles += model_u_exec_before (current_cpu, idesc, 2);
4461 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
4468 sh4_nofpu_sh4_nofpu_model::model_movw1_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4470 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
4471 const sh4_nofpu_scache* abuf = sem;
4472 const sh4_nofpu_idesc* idesc = abuf->idesc;
4476 unsigned long long insn_referenced = abuf->written;
4478 in_usereg = FLD (in_rm);
4479 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
4483 unsigned long long insn_referenced = abuf->written;
4485 in_usereg = FLD (in_rn);
4486 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
4490 unsigned long long insn_referenced = abuf->written;
4491 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
4495 unsigned long long insn_referenced = abuf->written;
4496 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
4503 sh4_nofpu_sh4_nofpu_model::model_movw2_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4505 #define FLD(f) abuf->fields.sfmt_macl_compact.f
4506 const sh4_nofpu_scache* abuf = sem;
4507 const sh4_nofpu_idesc* idesc = abuf->idesc;
4511 in_usereg = FLD (in_rm);
4512 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
4516 in_usereg = FLD (in_rn);
4517 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
4520 cycles += model_u_exec_before (current_cpu, idesc, 2);
4523 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
4530 sh4_nofpu_sh4_nofpu_model::model_movw2_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4532 #define FLD(f) abuf->fields.sfmt_macl_compact.f
4533 const sh4_nofpu_scache* abuf = sem;
4534 const sh4_nofpu_idesc* idesc = abuf->idesc;
4538 unsigned long long insn_referenced = abuf->written;
4540 in_usereg = FLD (in_rm);
4541 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
4545 unsigned long long insn_referenced = abuf->written;
4547 in_usereg = FLD (in_rn);
4548 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
4552 unsigned long long insn_referenced = abuf->written;
4553 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
4557 unsigned long long insn_referenced = abuf->written;
4558 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
4565 sh4_nofpu_sh4_nofpu_model::model_movw3_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4567 #define FLD(f) abuf->fields.sfmt_movb3_compact.f
4568 const sh4_nofpu_scache* abuf = sem;
4569 const sh4_nofpu_idesc* idesc = abuf->idesc;
4573 in_usereg = FLD (in_rm);
4574 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
4578 in_usereg = FLD (in_rn);
4579 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
4583 in_usereg = FLD (in_r0);
4584 cycles += model_u_use_gr_before (current_cpu, idesc, 2, in_usereg);
4587 cycles += model_u_exec_before (current_cpu, idesc, 3);
4590 cycles += model_u_memory_access_before (current_cpu, idesc, 4);
4597 sh4_nofpu_sh4_nofpu_model::model_movw3_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4599 #define FLD(f) abuf->fields.sfmt_movb3_compact.f
4600 const sh4_nofpu_scache* abuf = sem;
4601 const sh4_nofpu_idesc* idesc = abuf->idesc;
4605 unsigned long long insn_referenced = abuf->written;
4607 in_usereg = FLD (in_rm);
4608 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
4612 unsigned long long insn_referenced = abuf->written;
4614 in_usereg = FLD (in_rn);
4615 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
4619 unsigned long long insn_referenced = abuf->written;
4621 in_usereg = FLD (in_r0);
4622 cycles += model_u_use_gr_after (current_cpu, idesc, 2, referenced, in_usereg);
4626 unsigned long long insn_referenced = abuf->written;
4627 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
4631 unsigned long long insn_referenced = abuf->written;
4632 cycles += model_u_memory_access_after (current_cpu, idesc, 4, referenced);
4639 sh4_nofpu_sh4_nofpu_model::model_movw4_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4641 #define FLD(f) abuf->fields.sfmt_movw4_compact.f
4642 const sh4_nofpu_scache* abuf = sem;
4643 const sh4_nofpu_idesc* idesc = abuf->idesc;
4647 in_usereg = FLD (in_r0);
4648 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
4651 cycles += model_u_exec_before (current_cpu, idesc, 1);
4654 cycles += model_u_sx_before (current_cpu, idesc, 2);
4657 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
4664 sh4_nofpu_sh4_nofpu_model::model_movw4_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4666 #define FLD(f) abuf->fields.sfmt_movw4_compact.f
4667 const sh4_nofpu_scache* abuf = sem;
4668 const sh4_nofpu_idesc* idesc = abuf->idesc;
4672 unsigned long long insn_referenced = abuf->written;
4674 in_usereg = FLD (in_r0);
4675 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
4679 unsigned long long insn_referenced = abuf->written;
4680 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
4684 unsigned long long insn_referenced = abuf->written;
4685 cycles += model_u_sx_after (current_cpu, idesc, 2, referenced);
4689 unsigned long long insn_referenced = abuf->written;
4690 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
4697 sh4_nofpu_sh4_nofpu_model::model_movw5_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4699 #define FLD(f) abuf->fields.sfmt_movw5_compact.f
4700 const sh4_nofpu_scache* abuf = sem;
4701 const sh4_nofpu_idesc* idesc = abuf->idesc;
4705 in_usereg = FLD (in_rm);
4706 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
4710 in_usereg = FLD (in_r0);
4711 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
4714 cycles += model_u_exec_before (current_cpu, idesc, 2);
4717 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
4724 sh4_nofpu_sh4_nofpu_model::model_movw5_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4726 #define FLD(f) abuf->fields.sfmt_movw5_compact.f
4727 const sh4_nofpu_scache* abuf = sem;
4728 const sh4_nofpu_idesc* idesc = abuf->idesc;
4732 unsigned long long insn_referenced = abuf->written;
4734 in_usereg = FLD (in_rm);
4735 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
4739 unsigned long long insn_referenced = abuf->written;
4741 in_usereg = FLD (in_r0);
4742 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
4746 unsigned long long insn_referenced = abuf->written;
4747 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
4751 unsigned long long insn_referenced = abuf->written;
4752 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
4759 sh4_nofpu_sh4_nofpu_model::model_movw6_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4761 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
4762 const sh4_nofpu_scache* abuf = sem;
4763 const sh4_nofpu_idesc* idesc = abuf->idesc;
4767 in_usereg = FLD (in_rm);
4768 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
4771 cycles += model_u_exec_before (current_cpu, idesc, 1);
4774 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
4777 INT out_loadreg = -1;
4778 out_loadreg = FLD (out_rn);
4779 cycles += model_u_load_gr_before (current_cpu, idesc, 3, out_loadreg);
4786 sh4_nofpu_sh4_nofpu_model::model_movw6_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4788 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
4789 const sh4_nofpu_scache* abuf = sem;
4790 const sh4_nofpu_idesc* idesc = abuf->idesc;
4794 unsigned long long insn_referenced = abuf->written;
4796 in_usereg = FLD (in_rm);
4797 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
4801 unsigned long long insn_referenced = abuf->written;
4802 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
4806 unsigned long long insn_referenced = abuf->written;
4807 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
4811 unsigned long long insn_referenced = abuf->written;
4812 INT out_loadreg = -1;
4813 out_loadreg = FLD (out_rn);
4814 cycles += model_u_load_gr_after (current_cpu, idesc, 3, referenced, out_loadreg);
4821 sh4_nofpu_sh4_nofpu_model::model_movw7_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4823 #define FLD(f) abuf->fields.sfmt_macl_compact.f
4824 const sh4_nofpu_scache* abuf = sem;
4825 const sh4_nofpu_idesc* idesc = abuf->idesc;
4829 in_usereg = FLD (in_rm);
4830 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
4833 cycles += model_u_exec_before (current_cpu, idesc, 1);
4836 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
4839 INT out_loadreg = -1;
4840 out_loadreg = FLD (out_rn);
4841 cycles += model_u_load_gr_before (current_cpu, idesc, 3, out_loadreg);
4848 sh4_nofpu_sh4_nofpu_model::model_movw7_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4850 #define FLD(f) abuf->fields.sfmt_macl_compact.f
4851 const sh4_nofpu_scache* abuf = sem;
4852 const sh4_nofpu_idesc* idesc = abuf->idesc;
4856 unsigned long long insn_referenced = abuf->written;
4858 in_usereg = FLD (in_rm);
4859 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
4863 unsigned long long insn_referenced = abuf->written;
4864 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
4868 unsigned long long insn_referenced = abuf->written;
4869 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
4873 unsigned long long insn_referenced = abuf->written;
4874 INT out_loadreg = -1;
4875 out_loadreg = FLD (out_rn);
4876 cycles += model_u_load_gr_after (current_cpu, idesc, 3, referenced, out_loadreg);
4883 sh4_nofpu_sh4_nofpu_model::model_movw8_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4885 #define FLD(f) abuf->fields.sfmt_movb8_compact.f
4886 const sh4_nofpu_scache* abuf = sem;
4887 const sh4_nofpu_idesc* idesc = abuf->idesc;
4891 in_usereg = FLD (in_rm);
4892 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
4896 in_usereg = FLD (in_r0);
4897 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
4900 cycles += model_u_exec_before (current_cpu, idesc, 2);
4903 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
4906 INT out_loadreg = -1;
4907 out_loadreg = FLD (out_rn);
4908 cycles += model_u_load_gr_before (current_cpu, idesc, 4, out_loadreg);
4915 sh4_nofpu_sh4_nofpu_model::model_movw8_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4917 #define FLD(f) abuf->fields.sfmt_movb8_compact.f
4918 const sh4_nofpu_scache* abuf = sem;
4919 const sh4_nofpu_idesc* idesc = abuf->idesc;
4923 unsigned long long insn_referenced = abuf->written;
4925 in_usereg = FLD (in_rm);
4926 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
4930 unsigned long long insn_referenced = abuf->written;
4932 in_usereg = FLD (in_r0);
4933 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
4937 unsigned long long insn_referenced = abuf->written;
4938 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
4942 unsigned long long insn_referenced = abuf->written;
4943 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
4947 unsigned long long insn_referenced = abuf->written;
4948 INT out_loadreg = -1;
4949 out_loadreg = FLD (out_rn);
4950 cycles += model_u_load_gr_after (current_cpu, idesc, 4, referenced, out_loadreg);
4957 sh4_nofpu_sh4_nofpu_model::model_movw9_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4959 #define FLD(f) abuf->fields.sfmt_movw9_compact.f
4960 const sh4_nofpu_scache* abuf = sem;
4961 const sh4_nofpu_idesc* idesc = abuf->idesc;
4964 cycles += model_u_exec_before (current_cpu, idesc, 0);
4967 cycles += model_u_memory_access_before (current_cpu, idesc, 1);
4970 INT out_loadreg = -1;
4971 out_loadreg = FLD (out_r0);
4972 cycles += model_u_load_gr_before (current_cpu, idesc, 2, out_loadreg);
4979 sh4_nofpu_sh4_nofpu_model::model_movw9_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
4981 #define FLD(f) abuf->fields.sfmt_movw9_compact.f
4982 const sh4_nofpu_scache* abuf = sem;
4983 const sh4_nofpu_idesc* idesc = abuf->idesc;
4987 unsigned long long insn_referenced = abuf->written;
4988 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
4992 unsigned long long insn_referenced = abuf->written;
4993 cycles += model_u_memory_access_after (current_cpu, idesc, 1, referenced);
4997 unsigned long long insn_referenced = abuf->written;
4998 INT out_loadreg = -1;
4999 out_loadreg = FLD (out_r0);
5000 cycles += model_u_load_gr_after (current_cpu, idesc, 2, referenced, out_loadreg);
5007 sh4_nofpu_sh4_nofpu_model::model_movw10_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5009 #define FLD(f) abuf->fields.sfmt_movw10_compact.f
5010 const sh4_nofpu_scache* abuf = sem;
5011 const sh4_nofpu_idesc* idesc = abuf->idesc;
5014 cycles += model_u_exec_before (current_cpu, idesc, 0);
5017 cycles += model_u_memory_access_before (current_cpu, idesc, 1);
5020 INT out_loadreg = -1;
5021 out_loadreg = FLD (out_rn);
5022 cycles += model_u_load_gr_before (current_cpu, idesc, 2, out_loadreg);
5029 sh4_nofpu_sh4_nofpu_model::model_movw10_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5031 #define FLD(f) abuf->fields.sfmt_movw10_compact.f
5032 const sh4_nofpu_scache* abuf = sem;
5033 const sh4_nofpu_idesc* idesc = abuf->idesc;
5037 unsigned long long insn_referenced = abuf->written;
5038 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
5042 unsigned long long insn_referenced = abuf->written;
5043 cycles += model_u_memory_access_after (current_cpu, idesc, 1, referenced);
5047 unsigned long long insn_referenced = abuf->written;
5048 INT out_loadreg = -1;
5049 out_loadreg = FLD (out_rn);
5050 cycles += model_u_load_gr_after (current_cpu, idesc, 2, referenced, out_loadreg);
5057 sh4_nofpu_sh4_nofpu_model::model_movw11_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5059 #define FLD(f) abuf->fields.sfmt_movw11_compact.f
5060 const sh4_nofpu_scache* abuf = sem;
5061 const sh4_nofpu_idesc* idesc = abuf->idesc;
5065 in_usereg = FLD (in_rm);
5066 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5069 cycles += model_u_exec_before (current_cpu, idesc, 1);
5072 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
5075 INT out_loadreg = -1;
5076 out_loadreg = FLD (out_r0);
5077 cycles += model_u_load_gr_before (current_cpu, idesc, 3, out_loadreg);
5084 sh4_nofpu_sh4_nofpu_model::model_movw11_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5086 #define FLD(f) abuf->fields.sfmt_movw11_compact.f
5087 const sh4_nofpu_scache* abuf = sem;
5088 const sh4_nofpu_idesc* idesc = abuf->idesc;
5092 unsigned long long insn_referenced = abuf->written;
5094 in_usereg = FLD (in_rm);
5095 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5099 unsigned long long insn_referenced = abuf->written;
5100 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
5104 unsigned long long insn_referenced = abuf->written;
5105 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
5109 unsigned long long insn_referenced = abuf->written;
5110 INT out_loadreg = -1;
5111 out_loadreg = FLD (out_r0);
5112 cycles += model_u_load_gr_after (current_cpu, idesc, 3, referenced, out_loadreg);
5119 sh4_nofpu_sh4_nofpu_model::model_mova_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5121 #define FLD(f) abuf->fields.sfmt_movl9_compact.f
5122 const sh4_nofpu_scache* abuf = sem;
5123 const sh4_nofpu_idesc* idesc = abuf->idesc;
5126 cycles += model_u_exec_before (current_cpu, idesc, 0);
5133 sh4_nofpu_sh4_nofpu_model::model_mova_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5135 #define FLD(f) abuf->fields.sfmt_movl9_compact.f
5136 const sh4_nofpu_scache* abuf = sem;
5137 const sh4_nofpu_idesc* idesc = abuf->idesc;
5141 unsigned long long insn_referenced = abuf->written;
5142 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
5149 sh4_nofpu_sh4_nofpu_model::model_movcal_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5151 #define FLD(f) abuf->fields.sfmt_divu_compact.f
5152 const sh4_nofpu_scache* abuf = sem;
5153 const sh4_nofpu_idesc* idesc = abuf->idesc;
5157 in_usereg = FLD (in_rn);
5158 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5161 cycles += model_u_ocb_before (current_cpu, idesc, 1);
5168 sh4_nofpu_sh4_nofpu_model::model_movcal_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5170 #define FLD(f) abuf->fields.sfmt_divu_compact.f
5171 const sh4_nofpu_scache* abuf = sem;
5172 const sh4_nofpu_idesc* idesc = abuf->idesc;
5176 unsigned long long insn_referenced = abuf->written;
5178 in_usereg = FLD (in_rn);
5179 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5183 unsigned long long insn_referenced = abuf->written;
5184 cycles += model_u_ocb_after (current_cpu, idesc, 1, referenced);
5191 sh4_nofpu_sh4_nofpu_model::model_movt_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5193 #define FLD(f) abuf->fields.sfmt_movw10_compact.f
5194 const sh4_nofpu_scache* abuf = sem;
5195 const sh4_nofpu_idesc* idesc = abuf->idesc;
5198 cycles += model_u_use_tbit_before (current_cpu, idesc, 0);
5201 cycles += model_u_exec_before (current_cpu, idesc, 1);
5208 sh4_nofpu_sh4_nofpu_model::model_movt_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5210 #define FLD(f) abuf->fields.sfmt_movw10_compact.f
5211 const sh4_nofpu_scache* abuf = sem;
5212 const sh4_nofpu_idesc* idesc = abuf->idesc;
5216 unsigned long long insn_referenced = abuf->written;
5217 cycles += model_u_use_tbit_after (current_cpu, idesc, 0, referenced);
5221 unsigned long long insn_referenced = abuf->written;
5222 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
5229 sh4_nofpu_sh4_nofpu_model::model_mull_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5231 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
5232 const sh4_nofpu_scache* abuf = sem;
5233 const sh4_nofpu_idesc* idesc = abuf->idesc;
5237 in_usereg = FLD (in_rn);
5238 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5242 in_usereg = FLD (in_rm);
5243 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
5246 cycles += model_u_mull_before (current_cpu, idesc, 2);
5253 sh4_nofpu_sh4_nofpu_model::model_mull_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5255 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
5256 const sh4_nofpu_scache* abuf = sem;
5257 const sh4_nofpu_idesc* idesc = abuf->idesc;
5261 unsigned long long insn_referenced = abuf->written;
5263 in_usereg = FLD (in_rn);
5264 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5268 unsigned long long insn_referenced = abuf->written;
5270 in_usereg = FLD (in_rm);
5271 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
5275 unsigned long long insn_referenced = abuf->written;
5276 cycles += model_u_mull_after (current_cpu, idesc, 2, referenced);
5283 sh4_nofpu_sh4_nofpu_model::model_mulsw_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5285 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
5286 const sh4_nofpu_scache* abuf = sem;
5287 const sh4_nofpu_idesc* idesc = abuf->idesc;
5291 in_usereg = FLD (in_rn);
5292 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5296 in_usereg = FLD (in_rm);
5297 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
5300 cycles += model_u_mulsw_before (current_cpu, idesc, 2);
5303 cycles += model_u_multiply_before (current_cpu, idesc, 3);
5310 sh4_nofpu_sh4_nofpu_model::model_mulsw_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5312 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
5313 const sh4_nofpu_scache* abuf = sem;
5314 const sh4_nofpu_idesc* idesc = abuf->idesc;
5318 unsigned long long insn_referenced = abuf->written;
5320 in_usereg = FLD (in_rn);
5321 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5325 unsigned long long insn_referenced = abuf->written;
5327 in_usereg = FLD (in_rm);
5328 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
5332 unsigned long long insn_referenced = abuf->written;
5333 cycles += model_u_mulsw_after (current_cpu, idesc, 2, referenced);
5337 unsigned long long insn_referenced = abuf->written;
5338 cycles += model_u_multiply_after (current_cpu, idesc, 3, referenced);
5345 sh4_nofpu_sh4_nofpu_model::model_muluw_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5347 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
5348 const sh4_nofpu_scache* abuf = sem;
5349 const sh4_nofpu_idesc* idesc = abuf->idesc;
5353 in_usereg = FLD (in_rn);
5354 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5358 in_usereg = FLD (in_rm);
5359 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
5362 cycles += model_u_mulsw_before (current_cpu, idesc, 2);
5365 cycles += model_u_multiply_before (current_cpu, idesc, 3);
5372 sh4_nofpu_sh4_nofpu_model::model_muluw_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5374 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
5375 const sh4_nofpu_scache* abuf = sem;
5376 const sh4_nofpu_idesc* idesc = abuf->idesc;
5380 unsigned long long insn_referenced = abuf->written;
5382 in_usereg = FLD (in_rn);
5383 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5387 unsigned long long insn_referenced = abuf->written;
5389 in_usereg = FLD (in_rm);
5390 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
5394 unsigned long long insn_referenced = abuf->written;
5395 cycles += model_u_mulsw_after (current_cpu, idesc, 2, referenced);
5399 unsigned long long insn_referenced = abuf->written;
5400 cycles += model_u_multiply_after (current_cpu, idesc, 3, referenced);
5407 sh4_nofpu_sh4_nofpu_model::model_neg_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5409 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
5410 const sh4_nofpu_scache* abuf = sem;
5411 const sh4_nofpu_idesc* idesc = abuf->idesc;
5415 in_usereg = FLD (in_rm);
5416 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5419 cycles += model_u_exec_before (current_cpu, idesc, 1);
5426 sh4_nofpu_sh4_nofpu_model::model_neg_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5428 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
5429 const sh4_nofpu_scache* abuf = sem;
5430 const sh4_nofpu_idesc* idesc = abuf->idesc;
5434 unsigned long long insn_referenced = abuf->written;
5436 in_usereg = FLD (in_rm);
5437 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5441 unsigned long long insn_referenced = abuf->written;
5442 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
5449 sh4_nofpu_sh4_nofpu_model::model_negc_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5451 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
5452 const sh4_nofpu_scache* abuf = sem;
5453 const sh4_nofpu_idesc* idesc = abuf->idesc;
5457 in_usereg = FLD (in_rm);
5458 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5461 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
5464 cycles += model_u_exec_before (current_cpu, idesc, 2);
5467 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 3);
5474 sh4_nofpu_sh4_nofpu_model::model_negc_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5476 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
5477 const sh4_nofpu_scache* abuf = sem;
5478 const sh4_nofpu_idesc* idesc = abuf->idesc;
5482 unsigned long long insn_referenced = abuf->written;
5484 in_usereg = FLD (in_rm);
5485 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5489 unsigned long long insn_referenced = abuf->written;
5490 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
5494 unsigned long long insn_referenced = abuf->written;
5495 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
5499 unsigned long long insn_referenced = abuf->written;
5500 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 3, referenced);
5507 sh4_nofpu_sh4_nofpu_model::model_nop_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5509 #define FLD(f) abuf->fields.fmt_empty.f
5510 const sh4_nofpu_scache* abuf = sem;
5511 const sh4_nofpu_idesc* idesc = abuf->idesc;
5514 cycles += model_u_exec_before (current_cpu, idesc, 0);
5521 sh4_nofpu_sh4_nofpu_model::model_nop_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5523 #define FLD(f) abuf->fields.fmt_empty.f
5524 const sh4_nofpu_scache* abuf = sem;
5525 const sh4_nofpu_idesc* idesc = abuf->idesc;
5529 unsigned long long insn_referenced = abuf->written;
5530 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
5537 sh4_nofpu_sh4_nofpu_model::model_not_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5539 #define FLD(f) abuf->fields.sfmt_and_compact.f
5540 const sh4_nofpu_scache* abuf = sem;
5541 const sh4_nofpu_idesc* idesc = abuf->idesc;
5545 in_usereg = FLD (in_rm64);
5546 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5549 cycles += model_u_exec_before (current_cpu, idesc, 1);
5556 sh4_nofpu_sh4_nofpu_model::model_not_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5558 #define FLD(f) abuf->fields.sfmt_and_compact.f
5559 const sh4_nofpu_scache* abuf = sem;
5560 const sh4_nofpu_idesc* idesc = abuf->idesc;
5564 unsigned long long insn_referenced = abuf->written;
5566 in_usereg = FLD (in_rm64);
5567 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5571 unsigned long long insn_referenced = abuf->written;
5572 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
5579 sh4_nofpu_sh4_nofpu_model::model_ocbi_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5581 #define FLD(f) abuf->fields.sfmt_divu_compact.f
5582 const sh4_nofpu_scache* abuf = sem;
5583 const sh4_nofpu_idesc* idesc = abuf->idesc;
5587 in_usereg = FLD (in_rn);
5588 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5591 cycles += model_u_ocb_before (current_cpu, idesc, 1);
5598 sh4_nofpu_sh4_nofpu_model::model_ocbi_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5600 #define FLD(f) abuf->fields.sfmt_divu_compact.f
5601 const sh4_nofpu_scache* abuf = sem;
5602 const sh4_nofpu_idesc* idesc = abuf->idesc;
5606 unsigned long long insn_referenced = abuf->written;
5608 in_usereg = FLD (in_rn);
5609 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5613 unsigned long long insn_referenced = abuf->written;
5614 cycles += model_u_ocb_after (current_cpu, idesc, 1, referenced);
5621 sh4_nofpu_sh4_nofpu_model::model_ocbp_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5623 #define FLD(f) abuf->fields.sfmt_divu_compact.f
5624 const sh4_nofpu_scache* abuf = sem;
5625 const sh4_nofpu_idesc* idesc = abuf->idesc;
5629 in_usereg = FLD (in_rn);
5630 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5633 cycles += model_u_ocb_before (current_cpu, idesc, 1);
5640 sh4_nofpu_sh4_nofpu_model::model_ocbp_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5642 #define FLD(f) abuf->fields.sfmt_divu_compact.f
5643 const sh4_nofpu_scache* abuf = sem;
5644 const sh4_nofpu_idesc* idesc = abuf->idesc;
5648 unsigned long long insn_referenced = abuf->written;
5650 in_usereg = FLD (in_rn);
5651 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5655 unsigned long long insn_referenced = abuf->written;
5656 cycles += model_u_ocb_after (current_cpu, idesc, 1, referenced);
5663 sh4_nofpu_sh4_nofpu_model::model_ocbwb_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5665 #define FLD(f) abuf->fields.sfmt_divu_compact.f
5666 const sh4_nofpu_scache* abuf = sem;
5667 const sh4_nofpu_idesc* idesc = abuf->idesc;
5671 in_usereg = FLD (in_rn);
5672 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5675 cycles += model_u_ocb_before (current_cpu, idesc, 1);
5682 sh4_nofpu_sh4_nofpu_model::model_ocbwb_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5684 #define FLD(f) abuf->fields.sfmt_divu_compact.f
5685 const sh4_nofpu_scache* abuf = sem;
5686 const sh4_nofpu_idesc* idesc = abuf->idesc;
5690 unsigned long long insn_referenced = abuf->written;
5692 in_usereg = FLD (in_rn);
5693 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5697 unsigned long long insn_referenced = abuf->written;
5698 cycles += model_u_ocb_after (current_cpu, idesc, 1, referenced);
5705 sh4_nofpu_sh4_nofpu_model::model_or_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5707 #define FLD(f) abuf->fields.sfmt_and_compact.f
5708 const sh4_nofpu_scache* abuf = sem;
5709 const sh4_nofpu_idesc* idesc = abuf->idesc;
5713 in_usereg = FLD (in_rm64);
5714 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5718 in_usereg = FLD (in_rn64);
5719 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
5722 cycles += model_u_exec_before (current_cpu, idesc, 2);
5729 sh4_nofpu_sh4_nofpu_model::model_or_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5731 #define FLD(f) abuf->fields.sfmt_and_compact.f
5732 const sh4_nofpu_scache* abuf = sem;
5733 const sh4_nofpu_idesc* idesc = abuf->idesc;
5737 unsigned long long insn_referenced = abuf->written;
5739 in_usereg = FLD (in_rm64);
5740 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5744 unsigned long long insn_referenced = abuf->written;
5746 in_usereg = FLD (in_rn64);
5747 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
5751 unsigned long long insn_referenced = abuf->written;
5752 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
5759 sh4_nofpu_sh4_nofpu_model::model_ori_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5761 #define FLD(f) abuf->fields.sfmt_andi_compact.f
5762 const sh4_nofpu_scache* abuf = sem;
5763 const sh4_nofpu_idesc* idesc = abuf->idesc;
5767 in_usereg = FLD (in_r0);
5768 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5771 cycles += model_u_exec_before (current_cpu, idesc, 1);
5778 sh4_nofpu_sh4_nofpu_model::model_ori_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5780 #define FLD(f) abuf->fields.sfmt_andi_compact.f
5781 const sh4_nofpu_scache* abuf = sem;
5782 const sh4_nofpu_idesc* idesc = abuf->idesc;
5786 unsigned long long insn_referenced = abuf->written;
5788 in_usereg = FLD (in_r0);
5789 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5793 unsigned long long insn_referenced = abuf->written;
5794 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
5801 sh4_nofpu_sh4_nofpu_model::model_orb_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5803 #define FLD(f) abuf->fields.sfmt_andi_compact.f
5804 const sh4_nofpu_scache* abuf = sem;
5805 const sh4_nofpu_idesc* idesc = abuf->idesc;
5809 in_usereg = FLD (in_r0);
5810 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5813 cycles += model_u_logic_b_before (current_cpu, idesc, 1);
5816 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
5823 sh4_nofpu_sh4_nofpu_model::model_orb_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5825 #define FLD(f) abuf->fields.sfmt_andi_compact.f
5826 const sh4_nofpu_scache* abuf = sem;
5827 const sh4_nofpu_idesc* idesc = abuf->idesc;
5831 unsigned long long insn_referenced = abuf->written;
5833 in_usereg = FLD (in_r0);
5834 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5838 unsigned long long insn_referenced = abuf->written;
5839 cycles += model_u_logic_b_after (current_cpu, idesc, 1, referenced);
5843 unsigned long long insn_referenced = abuf->written;
5844 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
5851 sh4_nofpu_sh4_nofpu_model::model_pref_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5853 #define FLD(f) abuf->fields.sfmt_divu_compact.f
5854 const sh4_nofpu_scache* abuf = sem;
5855 const sh4_nofpu_idesc* idesc = abuf->idesc;
5859 in_usereg = FLD (in_rn);
5860 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5863 cycles += model_u_exec_before (current_cpu, idesc, 1);
5866 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
5873 sh4_nofpu_sh4_nofpu_model::model_pref_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5875 #define FLD(f) abuf->fields.sfmt_divu_compact.f
5876 const sh4_nofpu_scache* abuf = sem;
5877 const sh4_nofpu_idesc* idesc = abuf->idesc;
5881 unsigned long long insn_referenced = abuf->written;
5883 in_usereg = FLD (in_rn);
5884 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5888 unsigned long long insn_referenced = abuf->written;
5889 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
5893 unsigned long long insn_referenced = abuf->written;
5894 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
5901 sh4_nofpu_sh4_nofpu_model::model_rotcl_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5903 #define FLD(f) abuf->fields.sfmt_divu_compact.f
5904 const sh4_nofpu_scache* abuf = sem;
5905 const sh4_nofpu_idesc* idesc = abuf->idesc;
5909 in_usereg = FLD (in_rn);
5910 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5913 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
5916 cycles += model_u_exec_before (current_cpu, idesc, 2);
5919 cycles += model_u_shift_before (current_cpu, idesc, 3);
5922 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
5929 sh4_nofpu_sh4_nofpu_model::model_rotcl_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5931 #define FLD(f) abuf->fields.sfmt_divu_compact.f
5932 const sh4_nofpu_scache* abuf = sem;
5933 const sh4_nofpu_idesc* idesc = abuf->idesc;
5937 unsigned long long insn_referenced = abuf->written;
5939 in_usereg = FLD (in_rn);
5940 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
5944 unsigned long long insn_referenced = abuf->written;
5945 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
5949 unsigned long long insn_referenced = abuf->written;
5950 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
5954 unsigned long long insn_referenced = abuf->written;
5955 cycles += model_u_shift_after (current_cpu, idesc, 3, referenced);
5959 unsigned long long insn_referenced = abuf->written;
5960 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
5967 sh4_nofpu_sh4_nofpu_model::model_rotcr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5969 #define FLD(f) abuf->fields.sfmt_divu_compact.f
5970 const sh4_nofpu_scache* abuf = sem;
5971 const sh4_nofpu_idesc* idesc = abuf->idesc;
5975 in_usereg = FLD (in_rn);
5976 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
5979 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
5982 cycles += model_u_exec_before (current_cpu, idesc, 2);
5985 cycles += model_u_shift_before (current_cpu, idesc, 3);
5988 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
5995 sh4_nofpu_sh4_nofpu_model::model_rotcr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
5997 #define FLD(f) abuf->fields.sfmt_divu_compact.f
5998 const sh4_nofpu_scache* abuf = sem;
5999 const sh4_nofpu_idesc* idesc = abuf->idesc;
6003 unsigned long long insn_referenced = abuf->written;
6005 in_usereg = FLD (in_rn);
6006 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
6010 unsigned long long insn_referenced = abuf->written;
6011 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
6015 unsigned long long insn_referenced = abuf->written;
6016 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
6020 unsigned long long insn_referenced = abuf->written;
6021 cycles += model_u_shift_after (current_cpu, idesc, 3, referenced);
6025 unsigned long long insn_referenced = abuf->written;
6026 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
6033 sh4_nofpu_sh4_nofpu_model::model_rotl_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6035 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6036 const sh4_nofpu_scache* abuf = sem;
6037 const sh4_nofpu_idesc* idesc = abuf->idesc;
6041 in_usereg = FLD (in_rn);
6042 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
6045 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
6048 cycles += model_u_exec_before (current_cpu, idesc, 2);
6051 cycles += model_u_shift_before (current_cpu, idesc, 3);
6054 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
6061 sh4_nofpu_sh4_nofpu_model::model_rotl_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6063 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6064 const sh4_nofpu_scache* abuf = sem;
6065 const sh4_nofpu_idesc* idesc = abuf->idesc;
6069 unsigned long long insn_referenced = abuf->written;
6071 in_usereg = FLD (in_rn);
6072 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
6076 unsigned long long insn_referenced = abuf->written;
6077 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
6081 unsigned long long insn_referenced = abuf->written;
6082 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
6086 unsigned long long insn_referenced = abuf->written;
6087 cycles += model_u_shift_after (current_cpu, idesc, 3, referenced);
6091 unsigned long long insn_referenced = abuf->written;
6092 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
6099 sh4_nofpu_sh4_nofpu_model::model_rotr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6101 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6102 const sh4_nofpu_scache* abuf = sem;
6103 const sh4_nofpu_idesc* idesc = abuf->idesc;
6107 in_usereg = FLD (in_rn);
6108 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
6111 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
6114 cycles += model_u_exec_before (current_cpu, idesc, 2);
6117 cycles += model_u_shift_before (current_cpu, idesc, 3);
6120 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
6127 sh4_nofpu_sh4_nofpu_model::model_rotr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6129 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6130 const sh4_nofpu_scache* abuf = sem;
6131 const sh4_nofpu_idesc* idesc = abuf->idesc;
6135 unsigned long long insn_referenced = abuf->written;
6137 in_usereg = FLD (in_rn);
6138 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
6142 unsigned long long insn_referenced = abuf->written;
6143 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
6147 unsigned long long insn_referenced = abuf->written;
6148 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
6152 unsigned long long insn_referenced = abuf->written;
6153 cycles += model_u_shift_after (current_cpu, idesc, 3, referenced);
6157 unsigned long long insn_referenced = abuf->written;
6158 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
6165 sh4_nofpu_sh4_nofpu_model::model_rts_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6167 #define FLD(f) abuf->fields.fmt_empty.f
6168 const sh4_nofpu_scache* abuf = sem;
6169 const sh4_nofpu_idesc* idesc = abuf->idesc;
6172 cycles += model_u_jmp_before (current_cpu, idesc, 0);
6179 sh4_nofpu_sh4_nofpu_model::model_rts_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6181 #define FLD(f) abuf->fields.fmt_empty.f
6182 const sh4_nofpu_scache* abuf = sem;
6183 const sh4_nofpu_idesc* idesc = abuf->idesc;
6187 unsigned long long insn_referenced = abuf->written;
6188 referenced |= 1 << 0;
6189 cycles += model_u_jmp_after (current_cpu, idesc, 0, referenced);
6196 sh4_nofpu_sh4_nofpu_model::model_sets_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6198 #define FLD(f) abuf->fields.fmt_empty.f
6199 const sh4_nofpu_scache* abuf = sem;
6200 const sh4_nofpu_idesc* idesc = abuf->idesc;
6203 cycles += model_u_exec_before (current_cpu, idesc, 0);
6206 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 1);
6213 sh4_nofpu_sh4_nofpu_model::model_sets_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6215 #define FLD(f) abuf->fields.fmt_empty.f
6216 const sh4_nofpu_scache* abuf = sem;
6217 const sh4_nofpu_idesc* idesc = abuf->idesc;
6221 unsigned long long insn_referenced = abuf->written;
6222 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
6226 unsigned long long insn_referenced = abuf->written;
6227 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 1, referenced);
6234 sh4_nofpu_sh4_nofpu_model::model_sett_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6236 #define FLD(f) abuf->fields.fmt_empty.f
6237 const sh4_nofpu_scache* abuf = sem;
6238 const sh4_nofpu_idesc* idesc = abuf->idesc;
6241 cycles += model_u_exec_before (current_cpu, idesc, 0);
6244 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
6247 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 2);
6254 sh4_nofpu_sh4_nofpu_model::model_sett_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6256 #define FLD(f) abuf->fields.fmt_empty.f
6257 const sh4_nofpu_scache* abuf = sem;
6258 const sh4_nofpu_idesc* idesc = abuf->idesc;
6262 unsigned long long insn_referenced = abuf->written;
6263 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
6267 unsigned long long insn_referenced = abuf->written;
6268 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
6272 unsigned long long insn_referenced = abuf->written;
6273 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 2, referenced);
6280 sh4_nofpu_sh4_nofpu_model::model_shad_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6282 #define FLD(f) abuf->fields.sfmt_macl_compact.f
6283 const sh4_nofpu_scache* abuf = sem;
6284 const sh4_nofpu_idesc* idesc = abuf->idesc;
6288 in_usereg = FLD (in_rn);
6289 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
6293 in_usereg = FLD (in_rm);
6294 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
6297 cycles += model_u_exec_before (current_cpu, idesc, 2);
6300 cycles += model_u_shift_before (current_cpu, idesc, 3);
6307 sh4_nofpu_sh4_nofpu_model::model_shad_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6309 #define FLD(f) abuf->fields.sfmt_macl_compact.f
6310 const sh4_nofpu_scache* abuf = sem;
6311 const sh4_nofpu_idesc* idesc = abuf->idesc;
6315 unsigned long long insn_referenced = abuf->written;
6317 in_usereg = FLD (in_rn);
6318 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
6322 unsigned long long insn_referenced = abuf->written;
6324 in_usereg = FLD (in_rm);
6325 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
6329 unsigned long long insn_referenced = abuf->written;
6330 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
6334 unsigned long long insn_referenced = abuf->written;
6335 cycles += model_u_shift_after (current_cpu, idesc, 3, referenced);
6342 sh4_nofpu_sh4_nofpu_model::model_shal_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6344 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6345 const sh4_nofpu_scache* abuf = sem;
6346 const sh4_nofpu_idesc* idesc = abuf->idesc;
6350 in_usereg = FLD (in_rn);
6351 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
6354 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
6357 cycles += model_u_exec_before (current_cpu, idesc, 2);
6360 cycles += model_u_shift_before (current_cpu, idesc, 3);
6363 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
6370 sh4_nofpu_sh4_nofpu_model::model_shal_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6372 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6373 const sh4_nofpu_scache* abuf = sem;
6374 const sh4_nofpu_idesc* idesc = abuf->idesc;
6378 unsigned long long insn_referenced = abuf->written;
6380 in_usereg = FLD (in_rn);
6381 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
6385 unsigned long long insn_referenced = abuf->written;
6386 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
6390 unsigned long long insn_referenced = abuf->written;
6391 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
6395 unsigned long long insn_referenced = abuf->written;
6396 cycles += model_u_shift_after (current_cpu, idesc, 3, referenced);
6400 unsigned long long insn_referenced = abuf->written;
6401 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
6408 sh4_nofpu_sh4_nofpu_model::model_shar_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6410 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6411 const sh4_nofpu_scache* abuf = sem;
6412 const sh4_nofpu_idesc* idesc = abuf->idesc;
6416 in_usereg = FLD (in_rn);
6417 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
6420 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
6423 cycles += model_u_exec_before (current_cpu, idesc, 2);
6426 cycles += model_u_shift_before (current_cpu, idesc, 3);
6429 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
6436 sh4_nofpu_sh4_nofpu_model::model_shar_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6438 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6439 const sh4_nofpu_scache* abuf = sem;
6440 const sh4_nofpu_idesc* idesc = abuf->idesc;
6444 unsigned long long insn_referenced = abuf->written;
6446 in_usereg = FLD (in_rn);
6447 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
6451 unsigned long long insn_referenced = abuf->written;
6452 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
6456 unsigned long long insn_referenced = abuf->written;
6457 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
6461 unsigned long long insn_referenced = abuf->written;
6462 cycles += model_u_shift_after (current_cpu, idesc, 3, referenced);
6466 unsigned long long insn_referenced = abuf->written;
6467 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
6474 sh4_nofpu_sh4_nofpu_model::model_shld_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6476 #define FLD(f) abuf->fields.sfmt_macl_compact.f
6477 const sh4_nofpu_scache* abuf = sem;
6478 const sh4_nofpu_idesc* idesc = abuf->idesc;
6482 in_usereg = FLD (in_rn);
6483 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
6486 cycles += model_u_exec_before (current_cpu, idesc, 1);
6489 cycles += model_u_shift_before (current_cpu, idesc, 2);
6496 sh4_nofpu_sh4_nofpu_model::model_shld_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6498 #define FLD(f) abuf->fields.sfmt_macl_compact.f
6499 const sh4_nofpu_scache* abuf = sem;
6500 const sh4_nofpu_idesc* idesc = abuf->idesc;
6504 unsigned long long insn_referenced = abuf->written;
6506 in_usereg = FLD (in_rn);
6507 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
6511 unsigned long long insn_referenced = abuf->written;
6512 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
6516 unsigned long long insn_referenced = abuf->written;
6517 cycles += model_u_shift_after (current_cpu, idesc, 2, referenced);
6524 sh4_nofpu_sh4_nofpu_model::model_shll_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6526 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6527 const sh4_nofpu_scache* abuf = sem;
6528 const sh4_nofpu_idesc* idesc = abuf->idesc;
6532 in_usereg = FLD (in_rn);
6533 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
6536 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
6539 cycles += model_u_exec_before (current_cpu, idesc, 2);
6542 cycles += model_u_shift_before (current_cpu, idesc, 3);
6545 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
6552 sh4_nofpu_sh4_nofpu_model::model_shll_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6554 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6555 const sh4_nofpu_scache* abuf = sem;
6556 const sh4_nofpu_idesc* idesc = abuf->idesc;
6560 unsigned long long insn_referenced = abuf->written;
6562 in_usereg = FLD (in_rn);
6563 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
6567 unsigned long long insn_referenced = abuf->written;
6568 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
6572 unsigned long long insn_referenced = abuf->written;
6573 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
6577 unsigned long long insn_referenced = abuf->written;
6578 cycles += model_u_shift_after (current_cpu, idesc, 3, referenced);
6582 unsigned long long insn_referenced = abuf->written;
6583 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
6590 sh4_nofpu_sh4_nofpu_model::model_shll2_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6592 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6593 const sh4_nofpu_scache* abuf = sem;
6594 const sh4_nofpu_idesc* idesc = abuf->idesc;
6598 in_usereg = FLD (in_rn);
6599 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
6602 cycles += model_u_exec_before (current_cpu, idesc, 1);
6605 cycles += model_u_shift_before (current_cpu, idesc, 2);
6612 sh4_nofpu_sh4_nofpu_model::model_shll2_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6614 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6615 const sh4_nofpu_scache* abuf = sem;
6616 const sh4_nofpu_idesc* idesc = abuf->idesc;
6620 unsigned long long insn_referenced = abuf->written;
6622 in_usereg = FLD (in_rn);
6623 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
6627 unsigned long long insn_referenced = abuf->written;
6628 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
6632 unsigned long long insn_referenced = abuf->written;
6633 cycles += model_u_shift_after (current_cpu, idesc, 2, referenced);
6640 sh4_nofpu_sh4_nofpu_model::model_shll8_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6642 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6643 const sh4_nofpu_scache* abuf = sem;
6644 const sh4_nofpu_idesc* idesc = abuf->idesc;
6648 in_usereg = FLD (in_rn);
6649 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
6652 cycles += model_u_exec_before (current_cpu, idesc, 1);
6655 cycles += model_u_shift_before (current_cpu, idesc, 2);
6662 sh4_nofpu_sh4_nofpu_model::model_shll8_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6664 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6665 const sh4_nofpu_scache* abuf = sem;
6666 const sh4_nofpu_idesc* idesc = abuf->idesc;
6670 unsigned long long insn_referenced = abuf->written;
6672 in_usereg = FLD (in_rn);
6673 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
6677 unsigned long long insn_referenced = abuf->written;
6678 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
6682 unsigned long long insn_referenced = abuf->written;
6683 cycles += model_u_shift_after (current_cpu, idesc, 2, referenced);
6690 sh4_nofpu_sh4_nofpu_model::model_shll16_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6692 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6693 const sh4_nofpu_scache* abuf = sem;
6694 const sh4_nofpu_idesc* idesc = abuf->idesc;
6698 in_usereg = FLD (in_rn);
6699 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
6702 cycles += model_u_exec_before (current_cpu, idesc, 1);
6705 cycles += model_u_shift_before (current_cpu, idesc, 2);
6712 sh4_nofpu_sh4_nofpu_model::model_shll16_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6714 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6715 const sh4_nofpu_scache* abuf = sem;
6716 const sh4_nofpu_idesc* idesc = abuf->idesc;
6720 unsigned long long insn_referenced = abuf->written;
6722 in_usereg = FLD (in_rn);
6723 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
6727 unsigned long long insn_referenced = abuf->written;
6728 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
6732 unsigned long long insn_referenced = abuf->written;
6733 cycles += model_u_shift_after (current_cpu, idesc, 2, referenced);
6740 sh4_nofpu_sh4_nofpu_model::model_shlr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6742 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6743 const sh4_nofpu_scache* abuf = sem;
6744 const sh4_nofpu_idesc* idesc = abuf->idesc;
6748 in_usereg = FLD (in_rn);
6749 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
6752 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
6755 cycles += model_u_exec_before (current_cpu, idesc, 2);
6758 cycles += model_u_shift_before (current_cpu, idesc, 3);
6761 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
6768 sh4_nofpu_sh4_nofpu_model::model_shlr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6770 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6771 const sh4_nofpu_scache* abuf = sem;
6772 const sh4_nofpu_idesc* idesc = abuf->idesc;
6776 unsigned long long insn_referenced = abuf->written;
6778 in_usereg = FLD (in_rn);
6779 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
6783 unsigned long long insn_referenced = abuf->written;
6784 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
6788 unsigned long long insn_referenced = abuf->written;
6789 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
6793 unsigned long long insn_referenced = abuf->written;
6794 cycles += model_u_shift_after (current_cpu, idesc, 3, referenced);
6798 unsigned long long insn_referenced = abuf->written;
6799 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
6806 sh4_nofpu_sh4_nofpu_model::model_shlr2_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6808 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6809 const sh4_nofpu_scache* abuf = sem;
6810 const sh4_nofpu_idesc* idesc = abuf->idesc;
6814 in_usereg = FLD (in_rn);
6815 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
6818 cycles += model_u_exec_before (current_cpu, idesc, 1);
6821 cycles += model_u_shift_before (current_cpu, idesc, 2);
6828 sh4_nofpu_sh4_nofpu_model::model_shlr2_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6830 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6831 const sh4_nofpu_scache* abuf = sem;
6832 const sh4_nofpu_idesc* idesc = abuf->idesc;
6836 unsigned long long insn_referenced = abuf->written;
6838 in_usereg = FLD (in_rn);
6839 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
6843 unsigned long long insn_referenced = abuf->written;
6844 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
6848 unsigned long long insn_referenced = abuf->written;
6849 cycles += model_u_shift_after (current_cpu, idesc, 2, referenced);
6856 sh4_nofpu_sh4_nofpu_model::model_shlr8_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6858 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6859 const sh4_nofpu_scache* abuf = sem;
6860 const sh4_nofpu_idesc* idesc = abuf->idesc;
6864 in_usereg = FLD (in_rn);
6865 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
6868 cycles += model_u_exec_before (current_cpu, idesc, 1);
6871 cycles += model_u_shift_before (current_cpu, idesc, 2);
6878 sh4_nofpu_sh4_nofpu_model::model_shlr8_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6880 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6881 const sh4_nofpu_scache* abuf = sem;
6882 const sh4_nofpu_idesc* idesc = abuf->idesc;
6886 unsigned long long insn_referenced = abuf->written;
6888 in_usereg = FLD (in_rn);
6889 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
6893 unsigned long long insn_referenced = abuf->written;
6894 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
6898 unsigned long long insn_referenced = abuf->written;
6899 cycles += model_u_shift_after (current_cpu, idesc, 2, referenced);
6906 sh4_nofpu_sh4_nofpu_model::model_shlr16_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6908 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6909 const sh4_nofpu_scache* abuf = sem;
6910 const sh4_nofpu_idesc* idesc = abuf->idesc;
6914 in_usereg = FLD (in_rn);
6915 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
6918 cycles += model_u_exec_before (current_cpu, idesc, 1);
6921 cycles += model_u_shift_before (current_cpu, idesc, 2);
6928 sh4_nofpu_sh4_nofpu_model::model_shlr16_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6930 #define FLD(f) abuf->fields.sfmt_divu_compact.f
6931 const sh4_nofpu_scache* abuf = sem;
6932 const sh4_nofpu_idesc* idesc = abuf->idesc;
6936 unsigned long long insn_referenced = abuf->written;
6938 in_usereg = FLD (in_rn);
6939 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
6943 unsigned long long insn_referenced = abuf->written;
6944 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
6948 unsigned long long insn_referenced = abuf->written;
6949 cycles += model_u_shift_after (current_cpu, idesc, 2, referenced);
6956 sh4_nofpu_sh4_nofpu_model::model_stc_gbr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6958 #define FLD(f) abuf->fields.sfmt_movw10_compact.f
6959 const sh4_nofpu_scache* abuf = sem;
6960 const sh4_nofpu_idesc* idesc = abuf->idesc;
6963 cycles += model_u_exec_before (current_cpu, idesc, 0);
6970 sh4_nofpu_sh4_nofpu_model::model_stc_gbr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6972 #define FLD(f) abuf->fields.sfmt_movw10_compact.f
6973 const sh4_nofpu_scache* abuf = sem;
6974 const sh4_nofpu_idesc* idesc = abuf->idesc;
6978 unsigned long long insn_referenced = abuf->written;
6979 cycles += model_u_exec_after (current_cpu, idesc, 0, referenced);
6986 sh4_nofpu_sh4_nofpu_model::model_stc_vbr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
6988 #define FLD(f) abuf->fields.sfmt_movw10_compact.f
6989 const sh4_nofpu_scache* abuf = sem;
6990 const sh4_nofpu_idesc* idesc = abuf->idesc;
6993 cycles += model_u_stc_vbr_before (current_cpu, idesc, 0);
7000 sh4_nofpu_sh4_nofpu_model::model_stc_vbr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7002 #define FLD(f) abuf->fields.sfmt_movw10_compact.f
7003 const sh4_nofpu_scache* abuf = sem;
7004 const sh4_nofpu_idesc* idesc = abuf->idesc;
7008 unsigned long long insn_referenced = abuf->written;
7009 cycles += model_u_stc_vbr_after (current_cpu, idesc, 0, referenced);
7016 sh4_nofpu_sh4_nofpu_model::model_stcl_gbr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7018 #define FLD(f) abuf->fields.sfmt_divu_compact.f
7019 const sh4_nofpu_scache* abuf = sem;
7020 const sh4_nofpu_idesc* idesc = abuf->idesc;
7024 in_usereg = FLD (in_rn);
7025 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
7028 cycles += model_u_ldcl_before (current_cpu, idesc, 1);
7031 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
7038 sh4_nofpu_sh4_nofpu_model::model_stcl_gbr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7040 #define FLD(f) abuf->fields.sfmt_divu_compact.f
7041 const sh4_nofpu_scache* abuf = sem;
7042 const sh4_nofpu_idesc* idesc = abuf->idesc;
7046 unsigned long long insn_referenced = abuf->written;
7048 in_usereg = FLD (in_rn);
7049 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
7053 unsigned long long insn_referenced = abuf->written;
7054 cycles += model_u_ldcl_after (current_cpu, idesc, 1, referenced);
7058 unsigned long long insn_referenced = abuf->written;
7059 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
7066 sh4_nofpu_sh4_nofpu_model::model_stcl_vbr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7068 #define FLD(f) abuf->fields.sfmt_divu_compact.f
7069 const sh4_nofpu_scache* abuf = sem;
7070 const sh4_nofpu_idesc* idesc = abuf->idesc;
7074 in_usereg = FLD (in_rn);
7075 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
7078 cycles += model_u_ldcl_before (current_cpu, idesc, 1);
7081 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
7088 sh4_nofpu_sh4_nofpu_model::model_stcl_vbr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7090 #define FLD(f) abuf->fields.sfmt_divu_compact.f
7091 const sh4_nofpu_scache* abuf = sem;
7092 const sh4_nofpu_idesc* idesc = abuf->idesc;
7096 unsigned long long insn_referenced = abuf->written;
7098 in_usereg = FLD (in_rn);
7099 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
7103 unsigned long long insn_referenced = abuf->written;
7104 cycles += model_u_ldcl_after (current_cpu, idesc, 1, referenced);
7108 unsigned long long insn_referenced = abuf->written;
7109 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
7116 sh4_nofpu_sh4_nofpu_model::model_sts_mach_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7118 #define FLD(f) abuf->fields.sfmt_movw10_compact.f
7119 const sh4_nofpu_scache* abuf = sem;
7120 const sh4_nofpu_idesc* idesc = abuf->idesc;
7123 cycles += model_u_use_multiply_result_before (current_cpu, idesc, 0);
7126 cycles += model_u_write_back_before (current_cpu, idesc, 1);
7129 cycles += model_u_exec_before (current_cpu, idesc, 2);
7132 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
7139 sh4_nofpu_sh4_nofpu_model::model_sts_mach_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7141 #define FLD(f) abuf->fields.sfmt_movw10_compact.f
7142 const sh4_nofpu_scache* abuf = sem;
7143 const sh4_nofpu_idesc* idesc = abuf->idesc;
7147 unsigned long long insn_referenced = abuf->written;
7148 cycles += model_u_use_multiply_result_after (current_cpu, idesc, 0, referenced);
7152 unsigned long long insn_referenced = abuf->written;
7153 cycles += model_u_write_back_after (current_cpu, idesc, 1, referenced);
7157 unsigned long long insn_referenced = abuf->written;
7158 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
7162 unsigned long long insn_referenced = abuf->written;
7163 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
7170 sh4_nofpu_sh4_nofpu_model::model_stsl_mach_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7172 #define FLD(f) abuf->fields.sfmt_divu_compact.f
7173 const sh4_nofpu_scache* abuf = sem;
7174 const sh4_nofpu_idesc* idesc = abuf->idesc;
7178 in_usereg = FLD (in_rn);
7179 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
7182 cycles += model_u_use_multiply_result_before (current_cpu, idesc, 1);
7185 cycles += model_u_write_back_before (current_cpu, idesc, 2);
7188 cycles += model_u_exec_before (current_cpu, idesc, 3);
7191 cycles += model_u_memory_access_before (current_cpu, idesc, 4);
7198 sh4_nofpu_sh4_nofpu_model::model_stsl_mach_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7200 #define FLD(f) abuf->fields.sfmt_divu_compact.f
7201 const sh4_nofpu_scache* abuf = sem;
7202 const sh4_nofpu_idesc* idesc = abuf->idesc;
7206 unsigned long long insn_referenced = abuf->written;
7208 in_usereg = FLD (in_rn);
7209 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
7213 unsigned long long insn_referenced = abuf->written;
7214 cycles += model_u_use_multiply_result_after (current_cpu, idesc, 1, referenced);
7218 unsigned long long insn_referenced = abuf->written;
7219 cycles += model_u_write_back_after (current_cpu, idesc, 2, referenced);
7223 unsigned long long insn_referenced = abuf->written;
7224 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
7228 unsigned long long insn_referenced = abuf->written;
7229 cycles += model_u_memory_access_after (current_cpu, idesc, 4, referenced);
7236 sh4_nofpu_sh4_nofpu_model::model_sts_macl_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7238 #define FLD(f) abuf->fields.sfmt_movw10_compact.f
7239 const sh4_nofpu_scache* abuf = sem;
7240 const sh4_nofpu_idesc* idesc = abuf->idesc;
7243 cycles += model_u_use_multiply_result_before (current_cpu, idesc, 0);
7246 cycles += model_u_write_back_before (current_cpu, idesc, 1);
7249 cycles += model_u_exec_before (current_cpu, idesc, 2);
7252 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
7259 sh4_nofpu_sh4_nofpu_model::model_sts_macl_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7261 #define FLD(f) abuf->fields.sfmt_movw10_compact.f
7262 const sh4_nofpu_scache* abuf = sem;
7263 const sh4_nofpu_idesc* idesc = abuf->idesc;
7267 unsigned long long insn_referenced = abuf->written;
7268 cycles += model_u_use_multiply_result_after (current_cpu, idesc, 0, referenced);
7272 unsigned long long insn_referenced = abuf->written;
7273 cycles += model_u_write_back_after (current_cpu, idesc, 1, referenced);
7277 unsigned long long insn_referenced = abuf->written;
7278 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
7282 unsigned long long insn_referenced = abuf->written;
7283 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
7290 sh4_nofpu_sh4_nofpu_model::model_stsl_macl_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7292 #define FLD(f) abuf->fields.sfmt_divu_compact.f
7293 const sh4_nofpu_scache* abuf = sem;
7294 const sh4_nofpu_idesc* idesc = abuf->idesc;
7298 in_usereg = FLD (in_rn);
7299 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
7302 cycles += model_u_use_multiply_result_before (current_cpu, idesc, 1);
7305 cycles += model_u_write_back_before (current_cpu, idesc, 2);
7308 cycles += model_u_exec_before (current_cpu, idesc, 3);
7311 cycles += model_u_memory_access_before (current_cpu, idesc, 4);
7318 sh4_nofpu_sh4_nofpu_model::model_stsl_macl_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7320 #define FLD(f) abuf->fields.sfmt_divu_compact.f
7321 const sh4_nofpu_scache* abuf = sem;
7322 const sh4_nofpu_idesc* idesc = abuf->idesc;
7326 unsigned long long insn_referenced = abuf->written;
7328 in_usereg = FLD (in_rn);
7329 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
7333 unsigned long long insn_referenced = abuf->written;
7334 cycles += model_u_use_multiply_result_after (current_cpu, idesc, 1, referenced);
7338 unsigned long long insn_referenced = abuf->written;
7339 cycles += model_u_write_back_after (current_cpu, idesc, 2, referenced);
7343 unsigned long long insn_referenced = abuf->written;
7344 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
7348 unsigned long long insn_referenced = abuf->written;
7349 cycles += model_u_memory_access_after (current_cpu, idesc, 4, referenced);
7356 sh4_nofpu_sh4_nofpu_model::model_sts_pr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7358 #define FLD(f) abuf->fields.sfmt_movw10_compact.f
7359 const sh4_nofpu_scache* abuf = sem;
7360 const sh4_nofpu_idesc* idesc = abuf->idesc;
7363 cycles += model_u_use_pr_before (current_cpu, idesc, 0);
7366 cycles += model_u_sts_pr_before (current_cpu, idesc, 1);
7373 sh4_nofpu_sh4_nofpu_model::model_sts_pr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7375 #define FLD(f) abuf->fields.sfmt_movw10_compact.f
7376 const sh4_nofpu_scache* abuf = sem;
7377 const sh4_nofpu_idesc* idesc = abuf->idesc;
7381 unsigned long long insn_referenced = abuf->written;
7382 cycles += model_u_use_pr_after (current_cpu, idesc, 0, referenced);
7386 unsigned long long insn_referenced = abuf->written;
7387 cycles += model_u_sts_pr_after (current_cpu, idesc, 1, referenced);
7394 sh4_nofpu_sh4_nofpu_model::model_stsl_pr_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7396 #define FLD(f) abuf->fields.sfmt_divu_compact.f
7397 const sh4_nofpu_scache* abuf = sem;
7398 const sh4_nofpu_idesc* idesc = abuf->idesc;
7402 in_usereg = FLD (in_rn);
7403 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
7406 cycles += model_u_use_pr_before (current_cpu, idesc, 1);
7409 cycles += model_u_sts_pr_before (current_cpu, idesc, 2);
7412 cycles += model_u_memory_access_before (current_cpu, idesc, 3);
7419 sh4_nofpu_sh4_nofpu_model::model_stsl_pr_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7421 #define FLD(f) abuf->fields.sfmt_divu_compact.f
7422 const sh4_nofpu_scache* abuf = sem;
7423 const sh4_nofpu_idesc* idesc = abuf->idesc;
7427 unsigned long long insn_referenced = abuf->written;
7429 in_usereg = FLD (in_rn);
7430 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
7434 unsigned long long insn_referenced = abuf->written;
7435 cycles += model_u_use_pr_after (current_cpu, idesc, 1, referenced);
7439 unsigned long long insn_referenced = abuf->written;
7440 cycles += model_u_sts_pr_after (current_cpu, idesc, 2, referenced);
7444 unsigned long long insn_referenced = abuf->written;
7445 cycles += model_u_memory_access_after (current_cpu, idesc, 3, referenced);
7452 sh4_nofpu_sh4_nofpu_model::model_sub_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7454 #define FLD(f) abuf->fields.sfmt_macl_compact.f
7455 const sh4_nofpu_scache* abuf = sem;
7456 const sh4_nofpu_idesc* idesc = abuf->idesc;
7460 in_usereg = FLD (in_rn);
7461 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
7465 in_usereg = FLD (in_rm);
7466 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
7469 cycles += model_u_exec_before (current_cpu, idesc, 2);
7476 sh4_nofpu_sh4_nofpu_model::model_sub_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7478 #define FLD(f) abuf->fields.sfmt_macl_compact.f
7479 const sh4_nofpu_scache* abuf = sem;
7480 const sh4_nofpu_idesc* idesc = abuf->idesc;
7484 unsigned long long insn_referenced = abuf->written;
7486 in_usereg = FLD (in_rn);
7487 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
7491 unsigned long long insn_referenced = abuf->written;
7493 in_usereg = FLD (in_rm);
7494 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
7498 unsigned long long insn_referenced = abuf->written;
7499 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
7506 sh4_nofpu_sh4_nofpu_model::model_subc_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7508 #define FLD(f) abuf->fields.sfmt_macl_compact.f
7509 const sh4_nofpu_scache* abuf = sem;
7510 const sh4_nofpu_idesc* idesc = abuf->idesc;
7514 in_usereg = FLD (in_rn);
7515 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
7519 in_usereg = FLD (in_rm);
7520 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
7523 cycles += model_u_use_tbit_before (current_cpu, idesc, 2);
7526 cycles += model_u_exec_before (current_cpu, idesc, 3);
7533 sh4_nofpu_sh4_nofpu_model::model_subc_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7535 #define FLD(f) abuf->fields.sfmt_macl_compact.f
7536 const sh4_nofpu_scache* abuf = sem;
7537 const sh4_nofpu_idesc* idesc = abuf->idesc;
7541 unsigned long long insn_referenced = abuf->written;
7543 in_usereg = FLD (in_rn);
7544 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
7548 unsigned long long insn_referenced = abuf->written;
7550 in_usereg = FLD (in_rm);
7551 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
7555 unsigned long long insn_referenced = abuf->written;
7556 cycles += model_u_use_tbit_after (current_cpu, idesc, 2, referenced);
7560 unsigned long long insn_referenced = abuf->written;
7561 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
7568 sh4_nofpu_sh4_nofpu_model::model_subv_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7570 #define FLD(f) abuf->fields.sfmt_macl_compact.f
7571 const sh4_nofpu_scache* abuf = sem;
7572 const sh4_nofpu_idesc* idesc = abuf->idesc;
7576 in_usereg = FLD (in_rn);
7577 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
7581 in_usereg = FLD (in_rm);
7582 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
7585 cycles += model_u_use_tbit_before (current_cpu, idesc, 2);
7588 cycles += model_u_exec_before (current_cpu, idesc, 3);
7591 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
7598 sh4_nofpu_sh4_nofpu_model::model_subv_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7600 #define FLD(f) abuf->fields.sfmt_macl_compact.f
7601 const sh4_nofpu_scache* abuf = sem;
7602 const sh4_nofpu_idesc* idesc = abuf->idesc;
7606 unsigned long long insn_referenced = abuf->written;
7608 in_usereg = FLD (in_rn);
7609 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
7613 unsigned long long insn_referenced = abuf->written;
7615 in_usereg = FLD (in_rm);
7616 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
7620 unsigned long long insn_referenced = abuf->written;
7621 cycles += model_u_use_tbit_after (current_cpu, idesc, 2, referenced);
7625 unsigned long long insn_referenced = abuf->written;
7626 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
7630 unsigned long long insn_referenced = abuf->written;
7631 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
7638 sh4_nofpu_sh4_nofpu_model::model_swapb_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7640 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
7641 const sh4_nofpu_scache* abuf = sem;
7642 const sh4_nofpu_idesc* idesc = abuf->idesc;
7646 in_usereg = FLD (in_rm);
7647 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
7650 cycles += model_u_exec_before (current_cpu, idesc, 1);
7653 cycles += model_u_shift_before (current_cpu, idesc, 2);
7660 sh4_nofpu_sh4_nofpu_model::model_swapb_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7662 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
7663 const sh4_nofpu_scache* abuf = sem;
7664 const sh4_nofpu_idesc* idesc = abuf->idesc;
7668 unsigned long long insn_referenced = abuf->written;
7670 in_usereg = FLD (in_rm);
7671 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
7675 unsigned long long insn_referenced = abuf->written;
7676 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
7680 unsigned long long insn_referenced = abuf->written;
7681 cycles += model_u_shift_after (current_cpu, idesc, 2, referenced);
7688 sh4_nofpu_sh4_nofpu_model::model_swapw_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7690 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
7691 const sh4_nofpu_scache* abuf = sem;
7692 const sh4_nofpu_idesc* idesc = abuf->idesc;
7696 in_usereg = FLD (in_rm);
7697 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
7700 cycles += model_u_exec_before (current_cpu, idesc, 1);
7703 cycles += model_u_shift_before (current_cpu, idesc, 2);
7710 sh4_nofpu_sh4_nofpu_model::model_swapw_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7712 #define FLD(f) abuf->fields.sfmt_movl12_compact.f
7713 const sh4_nofpu_scache* abuf = sem;
7714 const sh4_nofpu_idesc* idesc = abuf->idesc;
7718 unsigned long long insn_referenced = abuf->written;
7720 in_usereg = FLD (in_rm);
7721 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
7725 unsigned long long insn_referenced = abuf->written;
7726 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
7730 unsigned long long insn_referenced = abuf->written;
7731 cycles += model_u_shift_after (current_cpu, idesc, 2, referenced);
7738 sh4_nofpu_sh4_nofpu_model::model_tasb_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7740 #define FLD(f) abuf->fields.sfmt_divu_compact.f
7741 const sh4_nofpu_scache* abuf = sem;
7742 const sh4_nofpu_idesc* idesc = abuf->idesc;
7746 in_usereg = FLD (in_rn);
7747 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
7750 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
7753 cycles += model_u_tas_before (current_cpu, idesc, 2);
7756 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 3);
7759 cycles += model_u_memory_access_before (current_cpu, idesc, 4);
7766 sh4_nofpu_sh4_nofpu_model::model_tasb_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7768 #define FLD(f) abuf->fields.sfmt_divu_compact.f
7769 const sh4_nofpu_scache* abuf = sem;
7770 const sh4_nofpu_idesc* idesc = abuf->idesc;
7774 unsigned long long insn_referenced = abuf->written;
7776 in_usereg = FLD (in_rn);
7777 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
7781 unsigned long long insn_referenced = abuf->written;
7782 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
7786 unsigned long long insn_referenced = abuf->written;
7787 cycles += model_u_tas_after (current_cpu, idesc, 2, referenced);
7791 unsigned long long insn_referenced = abuf->written;
7792 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 3, referenced);
7796 unsigned long long insn_referenced = abuf->written;
7797 cycles += model_u_memory_access_after (current_cpu, idesc, 4, referenced);
7804 sh4_nofpu_sh4_nofpu_model::model_trapa_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7806 #define FLD(f) abuf->fields.sfmt_andi_compact.f
7807 const sh4_nofpu_scache* abuf = sem;
7808 const sh4_nofpu_idesc* idesc = abuf->idesc;
7811 cycles += model_u_trap_before (current_cpu, idesc, 0);
7818 sh4_nofpu_sh4_nofpu_model::model_trapa_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7820 #define FLD(f) abuf->fields.sfmt_andi_compact.f
7821 const sh4_nofpu_scache* abuf = sem;
7822 const sh4_nofpu_idesc* idesc = abuf->idesc;
7826 unsigned long long insn_referenced = abuf->written;
7827 cycles += model_u_trap_after (current_cpu, idesc, 0, referenced);
7834 sh4_nofpu_sh4_nofpu_model::model_tst_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7836 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
7837 const sh4_nofpu_scache* abuf = sem;
7838 const sh4_nofpu_idesc* idesc = abuf->idesc;
7842 in_usereg = FLD (in_rn);
7843 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
7847 in_usereg = FLD (in_rm);
7848 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
7851 cycles += model_u_use_tbit_before (current_cpu, idesc, 2);
7854 cycles += model_u_exec_before (current_cpu, idesc, 3);
7857 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
7864 sh4_nofpu_sh4_nofpu_model::model_tst_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7866 #define FLD(f) abuf->fields.sfmt_movl13_compact.f
7867 const sh4_nofpu_scache* abuf = sem;
7868 const sh4_nofpu_idesc* idesc = abuf->idesc;
7872 unsigned long long insn_referenced = abuf->written;
7874 in_usereg = FLD (in_rn);
7875 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
7879 unsigned long long insn_referenced = abuf->written;
7881 in_usereg = FLD (in_rm);
7882 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
7886 unsigned long long insn_referenced = abuf->written;
7887 cycles += model_u_use_tbit_after (current_cpu, idesc, 2, referenced);
7891 unsigned long long insn_referenced = abuf->written;
7892 cycles += model_u_exec_after (current_cpu, idesc, 3, referenced);
7896 unsigned long long insn_referenced = abuf->written;
7897 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
7904 sh4_nofpu_sh4_nofpu_model::model_tsti_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7906 #define FLD(f) abuf->fields.sfmt_andi_compact.f
7907 const sh4_nofpu_scache* abuf = sem;
7908 const sh4_nofpu_idesc* idesc = abuf->idesc;
7912 in_usereg = FLD (in_r0);
7913 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
7916 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
7919 cycles += model_u_exec_before (current_cpu, idesc, 2);
7922 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 3);
7929 sh4_nofpu_sh4_nofpu_model::model_tsti_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7931 #define FLD(f) abuf->fields.sfmt_andi_compact.f
7932 const sh4_nofpu_scache* abuf = sem;
7933 const sh4_nofpu_idesc* idesc = abuf->idesc;
7937 unsigned long long insn_referenced = abuf->written;
7939 in_usereg = FLD (in_r0);
7940 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
7944 unsigned long long insn_referenced = abuf->written;
7945 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
7949 unsigned long long insn_referenced = abuf->written;
7950 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
7954 unsigned long long insn_referenced = abuf->written;
7955 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 3, referenced);
7962 sh4_nofpu_sh4_nofpu_model::model_tstb_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7964 #define FLD(f) abuf->fields.sfmt_andi_compact.f
7965 const sh4_nofpu_scache* abuf = sem;
7966 const sh4_nofpu_idesc* idesc = abuf->idesc;
7970 in_usereg = FLD (in_r0);
7971 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
7974 cycles += model_u_use_tbit_before (current_cpu, idesc, 1);
7977 cycles += model_u_exec_before (current_cpu, idesc, 2);
7980 cycles += model_u_sx_before (current_cpu, idesc, 3);
7983 cycles += model_u_set_sr_bit_before (current_cpu, idesc, 4);
7986 cycles += model_u_memory_access_before (current_cpu, idesc, 5);
7993 sh4_nofpu_sh4_nofpu_model::model_tstb_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
7995 #define FLD(f) abuf->fields.sfmt_andi_compact.f
7996 const sh4_nofpu_scache* abuf = sem;
7997 const sh4_nofpu_idesc* idesc = abuf->idesc;
8001 unsigned long long insn_referenced = abuf->written;
8003 in_usereg = FLD (in_r0);
8004 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
8008 unsigned long long insn_referenced = abuf->written;
8009 cycles += model_u_use_tbit_after (current_cpu, idesc, 1, referenced);
8013 unsigned long long insn_referenced = abuf->written;
8014 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
8018 unsigned long long insn_referenced = abuf->written;
8019 cycles += model_u_sx_after (current_cpu, idesc, 3, referenced);
8023 unsigned long long insn_referenced = abuf->written;
8024 cycles += model_u_set_sr_bit_after (current_cpu, idesc, 4, referenced);
8028 unsigned long long insn_referenced = abuf->written;
8029 cycles += model_u_memory_access_after (current_cpu, idesc, 5, referenced);
8036 sh4_nofpu_sh4_nofpu_model::model_xor_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
8038 #define FLD(f) abuf->fields.sfmt_and_compact.f
8039 const sh4_nofpu_scache* abuf = sem;
8040 const sh4_nofpu_idesc* idesc = abuf->idesc;
8044 in_usereg = FLD (in_rn64);
8045 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
8049 in_usereg = FLD (in_rm64);
8050 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
8053 cycles += model_u_exec_before (current_cpu, idesc, 2);
8060 sh4_nofpu_sh4_nofpu_model::model_xor_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
8062 #define FLD(f) abuf->fields.sfmt_and_compact.f
8063 const sh4_nofpu_scache* abuf = sem;
8064 const sh4_nofpu_idesc* idesc = abuf->idesc;
8068 unsigned long long insn_referenced = abuf->written;
8070 in_usereg = FLD (in_rn64);
8071 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
8075 unsigned long long insn_referenced = abuf->written;
8077 in_usereg = FLD (in_rm64);
8078 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
8082 unsigned long long insn_referenced = abuf->written;
8083 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
8090 sh4_nofpu_sh4_nofpu_model::model_xori_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
8092 #define FLD(f) abuf->fields.sfmt_andi_compact.f
8093 const sh4_nofpu_scache* abuf = sem;
8094 const sh4_nofpu_idesc* idesc = abuf->idesc;
8098 in_usereg = FLD (in_r0);
8099 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
8102 cycles += model_u_exec_before (current_cpu, idesc, 1);
8109 sh4_nofpu_sh4_nofpu_model::model_xori_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
8111 #define FLD(f) abuf->fields.sfmt_andi_compact.f
8112 const sh4_nofpu_scache* abuf = sem;
8113 const sh4_nofpu_idesc* idesc = abuf->idesc;
8117 unsigned long long insn_referenced = abuf->written;
8119 in_usereg = FLD (in_r0);
8120 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
8124 unsigned long long insn_referenced = abuf->written;
8125 cycles += model_u_exec_after (current_cpu, idesc, 1, referenced);
8132 sh4_nofpu_sh4_nofpu_model::model_xorb_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
8134 #define FLD(f) abuf->fields.sfmt_andi_compact.f
8135 const sh4_nofpu_scache* abuf = sem;
8136 const sh4_nofpu_idesc* idesc = abuf->idesc;
8140 in_usereg = FLD (in_r0);
8141 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
8144 cycles += model_u_logic_b_before (current_cpu, idesc, 1);
8147 cycles += model_u_memory_access_before (current_cpu, idesc, 2);
8154 sh4_nofpu_sh4_nofpu_model::model_xorb_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
8156 #define FLD(f) abuf->fields.sfmt_andi_compact.f
8157 const sh4_nofpu_scache* abuf = sem;
8158 const sh4_nofpu_idesc* idesc = abuf->idesc;
8162 unsigned long long insn_referenced = abuf->written;
8164 in_usereg = FLD (in_r0);
8165 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
8169 unsigned long long insn_referenced = abuf->written;
8170 cycles += model_u_logic_b_after (current_cpu, idesc, 1, referenced);
8174 unsigned long long insn_referenced = abuf->written;
8175 cycles += model_u_memory_access_after (current_cpu, idesc, 2, referenced);
8182 sh4_nofpu_sh4_nofpu_model::model_xtrct_compact_before (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
8184 #define FLD(f) abuf->fields.sfmt_macl_compact.f
8185 const sh4_nofpu_scache* abuf = sem;
8186 const sh4_nofpu_idesc* idesc = abuf->idesc;
8190 in_usereg = FLD (in_rn);
8191 cycles += model_u_use_gr_before (current_cpu, idesc, 0, in_usereg);
8195 in_usereg = FLD (in_rm);
8196 cycles += model_u_use_gr_before (current_cpu, idesc, 1, in_usereg);
8199 cycles += model_u_exec_before (current_cpu, idesc, 2);
8202 cycles += model_u_shift_before (current_cpu, idesc, 3);
8209 sh4_nofpu_sh4_nofpu_model::model_xtrct_compact_after (sh4_nofpu_cpu *current_cpu, sh4_nofpu_scache *sem)
8211 #define FLD(f) abuf->fields.sfmt_macl_compact.f
8212 const sh4_nofpu_scache* abuf = sem;
8213 const sh4_nofpu_idesc* idesc = abuf->idesc;
8217 unsigned long long insn_referenced = abuf->written;
8219 in_usereg = FLD (in_rn);
8220 cycles += model_u_use_gr_after (current_cpu, idesc, 0, referenced, in_usereg);
8224 unsigned long long insn_referenced = abuf->written;
8226 in_usereg = FLD (in_rm);
8227 cycles += model_u_use_gr_after (current_cpu, idesc, 1, referenced, in_usereg);
8231 unsigned long long insn_referenced = abuf->written;
8232 cycles += model_u_exec_after (current_cpu, idesc, 2, referenced);
8236 unsigned long long insn_referenced = abuf->written;
8237 cycles += model_u_shift_after (current_cpu, idesc, 3, referenced);
8243 /* We assume UNIT_NONE == 0 because the tables don't always terminate
8246 /* Model timing data for `sh4-nofpu'. */
8248 const sh4_nofpu_sh4_nofpu_model::insn_timing sh4_nofpu_sh4_nofpu_model::timing[] = {
8249 { SH4_NOFPU_INSN_X_INVALID, 0, 0, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8250 { SH4_NOFPU_INSN_ADD_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_add_compact_before, & sh4_nofpu_sh4_nofpu_model::model_add_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8251 { SH4_NOFPU_INSN_ADDI_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_addi_compact_before, & sh4_nofpu_sh4_nofpu_model::model_addi_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8252 { SH4_NOFPU_INSN_ADDC_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_addc_compact_before, & sh4_nofpu_sh4_nofpu_model::model_addc_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8253 { SH4_NOFPU_INSN_ADDV_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_addv_compact_before, & sh4_nofpu_sh4_nofpu_model::model_addv_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8254 { SH4_NOFPU_INSN_AND_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_and_compact_before, & sh4_nofpu_sh4_nofpu_model::model_and_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8255 { SH4_NOFPU_INSN_ANDI_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_andi_compact_before, & sh4_nofpu_sh4_nofpu_model::model_andi_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8256 { SH4_NOFPU_INSN_ANDB_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_andb_compact_before, & sh4_nofpu_sh4_nofpu_model::model_andb_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOGIC_B, 0, 3 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8257 { SH4_NOFPU_INSN_BF_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_bf_compact_before, & sh4_nofpu_sh4_nofpu_model::model_bf_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_BRANCH, 0, 3 } } },
8258 { SH4_NOFPU_INSN_BFS_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_bfs_compact_before, & sh4_nofpu_sh4_nofpu_model::model_bfs_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_BRANCH, 0, 2 } } },
8259 { SH4_NOFPU_INSN_BRA_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_bra_compact_before, & sh4_nofpu_sh4_nofpu_model::model_bra_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_BRANCH, 0, 2 } } },
8260 { SH4_NOFPU_INSN_BRAF_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_braf_compact_before, & sh4_nofpu_sh4_nofpu_model::model_braf_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_JMP, 0, 2 } } },
8261 { SH4_NOFPU_INSN_BSR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_bsr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_bsr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_BRANCH, 0, 2 } } },
8262 { SH4_NOFPU_INSN_BSRF_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_bsrf_compact_before, & sh4_nofpu_sh4_nofpu_model::model_bsrf_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_JSR, 0, 2 } } },
8263 { SH4_NOFPU_INSN_BT_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_bt_compact_before, & sh4_nofpu_sh4_nofpu_model::model_bt_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_BRANCH, 0, 3 } } },
8264 { SH4_NOFPU_INSN_BTS_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_bts_compact_before, & sh4_nofpu_sh4_nofpu_model::model_bts_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_BRANCH, 0, 2 } } },
8265 { SH4_NOFPU_INSN_CLRMAC_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_clrmac_compact_before, & sh4_nofpu_sh4_nofpu_model::model_clrmac_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_MULTIPLY_RESULT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_MAC, 0, 0 } } },
8266 { SH4_NOFPU_INSN_CLRS_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_clrs_compact_before, & sh4_nofpu_sh4_nofpu_model::model_clrs_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8267 { SH4_NOFPU_INSN_CLRT_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_clrt_compact_before, & sh4_nofpu_sh4_nofpu_model::model_clrt_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8268 { SH4_NOFPU_INSN_CMPEQ_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_cmpeq_compact_before, & sh4_nofpu_sh4_nofpu_model::model_cmpeq_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8269 { SH4_NOFPU_INSN_CMPEQI_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_cmpeqi_compact_before, & sh4_nofpu_sh4_nofpu_model::model_cmpeqi_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8270 { SH4_NOFPU_INSN_CMPGE_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_cmpge_compact_before, & sh4_nofpu_sh4_nofpu_model::model_cmpge_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8271 { SH4_NOFPU_INSN_CMPGT_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_cmpgt_compact_before, & sh4_nofpu_sh4_nofpu_model::model_cmpgt_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8272 { SH4_NOFPU_INSN_CMPHI_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_cmphi_compact_before, & sh4_nofpu_sh4_nofpu_model::model_cmphi_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8273 { SH4_NOFPU_INSN_CMPHS_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_cmphs_compact_before, & sh4_nofpu_sh4_nofpu_model::model_cmphs_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8274 { SH4_NOFPU_INSN_CMPPL_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_cmppl_compact_before, & sh4_nofpu_sh4_nofpu_model::model_cmppl_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8275 { SH4_NOFPU_INSN_CMPPZ_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_cmppz_compact_before, & sh4_nofpu_sh4_nofpu_model::model_cmppz_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8276 { SH4_NOFPU_INSN_CMPSTR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_cmpstr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_cmpstr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8277 { SH4_NOFPU_INSN_DIV0S_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_div0s_compact_before, & sh4_nofpu_sh4_nofpu_model::model_div0s_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8278 { SH4_NOFPU_INSN_DIV0U_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_div0u_compact_before, & sh4_nofpu_sh4_nofpu_model::model_div0u_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8279 { SH4_NOFPU_INSN_DIV1_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_div1_compact_before, & sh4_nofpu_sh4_nofpu_model::model_div1_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8280 { SH4_NOFPU_INSN_DIVU_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_divu_compact_before, & sh4_nofpu_sh4_nofpu_model::model_divu_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 34 } } },
8281 { SH4_NOFPU_INSN_MULR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_mulr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_mulr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MULR, 1, 2 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MULR_GR, 0, 0 } } },
8282 { SH4_NOFPU_INSN_DMULSL_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_dmulsl_compact_before, & sh4_nofpu_sh4_nofpu_model::model_dmulsl_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_DMUL, 1, 2 } } },
8283 { SH4_NOFPU_INSN_DMULUL_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_dmulul_compact_before, & sh4_nofpu_sh4_nofpu_model::model_dmulul_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_DMUL, 1, 2 } } },
8284 { SH4_NOFPU_INSN_DT_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_dt_compact_before, & sh4_nofpu_sh4_nofpu_model::model_dt_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8285 { SH4_NOFPU_INSN_EXTSB_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_extsb_compact_before, & sh4_nofpu_sh4_nofpu_model::model_extsb_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 } } },
8286 { SH4_NOFPU_INSN_EXTSW_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_extsw_compact_before, & sh4_nofpu_sh4_nofpu_model::model_extsw_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 } } },
8287 { SH4_NOFPU_INSN_EXTUB_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_extub_compact_before, & sh4_nofpu_sh4_nofpu_model::model_extub_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 } } },
8288 { SH4_NOFPU_INSN_EXTUW_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_extuw_compact_before, & sh4_nofpu_sh4_nofpu_model::model_extuw_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 } } },
8289 { SH4_NOFPU_INSN_FRCHG_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_frchg_compact_before, & sh4_nofpu_sh4_nofpu_model::model_frchg_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8290 { SH4_NOFPU_INSN_FSCHG_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_fschg_compact_before, & sh4_nofpu_sh4_nofpu_model::model_fschg_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8291 { SH4_NOFPU_INSN_JMP_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_jmp_compact_before, & sh4_nofpu_sh4_nofpu_model::model_jmp_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_JMP, 0, 2 } } },
8292 { SH4_NOFPU_INSN_JSR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_jsr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_jsr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_JSR, 0, 2 } } },
8293 { SH4_NOFPU_INSN_LDC_GBR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_ldc_gbr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_ldc_gbr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LDC_GBR, 0, 1 } } },
8294 { SH4_NOFPU_INSN_LDC_VBR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_ldc_vbr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_ldc_vbr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8295 { SH4_NOFPU_INSN_LDC_SR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_ldc_sr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_ldc_sr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LDC_SR, 0, 1 } } },
8296 { SH4_NOFPU_INSN_LDCL_GBR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_ldcl_gbr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_ldcl_gbr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LDCL, 0, 3 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GBR, 0, 0 } } },
8297 { SH4_NOFPU_INSN_LDCL_VBR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_ldcl_vbr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_ldcl_vbr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LDCL_VBR, 0, 3 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_VBR, 0, 0 } } },
8298 { SH4_NOFPU_INSN_LDS_MACH_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_lds_mach_compact_before, & sh4_nofpu_sh4_nofpu_model::model_lds_mach_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_MULTIPLY_RESULT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_MAC, 0, 0 } } },
8299 { SH4_NOFPU_INSN_LDSL_MACH_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_ldsl_mach_compact_before, & sh4_nofpu_sh4_nofpu_model::model_ldsl_mach_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_MULTIPLY_RESULT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_MAC, 0, 0 } } },
8300 { SH4_NOFPU_INSN_LDS_MACL_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_lds_macl_compact_before, & sh4_nofpu_sh4_nofpu_model::model_lds_macl_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_MULTIPLY_RESULT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_MAC, 0, 0 } } },
8301 { SH4_NOFPU_INSN_LDSL_MACL_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_ldsl_macl_compact_before, & sh4_nofpu_sh4_nofpu_model::model_ldsl_macl_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_MULTIPLY_RESULT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_MAC, 0, 0 } } },
8302 { SH4_NOFPU_INSN_LDS_PR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_lds_pr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_lds_pr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LDS_PR, 0, 1 } } },
8303 { SH4_NOFPU_INSN_LDSL_PR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_ldsl_pr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_ldsl_pr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LDS_PR, 0, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_PR, 0, 0 } } },
8304 { SH4_NOFPU_INSN_MACL_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_macl_compact_before, & sh4_nofpu_sh4_nofpu_model::model_macl_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MACL, 1, 2 } } },
8305 { SH4_NOFPU_INSN_MACW_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_macw_compact_before, & sh4_nofpu_sh4_nofpu_model::model_macw_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MACW, 1, 2 } } },
8306 { SH4_NOFPU_INSN_MOV_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_mov_compact_before, & sh4_nofpu_sh4_nofpu_model::model_mov_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8307 { SH4_NOFPU_INSN_MOVI_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movi_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movi_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8308 { SH4_NOFPU_INSN_MOVI20_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movi20_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movi20_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8309 { SH4_NOFPU_INSN_MOVB1_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movb1_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movb1_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8310 { SH4_NOFPU_INSN_MOVB2_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movb2_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movb2_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8311 { SH4_NOFPU_INSN_MOVB3_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movb3_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movb3_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8312 { SH4_NOFPU_INSN_MOVB4_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movb4_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movb4_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SX, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8313 { SH4_NOFPU_INSN_MOVB5_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movb5_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movb5_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8314 { SH4_NOFPU_INSN_MOVB6_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movb6_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movb6_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8315 { SH4_NOFPU_INSN_MOVB7_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movb7_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movb7_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8316 { SH4_NOFPU_INSN_MOVB8_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movb8_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movb8_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8317 { SH4_NOFPU_INSN_MOVB9_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movb9_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movb9_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8318 { SH4_NOFPU_INSN_MOVB10_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movb10_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movb10_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8319 { SH4_NOFPU_INSN_MOVL1_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movl1_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movl1_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8320 { SH4_NOFPU_INSN_MOVL2_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movl2_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movl2_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8321 { SH4_NOFPU_INSN_MOVL3_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movl3_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movl3_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8322 { SH4_NOFPU_INSN_MOVL4_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movl4_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movl4_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SX, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8323 { SH4_NOFPU_INSN_MOVL5_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movl5_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movl5_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8324 { SH4_NOFPU_INSN_MOVL6_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movl6_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movl6_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8325 { SH4_NOFPU_INSN_MOVL7_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movl7_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movl7_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8326 { SH4_NOFPU_INSN_MOVL8_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movl8_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movl8_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8327 { SH4_NOFPU_INSN_MOVL9_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movl9_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movl9_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8328 { SH4_NOFPU_INSN_MOVL10_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movl10_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movl10_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8329 { SH4_NOFPU_INSN_MOVL11_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movl11_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movl11_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8330 { SH4_NOFPU_INSN_MOVL12_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movl12_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movl12_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8331 { SH4_NOFPU_INSN_MOVL13_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movl13_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movl13_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8332 { SH4_NOFPU_INSN_MOVW1_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movw1_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movw1_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8333 { SH4_NOFPU_INSN_MOVW2_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movw2_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movw2_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8334 { SH4_NOFPU_INSN_MOVW3_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movw3_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movw3_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8335 { SH4_NOFPU_INSN_MOVW4_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movw4_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movw4_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SX, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8336 { SH4_NOFPU_INSN_MOVW5_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movw5_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movw5_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8337 { SH4_NOFPU_INSN_MOVW6_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movw6_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movw6_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8338 { SH4_NOFPU_INSN_MOVW7_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movw7_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movw7_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8339 { SH4_NOFPU_INSN_MOVW8_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movw8_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movw8_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8340 { SH4_NOFPU_INSN_MOVW9_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movw9_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movw9_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8341 { SH4_NOFPU_INSN_MOVW10_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movw10_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movw10_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8342 { SH4_NOFPU_INSN_MOVW11_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movw11_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movw11_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOAD_GR, 0, 0 } } },
8343 { SH4_NOFPU_INSN_MOVA_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_mova_compact_before, & sh4_nofpu_sh4_nofpu_model::model_mova_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8344 { SH4_NOFPU_INSN_MOVCAL_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movcal_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movcal_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_OCB, 0, 6 } } },
8345 { SH4_NOFPU_INSN_MOVT_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_movt_compact_before, & sh4_nofpu_sh4_nofpu_model::model_movt_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8346 { SH4_NOFPU_INSN_MULL_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_mull_compact_before, & sh4_nofpu_sh4_nofpu_model::model_mull_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MULL, 1, 2 } } },
8347 { SH4_NOFPU_INSN_MULSW_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_mulsw_compact_before, & sh4_nofpu_sh4_nofpu_model::model_mulsw_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MULSW, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MULTIPLY, 1, 2 } } },
8348 { SH4_NOFPU_INSN_MULUW_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_muluw_compact_before, & sh4_nofpu_sh4_nofpu_model::model_muluw_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MULSW, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MULTIPLY, 1, 2 } } },
8349 { SH4_NOFPU_INSN_NEG_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_neg_compact_before, & sh4_nofpu_sh4_nofpu_model::model_neg_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8350 { SH4_NOFPU_INSN_NEGC_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_negc_compact_before, & sh4_nofpu_sh4_nofpu_model::model_negc_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8351 { SH4_NOFPU_INSN_NOP_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_nop_compact_before, & sh4_nofpu_sh4_nofpu_model::model_nop_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8352 { SH4_NOFPU_INSN_NOT_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_not_compact_before, & sh4_nofpu_sh4_nofpu_model::model_not_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8353 { SH4_NOFPU_INSN_OCBI_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_ocbi_compact_before, & sh4_nofpu_sh4_nofpu_model::model_ocbi_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_OCB, 0, 1 } } },
8354 { SH4_NOFPU_INSN_OCBP_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_ocbp_compact_before, & sh4_nofpu_sh4_nofpu_model::model_ocbp_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_OCB, 0, 4 } } },
8355 { SH4_NOFPU_INSN_OCBWB_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_ocbwb_compact_before, & sh4_nofpu_sh4_nofpu_model::model_ocbwb_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_OCB, 0, 4 } } },
8356 { SH4_NOFPU_INSN_OR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_or_compact_before, & sh4_nofpu_sh4_nofpu_model::model_or_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8357 { SH4_NOFPU_INSN_ORI_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_ori_compact_before, & sh4_nofpu_sh4_nofpu_model::model_ori_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8358 { SH4_NOFPU_INSN_ORB_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_orb_compact_before, & sh4_nofpu_sh4_nofpu_model::model_orb_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOGIC_B, 0, 3 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8359 { SH4_NOFPU_INSN_PREF_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_pref_compact_before, & sh4_nofpu_sh4_nofpu_model::model_pref_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8360 { SH4_NOFPU_INSN_ROTCL_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_rotcl_compact_before, & sh4_nofpu_sh4_nofpu_model::model_rotcl_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8361 { SH4_NOFPU_INSN_ROTCR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_rotcr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_rotcr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8362 { SH4_NOFPU_INSN_ROTL_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_rotl_compact_before, & sh4_nofpu_sh4_nofpu_model::model_rotl_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8363 { SH4_NOFPU_INSN_ROTR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_rotr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_rotr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8364 { SH4_NOFPU_INSN_RTS_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_rts_compact_before, & sh4_nofpu_sh4_nofpu_model::model_rts_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_JMP, 0, 2 } } },
8365 { SH4_NOFPU_INSN_SETS_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_sets_compact_before, & sh4_nofpu_sh4_nofpu_model::model_sets_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8366 { SH4_NOFPU_INSN_SETT_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_sett_compact_before, & sh4_nofpu_sh4_nofpu_model::model_sett_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8367 { SH4_NOFPU_INSN_SHAD_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_shad_compact_before, & sh4_nofpu_sh4_nofpu_model::model_shad_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 } } },
8368 { SH4_NOFPU_INSN_SHAL_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_shal_compact_before, & sh4_nofpu_sh4_nofpu_model::model_shal_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8369 { SH4_NOFPU_INSN_SHAR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_shar_compact_before, & sh4_nofpu_sh4_nofpu_model::model_shar_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8370 { SH4_NOFPU_INSN_SHLD_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_shld_compact_before, & sh4_nofpu_sh4_nofpu_model::model_shld_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 } } },
8371 { SH4_NOFPU_INSN_SHLL_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_shll_compact_before, & sh4_nofpu_sh4_nofpu_model::model_shll_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8372 { SH4_NOFPU_INSN_SHLL2_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_shll2_compact_before, & sh4_nofpu_sh4_nofpu_model::model_shll2_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 } } },
8373 { SH4_NOFPU_INSN_SHLL8_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_shll8_compact_before, & sh4_nofpu_sh4_nofpu_model::model_shll8_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 } } },
8374 { SH4_NOFPU_INSN_SHLL16_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_shll16_compact_before, & sh4_nofpu_sh4_nofpu_model::model_shll16_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 } } },
8375 { SH4_NOFPU_INSN_SHLR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_shlr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_shlr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8376 { SH4_NOFPU_INSN_SHLR2_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_shlr2_compact_before, & sh4_nofpu_sh4_nofpu_model::model_shlr2_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 } } },
8377 { SH4_NOFPU_INSN_SHLR8_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_shlr8_compact_before, & sh4_nofpu_sh4_nofpu_model::model_shlr8_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 } } },
8378 { SH4_NOFPU_INSN_SHLR16_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_shlr16_compact_before, & sh4_nofpu_sh4_nofpu_model::model_shlr16_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 } } },
8379 { SH4_NOFPU_INSN_STC_GBR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_stc_gbr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_stc_gbr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8380 { SH4_NOFPU_INSN_STC_VBR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_stc_vbr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_stc_vbr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_STC_VBR, 0, 1 } } },
8381 { SH4_NOFPU_INSN_STCL_GBR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_stcl_gbr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_stcl_gbr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LDCL, 0, 2 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8382 { SH4_NOFPU_INSN_STCL_VBR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_stcl_vbr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_stcl_vbr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LDCL, 0, 2 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8383 { SH4_NOFPU_INSN_STS_MACH_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_sts_mach_compact_before, & sh4_nofpu_sh4_nofpu_model::model_sts_mach_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_MULTIPLY_RESULT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_WRITE_BACK, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8384 { SH4_NOFPU_INSN_STSL_MACH_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_stsl_mach_compact_before, & sh4_nofpu_sh4_nofpu_model::model_stsl_mach_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_MULTIPLY_RESULT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_WRITE_BACK, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8385 { SH4_NOFPU_INSN_STS_MACL_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_sts_macl_compact_before, & sh4_nofpu_sh4_nofpu_model::model_sts_macl_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_MULTIPLY_RESULT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_WRITE_BACK, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8386 { SH4_NOFPU_INSN_STSL_MACL_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_stsl_macl_compact_before, & sh4_nofpu_sh4_nofpu_model::model_stsl_macl_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_MULTIPLY_RESULT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_WRITE_BACK, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8387 { SH4_NOFPU_INSN_STS_PR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_sts_pr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_sts_pr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_PR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_STS_PR, 0, 1 } } },
8388 { SH4_NOFPU_INSN_STSL_PR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_stsl_pr_compact_before, & sh4_nofpu_sh4_nofpu_model::model_stsl_pr_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_PR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_STS_PR, 0, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8389 { SH4_NOFPU_INSN_SUB_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_sub_compact_before, & sh4_nofpu_sh4_nofpu_model::model_sub_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8390 { SH4_NOFPU_INSN_SUBC_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_subc_compact_before, & sh4_nofpu_sh4_nofpu_model::model_subc_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8391 { SH4_NOFPU_INSN_SUBV_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_subv_compact_before, & sh4_nofpu_sh4_nofpu_model::model_subv_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8392 { SH4_NOFPU_INSN_SWAPB_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_swapb_compact_before, & sh4_nofpu_sh4_nofpu_model::model_swapb_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 } } },
8393 { SH4_NOFPU_INSN_SWAPW_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_swapw_compact_before, & sh4_nofpu_sh4_nofpu_model::model_swapw_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 } } },
8394 { SH4_NOFPU_INSN_TASB_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_tasb_compact_before, & sh4_nofpu_sh4_nofpu_model::model_tasb_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_TAS, 1, 4 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8395 { SH4_NOFPU_INSN_TRAPA_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_trapa_compact_before, & sh4_nofpu_sh4_nofpu_model::model_trapa_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_TRAP, 0, 8 } } },
8396 { SH4_NOFPU_INSN_TST_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_tst_compact_before, & sh4_nofpu_sh4_nofpu_model::model_tst_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8397 { SH4_NOFPU_INSN_TSTI_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_tsti_compact_before, & sh4_nofpu_sh4_nofpu_model::model_tsti_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 } } },
8398 { SH4_NOFPU_INSN_TSTB_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_tstb_compact_before, & sh4_nofpu_sh4_nofpu_model::model_tstb_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_TBIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 3 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SX, 1, 3 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SET_SR_BIT, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8399 { SH4_NOFPU_INSN_XOR_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_xor_compact_before, & sh4_nofpu_sh4_nofpu_model::model_xor_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8400 { SH4_NOFPU_INSN_XORI_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_xori_compact_before, & sh4_nofpu_sh4_nofpu_model::model_xori_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 } } },
8401 { SH4_NOFPU_INSN_XORB_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_xorb_compact_before, & sh4_nofpu_sh4_nofpu_model::model_xorb_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_LOGIC_B, 0, 3 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_MEMORY_ACCESS, 0, 0 } } },
8402 { SH4_NOFPU_INSN_XTRCT_COMPACT, & sh4_nofpu_sh4_nofpu_model::model_xtrct_compact_before, & sh4_nofpu_sh4_nofpu_model::model_xtrct_compact_after, { { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_USE_GR, 0, 0 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_EXEC, 1, 1 }, { sh4_nofpu_sh4_nofpu_model::UNIT_U_SHIFT, 0, 0 } } },