gem5
v21.0.0.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 62 of file operand.hh.
|
delete |
|
inline |
Definition at line 67 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 Gcn3ISA::VecOperand< DataType, Const, NumDwords >.
|
pure virtual |
Implemented in Gcn3ISA::VecOperand< DataType, Const, NumDwords >.
|
protected |
instruction object that owns this operand
Definition at line 85 of file operand.hh.
Referenced by Operand(), Gcn3ISA::VecOperand< DataType, Const, NumDwords >::read(), Gcn3ISA::VecOperand< DataType, Const, NumDwords >::readSrc(), and 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 92 of file operand.hh.
Referenced by Operand(), Gcn3ISA::VecOperand< DataType, Const, NumDwords >::read(), Gcn3ISA::VecOperand< DataType, Const, NumDwords >::readSrc(), and Gcn3ISA::VecOperand< DataType, Const, NumDwords >::write().