-
Notifications
You must be signed in to change notification settings - Fork 171
Open
Labels
Description
Created this issue to coordinate the implementation of RISC-V. Here's the overall idea:
- Survey existing forks and prior art — Search for forks of
lifting-bits/remillthat have started RISC-V work, and check Ghidra's SLEIGH RISC-V definitions for reusable decoder/semantics work. -> it seems this commit started the work - Define register state and architecture skeleton — Add
kArchRISCV32/kArchRISCV64toArchName, createState.h(x0–x31, pc, f0–f31), wire up the architecture class and factory. - Implement instruction decoding — Write a decoder for regular encoding formats or evaluate using SLEIGH as the decoder backend.
- Write instruction semantics — Implement semantics for the base integer ISA (arithmetic, logic, shifts, loads/stores, branches), then extend to risc-v extensions.
- Add tests and CI — Create
tests/RISCV/with assembly-based tests, add a cross-compilation toolchain, and integrate into CI.
Reactions are currently unavailable