gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::VegaISA::Operand Class Referenceabstract

#include <operand.hh>

Inheritance diagram for gem5::VegaISA::Operand:
gem5::VegaISA::ScalarOperand< DataType, Const, sizeof(DataType)/sizeof(VecElemU32) > gem5::VegaISA::ScalarOperand< DataType, Const, NumDwords > gem5::VegaISA::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.
 
virtual void write ()=0
 

Protected Attributes

GPUDynInstPtr _gpuDynInst
 instruction object that owns this operand
 
int _opIdx
 op selector value for this operand.
 

Detailed Description

Definition at line 64 of file operand.hh.

Constructor & Destructor Documentation

◆ Operand() [1/2]

gem5::VegaISA::Operand::Operand ( )
delete

◆ Operand() [2/2]

gem5::VegaISA::Operand::Operand ( GPUDynInstPtr gpuDynInst,
int opIdx )
inline

Definition at line 69 of file operand.hh.

References _gpuDynInst, and _opIdx.

Member Function Documentation

◆ read()

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

◆ write()

Member Data Documentation

◆ _gpuDynInst

GPUDynInstPtr gem5::VegaISA::Operand::_gpuDynInst
protected

instruction object that owns this operand

Definition at line 87 of file operand.hh.

Referenced by Operand().

◆ _opIdx

int gem5::VegaISA::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.

Referenced by Operand().


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

Generated on Tue Jun 18 2024 16:24:54 for gem5 by doxygen 1.11.0