RISC5: Improving Support For RISC-V In Gem5
summary
Adds full RV64I + IMAFDC support to gem5, implementing integer, multiply, atomic, floating-point and compressed instruction handling and a decoder that copes with 2- and 4-byte alignment. Current build runs single-threaded with system-call emulation, saves/restores states to warm caches, and is verified against Spike and Rocket Ship for FP exceptions and correctness. Missing: privileged-mode support and pthread/m5threads multithreading; full-system boot image and one FP rounding mode remain to implement.
AI-written summary · about
chapters (8)
- 0:00Introduction to RISC5 in Gem5
- 2:47Integer and multiply instructions
- 4:10Atomic instructions implementation
- 5:37Floating-point extensions
- 6:48Compressed extension challenges
- 7:56Demo of power and temperature simulation
- 9:03Roadmap for full RISC5 support
- 10:10Summary and Q&A
related talks
20mRISC V Software State of the Union
10mProtoCPU: Modelling an In-Order RISC-V Core in gem5
17mMaking LLVM RISC-V Compiler More Performant for Everyone
01h 25mRISC V Bit Manipulation ISA Extension Spec, Hardware, Software
36mAccelerate RISC-V Instruction Set Simulation by Tiered JIT Compilation
18mPreview RISC-V GCC Features and Optimization Improvements for GCC-14
34mPOWERing up gem5
21mProduction ready RISC V Support in LLVM Clang 9
