gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
ConditionRegisterState Class Reference

#include <condition_register_state.hh>

Public Member Functions

 ConditionRegisterState ()
 
void init (uint32_t _size)
 
const std::string name () const
 
void setParent (ComputeUnit *_computeUnit)
 
void regStats ()
 
template<typename T >
read (int regIdx, int threadId)
 
template<typename T >
void write (int regIdx, int threadId, T value)
 
void markReg (int regIdx, uint8_t value)
 
uint8_t regBusy (int idx)
 
int numRegs ()
 
void exec (GPUDynInstPtr ii, Wavefront *w)
 

Private Attributes

ComputeUnitcomputeUnit
 
std::string _name
 
std::vector< VectorMaskc_reg
 
std::vector< uint8_t > busy
 

Detailed Description

Definition at line 50 of file condition_register_state.hh.

Constructor & Destructor Documentation

ConditionRegisterState::ConditionRegisterState ( )

Definition at line 43 of file condition_register_state.cc.

References busy, c_reg, and computeUnit.

Member Function Documentation

void ConditionRegisterState::exec ( GPUDynInstPtr  ii,
Wavefront w 
)
void ConditionRegisterState::init ( uint32_t  _size)

Definition at line 58 of file condition_register_state.cc.

References busy, and c_reg.

Referenced by Wavefront::resizeRegFiles().

void ConditionRegisterState::markReg ( int  regIdx,
uint8_t  value 
)
inline

Definition at line 77 of file condition_register_state.hh.

References busy.

Referenced by exec().

const std::string ConditionRegisterState::name ( ) const
inline

Definition at line 55 of file condition_register_state.hh.

References _name.

int ConditionRegisterState::numRegs ( )
inline

Definition at line 89 of file condition_register_state.hh.

References c_reg.

Referenced by Wavefront::getContext(), and Wavefront::setContext().

template<typename T >
T ConditionRegisterState::read ( int  regIdx,
int  threadId 
)
inline

Definition at line 61 of file condition_register_state.hh.

References c_reg.

Referenced by Wavefront::getContext().

uint8_t ConditionRegisterState::regBusy ( int  idx)
inline

Definition at line 83 of file condition_register_state.hh.

References busy, and ArmISA::status.

void ConditionRegisterState::regStats ( )
inline

Definition at line 57 of file condition_register_state.hh.

void ConditionRegisterState::setParent ( ComputeUnit _computeUnit)

Definition at line 51 of file condition_register_state.cc.

References _name, computeUnit, and SimObject::name().

template<typename T >
void ConditionRegisterState::write ( int  regIdx,
int  threadId,
value 
)
inline

Definition at line 71 of file condition_register_state.hh.

References c_reg.

Referenced by CRegOperand::set(), and Wavefront::setContext().

Member Data Documentation

std::string ConditionRegisterState::_name
private

Definition at line 94 of file condition_register_state.hh.

Referenced by name(), and setParent().

std::vector<uint8_t> ConditionRegisterState::busy
private

Definition at line 98 of file condition_register_state.hh.

Referenced by ConditionRegisterState(), init(), markReg(), and regBusy().

std::vector<VectorMask> ConditionRegisterState::c_reg
private

Definition at line 96 of file condition_register_state.hh.

Referenced by ConditionRegisterState(), init(), numRegs(), read(), and write().

ComputeUnit* ConditionRegisterState::computeUnit
private

Definition at line 93 of file condition_register_state.hh.

Referenced by ConditionRegisterState(), and setParent().


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

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