Go to the documentation of this file.
29 #ifndef __ARCH_SPARC_DECODER_HH__
30 #define __ARCH_SPARC_DECODER_HH__
37 #include "debug/Decode.hh"
73 if (
emi & (1 << 13)) {
117 DPRINTF(Decode,
"Decode: Decoded %s instruction: %#x\n",
118 si->getName(), mach_inst);
134 #endif // __ARCH_SPARC_DECODER_HH__
void moreBytes(const PCState &pc, Addr fetchPC, MachInst inst)
void takeOverFrom(Decoder *old)
Decoder(ISA *isa=nullptr)
StaticInstPtr decode(SparcISA::PCState &nextPC)
Addr instAddr() const
Returns the memory address the bytes of this instruction came from.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
void setContext(RegVal _asi)
static GenericISA::BasicDecodeCache< Decoder, ExtMachInst > defaultCache
A cache of decoded instruction objects.
constexpr T bits(T val, unsigned first, unsigned last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it.
StaticInstPtr decode(ExtMachInst mach_inst, Addr addr)
Decode a machine instruction.
StaticInstPtr decodeInst(ExtMachInst mach_inst)
Generated on Tue Jun 22 2021 15:28:19 for gem5 by doxygen 1.8.17