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

📄 model.c

📁 这个是LINUX下的GDB调度工具的源码
💻 C
📖 第 1 页 / 共 5 页
字号:
}static intmodel_i960KA_notbit (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_notbit1 (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_notbit2 (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_notbit3 (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_and (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_and1 (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_and2 (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_and3 (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_andnot (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_andnot1 (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_andnot2 (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_andnot3 (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_setbit (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_setbit1 (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_setbit2 (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_setbit3 (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_notand (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_notand1 (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_notand2 (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_notand3 (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_xor (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_xor1 (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_xor2 (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_xor3 (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_or (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_or1 (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_or2 (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_or3 (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_nor (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_nor1 (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}

⌨️ 快捷键说明

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