gem5  v22.1.0.0
Public Member Functions | Public Attributes | List of all members
gem5::o3::MemDepUnit::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 = false
 If the registers are ready or not. More...
 
int memDeps = 0
 Number of memory dependencies that need to be satisfied. More...
 
bool completed = false
 If the instruction is completed. More...
 
bool squashed = false
 If the instruction is squashed. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ MemDepEntry()

gem5::o3::MemDepUnit::MemDepEntry::MemDepEntry ( const DynInstPtr new_inst)

Constructs a memory dependence entry.

Definition at line 494 of file mem_dep_unit.cc.

References DPRINTF, and inst.

◆ ~MemDepEntry()

gem5::o3::MemDepUnit::MemDepEntry::~MemDepEntry ( )

Frees any pointers.

Definition at line 506 of file mem_dep_unit.cc.

References DPRINTF, and gem5::ArmISA::i.

Member Function Documentation

◆ name()

std::string gem5::o3::MemDepUnit::MemDepEntry::name ( ) const
inline

Returns the name of the memory dependence entry.

Definition at line 192 of file mem_dep_unit.hh.

Member Data Documentation

◆ completed

bool gem5::o3::MemDepUnit::MemDepEntry::completed = false

If the instruction is completed.

Definition at line 208 of file mem_dep_unit.hh.

◆ dependInsts

std::vector<MemDepEntryPtr> gem5::o3::MemDepUnit::MemDepEntry::dependInsts

A vector of any dependent instructions.

Definition at line 201 of file mem_dep_unit.hh.

◆ inst

DynInstPtr gem5::o3::MemDepUnit::MemDepEntry::inst

The instruction being tracked.

Definition at line 195 of file mem_dep_unit.hh.

Referenced by MemDepEntry().

◆ listIt

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.

◆ memDeps

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.

◆ regsReady

bool gem5::o3::MemDepUnit::MemDepEntry::regsReady = false

If the registers are ready or not.

Definition at line 204 of file mem_dep_unit.hh.

◆ squashed

bool gem5::o3::MemDepUnit::MemDepEntry::squashed = false

If the instruction is squashed.

Definition at line 210 of file mem_dep_unit.hh.


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

Generated on Wed Dec 21 2022 10:24:18 for gem5 by doxygen 1.9.1