gem5
v20.1.0.0
|
Memory dependence entries that track memory operations, marking when the instruction is ready to execute and what instructions depend upon it. More...
Public Member Functions | |
MemDepEntry (const DynInstPtr &new_inst) | |
Constructs a memory dependence entry. More... | |
~MemDepEntry () | |
Frees any pointers. More... | |
std::string | name () const |
Returns the name of the memory dependence entry. More... | |
Public Attributes | |
DynInstPtr | inst |
The instruction being tracked. More... | |
ListIt | listIt |
The iterator to the instruction's location inside the list. More... | |
std::vector< MemDepEntryPtr > | dependInsts |
A vector of any dependent instructions. More... | |
bool | regsReady |
If the registers are ready or not. More... | |
int | memDeps |
Number of memory dependencies that need to be satisfied. More... | |
bool | completed |
If the instruction is completed. More... | |
bool | squashed |
If the instruction is squashed. More... | |
Memory dependence entries that track memory operations, marking when the instruction is ready to execute and what instructions depend upon it.
Definition at line 178 of file mem_dep_unit.hh.
|
inline |
Constructs a memory dependence entry.
Definition at line 181 of file mem_dep_unit.hh.
References DPRINTF, and MemDepUnit< MemDepPred, Impl >::MemDepEntry::inst.
|
inline |
Frees any pointers.
Definition at line 194 of file mem_dep_unit.hh.
References MemDepUnit< MemDepPred, Impl >::MemDepEntry::dependInsts, DPRINTF, ArmISA::i, and MemDepUnit< MemDepPred, Impl >::MemDepEntry::inst.
|
inline |
Returns the name of the memory dependence entry.
Definition at line 208 of file mem_dep_unit.hh.
bool MemDepUnit< MemDepPred, Impl >::MemDepEntry::completed |
If the instruction is completed.
Definition at line 224 of file mem_dep_unit.hh.
std::vector<MemDepEntryPtr> MemDepUnit< MemDepPred, Impl >::MemDepEntry::dependInsts |
A vector of any dependent instructions.
Definition at line 217 of file mem_dep_unit.hh.
Referenced by MemDepUnit< MemDepPred, Impl >::MemDepEntry::~MemDepEntry().
DynInstPtr MemDepUnit< MemDepPred, Impl >::MemDepEntry::inst |
The instruction being tracked.
Definition at line 211 of file mem_dep_unit.hh.
Referenced by MemDepUnit< MemDepPred, Impl >::MemDepEntry::MemDepEntry(), and MemDepUnit< MemDepPred, Impl >::MemDepEntry::~MemDepEntry().
ListIt MemDepUnit< MemDepPred, Impl >::MemDepEntry::listIt |
The iterator to the instruction's location inside the list.
Definition at line 214 of file mem_dep_unit.hh.
int MemDepUnit< MemDepPred, Impl >::MemDepEntry::memDeps |
Number of memory dependencies that need to be satisfied.
Definition at line 222 of file mem_dep_unit.hh.
bool MemDepUnit< MemDepPred, Impl >::MemDepEntry::regsReady |
If the registers are ready or not.
Definition at line 220 of file mem_dep_unit.hh.
bool MemDepUnit< MemDepPred, Impl >::MemDepEntry::squashed |
If the instruction is squashed.
Definition at line 226 of file mem_dep_unit.hh.