gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::StaticRegisterManagerPolicy Class Reference

#include <static_register_manager_policy.hh>

Inheritance diagram for gem5::StaticRegisterManagerPolicy:
gem5::RegisterManagerPolicy

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
ComputeUnitcu
 

Detailed Description

Definition at line 42 of file static_register_manager_policy.hh.

Constructor & Destructor Documentation

◆ StaticRegisterManagerPolicy()

gem5::StaticRegisterManagerPolicy::StaticRegisterManagerPolicy ( )

Definition at line 46 of file static_register_manager_policy.cc.

Member Function Documentation

◆ allocateRegisters()

◆ canAllocateSgprs()

bool gem5::StaticRegisterManagerPolicy::canAllocateSgprs ( int simdId,
int nWfs,
int demandPerWf )
overridevirtual

◆ canAllocateVgprs()

bool gem5::StaticRegisterManagerPolicy::canAllocateVgprs ( int simdId,
int nWfs,
int demandPerWf )
overridevirtual

◆ exec()

void gem5::StaticRegisterManagerPolicy::exec ( )
overridevirtual

Implements gem5::RegisterManagerPolicy.

Definition at line 51 of file static_register_manager_policy.cc.

◆ freeRegisters()

void gem5::StaticRegisterManagerPolicy::freeRegisters ( Wavefront * w)
overridevirtual

◆ mapSgpr()

int gem5::StaticRegisterManagerPolicy::mapSgpr ( Wavefront * w,
int sgprIndex )
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().

◆ mapVgpr()

int gem5::StaticRegisterManagerPolicy::mapVgpr ( Wavefront * w,
int vgprIndex )
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().


The documentation for this class was generated from the following files:

Generated on Tue Jun 18 2024 16:24:15 for gem5 by doxygen 1.11.0