gem5
v20.0.0.0
|
#include <gpu_isa.hh>
Public Member Functions | |
GPUISA (Wavefront &wf) | |
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 |
ScalarRegU32 | 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 50 of file gpu_isa.hh.
void Gcn3ISA::GPUISA::advancePC | ( | GPUDynInstPtr | gpuDynInst | ) |
Definition at line 92 of file isa.cc.
References negConstRegs, Wavefront::pc(), posConstRegs, and wavefront.
Referenced by hasScalarUnit().
|
inline |
Definition at line 57 of file gpu_isa.hh.
References advancePC().
ScalarRegU32 Gcn3ISA::GPUISA::readMiscReg | ( | int | opIdx | ) | const |
Definition at line 50 of file isa.cc.
References fatal, m0, readNegConstReg(), readPosConstReg(), Gcn3ISA::REG_INT_CONST_NEG_MAX, Gcn3ISA::REG_INT_CONST_NEG_MIN, Gcn3ISA::REG_INT_CONST_POS_MAX, Gcn3ISA::REG_INT_CONST_POS_MIN, Gcn3ISA::REG_M0, Gcn3ISA::REG_SCC, Gcn3ISA::REG_ZERO, Gcn3ISA::StatusReg::SCC, and statusReg.
|
inlineprivate |
Definition at line 66 of file gpu_isa.hh.
References negConstRegs, and Gcn3ISA::REG_INT_CONST_NEG_MIN.
Referenced by readMiscReg().
|
inlineprivate |
Definition at line 61 of file gpu_isa.hh.
References posConstRegs, and Gcn3ISA::REG_INT_CONST_POS_MIN.
Referenced by readMiscReg().
void Gcn3ISA::GPUISA::writeMiscReg | ( | int | opIdx, |
ScalarRegU32 | operandVal | ||
) |
Definition at line 75 of file isa.cc.
References fatal, m0, Gcn3ISA::REG_M0, Gcn3ISA::REG_SCC, Gcn3ISA::StatusReg::SCC, and statusReg.
|
private |
Definition at line 83 of file gpu_isa.hh.
Referenced by readMiscReg(), and writeMiscReg().
|
staticprivate |
Definition at line 75 of file gpu_isa.hh.
Referenced by advancePC(), and readNegConstReg().
|
staticprivate |
Definition at line 73 of file gpu_isa.hh.
Referenced by advancePC(), and readPosConstReg().
|
private |
Definition at line 81 of file gpu_isa.hh.
Referenced by readMiscReg(), and writeMiscReg().
|
private |
Definition at line 78 of file gpu_isa.hh.
Referenced by advancePC().