gem5
|
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 (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... | |
bool | memDepReady |
If all memory dependencies have been 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 176 of file mem_dep_unit.hh.
|
inline |
Constructs a memory dependence entry.
Definition at line 179 of file mem_dep_unit.hh.
References DPRINTF, and MemDepUnit< MemDepPred, Impl >::MemDepEntry::inst.
|
inline |
Frees any pointers.
Definition at line 192 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 206 of file mem_dep_unit.hh.
bool MemDepUnit< MemDepPred, Impl >::MemDepEntry::completed |
If the instruction is completed.
Definition at line 222 of file mem_dep_unit.hh.
std::vector<MemDepEntryPtr> MemDepUnit< MemDepPred, Impl >::MemDepEntry::dependInsts |
A vector of any dependent instructions.
Definition at line 215 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 209 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 212 of file mem_dep_unit.hh.
bool MemDepUnit< MemDepPred, Impl >::MemDepEntry::memDepReady |
If all memory dependencies have been satisfied.
Definition at line 220 of file mem_dep_unit.hh.
bool MemDepUnit< MemDepPred, Impl >::MemDepEntry::regsReady |
If the registers are ready or not.
Definition at line 218 of file mem_dep_unit.hh.
bool MemDepUnit< MemDepPred, Impl >::MemDepEntry::squashed |
If the instruction is squashed.
Definition at line 224 of file mem_dep_unit.hh.