gem5
[DEVELOP-FOR-23.0]
|
#include <operand.hh>
Public Member Functions | |
Operand ()=delete | |
Operand (GPUDynInstPtr gpuDynInst, int opIdx) | |
virtual void | read ()=0 |
read from and write to the underlying register(s) that this operand is referring to. More... | |
virtual void | write ()=0 |
Protected Attributes | |
GPUDynInstPtr | _gpuDynInst |
instruction object that owns this operand More... | |
int | _opIdx |
op selector value for this operand. More... | |
Definition at line 63 of file operand.hh.
|
delete |
|
inline |
Definition at line 68 of file operand.hh.
References _gpuDynInst, and _opIdx.
|
pure virtual |
read from and write to the underlying register(s) that this operand is referring to.
Implemented in gem5::Gcn3ISA::VecOperand< DataType, Const, NumDwords >.
|
pure virtual |
Implemented in gem5::Gcn3ISA::VecOperand< DataType, Const, NumDwords >.
|
protected |
instruction object that owns this operand
Definition at line 86 of file operand.hh.
Referenced by Operand(), gem5::Gcn3ISA::VecOperand< DataType, Const, NumDwords >::read(), gem5::Gcn3ISA::VecOperand< DataType, Const, NumDwords >::readSrc(), and gem5::Gcn3ISA::VecOperand< DataType, Const, NumDwords >::write().
|
protected |
op selector value for this operand.
note that this is not the same as the register file index, be it scalar or vector. this could refer to inline constants, system regs, or even special values.
Definition at line 93 of file operand.hh.
Referenced by Operand(), gem5::Gcn3ISA::VecOperand< DataType, Const, NumDwords >::read(), gem5::Gcn3ISA::VecOperand< DataType, Const, NumDwords >::readSrc(), and gem5::Gcn3ISA::VecOperand< DataType, Const, NumDwords >::write().