gem5 v24.0.0.0
|
#include <gpu_isa.hh>
Public Member Functions | |
GPUISA (Wavefront &wf) | |
template<typename T > | |
T | readConstVal (int opIdx) const |
ScalarRegU32 | readMiscReg (int opIdx) const |
void | writeMiscReg (int opIdx, ScalarRegU32 operandVal) |
bool | hasScalarUnit () const |
void | advancePC (GPUDynInstPtr gpuDynInst) |
Private Member Functions | |
ScalarRegU32 | readPosConstReg (int opIdx) const |
ScalarRegI32 | readNegConstReg (int opIdx) const |
Private Attributes | |
Wavefront & | wavefront |
StatusReg | statusReg |
ScalarRegU32 | m0 |
Static Private Attributes | |
static const std::array< const ScalarRegU32, NumPosConstRegs > | posConstRegs |
static const std::array< const ScalarRegI32, NumNegConstRegs > | negConstRegs |
Definition at line 51 of file gpu_isa.hh.
gem5::VegaISA::GPUISA::GPUISA | ( | Wavefront & | wf | ) |
Definition at line 44 of file gpu_isa.cc.
void gem5::VegaISA::GPUISA::advancePC | ( | GPUDynInstPtr | gpuDynInst | ) |
Definition at line 83 of file gpu_isa.cc.
References gem5::Wavefront::pc(), and wavefront.
|
inline |
Definition at line 76 of file gpu_isa.hh.
|
inline |
Definition at line 57 of file gpu_isa.hh.
References gem5::VegaISA::isNegConstVal(), gem5::VegaISA::isPosConstVal(), panic_if, readNegConstReg(), readPosConstReg(), and gem5::X86ISA::val.
ScalarRegU32 gem5::VegaISA::GPUISA::readMiscReg | ( | int | opIdx | ) | const |
Definition at line 49 of file gpu_isa.cc.
References fatal, m0, gem5::VegaISA::REG_M0, gem5::VegaISA::REG_SCC, gem5::VegaISA::REG_ZERO, gem5::VegaISA::StatusReg::SCC, and statusReg.
|
inlineprivate |
Definition at line 85 of file gpu_isa.hh.
References negConstRegs, and gem5::VegaISA::REG_INT_CONST_NEG_MIN.
Referenced by readConstVal().
|
inlineprivate |
Definition at line 80 of file gpu_isa.hh.
References posConstRegs, and gem5::VegaISA::REG_INT_CONST_POS_MIN.
Referenced by readConstVal().
void gem5::VegaISA::GPUISA::writeMiscReg | ( | int | opIdx, |
ScalarRegU32 | operandVal ) |
Definition at line 66 of file gpu_isa.cc.
References fatal, m0, gem5::VegaISA::REG_M0, gem5::VegaISA::REG_SCC, gem5::VegaISA::StatusReg::SCC, and statusReg.
|
private |
Definition at line 101 of file gpu_isa.hh.
Referenced by readMiscReg(), and writeMiscReg().
|
staticprivate |
Definition at line 93 of file gpu_isa.hh.
Referenced by readNegConstReg().
|
staticprivate |
Definition at line 91 of file gpu_isa.hh.
Referenced by readPosConstReg().
|
private |
Definition at line 99 of file gpu_isa.hh.
Referenced by readMiscReg(), and writeMiscReg().
|
private |
Definition at line 96 of file gpu_isa.hh.
Referenced by advancePC().