gem5
v21.1.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 52 of file gpu_isa.hh.
void gem5::Gcn3ISA::GPUISA::advancePC | ( | GPUDynInstPtr | gpuDynInst | ) |
Definition at line 85 of file isa.cc.
References gem5::Wavefront::pc(), and wavefront.
|
inline |
Definition at line 77 of file gpu_isa.hh.
|
inline |
Definition at line 58 of file gpu_isa.hh.
References gem5::Gcn3ISA::isNegConstVal(), gem5::Gcn3ISA::isPosConstVal(), panic_if, readNegConstReg(), readPosConstReg(), and gem5::X86ISA::val.
ScalarRegU32 gem5::Gcn3ISA::GPUISA::readMiscReg | ( | int | opIdx | ) | const |
Definition at line 51 of file isa.cc.
References fatal, m0, gem5::Gcn3ISA::REG_M0, gem5::Gcn3ISA::REG_SCC, gem5::Gcn3ISA::REG_ZERO, gem5::Gcn3ISA::StatusReg::SCC, and statusReg.
|
inlineprivate |
Definition at line 86 of file gpu_isa.hh.
References negConstRegs, and gem5::Gcn3ISA::REG_INT_CONST_NEG_MIN.
Referenced by readConstVal().
|
inlineprivate |
Definition at line 81 of file gpu_isa.hh.
References posConstRegs, and gem5::Gcn3ISA::REG_INT_CONST_POS_MIN.
Referenced by readConstVal().
void gem5::Gcn3ISA::GPUISA::writeMiscReg | ( | int | opIdx, |
ScalarRegU32 | operandVal | ||
) |
Definition at line 68 of file isa.cc.
References fatal, m0, gem5::Gcn3ISA::REG_M0, gem5::Gcn3ISA::REG_SCC, gem5::Gcn3ISA::StatusReg::SCC, and statusReg.
|
private |
Definition at line 102 of file gpu_isa.hh.
Referenced by readMiscReg(), and writeMiscReg().
|
staticprivate |
Definition at line 94 of file gpu_isa.hh.
Referenced by readNegConstReg().
|
staticprivate |
Definition at line 92 of file gpu_isa.hh.
Referenced by readPosConstReg().
|
private |
Definition at line 100 of file gpu_isa.hh.
Referenced by readMiscReg(), and writeMiscReg().
|
private |
Definition at line 97 of file gpu_isa.hh.
Referenced by advancePC().