gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.
 
 ~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< MemDepEntryPtrdependInsts
 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.
 

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 Tue Jun 18 2024 16:24:20 for gem5 by doxygen 1.11.0