gem5  v22.1.0.0
Public Member Functions | Protected Attributes | List of all members
gem5::Gcn3ISA::Operand Class Referenceabstract

#include <operand.hh>

Inheritance diagram for gem5::Gcn3ISA::Operand:
gem5::Gcn3ISA::ScalarOperand< DataType, Const, sizeof(DataType)/sizeof(VecElemU32) > gem5::Gcn3ISA::ScalarOperand< DataType, Const, NumDwords > gem5::Gcn3ISA::VecOperand< DataType, Const, NumDwords >

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...

Detailed Description

Definition at line 63 of file operand.hh.

Constructor & Destructor Documentation

◆ Operand() [1/2]

gem5::Gcn3ISA::Operand::Operand ( )

◆ Operand() [2/2]

gem5::Gcn3ISA::Operand::Operand ( GPUDynInstPtr  gpuDynInst,
int  opIdx 

Definition at line 68 of file operand.hh.

References _gpuDynInst, and _opIdx.

Member Function Documentation

◆ read()

virtual void gem5::Gcn3ISA::Operand::read ( )
pure virtual

◆ write()

virtual void gem5::Gcn3ISA::Operand::write ( )
pure virtual

Member Data Documentation

◆ _gpuDynInst

GPUDynInstPtr gem5::Gcn3ISA::Operand::_gpuDynInst

instruction object that owns this operand

Definition at line 86 of file operand.hh.

Referenced by Operand().

◆ _opIdx

int gem5::Gcn3ISA::Operand::_opIdx

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().

The documentation for this class was generated from the following file:

Generated on Wed Dec 21 2022 10:24:12 for gem5 by doxygen 1.9.1