This paper presents the implementation and evaluation of the H (hypervisor) extension for the RISC-V instruction set architecture (ISA) on top of the gem5 microarchitectural simulator. The RISC-V ISA, known for its simplicity and modularity, has seen widespread adoption in various computing domains. The H extension aims to enhance RISC-V's capabilities for cloud computing and virtualization. In this paper, we present the architectural integration of the H extension into gem5, an open-source, modular platform for computer system architecture research. We detail the modifications required in gem5's CPU models and virtualization support to accommodate the H extension. We also present evaluation results regarding the performance impact and functional correctness of the extension's implementation on gem5. This study not only provides a pathway for further research and development of RISC-V extensions but also contributes valuable insights into the optimization of the gem5 simulator for advanced architectural features.
翻译:本文介绍了在gem5微架构模拟器上实现RISC-V指令集架构虚拟机监控器扩展(H扩展)的方案及其评估结果。RISC-V指令集架构以其简洁性和模块化特性著称,已在多个计算领域获得广泛应用。H扩展旨在增强RISC-V在云计算和虚拟化方面的能力。本文阐述了将H扩展集成至gem5——一个用于计算机系统架构研究的开源模块化平台——的架构设计方案。我们详细说明了为支持H扩展所需对gem5 CPU模型及虚拟化功能进行的修改,并展示了该扩展在gem5上实现的性能影响与功能正确性评估结果。本研究不仅为RISC-V扩展的进一步研发提供了技术路径,还为gem5模拟器针对先进架构特性的优化贡献了重要见解。