论文部分内容阅读
现代高性能通用处理器的设计越来越复杂,模拟器在处理器设计中所起的作用越来越大.龙芯2号是中国科学院计算技术研究所研制的高性能通用处理器.最早开发的龙芯2号的模拟器ICT-Godson是信号级模拟器,它模拟了处理器的所有细节,十分准确,但速度和灵活性有较大限制.文章基于SimpleScalar工具集,设计并实现了龙芯2号的模拟器Sim-Godson.Sim-Godson具有高速度和高灵活性的优点,且准确性也很高.在3.0GHz的Pentium4微机上,Sim-Godson速度约为500K指令/s.大部份测试程序在Sim-Godson上的IPC(Instruction PerCycle)与ICT-Godson相差不到5%,达到了很高的准确性.Sim-Godson在龙芯2号的性能分析工作中发挥了重要作用.
The design of modern high-performance general-purpose processors is more and more complicated, and the simulator plays an increasingly important role in processor design.Longxin No. 2 is a high-performance general-purpose processor developed by the Institute of Computing Technology, Chinese Academy of Sciences. Godson-II simulator ICT-Godson is a signal-level simulator, which simulates all the details of the processor, very accurate, but the speed and flexibility have greater limitations. Based on the SimpleScalar toolset, the design and implementation of the Godson-2 Sim-Godson.Sim-Godson has the advantages of high speed and high flexibility, but also high accuracy. The Sim-Godson speed is about 500K instructions / s on a 3.0GHz Pentium 4 microcomputer. Most of the tests The program has a very high accuracy with less than 5% difference between ICT (Instruction Percycle) and ICT-Godson in Sim-Godson.Sim-Godson played an important role in the performance analysis of Godson-2.