31 #ifndef __ARCH_ALPHA_DECODER_HH__ 32 #define __ARCH_ALPHA_DECODER_HH__ 35 #include "arch/types.hh" 69 ext_inst =
letoh(inst);
102 return defaultCache.
decode(
this, mach_inst, addr);
117 #endif // __ARCH_ALPHA_DECODER_HH__
Addr instAddr() const
Returns the memory address the bytes of this instruction came from.
StaticInstPtr decodeInst(ExtMachInst mach_inst)
bool FullSystem
The FullSystem variable can be used to determine the current mode of simulation.
Decoder(ISA *isa=nullptr)
void moreBytes(const PCState &pc, Addr fetchPC, MachInst inst)
StaticInstPtr decode(ExtMachInst mach_inst, Addr addr)
Decode a machine instruction.
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.
void takeOverFrom(Decoder *old)
StaticInstPtr decode(AlphaISA::PCState &nextPC)
static GenericISA::BasicDecodeCache defaultCache
A cache of decoded instruction objects.