gem5
|
#include <vector_register_state.hh>
Public Member Functions | |
VecRegisterState () | |
void | init (uint32_t _size, uint32_t wf_size) |
const std::string & | name () const |
void | setParent (ComputeUnit *_computeUnit) |
void | regStats () |
template<typename T > | |
T | read (int regIdx, int threadId=0) |
template<typename T > | |
void | write (unsigned int regIdx, T value, int threadId=0) |
int | regSize () |
Private Attributes | |
ComputeUnit * | computeUnit |
std::string | _name |
std::vector< std::vector < uint32_t > > | s_reg |
std::vector< std::vector < uint64_t > > | d_reg |
Definition at line 50 of file vector_register_state.hh.
VecRegisterState::VecRegisterState | ( | ) |
Definition at line 42 of file vector_register_state.cc.
void VecRegisterState::init | ( | uint32_t | _size, |
uint32_t | wf_size | ||
) |
Definition at line 56 of file vector_register_state.cc.
References d_reg, fatal_if(), ArmISA::i, and s_reg.
Referenced by VectorRegisterFile::VectorRegisterFile().
|
inline |
Definition at line 56 of file vector_register_state.hh.
References _name.
|
inline |
Definition at line 63 of file vector_register_state.hh.
Referenced by VectorRegisterFile::read().
|
inline |
Definition at line 90 of file vector_register_state.hh.
References s_reg.
|
inline |
Definition at line 58 of file vector_register_state.hh.
void VecRegisterState::setParent | ( | ComputeUnit * | _computeUnit | ) |
Definition at line 49 of file vector_register_state.cc.
References _name, computeUnit, and SimObject::name().
Referenced by VectorRegisterFile::setParent().
|
inline |
Definition at line 77 of file vector_register_state.hh.
Referenced by VectorRegisterFile::write().
|
private |
Definition at line 94 of file vector_register_state.hh.
Referenced by name(), and setParent().
|
private |
Definition at line 93 of file vector_register_state.hh.
Referenced by setParent().
|
private |
Definition at line 98 of file vector_register_state.hh.
Referenced by init(), read(), VecRegisterState(), and write().
|
private |
Definition at line 96 of file vector_register_state.hh.
Referenced by init(), read(), regSize(), VecRegisterState(), and write().