gem5
v20.1.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 |
void | regStats () override |
Public Member Functions inherited from RegisterManagerPolicy | |
virtual void | setParent (ComputeUnit *_cu) |
Additional Inherited Members | |
Protected Attributes inherited from RegisterManagerPolicy | |
ComputeUnit * | cu |
Definition at line 43 of file static_register_manager_policy.hh.
StaticRegisterManagerPolicy::StaticRegisterManagerPolicy | ( | ) |
Definition at line 47 of file static_register_manager_policy.cc.
|
overridevirtual |
Implements RegisterManagerPolicy.
Definition at line 113 of file static_register_manager_policy.cc.
References RegisterManagerPolicy::cu, ComputeUnit::numScalarRegsPerSimd, ComputeUnit::numVecRegsPerSimd, panic_if, ComputeUnit::registerManager, ComputeUnit::scalarRegsReserved, RegisterManager::srfPoolMgrs, ComputeUnit::vectorRegsReserved, RegisterManager::vrfPoolMgrs, and MipsISA::w.
|
overridevirtual |
Implements RegisterManagerPolicy.
Definition at line 105 of file static_register_manager_policy.cc.
References RegisterManagerPolicy::cu, ComputeUnit::registerManager, and RegisterManager::srfPoolMgrs.
|
overridevirtual |
Implements RegisterManagerPolicy.
Definition at line 97 of file static_register_manager_policy.cc.
References RegisterManagerPolicy::cu, ComputeUnit::registerManager, and RegisterManager::vrfPoolMgrs.
|
overridevirtual |
Implements RegisterManagerPolicy.
Definition at line 52 of file static_register_manager_policy.cc.
|
overridevirtual |
Implements RegisterManagerPolicy.
Definition at line 139 of file static_register_manager_policy.cc.
References ArmISA::i, mapSgpr(), mapVgpr(), panic_if, and MipsISA::w.
|
overridevirtual |
Implements RegisterManagerPolicy.
Definition at line 77 of file static_register_manager_policy.cc.
References panic_if, and MipsISA::w.
Referenced by freeRegisters().
|
overridevirtual |
Implements RegisterManagerPolicy.
Definition at line 57 of file static_register_manager_policy.cc.
References panic_if, and MipsISA::w.
Referenced by freeRegisters().
|
overridevirtual |
Implements RegisterManagerPolicy.
Definition at line 186 of file static_register_manager_policy.cc.