31 #ifndef __ARCH_SPARC_DECODER_HH__ 32 #define __ARCH_SPARC_DECODER_HH__ 36 #include "arch/types.hh" 73 if (emi & (1 << 13)) {
116 return defaultCache.
decode(
this, mach_inst, addr);
131 #endif // __ARCH_SPARC_DECODER_HH__ static GenericISA::BasicDecodeCache defaultCache
A cache of decoded instruction objects.
Addr instAddr() const
Returns the memory address the bytes of this instruction came from.
void setContext(RegVal _asi)
StaticInstPtr decode(SparcISA::PCState &nextPC)
Decoder(ISA *isa=nullptr)
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)
void moreBytes(const PCState &pc, Addr fetchPC, MachInst inst)
StaticInstPtr decode(ExtMachInst mach_inst, Addr addr)
Decode a machine instruction.
StaticInstPtr decodeInst(ExtMachInst mach_inst)
T bits(T val, int first, int last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it...