gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
MemDepUnit< MemDepPred, Impl >::MemDepEntry Class Reference

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< MemDepEntryPtrdependInsts
 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...
 

Detailed Description

template<class MemDepPred, class Impl>
class MemDepUnit< MemDepPred, Impl >::MemDepEntry

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.

Constructor & Destructor Documentation

◆ MemDepEntry()

template<class MemDepPred , class Impl >
MemDepUnit< MemDepPred, Impl >::MemDepEntry::MemDepEntry ( const DynInstPtr new_inst)
inline

Constructs a memory dependence entry.

Definition at line 181 of file mem_dep_unit.hh.

References DPRINTF.

◆ ~MemDepEntry()

template<class MemDepPred , class Impl >
MemDepUnit< MemDepPred, Impl >::MemDepEntry::~MemDepEntry ( )
inline

Frees any pointers.

Definition at line 194 of file mem_dep_unit.hh.

References DPRINTF, and ArmISA::i.

Member Function Documentation

◆ name()

template<class MemDepPred , class Impl >
std::string MemDepUnit< MemDepPred, Impl >::MemDepEntry::name ( ) const
inline

Returns the name of the memory dependence entry.

Definition at line 208 of file mem_dep_unit.hh.

Member Data Documentation

◆ completed

template<class MemDepPred , class Impl >
bool MemDepUnit< MemDepPred, Impl >::MemDepEntry::completed

If the instruction is completed.

Definition at line 224 of file mem_dep_unit.hh.

◆ dependInsts

template<class MemDepPred , class Impl >
std::vector<MemDepEntryPtr> MemDepUnit< MemDepPred, Impl >::MemDepEntry::dependInsts

A vector of any dependent instructions.

Definition at line 217 of file mem_dep_unit.hh.

◆ inst

template<class MemDepPred , class Impl >
DynInstPtr MemDepUnit< MemDepPred, Impl >::MemDepEntry::inst

The instruction being tracked.

Definition at line 211 of file mem_dep_unit.hh.

◆ listIt

template<class MemDepPred , class Impl >
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.

◆ memDepReady

template<class MemDepPred , class Impl >
bool MemDepUnit< MemDepPred, Impl >::MemDepEntry::memDepReady

If all memory dependencies have been satisfied.

Definition at line 222 of file mem_dep_unit.hh.

◆ regsReady

template<class MemDepPred , class Impl >
bool MemDepUnit< MemDepPred, Impl >::MemDepEntry::regsReady

If the registers are ready or not.

Definition at line 220 of file mem_dep_unit.hh.

◆ squashed

template<class MemDepPred , class Impl >
bool MemDepUnit< MemDepPred, Impl >::MemDepEntry::squashed

If the instruction is squashed.

Definition at line 226 of file mem_dep_unit.hh.


The documentation for this class was generated from the following file:

Generated on Fri Feb 28 2020 16:27:13 for gem5 by doxygen 1.8.13