gem5
v21.1.0.0
|
#include <gpu_dyn_inst.hh>
Public Member Functions | |
RegisterOperandInfo ()=delete | |
RegisterOperandInfo (int op_idx, int num_dwords, const std::vector< int > &virt_indices, const std::vector< int > &phys_indices) | |
int | numRegisters () const |
The number of registers required to store this operand. More... | |
int | operandIdx () const |
int | virtIdx (int reg_num=0) const |
We typically only need the first virtual register for the operand regardless of its size. More... | |
Private Attributes | |
const int | opIdx |
Index of this operand within the set of its parent instruction's operand list. More... | |
const int | numDWORDs |
Size of this operand in DWORDs. More... | |
const std::vector< int > | virtIndices |
const std::vector< int > | physIndices |
Definition at line 81 of file gpu_dyn_inst.hh.
|
delete |
|
inline |
Definition at line 85 of file gpu_dyn_inst.hh.
|
inline |
The number of registers required to store this operand.
Definition at line 96 of file gpu_dyn_inst.hh.
References numDWORDs, and gem5::Gcn3ISA::RegSizeDWords.
|
inline |
Definition at line 97 of file gpu_dyn_inst.hh.
References opIdx.
|
inline |
We typically only need the first virtual register for the operand regardless of its size.
Definition at line 102 of file gpu_dyn_inst.hh.
References virtIndices.
|
private |
Size of this operand in DWORDs.
Definition at line 113 of file gpu_dyn_inst.hh.
Referenced by numRegisters().
|
private |
Index of this operand within the set of its parent instruction's operand list.
Definition at line 109 of file gpu_dyn_inst.hh.
Referenced by operandIdx().
|
private |
Definition at line 115 of file gpu_dyn_inst.hh.
|
private |
Definition at line 114 of file gpu_dyn_inst.hh.
Referenced by virtIdx().