gem5
v22.1.0.0
|
#include <execute.hh>
Public Member Functions | |
ExecuteThreadInfo (unsigned int insts_committed) | |
Constructor. More... | |
ExecuteThreadInfo (const ExecuteThreadInfo &other) | |
Public Attributes | |
Queue< QueuedInst, ReportTraitsAdaptor< QueuedInst > > * | inFlightInsts |
In-order instructions either in FUs or the LSQ. More... | |
Queue< QueuedInst, ReportTraitsAdaptor< QueuedInst > > * | inFUMemInsts |
Memory ref instructions still in the FUs. More... | |
unsigned int | inputIndex |
Index that we've completed upto in getInput data. More... | |
bool | lastCommitWasEndOfMacroop |
The last commit was the end of a full instruction so an interrupt can safely happen. More... | |
ForwardInstData | instsBeingCommitted |
Structure for reporting insts currently being processed/retired for MinorTrace. More... | |
InstSeqNum | streamSeqNum |
Source of sequence number for instuction streams. More... | |
InstSeqNum | lastPredictionSeqNum |
A prediction number for use where one isn't available from an instruction. More... | |
DrainState | drainState |
State progression for draining NotDraining -> ... More... | |
Definition at line 153 of file execute.hh.
|
inline |
Constructor.
Definition at line 156 of file execute.hh.
|
inline |
Definition at line 165 of file execute.hh.
DrainState gem5::minor::Execute::ExecuteThreadInfo::drainState |
State progression for draining NotDraining -> ...
-> DrainAllInsts
Definition at line 205 of file execute.hh.
Referenced by gem5::minor::Execute::evaluate().
Queue<QueuedInst, ReportTraitsAdaptor<QueuedInst> >* gem5::minor::Execute::ExecuteThreadInfo::inFlightInsts |
In-order instructions either in FUs or the LSQ.
Definition at line 175 of file execute.hh.
Referenced by gem5::minor::Execute::commit(), gem5::minor::Execute::getCommittingThread(), and gem5::minor::Execute::issue().
Queue<QueuedInst, ReportTraitsAdaptor<QueuedInst> >* gem5::minor::Execute::ExecuteThreadInfo::inFUMemInsts |
Memory ref instructions still in the FUs.
Definition at line 178 of file execute.hh.
Referenced by gem5::minor::Execute::commit(), gem5::minor::Execute::getCommittingThread(), and gem5::minor::Execute::issue().
unsigned int gem5::minor::Execute::ExecuteThreadInfo::inputIndex |
Index that we've completed upto in getInput data.
We can say we're popInput when this equals getInput()->width()
Definition at line 182 of file execute.hh.
Referenced by gem5::minor::Execute::issue().
ForwardInstData gem5::minor::Execute::ExecuteThreadInfo::instsBeingCommitted |
Structure for reporting insts currently being processed/retired for MinorTrace.
Definition at line 190 of file execute.hh.
Referenced by gem5::minor::Execute::commit().
bool gem5::minor::Execute::ExecuteThreadInfo::lastCommitWasEndOfMacroop |
The last commit was the end of a full instruction so an interrupt can safely happen.
Definition at line 186 of file execute.hh.
Referenced by gem5::minor::Execute::commit().
InstSeqNum gem5::minor::Execute::ExecuteThreadInfo::lastPredictionSeqNum |
A prediction number for use where one isn't available from an instruction.
This is harvested from committed instructions. This isn't really needed as the streamSeqNum will change on a branch, but it minimises disruption in stream identification
Definition at line 202 of file execute.hh.
Referenced by gem5::minor::Execute::commit().
InstSeqNum gem5::minor::Execute::ExecuteThreadInfo::streamSeqNum |
Source of sequence number for instuction streams.
Increment this and pass to fetch whenever an instruction stream needs to be changed. For any more complicated behaviour (e.g. speculation) there'll need to be another plan.
Definition at line 196 of file execute.hh.
Referenced by gem5::minor::Execute::commit(), and gem5::minor::Execute::issue().