This program is tentative and subject to change.

The rapid expansion of RISC-V extension specifications frequently outpaces hardware availability. This lag severely bottlenecks the development and validation of software stacks, which ultimately hinders the feedback loop necessary for actual hardware implementations. To address this challenge, we propose a lightweight Type-1 hypervisor that leverages the RISC-V Hypervisor extension to emulate the semantics of unimplemented RISC-V extensions. By trapping and emulating only the target instructions and control and status register (CSR) accesses, our system allows guest software to run natively for all supported instructions. Furthermore, to guarantee the correctness of the emulation toolchain and minimize manual effort, we introduce a novel auto-generation framework. We automatically derive the instruction decoders and hypervisor module templates directly from Sail, the formal semantics specification of the RISC-V ISA, thereby eliminating manual implementation errors. We evaluated our approach on a real RISC-V hardware platform (Milk-V Megrez). Experimental results demonstrate that our system outperforms a widely-used full-system emulator (QEMU) in realistic workloads, achieving faster execution times when emulated instructions account for 0.1% or less of the total execution. Additionally, our hypervisor maintains 99.8% of native performance for non-target workloads and restricts interrupt latency to under 1 microsecond. This formally-supported virtualization approach provides a practical, high-performance foundation for validating software against emerging RISC-V extensions prior to silicon availability.

This program is tentative and subject to change.

Tue 16 Jun

Displayed time zone: Mountain Time (US & Canada) change

10:40 - 12:20
Session 3: Formal Methods and Systems ReliabilityLCTES at Flatirons 3
Chair(s): Sanjiva Prasad Indian Institute of Technology Delhi
10:40
22m
Talk
Towards Verifiable System Code using a DSL Compiled to Efficient and Readable C CodeArtifacts AvailableArtifacts Evaluated
LCTES
Clément Chavanon Inria, Univ Rennes, CNRS, IRISA, Henrik Karlsson KTH Royal Institute of Technology, Frédéric Besson Univ Rennes, Inria, CNRS, IRISA, Sandrine Blazy University of Rennes, Roberto Guanciale KTH Royal Institute of Technology
DOI
11:02
22m
Talk
A Pointer-Ownership Model for C Inspired by RustResults ReproducedArtifacts AvailableArtifacts Evaluated
LCTES
David Svoboda , William Klieber Software Engineering Institute, Carnegie Mellon University, Lori Flynn CERT, Ruben Martins Carnegie Mellon University, Jeffrey Hoskinson Software Engineering Institute, Carnegie Mellon University
DOI
11:24
22m
Talk
Hikami: A Lightweight Hypervisor for Emulating RISC-V Extension Semantics with Sail-Driven Auto-generationResults ReproducedArtifacts Available
LCTES
Norimasa Takana University of Tsukuba, Yoshihiro Oyama University of Tsukuba
DOI
11:46
10m
Short-paper
Scheduled Partial-Credit RL for Reliable Code Generation with Small Language Models (WIP)
LCTES
Suryansh Singh Sijwali The Pennsylvania State University, Suman Saha pc
DOI