arch-riscv: Make RISC-V decodeInst overridable
The change will allow developers to implement and decode their non-standard instructions to the CPU models Bug: 289467440 Test: None Change-Id: I67f4abc71596f819c1265e325784f51c8e9bb359
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