32#ifndef __VECTOR_REGISTER_FILE_HH__
33#define __VECTOR_REGISTER_FILE_HH__
35#include "arch/gpu_isa.hh"
36#include "config/the_gpu_isa.hh"
37#include "debug/GPUVRF.hh"
44struct VectorRegisterFileParams;
93 const auto &vec_reg_cont =
regFile[regIdx];
94 auto vgpr = vec_reg_cont.as<TheGpuISA::VecElemU32>();
96 for (
int lane = 0; lane < TheGpuISA::NumVecElemPerVecReg; ++lane) {
98 DPRINTF(GPUVRF,
"WF[%d][%d]: WV[%d] v[%d][%d] = %#x\n",
virtual void setParent(ComputeUnit *_computeUnit)
Vector Register Abstraction This generic class is the model in a particularization of MVC,...
virtual void scheduleWriteOperands(Wavefront *w, GPUDynInstPtr ii) override
void printReg(Wavefront *wf, int regIdx) const
VectorRegisterFile(const VectorRegisterFileParams &p)
VecRegContainer & readWriteable(int regIdx)
virtual bool operandsReady(Wavefront *w, GPUDynInstPtr ii) const override
const VecRegContainer & read(int regIdx) const
void write(int regIdx, const VecRegContainer &value)
std::vector< VecRegContainer > regFile
TheGpuISA::VecRegContainerU32 VecRegContainer
void setParent(ComputeUnit *_computeUnit) override
virtual void waveExecuteInst(Wavefront *w, GPUDynInstPtr ii) override
virtual void scheduleWriteOperandsFromLoad(Wavefront *w, GPUDynInstPtr ii) override
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
std::shared_ptr< GPUDynInst > GPUDynInstPtr