gem5 v24.0.0.0
|
#include <decoder.hh>
Classes | |
struct | InstBytes |
Public Member Functions | |
Decoder (const X86DecoderParams &p) | |
void | setM5Reg (HandyM5Reg m5Reg) |
void | takeOverFrom (InstDecoder *old) override |
Take over the state from an old decoder when switching CPUs. | |
void | reset () override |
void | moreBytes (const PCStateBase &pc, Addr fetchPC) override |
Feed data to the decoder. | |
void | updateNPC (X86ISA::PCState &nextPC) |
StaticInstPtr | decode (PCStateBase &next_pc) override |
Decode an instruction or fetch it from the code cache. | |
StaticInstPtr | fetchRomMicroop (MicroPC micropc, StaticInstPtr curMacroop) override |
Public Member Functions inherited from gem5::InstDecoder | |
template<typename MoreBytesType > | |
InstDecoder (const InstDecoderParams ¶ms, MoreBytesType *mb_buf) | |
template<class Type > | |
Type & | as () |
template<class Type > | |
const Type & | as () const |
void * | moreBytesPtr () const |
size_t | moreBytesSize () const |
Addr | pcMask () const |
bool | instReady () const |
Is an instruction ready to be decoded? | |
bool | needMoreBytes () const |
Can the decoder accept more data? | |
Public Member Functions inherited from gem5::SimObject | |
const Params & | params () const |
SimObject (const Params &p) | |
virtual | ~SimObject () |
virtual void | init () |
init() is called after all C++ SimObjects have been created and all ports are connected. | |
virtual void | loadState (CheckpointIn &cp) |
loadState() is called on each SimObject when restoring from a checkpoint. | |
virtual void | initState () |
initState() is called on each SimObject when not restoring from a checkpoint. | |
virtual void | regProbePoints () |
Register probe points for this object. | |
virtual void | regProbeListeners () |
Register probe listeners for this object. | |
ProbeManager * | getProbeManager () |
Get the probe manager for this object. | |
virtual Port & | getPort (const std::string &if_name, PortID idx=InvalidPortID) |
Get a port with a given name and index. | |
virtual void | startup () |
startup() is the final initialization call before simulation. | |
DrainState | drain () override |
Provide a default implementation of the drain interface for objects that don't need draining. | |
virtual void | memWriteback () |
Write back dirty buffers to memory using functional writes. | |
virtual void | memInvalidate () |
Invalidate the contents of memory buffers. | |
void | serialize (CheckpointOut &cp) const override |
Serialize an object. | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. | |
Public Member Functions inherited from gem5::EventManager | |
EventQueue * | eventQueue () const |
void | schedule (Event &event, Tick when) |
void | deschedule (Event &event) |
void | reschedule (Event &event, Tick when, bool always=false) |
void | schedule (Event *event, Tick when) |
void | deschedule (Event *event) |
void | reschedule (Event *event, Tick when, bool always=false) |
void | wakeupEventQueue (Tick when=(Tick) -1) |
This function is not needed by the usual gem5 event loop but may be necessary in derived EventQueues which host gem5 on other schedulers. | |
void | setCurTick (Tick newVal) |
EventManager (EventManager &em) | |
Event manger manages events in the event queue. | |
EventManager (EventManager *em) | |
EventManager (EventQueue *eq) | |
Public Member Functions inherited from gem5::Serializable | |
Serializable () | |
virtual | ~Serializable () |
void | serializeSection (CheckpointOut &cp, const char *name) const |
Serialize an object into a new section. | |
void | serializeSection (CheckpointOut &cp, const std::string &name) const |
void | unserializeSection (CheckpointIn &cp, const char *name) |
Unserialize an a child object. | |
void | unserializeSection (CheckpointIn &cp, const std::string &name) |
Public Member Functions inherited from gem5::Drainable | |
DrainState | drainState () const |
Return the current drain state of an object. | |
virtual void | notifyFork () |
Notify a child process of a fork. | |
Public Member Functions inherited from gem5::statistics::Group | |
Group (Group *parent, const char *name=nullptr) | |
Construct a new statistics group. | |
virtual | ~Group () |
virtual void | regStats () |
Callback to set stat parameters. | |
virtual void | resetStats () |
Callback to reset stats. | |
virtual void | preDumpStats () |
Callback before stats are dumped. | |
void | addStat (statistics::Info *info) |
Register a stat with this group. | |
const std::map< std::string, Group * > & | getStatGroups () const |
Get all child groups associated with this object. | |
const std::vector< Info * > & | getStats () const |
Get all stats associated with this object. | |
void | addStatGroup (const char *name, Group *block) |
Add a stat block as a child of this block. | |
const Info * | resolveStat (std::string name) const |
Resolve a stat by its name within this group. | |
void | mergeStatGroup (Group *block) |
Merge the contents (stats & children) of a block to this block. | |
Group ()=delete | |
Group (const Group &)=delete | |
Group & | operator= (const Group &)=delete |
Public Member Functions inherited from gem5::Named | |
Named (const std::string &name_) | |
virtual | ~Named ()=default |
virtual std::string | name () const |
Protected Types | |
enum | State { ResetState , FromCacheState , PrefixState , Vex2Of2State , Vex2Of3State , Vex3Of3State , VexOpcodeState , OneByteOpcodeState , TwoByteOpcodeState , ThreeByte0F38OpcodeState , ThreeByte0F3AOpcodeState , ModRMState , SIBState , DisplacementState , ImmediateState , ErrorState } |
using | MachInst = uint64_t |
typedef RegVal | CacheKey |
Caching for decoded instruction objects. | |
typedef decode_cache::AddrMap< Decoder::InstBytes > | DecodePages |
typedef std::unordered_map< CacheKey, DecodePages * > | AddrCacheMap |
typedef std::unordered_map< CacheKey, decode_cache::InstMap< ExtMachInst > * > | InstCacheMap |
Protected Attributes | |
MachInst | fetchChunk |
InstBytes * | instBytes = &dummy |
int | chunkIdx |
Addr | basePC = 0 |
Addr | origPC = 0 |
int | offset = 0 |
ExtMachInst | emi |
X86Mode | mode = LongMode |
X86SubMode | submode = SixtyFourBitMode |
uint8_t | altOp = 0 |
uint8_t | defOp = 0 |
uint8_t | altAddr = 0 |
uint8_t | defAddr = 0 |
uint8_t | stack = 0 |
uint8_t | cpl = 0 |
int | displacementSize |
int | immediateSize |
int | immediateCollected |
State | state = ResetState |
DecodePages * | decodePages = nullptr |
AddrCacheMap | addrCacheMap |
decode_cache::InstMap< ExtMachInst > * | instMap = nullptr |
Protected Attributes inherited from gem5::InstDecoder | |
void * | _moreBytesPtr |
size_t | _moreBytesSize |
Addr | _pcMask |
bool | instDone = false |
bool | outOfBytes = true |
Protected Attributes inherited from gem5::SimObject | |
const SimObjectParams & | _params |
Cached copy of the object parameters. | |
Protected Attributes inherited from gem5::EventManager | |
EventQueue * | eventq |
A pointer to this object's event queue. | |
Static Protected Attributes | |
static InstBytes | dummy |
static InstCacheMap | instCacheMap |
Private Types | |
typedef const uint8_t | ByteTable[256] |
Static Private Attributes | |
static const uint8_t | SizeTypeToSize [3][10] |
static ByteTable | Prefixes [2] |
static ByteTable | UsesModRMOneByte |
static ByteTable | UsesModRMTwoByte |
static ByteTable | UsesModRMThreeByte0F38 |
static ByteTable | UsesModRMThreeByte0F3A |
static ByteTable | ImmediateTypeOneByte |
static ByteTable | ImmediateTypeTwoByte |
static ByteTable | ImmediateTypeThreeByte0F38 |
static ByteTable | ImmediateTypeThreeByte0F3A |
static X86ISAInst::MicrocodeRom | microcodeRom |
Additional Inherited Members | |
Public Types inherited from gem5::SimObject | |
typedef SimObjectParams | Params |
Static Public Member Functions inherited from gem5::SimObject | |
static void | serializeAll (const std::string &cpt_dir) |
Create a checkpoint by serializing all SimObjects in the system. | |
static SimObject * | find (const char *name) |
Find the SimObject with the given name and return a pointer to it. | |
static void | setSimObjectResolver (SimObjectResolver *resolver) |
There is a single object name resolver, and it is only set when simulation is restoring from checkpoints. | |
static SimObjectResolver * | getSimObjectResolver () |
There is a single object name resolver, and it is only set when simulation is restoring from checkpoints. | |
Static Public Member Functions inherited from gem5::Serializable | |
static const std::string & | currentSection () |
Gets the fully-qualified name of the active section. | |
static void | generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream) |
Generate a checkpoint file so that the serialization can be routed to it. | |
Definition at line 57 of file decoder.hh.
|
protected |
Definition at line 241 of file decoder.hh.
|
private |
Definition at line 62 of file decoder.hh.
|
protected |
Caching for decoded instruction objects.
Definition at line 237 of file decoder.hh.
|
protected |
Definition at line 239 of file decoder.hh.
|
protected |
Definition at line 246 of file decoder.hh.
|
protected |
Definition at line 78 of file decoder.hh.
|
protected |
Definition at line 188 of file decoder.hh.
|
inline |
Definition at line 259 of file decoder.hh.
References cpl, emi, mode, gem5::X86ISA::ExtMachInst::mode, gem5::X86ISA::ExtMachInst::reset(), and submode.
|
inlineprotected |
Definition at line 165 of file decoder.hh.
References offset, and updateOffsetState().
Referenced by doModRMState(), doOneByteOpcodeState(), doPrefixState(), doSIBState(), doThreeByte0F38OpcodeState(), doThreeByte0F3AOpcodeState(), doTwoByteOpcodeState(), doVex2Of2State(), doVex2Of3State(), doVex3Of3State(), and doVexOpcodeState().
|
inlineprotected |
Definition at line 172 of file decoder.hh.
References offset, and updateOffsetState().
Referenced by getImmediate().
|
protected |
Decode a machine instruction.
mach_inst | The binary instruction to decode. |
A | pointer to the corresponding StaticInst object. |
Definition at line 678 of file decoder.cc.
References basePC, decodeInst(), DPRINTF, instMap, offset, origPC, and gem5::X86ISA::si.
Referenced by decode().
|
overridevirtual |
Decode an instruction or fetch it from the code cache.
This method decodes the currently pending pre-decoded instruction. Data must be fed to the decoder using moreBytes() until instReady() is true before calling this method.
pc | Instruction pointer that we are decoding. |
Implements gem5::InstDecoder.
Definition at line 698 of file decoder.cc.
References gem5::PCStateBase::as(), basePC, gem5::X86ISA::Decoder::InstBytes::chunks, decode(), emi, instBytes, gem5::InstDecoder::instDone, gem5::X86ISA::Decoder::InstBytes::lastOffset, gem5::X86ISA::mask, gem5::X86ISA::Decoder::InstBytes::masks, offset, origPC, gem5::X86ISA::Decoder::InstBytes::si, gem5::X86ISA::si, and updateNPC().
|
protected |
Referenced by decode().
|
protected |
Definition at line 588 of file decoder.cc.
References gem5::X86ISA::ExtMachInst::displacement, displacementSize, DisplacementState, gem5::X86ISA::ExtMachInst::dispSize, DPRINTF, emi, ErrorState, getImmediate(), immediateCollected, immediateSize, ImmediateState, gem5::InstDecoder::instDone, panic, ResetState, and gem5::sext().
Referenced by process().
|
protected |
Definition at line 148 of file decoder.cc.
References basePC, chunkIdx, gem5::X86ISA::Decoder::InstBytes::chunks, DPRINTF, fetchChunk, FromCacheState, instBytes, gem5::InstDecoder::instDone, gem5::X86ISA::Decoder::InstBytes::lastOffset, gem5::X86ISA::Decoder::InstBytes::masks, offset, origPC, gem5::InstDecoder::outOfBytes, PrefixState, ResetState, and gem5::X86ISA::Decoder::InstBytes::si.
Referenced by process().
|
protected |
Definition at line 635 of file decoder.cc.
References DPRINTF, emi, ErrorState, getImmediate(), gem5::X86ISA::ExtMachInst::immediate, immediateCollected, immediateSize, ImmediateState, gem5::InstDecoder::instDone, ResetState, and gem5::sext().
Referenced by process().
|
protected |
Definition at line 513 of file decoder.cc.
References gem5::X86ISA::ExtMachInst::addrSize, consumeByte(), displacementSize, DisplacementState, DPRINTF, emi, ErrorState, immediateSize, ImmediateState, gem5::InstDecoder::instDone, gem5::X86ISA::ExtMachInst::modRM, gem5::X86ISA::ExtMachInst::op, gem5::X86ISA::ExtMachInst::opcode, gem5::X86ISA::ExtMachInst::opSize, ResetState, SIBState, and gem5::X86ISA::ExtMachInst::type.
Referenced by process().
|
protected |
Definition at line 380 of file decoder.cc.
References consumeByte(), DPRINTF, emi, ErrorState, ImmediateTypeOneByte, gem5::X86ISA::ExtMachInst::op, gem5::X86ISA::ExtMachInst::opcode, processOpcode(), TwoByteOpcodeState, gem5::X86ISA::ExtMachInst::type, and UsesModRMOneByte.
Referenced by process().
|
protected |
Definition at line 182 of file decoder.cc.
References gem5::X86ISA::AddressSizeOverride, consumeByte(), gem5::X86ISA::CSOverride, DPRINTF, gem5::X86ISA::DSOverride, emi, gem5::X86ISA::ESOverride, gem5::X86ISA::FSOverride, gem5::X86ISA::GSOverride, gem5::X86ISA::ExtMachInst::legacy, gem5::X86ISA::Lock, gem5::X86ISA::ExtMachInst::mode, OneByteOpcodeState, gem5::X86ISA::OperandSizeOverride, panic, PrefixState, gem5::X86ISA::Rep, gem5::X86ISA::Repne, gem5::X86ISA::ExtMachInst::rex, gem5::X86ISA::RexPrefix, gem5::X86ISA::SixtyFourBitMode, gem5::X86ISA::SSOverride, gem5::X86ISA::ExtMachInst::vex, Vex2Of2State, Vex2Of3State, gem5::X86ISA::Vex2Prefix, and gem5::X86ISA::Vex3Prefix.
Referenced by process().
|
protected |
Definition at line 47 of file decoder.cc.
References basePC, chunkIdx, gem5::X86ISA::Decoder::InstBytes::chunks, decodePages, gem5::X86ISA::ExtMachInst::displacement, gem5::X86ISA::ExtMachInst::dispSize, DPRINTF, emi, FromCacheState, gem5::X86ISA::ExtMachInst::immediate, immediateCollected, instBytes, gem5::X86ISA::ExtMachInst::legacy, gem5::decode_cache::AddrMap< Value, CacheChunkShift >::lookup(), gem5::X86ISA::ExtMachInst::modRM, offset, gem5::X86ISA::ExtMachInst::op, gem5::X86ISA::ExtMachInst::opcode, origPC, PrefixState, gem5::X86ISA::ExtMachInst::rex, gem5::X86ISA::Decoder::InstBytes::si, gem5::X86ISA::ExtMachInst::sib, gem5::X86ISA::ExtMachInst::type, and gem5::X86ISA::ExtMachInst::vex.
Referenced by process().
|
protected |
Definition at line 567 of file decoder.cc.
References consumeByte(), displacementSize, DisplacementState, DPRINTF, emi, ErrorState, immediateSize, ImmediateState, gem5::InstDecoder::instDone, gem5::X86ISA::ExtMachInst::modRM, ResetState, and gem5::X86ISA::ExtMachInst::sib.
Referenced by process().
|
protected |
Definition at line 425 of file decoder.cc.
References consumeByte(), DPRINTF, emi, ImmediateTypeThreeByte0F38, gem5::X86ISA::ExtMachInst::op, gem5::X86ISA::ExtMachInst::opcode, processOpcode(), gem5::X86ISA::ExtMachInst::type, and UsesModRMThreeByte0F38.
Referenced by process().
|
protected |
Definition at line 439 of file decoder.cc.
References consumeByte(), DPRINTF, emi, ImmediateTypeThreeByte0F3A, gem5::X86ISA::ExtMachInst::op, gem5::X86ISA::ExtMachInst::opcode, processOpcode(), gem5::X86ISA::ExtMachInst::type, and UsesModRMThreeByte0F3A.
Referenced by process().
|
protected |
Definition at line 402 of file decoder.cc.
References consumeByte(), DPRINTF, emi, ErrorState, ImmediateTypeTwoByte, gem5::X86ISA::ExtMachInst::op, gem5::X86ISA::ExtMachInst::opcode, processOpcode(), ThreeByte0F38OpcodeState, ThreeByte0F3AOpcodeState, gem5::X86ISA::ExtMachInst::type, and UsesModRMTwoByte.
Referenced by process().
|
protected |
Definition at line 248 of file decoder.cc.
References consumeByte(), emi, gem5::X86ISA::ExtMachInst::legacy, gem5::X86ISA::ExtMachInst::opcode, gem5::X86ISA::ExtMachInst::rex, gem5::X86ISA::ExtMachInst::type, gem5::X86ISA::ExtMachInst::vex, and VexOpcodeState.
Referenced by process().
|
protected |
Definition at line 278 of file decoder.cc.
References gem5::bits(), consumeByte(), emi, ImmediateTypeOneByte, gem5::InstDecoder::instDone, gem5::X86ISA::ExtMachInst::mode, gem5::X86ISA::ExtMachInst::op, gem5::X86ISA::ExtMachInst::opcode, processOpcode(), ResetState, gem5::X86ISA::ExtMachInst::rex, gem5::X86ISA::SixtyFourBitMode, gem5::X86ISA::ExtMachInst::type, UsesModRMOneByte, gem5::X86ISA::ExtMachInst::vex, and Vex3Of3State.
Referenced by process().
|
protected |
Definition at line 319 of file decoder.cc.
References gem5::bits(), consumeByte(), emi, ImmediateTypeOneByte, gem5::X86ISA::ExtMachInst::legacy, gem5::X86ISA::ExtMachInst::mode, gem5::X86ISA::ExtMachInst::op, gem5::X86ISA::ExtMachInst::opcode, processOpcode(), gem5::X86ISA::ExtMachInst::rex, gem5::X86ISA::SixtyFourBitMode, gem5::X86ISA::ExtMachInst::type, UsesModRMOneByte, gem5::X86ISA::ExtMachInst::vex, and VexOpcodeState.
Referenced by process().
|
protected |
Definition at line 356 of file decoder.cc.
References consumeByte(), DPRINTF, emi, ImmediateTypeThreeByte0F38, ImmediateTypeThreeByte0F3A, ImmediateTypeTwoByte, gem5::X86ISA::ExtMachInst::op, gem5::X86ISA::ExtMachInst::opcode, panic, processOpcode(), gem5::X86ISA::ExtMachInst::type, UsesModRMThreeByte0F38, UsesModRMThreeByte0F3A, and UsesModRMTwoByte.
Referenced by process().
|
overridevirtual |
Reimplemented from gem5::InstDecoder.
Definition at line 741 of file decoder.cc.
References gem5::X86ISAInst::MicrocodeRom::fetchMicroop(), and microcodeRom.
|
inlineprotected |
Definition at line 123 of file decoder.hh.
References consumeBytes(), fetchChunk, immediateCollected, gem5::X86ISA::mask, and offset.
Referenced by doDisplacementState(), and doImmediateState().
|
inlineprotected |
Definition at line 117 of file decoder.hh.
References fetchChunk, and offset.
Referenced by process().
|
inlineoverridevirtual |
Feed data to the decoder.
A CPU model uses this interface to load instruction data into the decoder. Once enough data has been loaded (check with instReady()), a decoded instruction can be retrieved using decode(PCStateBase &).
This method is intended to support both fixed-length and variable-length instructions. Instruction data is fetch in MachInst blocks (which correspond to the size of a typical insturction). The method might need to be called multiple times if the instruction spans multiple blocks, in that case needMoreBytes() will return true and instReady() will return false.
The fetchPC parameter is used to indicate where in memory the instruction was fetched from. This is should be the same address as the pc. If fetching multiple blocks, it indicates where subsequent blocks are fetched from (pc + n * sizeof(MachInst)).
pc | Instruction pointer that we are decoding. |
fetchPC | The address this chunk was fetched from. |
Implements gem5::InstDecoder.
Definition at line 330 of file decoder.hh.
References basePC, DPRINTF, fetchChunk, gem5::letoh(), offset, gem5::InstDecoder::outOfBytes, gem5::X86ISA::pc, and process().
|
protected |
Definition at line 78 of file decoder.cc.
References gem5::X86ISA::Decoder::InstBytes::chunks, DisplacementState, doDisplacementState(), doFromCacheState(), doImmediateState(), doModRMState(), doOneByteOpcodeState(), doPrefixState(), doResetState(), doSIBState(), doThreeByte0F38OpcodeState(), doThreeByte0F3AOpcodeState(), doTwoByteOpcodeState(), doVex2Of2State(), doVex2Of3State(), doVex3Of3State(), doVexOpcodeState(), ErrorState, fetchChunk, FromCacheState, getNextByte(), ImmediateState, instBytes, gem5::InstDecoder::instDone, ModRMState, OneByteOpcodeState, gem5::InstDecoder::outOfBytes, panic, PrefixState, ResetState, SIBState, state, ThreeByte0F38OpcodeState, ThreeByte0F3AOpcodeState, TwoByteOpcodeState, Vex2Of2State, Vex2Of3State, Vex3Of3State, and VexOpcodeState.
Referenced by moreBytes().
|
protected |
Definition at line 453 of file decoder.cc.
References gem5::X86ISA::ExtMachInst::addrSize, altAddr, altOp, defAddr, defOp, emi, ErrorState, immediateSize, ImmediateState, gem5::InstDecoder::instDone, gem5::X86ISA::ExtMachInst::legacy, ModRMState, gem5::X86ISA::ExtMachInst::op, gem5::ArmISA::opcode, gem5::X86ISA::ExtMachInst::opcode, gem5::X86ISA::ExtMachInst::opSize, ResetState, gem5::X86ISA::ExtMachInst::rex, SizeTypeToSize, stack, and gem5::X86ISA::ExtMachInst::stackSize.
Referenced by doOneByteOpcodeState(), doThreeByte0F38OpcodeState(), doThreeByte0F3AOpcodeState(), doTwoByteOpcodeState(), doVex2Of3State(), doVex3Of3State(), and doVexOpcodeState().
|
inlineoverridevirtual |
Reimplemented from gem5::InstDecoder.
Definition at line 321 of file decoder.hh.
References gem5::InstDecoder::reset(), ResetState, and state.
|
inline |
Definition at line 268 of file decoder.hh.
References addrCacheMap, altAddr, altOp, cpl, decodePages, defAddr, defOp, emi, instCacheMap, instMap, mode, gem5::X86ISA::ExtMachInst::mode, stack, and submode.
|
inlineoverridevirtual |
Take over the state from an old decoder when switching CPUs.
old | Decoder used in old CPU |
Reimplemented from gem5::InstDecoder.
Definition at line 300 of file decoder.hh.
References altAddr, altOp, cpl, defAddr, defOp, emi, mode, gem5::X86ISA::ExtMachInst::mode, stack, submode, and gem5::InstDecoder::takeOverFrom().
|
inline |
Definition at line 341 of file decoder.hh.
References basePC, DPRINTF, gem5::GenericISA::PCStateWithNext::npc(), offset, origPC, gem5::GenericISA::PCStateWithNext::pc(), and gem5::X86ISA::PCState::size().
Referenced by decode().
|
inlineprotected |
Definition at line 147 of file decoder.hh.
References basePC, chunkIdx, gem5::X86ISA::Decoder::InstBytes::chunks, DPRINTF, fetchChunk, instBytes, offset, and gem5::InstDecoder::outOfBytes.
Referenced by consumeByte(), and consumeBytes().
|
protected |
Definition at line 242 of file decoder.hh.
Referenced by setM5Reg().
|
protected |
Definition at line 110 of file decoder.hh.
Referenced by processOpcode(), setM5Reg(), and takeOverFrom().
|
protected |
Definition at line 108 of file decoder.hh.
Referenced by processOpcode(), setM5Reg(), and takeOverFrom().
|
protected |
Definition at line 98 of file decoder.hh.
Referenced by decode(), decode(), doFromCacheState(), doResetState(), moreBytes(), updateNPC(), and updateOffsetState().
|
protected |
Definition at line 96 of file decoder.hh.
Referenced by doFromCacheState(), doResetState(), and updateOffsetState().
|
protected |
Definition at line 114 of file decoder.hh.
Referenced by Decoder(), setM5Reg(), and takeOverFrom().
|
protected |
Definition at line 240 of file decoder.hh.
Referenced by doResetState(), and setM5Reg().
|
protected |
Definition at line 111 of file decoder.hh.
Referenced by processOpcode(), setM5Reg(), and takeOverFrom().
|
protected |
Definition at line 109 of file decoder.hh.
Referenced by processOpcode(), setM5Reg(), and takeOverFrom().
|
protected |
Definition at line 181 of file decoder.hh.
Referenced by doDisplacementState(), doModRMState(), and doSIBState().
|
staticprotected |
Definition at line 91 of file decoder.hh.
|
protected |
Definition at line 104 of file decoder.hh.
Referenced by decode(), Decoder(), doDisplacementState(), doImmediateState(), doModRMState(), doOneByteOpcodeState(), doPrefixState(), doResetState(), doSIBState(), doThreeByte0F38OpcodeState(), doThreeByte0F3AOpcodeState(), doTwoByteOpcodeState(), doVex2Of2State(), doVex2Of3State(), doVex3Of3State(), doVexOpcodeState(), processOpcode(), setM5Reg(), and takeOverFrom().
|
protected |
Definition at line 94 of file decoder.hh.
Referenced by doFromCacheState(), getImmediate(), getNextByte(), moreBytes(), process(), and updateOffsetState().
|
protected |
Definition at line 186 of file decoder.hh.
Referenced by doDisplacementState(), doImmediateState(), doResetState(), and getImmediate().
|
protected |
Definition at line 183 of file decoder.hh.
Referenced by doDisplacementState(), doImmediateState(), doModRMState(), doSIBState(), and processOpcode().
|
staticprivate |
Definition at line 70 of file decoder.hh.
Referenced by doOneByteOpcodeState(), doVex2Of3State(), and doVex3Of3State().
|
staticprivate |
Definition at line 72 of file decoder.hh.
Referenced by doThreeByte0F38OpcodeState(), and doVexOpcodeState().
|
staticprivate |
Definition at line 73 of file decoder.hh.
Referenced by doThreeByte0F3AOpcodeState(), and doVexOpcodeState().
|
staticprivate |
Definition at line 71 of file decoder.hh.
Referenced by doTwoByteOpcodeState(), and doVexOpcodeState().
Definition at line 95 of file decoder.hh.
Referenced by decode(), doFromCacheState(), doResetState(), process(), and updateOffsetState().
|
staticprotected |
Definition at line 247 of file decoder.hh.
Referenced by setM5Reg().
|
protected |
Definition at line 244 of file decoder.hh.
Referenced by decode(), and setM5Reg().
|
staticprivate |
Definition at line 75 of file decoder.hh.
Referenced by fetchRomMicroop().
|
protected |
Definition at line 106 of file decoder.hh.
Referenced by Decoder(), setM5Reg(), and takeOverFrom().
|
protected |
Definition at line 102 of file decoder.hh.
Referenced by consumeByte(), consumeBytes(), decode(), decode(), doFromCacheState(), doResetState(), getImmediate(), getNextByte(), moreBytes(), updateNPC(), and updateOffsetState().
|
protected |
Definition at line 100 of file decoder.hh.
Referenced by decode(), decode(), doFromCacheState(), doResetState(), and updateNPC().
|
staticprivate |
Definition at line 63 of file decoder.hh.
|
staticprivate |
Definition at line 61 of file decoder.hh.
Referenced by processOpcode().
|
protected |
Definition at line 112 of file decoder.hh.
Referenced by processOpcode(), setM5Reg(), and takeOverFrom().
|
protected |
Definition at line 209 of file decoder.hh.
|
protected |
Definition at line 107 of file decoder.hh.
Referenced by Decoder(), setM5Reg(), and takeOverFrom().
|
staticprivate |
Definition at line 65 of file decoder.hh.
Referenced by doOneByteOpcodeState(), doVex2Of3State(), and doVex3Of3State().
|
staticprivate |
Definition at line 67 of file decoder.hh.
Referenced by doThreeByte0F38OpcodeState(), and doVexOpcodeState().
|
staticprivate |
Definition at line 68 of file decoder.hh.
Referenced by doThreeByte0F3AOpcodeState(), and doVexOpcodeState().
|
staticprivate |
Definition at line 66 of file decoder.hh.
Referenced by doTwoByteOpcodeState(), and doVexOpcodeState().