gem5  v20.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Attributes | List of all members
Gcn3ISA::Operand Class Referenceabstract

#include <operand.hh>

Inheritance diagram for Gcn3ISA::Operand:
Gcn3ISA::ScalarOperand< DataType, Const, NumDwords > 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 64 of file operand.hh.

Constructor & Destructor Documentation

◆ Operand() [1/2]

Gcn3ISA::Operand::Operand ( )
delete

◆ Operand() [2/2]

Gcn3ISA::Operand::Operand ( GPUDynInstPtr  gpuDynInst,
int  opIdx 
)
inline

Definition at line 69 of file operand.hh.

Member Function Documentation

◆ read()

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

read from and write to the underlying register(s) that this operand is referring to.

Implemented in Gcn3ISA::ScalarOperand< DataType, Const, NumDwords >, and Gcn3ISA::VecOperand< DataType, Const, NumDwords >.

◆ write()

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

Member Data Documentation

◆ _gpuDynInst

GPUDynInstPtr Gcn3ISA::Operand::_gpuDynInst
protected

instruction object that owns this operand

Definition at line 87 of file operand.hh.

◆ _opIdx

int Gcn3ISA::Operand::_opIdx
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.


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

Generated on Thu May 28 2020 16:22:20 for gem5 by doxygen 1.8.13