gem5 v24.0.0.0
|
#include <static_register_manager_policy.hh>
Public Member Functions | |
StaticRegisterManagerPolicy () | |
void | exec () override |
int | mapVgpr (Wavefront *w, int vgprIndex) override |
int | mapSgpr (Wavefront *w, int sgprIndex) override |
bool | canAllocateVgprs (int simdId, int nWfs, int demandPerWf) override |
bool | canAllocateSgprs (int simdId, int nWfs, int demandPerWf) override |
void | allocateRegisters (Wavefront *w, int vectorDemand, int scalarDemand) override |
void | freeRegisters (Wavefront *w) override |
Public Member Functions inherited from gem5::RegisterManagerPolicy | |
virtual void | setParent (ComputeUnit *_cu) |
Additional Inherited Members | |
Protected Attributes inherited from gem5::RegisterManagerPolicy | |
ComputeUnit * | cu |
Definition at line 42 of file static_register_manager_policy.hh.
gem5::StaticRegisterManagerPolicy::StaticRegisterManagerPolicy | ( | ) |
Definition at line 46 of file static_register_manager_policy.cc.
|
overridevirtual |
Implements gem5::RegisterManagerPolicy.
Definition at line 112 of file static_register_manager_policy.cc.
References gem5::RegisterManagerPolicy::cu, gem5::ComputeUnit::numScalarRegsPerSimd, gem5::ComputeUnit::numVecRegsPerSimd, panic_if, gem5::ComputeUnit::registerManager, gem5::ComputeUnit::scalarRegsReserved, gem5::RegisterManager::srfPoolMgrs, gem5::ComputeUnit::vectorRegsReserved, gem5::RegisterManager::vrfPoolMgrs, and gem5::MipsISA::w.
|
overridevirtual |
Implements gem5::RegisterManagerPolicy.
Definition at line 104 of file static_register_manager_policy.cc.
References gem5::RegisterManagerPolicy::cu, gem5::ComputeUnit::registerManager, and gem5::RegisterManager::srfPoolMgrs.
|
overridevirtual |
Implements gem5::RegisterManagerPolicy.
Definition at line 96 of file static_register_manager_policy.cc.
References gem5::RegisterManagerPolicy::cu, gem5::ComputeUnit::registerManager, and gem5::RegisterManager::vrfPoolMgrs.
|
overridevirtual |
Implements gem5::RegisterManagerPolicy.
Definition at line 51 of file static_register_manager_policy.cc.
|
overridevirtual |
Implements gem5::RegisterManagerPolicy.
Definition at line 138 of file static_register_manager_policy.cc.
References gem5::ArmISA::i, mapSgpr(), mapVgpr(), panic_if, and gem5::MipsISA::w.
|
overridevirtual |
Implements gem5::RegisterManagerPolicy.
Definition at line 76 of file static_register_manager_policy.cc.
References panic_if, and gem5::MipsISA::w.
Referenced by freeRegisters().
|
overridevirtual |
Implements gem5::RegisterManagerPolicy.
Definition at line 56 of file static_register_manager_policy.cc.
References panic_if, and gem5::MipsISA::w.
Referenced by freeRegisters().