gem5
v20.1.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 64 of file operand.hh.
|
delete |
|
inline |
Definition at line 69 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 87 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 94 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().