gem5  v22.0.0.2
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
gem5::o3::LSQUnit::SQEntry Class Reference
Inheritance diagram for gem5::o3::LSQUnit::SQEntry:
gem5::o3::LSQUnit::LSQEntry

Public Member Functions

 SQEntry ()
 Constructs an empty store queue entry. More...
 
void set (const DynInstPtr &inst)
 
void clear ()
 
bool & canWB ()
 Member accessors. More...
 
const bool & canWB () const
 
bool & completed ()
 
const bool & completed () const
 
bool & committed ()
 
const bool & committed () const
 
bool & isAllZeros ()
 
const bool & isAllZeros () const
 
char * data ()
 
const char * data () const
 
- Public Member Functions inherited from gem5::o3::LSQUnit::LSQEntry
 ~LSQEntry ()
 
void clear ()
 
void set (const DynInstPtr &new_inst)
 
LSQRequestrequest ()
 
void setRequest (LSQRequest *r)
 
bool hasRequest ()
 
bool valid () const
 Member accessors. More...
 
uint32_t & size ()
 
const uint32_t & size () const
 
const DynInstPtrinstruction () const
 

Static Public Attributes

static constexpr size_t DataSize = sizeof(_data)
 

Private Attributes

char _data [MaxDataBytes]
 The store data. More...
 
bool _canWB = false
 Whether or not the store can writeback. More...
 
bool _committed = false
 Whether or not the store is committed. More...
 
bool _completed = false
 Whether or not the store is completed. More...
 
bool _isAllZeros = false
 Does this request write all zeros and thus doesn't have any data attached to it. More...
 

Detailed Description

Definition at line 150 of file lsq_unit.hh.

Constructor & Destructor Documentation

◆ SQEntry()

gem5::o3::LSQUnit::SQEntry::SQEntry ( )
inline

Constructs an empty store queue entry.

Definition at line 170 of file lsq_unit.hh.

References _data, and DataSize.

Member Function Documentation

◆ canWB() [1/2]

bool& gem5::o3::LSQUnit::SQEntry::canWB ( )
inline

Member accessors.

Definition at line 186 of file lsq_unit.hh.

References _canWB.

◆ canWB() [2/2]

const bool& gem5::o3::LSQUnit::SQEntry::canWB ( ) const
inline

Definition at line 187 of file lsq_unit.hh.

References _canWB.

◆ clear()

void gem5::o3::LSQUnit::SQEntry::clear ( )
inline

◆ committed() [1/2]

bool& gem5::o3::LSQUnit::SQEntry::committed ( )
inline

Definition at line 190 of file lsq_unit.hh.

References _committed.

◆ committed() [2/2]

const bool& gem5::o3::LSQUnit::SQEntry::committed ( ) const
inline

Definition at line 191 of file lsq_unit.hh.

References _committed.

◆ completed() [1/2]

bool& gem5::o3::LSQUnit::SQEntry::completed ( )
inline

Definition at line 188 of file lsq_unit.hh.

References _completed.

◆ completed() [2/2]

const bool& gem5::o3::LSQUnit::SQEntry::completed ( ) const
inline

Definition at line 189 of file lsq_unit.hh.

References _completed.

◆ data() [1/2]

char* gem5::o3::LSQUnit::SQEntry::data ( )
inline

Definition at line 194 of file lsq_unit.hh.

References _data.

◆ data() [2/2]

const char* gem5::o3::LSQUnit::SQEntry::data ( ) const
inline

Definition at line 195 of file lsq_unit.hh.

References _data.

◆ isAllZeros() [1/2]

bool& gem5::o3::LSQUnit::SQEntry::isAllZeros ( )
inline

Definition at line 192 of file lsq_unit.hh.

References _isAllZeros.

◆ isAllZeros() [2/2]

const bool& gem5::o3::LSQUnit::SQEntry::isAllZeros ( ) const
inline

Definition at line 193 of file lsq_unit.hh.

References _isAllZeros.

◆ set()

void gem5::o3::LSQUnit::SQEntry::set ( const DynInstPtr inst)
inline

Definition at line 175 of file lsq_unit.hh.

References gem5::o3::LSQUnit::LSQEntry::set().

Member Data Documentation

◆ _canWB

bool gem5::o3::LSQUnit::SQEntry::_canWB = false
private

Whether or not the store can writeback.

Definition at line 156 of file lsq_unit.hh.

Referenced by canWB(), and clear().

◆ _committed

bool gem5::o3::LSQUnit::SQEntry::_committed = false
private

Whether or not the store is committed.

Definition at line 158 of file lsq_unit.hh.

Referenced by clear(), and committed().

◆ _completed

bool gem5::o3::LSQUnit::SQEntry::_completed = false
private

Whether or not the store is completed.

Definition at line 160 of file lsq_unit.hh.

Referenced by clear(), and completed().

◆ _data

char gem5::o3::LSQUnit::SQEntry::_data[MaxDataBytes]
private

The store data.

Definition at line 154 of file lsq_unit.hh.

Referenced by data(), and SQEntry().

◆ _isAllZeros

bool gem5::o3::LSQUnit::SQEntry::_isAllZeros = false
private

Does this request write all zeros and thus doesn't have any data attached to it.

Used for cache block zero style instructs (ARM DC ZVA; ALPHA WH64)

Definition at line 165 of file lsq_unit.hh.

Referenced by clear(), and isAllZeros().

◆ DataSize

constexpr size_t gem5::o3::LSQUnit::SQEntry::DataSize = sizeof(_data)
staticconstexpr

Definition at line 168 of file lsq_unit.hh.

Referenced by SQEntry(), and gem5::o3::LSQUnit::write().


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

Generated on Thu Jul 28 2022 13:34:11 for gem5 by doxygen 1.8.17