29 #ifndef __ARCH_POWER_DECODER_HH__ 30 #define __ARCH_POWER_DECODER_HH__ 33 #include "arch/types.hh" 107 return defaultCache.
decode(
this, mach_inst, addr);
116 return decode(emi, nextPC.instAddr());
122 #endif // __ARCH_POWER_DECODER_HH__
StaticInstPtr decodeInst(ExtMachInst mach_inst)
Decoder(ISA *isa=nullptr)
StaticInstPtr decode(ExtMachInst mach_inst, Addr addr)
Decode a machine instruction.
void takeOverFrom(Decoder *old)
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.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
StaticInstPtr decode(PowerISA::PCState &nextPC)
static GenericISA::BasicDecodeCache defaultCache
A cache of decoded instruction objects.
GenericISA::DelaySlotPCState< MachInst > PCState
void moreBytes(MachInst machInst)