31 #ifndef __ARCH_RISCV_DECODER_HH__
32 #define __ARCH_RISCV_DECODER_HH__
117 #endif // __ARCH_RISCV_DECODER_HH__
StaticInstPtr decode(RiscvISA::PCState &nextPC)
Decoder(ISA *isa=nullptr)
Addr instAddr() const
Returns the memory address the bytes of this instruction came from.
StaticInstPtr decodeInst(ExtMachInst mach_inst)
void takeOverFrom(Decoder *old)
static GenericISA::BasicDecodeCache defaultCache
A cache of decoded instruction objects.
void moreBytes(const PCState &pc, Addr fetchPC, MachInst inst)
StaticInstPtr decode(TheISA::Decoder *const decoder, TheISA::ExtMachInst mach_inst, Addr addr)
Decode a machine instruction.
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,16,32,64}_t.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
StaticInstPtr decode(ExtMachInst mach_inst, Addr addr)
Decode a machine instruction.