arch-riscv: Make RISC-V decodeInst overridable (#350)
The change will allow developers to implement and decode their non-standard instructions to the CPU models
This commit is contained in:
@@ -60,7 +60,7 @@ class Decoder : public InstDecoder
|
||||
ExtMachInst emi;
|
||||
uint32_t machInst;
|
||||
|
||||
StaticInstPtr decodeInst(ExtMachInst mach_inst);
|
||||
virtual StaticInstPtr decodeInst(ExtMachInst mach_inst);
|
||||
|
||||
/// Decode a machine instruction.
|
||||
/// @param mach_inst The binary instruction to decode.
|
||||
|
||||
Reference in New Issue
Block a user