gem5  v20.1.0.0
Public Member Functions | List of all members
KernelLaunchStaticInst Class Reference

#include <gpu_static_inst.hh>

Inheritance diagram for KernelLaunchStaticInst:
GPUStaticInst

Public Member Functions

 KernelLaunchStaticInst ()
 
void execute (GPUDynInstPtr gpuDynInst) override
 
void generateDisassembly () override
 
int getNumOperands () override
 
bool isFlatScratchRegister (int opIdx) override
 
bool isExecMaskRegister (int opIdx) override
 
bool isScalarRegister (int operandIndex) override
 
bool isVectorRegister (int operandIndex) override
 
bool isSrcOperand (int operandIndex) override
 
bool isDstOperand (int operandIndex) override
 
int getOperandSize (int operandIndex) override
 
int getRegisterIndex (int operandIndex, GPUDynInstPtr gpuDynInst) override
 
int numDstRegOperands () override
 
int numSrcRegOperands () override
 
int instSize () const override
 
- Public Member Functions inherited from GPUStaticInst
 GPUStaticInst (const std::string &opcode)
 
virtual ~GPUStaticInst ()
 
void instAddr (int inst_addr)
 
int instAddr () const
 
int nextInstAddr () const
 
void instNum (int num)
 
int instNum ()
 
void ipdInstNum (int num)
 
int ipdInstNum () const
 
virtual TheGpuISA::ScalarRegU32 srcLiteral () const
 
const std::string & disassemble ()
 
virtual int coalescerTokenCount () const
 
int numDstVecOperands ()
 
int numSrcVecOperands ()
 
int numDstVecDWORDs ()
 
int numSrcVecDWORDs ()
 
int numOpdDWORDs (int operandIdx)
 
bool isALU () const
 
bool isBranch () const
 
bool isCondBranch () const
 
bool isNop () const
 
bool isReturn () const
 
bool isEndOfKernel () const
 
bool isKernelLaunch () const
 
bool isSDWAInst () const
 
bool isDPPInst () const
 
bool isUnconditionalJump () const
 
bool isSpecialOp () const
 
bool isWaitcnt () const
 
bool isBarrier () const
 
bool isMemSync () const
 
bool isMemRef () const
 
bool isFlat () const
 
bool isLoad () const
 
bool isStore () const
 
bool isAtomic () const
 
bool isAtomicNoRet () const
 
bool isAtomicRet () const
 
bool isScalar () const
 
bool readsSCC () const
 
bool writesSCC () const
 
bool readsVCC () const
 
bool writesVCC () const
 
bool readsEXEC () const
 
bool writesEXEC () const
 
bool readsMode () const
 
bool writesMode () const
 
bool ignoreExec () const
 
bool isAtomicAnd () const
 
bool isAtomicOr () const
 
bool isAtomicXor () const
 
bool isAtomicCAS () const
 
bool isAtomicExch () const
 
bool isAtomicAdd () const
 
bool isAtomicSub () const
 
bool isAtomicInc () const
 
bool isAtomicDec () const
 
bool isAtomicMax () const
 
bool isAtomicMin () const
 
bool isArgLoad () const
 
bool isGlobalMem () const
 
bool isLocalMem () const
 
bool isArgSeg () const
 
bool isGlobalSeg () const
 
bool isGroupSeg () const
 
bool isKernArgSeg () const
 
bool isPrivateSeg () const
 
bool isReadOnlySeg () const
 
bool isSpillSeg () const
 
bool isGloballyCoherent () const
 Coherence domain of a memory instruction. More...
 
bool isSystemCoherent () const
 
bool isF16 () const
 
bool isF32 () const
 
bool isF64 () const
 
bool isFMA () const
 
bool isMAC () const
 
bool isMAD () const
 
virtual void initiateAcc (GPUDynInstPtr gpuDynInst)
 
virtual void completeAcc (GPUDynInstPtr gpuDynInst)
 
virtual uint32_t getTargetPc ()
 
void setFlag (Flags flag)
 
const std::string & opcode () const
 

Additional Inherited Members

- Public Attributes inherited from GPUStaticInst
Enums::StorageClassType executed_as
 
- Static Public Attributes inherited from GPUStaticInst
static uint64_t dynamic_id_count
 
- Protected Attributes inherited from GPUStaticInst
const std::string _opcode
 
std::string disassembly
 
int _instNum
 
int _instAddr
 
int srcVecOperands
 
int dstVecOperands
 
int srcVecDWORDs
 
int dstVecDWORDs
 
int _ipdInstNum
 Identifier of the immediate post-dominator instruction. More...
 
std::bitset< Num_Flags > _flags
 

Detailed Description

Definition at line 276 of file gpu_static_inst.hh.

Constructor & Destructor Documentation

◆ KernelLaunchStaticInst()

KernelLaunchStaticInst::KernelLaunchStaticInst ( )
inline

Definition at line 279 of file gpu_static_inst.hh.

References Nop(), and GPUStaticInst::setFlag().

Member Function Documentation

◆ execute()

void KernelLaunchStaticInst::execute ( GPUDynInstPtr  gpuDynInst)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 289 of file gpu_static_inst.hh.

References fatal.

◆ generateDisassembly()

void KernelLaunchStaticInst::generateDisassembly ( )
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 295 of file gpu_static_inst.hh.

References GPUStaticInst::_opcode, and GPUStaticInst::disassembly.

◆ getNumOperands()

int KernelLaunchStaticInst::getNumOperands ( )
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 300 of file gpu_static_inst.hh.

◆ getOperandSize()

int KernelLaunchStaticInst::getOperandSize ( int  operandIndex)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 309 of file gpu_static_inst.hh.

◆ getRegisterIndex()

int KernelLaunchStaticInst::getRegisterIndex ( int  operandIndex,
GPUDynInstPtr  gpuDynInst 
)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 312 of file gpu_static_inst.hh.

◆ instSize()

int KernelLaunchStaticInst::instSize ( ) const
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 319 of file gpu_static_inst.hh.

◆ isDstOperand()

bool KernelLaunchStaticInst::isDstOperand ( int  operandIndex)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 308 of file gpu_static_inst.hh.

◆ isExecMaskRegister()

bool KernelLaunchStaticInst::isExecMaskRegister ( int  opIdx)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 304 of file gpu_static_inst.hh.

◆ isFlatScratchRegister()

bool KernelLaunchStaticInst::isFlatScratchRegister ( int  opIdx)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 301 of file gpu_static_inst.hh.

◆ isScalarRegister()

bool KernelLaunchStaticInst::isScalarRegister ( int  operandIndex)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 305 of file gpu_static_inst.hh.

◆ isSrcOperand()

bool KernelLaunchStaticInst::isSrcOperand ( int  operandIndex)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 307 of file gpu_static_inst.hh.

◆ isVectorRegister()

bool KernelLaunchStaticInst::isVectorRegister ( int  operandIndex)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 306 of file gpu_static_inst.hh.

◆ numDstRegOperands()

int KernelLaunchStaticInst::numDstRegOperands ( )
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 317 of file gpu_static_inst.hh.

◆ numSrcRegOperands()

int KernelLaunchStaticInst::numSrcRegOperands ( )
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 318 of file gpu_static_inst.hh.


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

Generated on Wed Sep 30 2020 14:02:26 for gem5 by doxygen 1.8.17