⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 model.c

📁 这个是LINUX下的GDB调度工具的源码
💻 C
📖 第 1 页 / 共 5 页
字号:
static intmodel_i960KA_nor2 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul2.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_nor3 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul3.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_xnor (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_xnor1 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul1.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_xnor2 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul2.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_xnor3 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul3.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_not (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul2.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_not1 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul3.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_not2 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul2.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_not3 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul3.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_ornot (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_ornot1 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul1.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_ornot2 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul2.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_ornot3 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul3.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_clrbit (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_clrbit1 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul1.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_clrbit2 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul2.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_clrbit3 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul3.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_shlo (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_shlo1 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul1.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_shlo2 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul2.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_shlo3 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul3.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_shro (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_shro1 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul1.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_shro2 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul2.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_shro3 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul3.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_shli (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_shli1 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul1.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_shli2 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul2.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_shli3 (SIM_CPU *current_cpu, void *sem_arg){#define FLD(f) abuf->fields.sfmt_emul3.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 += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced);  }  return cycles;#undef FLD}static intmodel_i960KA_shri (SIM_CPU *current_cpu, void *sem_arg)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -