gem5 v24.0.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. | |
~MemDepEntry () | |
Frees any pointers. | |
std::string | name () const |
Returns the name of the memory dependence entry. | |
Public Attributes | |
DynInstPtr | inst |
The instruction being tracked. | |
ListIt | listIt |
The iterator to the instruction's location inside the list. | |
std::vector< MemDepEntryPtr > | dependInsts |
A vector of any dependent instructions. | |
bool | regsReady = false |
If the registers are ready or not. | |
int | memDeps = 0 |
Number of memory dependencies that need to be satisfied. | |
bool | completed = false |
If the instruction is completed. | |
bool | squashed = false |
If the instruction is squashed. | |
Memory dependence entries that track memory operations, marking when the instruction is ready to execute and what instructions depend upon it.
Definition at line 182 of file mem_dep_unit.hh.
gem5::o3::MemDepUnit::MemDepEntry::MemDepEntry | ( | const DynInstPtr & | new_inst | ) |
Constructs a memory dependence entry.
Definition at line 494 of file mem_dep_unit.cc.
gem5::o3::MemDepUnit::MemDepEntry::~MemDepEntry | ( | ) |
Frees any pointers.
Definition at line 506 of file mem_dep_unit.cc.
References DPRINTF, and gem5::ArmISA::i.
|
inline |
Returns the name of the memory dependence entry.
Definition at line 192 of file mem_dep_unit.hh.
bool gem5::o3::MemDepUnit::MemDepEntry::completed = false |
If the instruction is completed.
Definition at line 208 of file mem_dep_unit.hh.
std::vector<MemDepEntryPtr> gem5::o3::MemDepUnit::MemDepEntry::dependInsts |
A vector of any dependent instructions.
Definition at line 201 of file mem_dep_unit.hh.
DynInstPtr gem5::o3::MemDepUnit::MemDepEntry::inst |
The instruction being tracked.
Definition at line 195 of file mem_dep_unit.hh.
Referenced by MemDepEntry().
ListIt gem5::o3::MemDepUnit::MemDepEntry::listIt |
The iterator to the instruction's location inside the list.
Definition at line 198 of file mem_dep_unit.hh.
int gem5::o3::MemDepUnit::MemDepEntry::memDeps = 0 |
Number of memory dependencies that need to be satisfied.
Definition at line 206 of file mem_dep_unit.hh.
bool gem5::o3::MemDepUnit::MemDepEntry::regsReady = false |
If the registers are ready or not.
Definition at line 204 of file mem_dep_unit.hh.
bool gem5::o3::MemDepUnit::MemDepEntry::squashed = false |
If the instruction is squashed.
Definition at line 210 of file mem_dep_unit.hh.