31 #ifndef __ARCH_SPARC_DECODER_HH__
32 #define __ARCH_SPARC_DECODER_HH__
36 #include "arch/types.hh"
73 if (inst & (1 << 13)) {
131 #endif // __ARCH_SPARC_DECODER_HH__
static GenericISA::BasicDecodeCache defaultCache
A cache of decoded instruction objects.
void setContext(MiscReg _asi)
Addr instAddr() const
Returns the memory address the bytes of this instruction came from.
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...