gem5
|
#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 > | |
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 | |
ComputeUnit * | computeUnit |
std::string | _name |
std::vector< VectorMask > | c_reg |
std::vector< uint8_t > | busy |
Definition at line 50 of file condition_register_state.hh.
ConditionRegisterState::ConditionRegisterState | ( | ) |
Definition at line 43 of file condition_register_state.cc.
References busy, c_reg, and computeUnit.
void ConditionRegisterState::exec | ( | GPUDynInstPtr | ii, |
Wavefront * | w | ||
) |
Definition at line 65 of file condition_register_state.cc.
References Wavefront::computeUnit, ArmISA::i, markReg(), ComputeUnit::shader, Wavefront::simdId, ComputeUnit::spBypassLength(), Shader::tick_cnt, and Shader::ticks().
void ConditionRegisterState::init | ( | uint32_t | _size | ) |
Definition at line 58 of file condition_register_state.cc.
Referenced by Wavefront::resizeRegFiles().
|
inline |
|
inline |
Definition at line 55 of file condition_register_state.hh.
References _name.
|
inline |
Definition at line 89 of file condition_register_state.hh.
References c_reg.
Referenced by Wavefront::getContext(), and Wavefront::setContext().
|
inline |
Definition at line 61 of file condition_register_state.hh.
References c_reg.
Referenced by Wavefront::getContext().
|
inline |
Definition at line 83 of file condition_register_state.hh.
References busy, and ArmISA::status.
|
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().
|
inline |
Definition at line 71 of file condition_register_state.hh.
References c_reg.
Referenced by CRegOperand::set(), and Wavefront::setContext().
|
private |
Definition at line 94 of file condition_register_state.hh.
Referenced by name(), and setParent().
|
private |
Definition at line 98 of file condition_register_state.hh.
Referenced by ConditionRegisterState(), init(), markReg(), and regBusy().
|
private |
Definition at line 96 of file condition_register_state.hh.
Referenced by ConditionRegisterState(), init(), numRegs(), read(), and write().
|
private |
Definition at line 93 of file condition_register_state.hh.
Referenced by ConditionRegisterState(), and setParent().