| /* Simulator model support for or1k32bf. |
| |
| THIS FILE IS MACHINE GENERATED WITH CGEN. |
| |
| Copyright (C) 1996-2024 Free Software Foundation, Inc. |
| |
| This file is part of the GNU simulators. |
| |
| This file is free software; you can redistribute it and/or modify |
| it under the terms of the GNU General Public License as published by |
| the Free Software Foundation; either version 3, or (at your option) |
| any later version. |
| |
| It is distributed in the hope that it will be useful, but WITHOUT |
| ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
| License for more details. |
| |
| You should have received a copy of the GNU General Public License along |
| with this program; if not, write to the Free Software Foundation, Inc., |
| 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. |
| |
| */ |
| |
| #define WANT_CPU or1k32bf |
| #define WANT_CPU_OR1K32BF |
| |
| #include "sim-main.h" |
| |
| /* The profiling data is recorded here, but is accessed via the profiling |
| mechanism. After all, this is information for profiling. */ |
| |
| #if WITH_PROFILE_MODEL_P |
| |
| /* Model handlers for each insn. */ |
| |
| static int |
| model_or1200_l_j (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_j.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_adrp (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_adrp.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_jal (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_j.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_jr (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_jalr (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_bnf (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_j.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_bf (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_j.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_trap (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sys (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_msync (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_psync (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_csync (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_rfe (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_nop_imm (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_mfspr.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_movhi (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_mfspr.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_macrc (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_adrp.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_mfspr (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_mfspr.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_mtspr (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_mtspr.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_lwz (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_lws (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_lwa (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_lbz (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_lbs (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_lhz (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_lhs (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sw (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sw.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sb (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sw.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sh (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sw.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_swa (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sw.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sll (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_slli (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_srl (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_srli (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sra (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_srai (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_ror (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_rori (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_and (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_or (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_xor (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_add (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sub (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_addc (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_mul (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_muld (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_mulu (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_muldu (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_div (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_divu (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_ff1 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_fl1 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_andi (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_mfspr.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_ori (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_mfspr.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_xori (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_addi (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_addic (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_muli (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_exths (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_extbs (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_exthz (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_extbz (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_extws (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_extwz (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_cmov (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfgts (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfgtsi (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfgtu (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfgtui (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfges (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfgesi (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfgeu (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfgeui (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sflts (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfltsi (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfltu (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfltui (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfles (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sflesi (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfleu (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfleui (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfeq (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfeqi (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfne (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_sfnei (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_mac (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_maci (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_macu (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_msb (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_msbu (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_cust1 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_cust2 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_cust3 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_cust4 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_cust5 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_cust6 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_cust7 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_l_cust8 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_add_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_add_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sub_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sub_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_mul_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_mul_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_div_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_div_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_rem_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_rem_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_itof_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_itof_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_ftoi_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_ftoi_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfeq_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfeq_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfne_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfne_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfge_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfge_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfgt_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfgt_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sflt_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sflt_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfle_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfle_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfueq_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfueq_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfune_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfune_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfugt_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfugt_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfuge_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfuge_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfult_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfult_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfule_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfule_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfun_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_sfun_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_madd_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_madd_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_lf_add_d32.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_cust1_s (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200_lf_cust1_d32 (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_j (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_j.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_adrp (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_adrp.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_jal (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_j.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_jr (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_jalr (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_bnf (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_j.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_bf (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_j.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_trap (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_sys (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_msync (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_psync (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_csync (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_rfe (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_empty.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_nop_imm (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_mfspr.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_movhi (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_mfspr.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_macrc (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_adrp.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_mfspr (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_mfspr.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_mtspr (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_mtspr.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_lwz (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_lws (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_lwa (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_lbz (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_lbs (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_lhz (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_lhs (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_lwz.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_sw (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sw.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_sb (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sw.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_sh (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sw.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_swa (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sw.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_sll (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_slli (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_srl (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_srli (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_sra (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_srai (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_ror (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_sll.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cycles; |
| #undef FLD |
| } |
| |
| static int |
| model_or1200nd_l_rori (SIM_CPU *current_cpu, void *sem_arg) |
| { |
| #define FLD(f) abuf->fields.sfmt_l_slli.f |
| const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
| const IDESC * UNUSED idesc = abuf->idesc; |
| int cycles = 0; |
| { |
| int referenced = 0; |
| int UNUSED insn_referenced = abuf->written; |
| cycles += or1k32bf_model_or1200nd_u_exec (current_cpu, idesc, 0, referenced); |
| } |
| return cyc
|