• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学 ›› 2025, Vol. 47 ›› Issue (11): 1945-1952.

• 高性能计算 • 上一篇    下一篇

ISA真的重要么? ——基于Gem5的仿真调查

李华,王永文


  

  1. (1.国防科技大学计算机学院,湖南 长沙 410073;
    2.先进微处理器芯片与系统重点实验室,湖南 长沙 410073)

  • 收稿日期:2024-11-14 修回日期:2025-01-16 出版日期:2025-11-25 发布日期:2025-12-05
  • 基金资助:
    自然资源部高层次科技创新人才工程(22-TDRCJH-02-006)

Does the ISA really matter?—A survey of simulations based on Gem5

LI Hua,WANG Yongwen   

  1. (1.College of Computer Science and Technology,National University of Defense Technology,Changsha 410073;
    2.Key Laboratory of Advanced Microprocessor Chips and Systems,Changsha 410073,China)
  • Received:2024-11-14 Revised:2025-01-16 Online:2025-11-25 Published:2025-12-05

摘要: 指令集体系结构(ISA)是芯片最底层、最核心的部分,已有的关于ISA对性能影响的研究工作通常基于物理硬件平台实现,但不同的硬件实现方案使得无法直接对比分析ISA对性能的影响。基于以上原因,使用Gem5模拟器,采用相同的硬件配置与相同版本的编译器,对ARM,RISC-V和x86这3种ISA进行了仿真对比。采用CoreMark,Dhrystone和Whetstone作为基准测试程序。同时,利用McPAT对功耗进行了评估。模拟结果表明,ARM ISA在性能和功耗方面优于RISC-V和x86 ISA,但ARM和RISC-V之间的差异非常细微,而ARM和x86之间的性能差距可能是由实验中使用相对较低的硬件配置引起的,并且可以通过更积极的硬件方法将差距缩小甚至逆转。研究表明,ISA并不能从根本上提高效率。


关键词: 指令集体系结构(ISA), Gem5模拟器, McPAT模拟器, 微架构, 仿真

Abstract: The instruction set architecture (ISA) serves as the foundational framework of a chip, yet existing research on its performance impact often relies on real hardware implementations. However, varying hardware setups pose challenges for direct comparison and analysis of ISAs. To address this issue, simulations of ARM, RISC-V, and x86 ISAs were conducted using the Gem5 simulator, using identical hardware configurations and the same compiler version,  thereby enabling a controlled comparative analysis. CoreMark, Dhrystone, and Whetstone are adopted as benchmark programs, while McPAT assesses power consumption. Results from the simulations reveal that the ARM ISA exhibits superior performance and lower power consumption compared to RISC-V and x86 ISAs. Although differences between ARM and RISC-V are marginal, the performance gap between ARM and x86 may stem from the relatively modest hardware configuration utilized, which could be mitigated or reversed through the adoption of more aggressive hardware techniques. This research underscores that while an ISA plays a pivotal role, solely relying on it cannot fundamentally enhance efficiency.

Key words: instruction set architecture(ISA), Gem5 simulator, microarchitecture power, area,and timing(McPAT) simulator, micro-architecture, simulation