Go to the documentation of this file.
34 #ifndef __VECTOR_REGISTER_FILE_HH__
35 #define __VECTOR_REGISTER_FILE_HH__
37 #include "arch/gpu_isa.hh"
38 #include "config/the_gpu_isa.hh"
39 #include "debug/GPUVRF.hh"
43 struct VectorRegisterFileParams;
92 const auto &vec_reg_cont =
regFile[regIdx];
97 DPRINTF(GPUVRF,
"WF[%d][%d]: WV[%d] v[%d][%d] = %#x\n",
109 #endif // __VECTOR_REGISTER_FILE_HH__
virtual bool operandsReady(Wavefront *w, GPUDynInstPtr ii) const override
virtual void scheduleWriteOperands(Wavefront *w, GPUDynInstPtr ii) override
virtual void waveExecuteInst(Wavefront *w, GPUDynInstPtr ii) override
VecRegContainer & readWriteable(int regIdx)
void setParent(ComputeUnit *_computeUnit) override
VectorRegisterFile(const VectorRegisterFileParams *p)
void write(int regIdx, const VecRegContainer &value)
constexpr unsigned NumVecElemPerVecReg
void printReg(Wavefront *wf, int regIdx) const
const VecRegContainer & read(int regIdx) const
std::shared_ptr< GPUDynInst > GPUDynInstPtr
VecRegU32::Container VecRegContainerU32
virtual void setParent(ComputeUnit *_computeUnit)
virtual void scheduleWriteOperandsFromLoad(Wavefront *w, GPUDynInstPtr ii) override
std::vector< VecRegContainer > regFile
Vector Register Abstraction This generic class is the model in a particularization of MVC,...
Generated on Wed Sep 30 2020 14:02:12 for gem5 by doxygen 1.8.17