gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 (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 176 of file mem_dep_unit.hh.

Constructor & Destructor Documentation

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

Constructs a memory dependence entry.

Definition at line 179 of file mem_dep_unit.hh.

References DPRINTF, and MemDepUnit< MemDepPred, Impl >::MemDepEntry::inst.

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

Member Function Documentation

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 206 of file mem_dep_unit.hh.

Member Data Documentation

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

If the instruction is completed.

Definition at line 222 of file mem_dep_unit.hh.

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

template<class MemDepPred, class Impl>
DynInstPtr MemDepUnit< MemDepPred, Impl >::MemDepEntry::inst
template<class MemDepPred, class Impl>
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.

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

If all memory dependencies have been satisfied.

Definition at line 220 of file mem_dep_unit.hh.

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

If the registers are ready or not.

Definition at line 218 of file mem_dep_unit.hh.

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

If the instruction is squashed.

Definition at line 224 of file mem_dep_unit.hh.


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

Generated on Fri Jun 9 2017 13:04:14 for gem5 by doxygen 1.8.6