RGen: A Sail Extension for Generating RISC-V Compiler, Simulator, and Application Support
summary
Claim: an open-source Sail extension called RGen generates end-to-end tool support from Sail to compiler, simulator, and application layers. It adds a high-order-op language RGenIR, extends Sail frontend/backends, and emits LLVM TableGen, QEMU (via KVM/Spike-style) decoder and tiny-codegen stubs, and PyTorch operator glue. A matrix-extension prototype is generated, cross-compiled into PyTorch, and runs on an emulated RISC-V setup within minutes with correct execution and promising performance.
AI-written summary · about
chapters (9)
- 0:00Problem statement
- 1:51Argin project overview
- 2:33Target artifacts design
- 4:13Technical implementation
- 7:16Argin architecture and IR
- 11:17LLVM support generation
- 13:32QEMU simulator support
- 15:14PyTorch application support
- 16:41Performance and conclusion
related talks
16mAutomatic Test Generation and Verification for RISC-V Vector Extension
20mSail RISC-V: Status and Future Challenges
20mRISC-V Vector Sail Model and Test Generation
59mTutorial: High Level Sail Overview
02h 49mA Tour of the RISC V ISA Formal Specification
54mGNU CGEN for RISC V Tool Chain Customization
26mArchSem: Reusable Rigorous Semantics of Relaxed Architectures
09mEnd-to-end flow to automatically generate and integrate RISC-V ISA extensions
