gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
HsailISA::LdaInst< DestDataType, AddrOperandType > Class Template Reference

#include <mem.hh>

Inheritance diagram for HsailISA::LdaInst< DestDataType, AddrOperandType >:
HsailISA::LdaInstBase< DestDataType::OperandType, AddrOperandType > HsailISA::MemInst HsailISA::HsailGPUStaticInst GPUStaticInst

Public Member Functions

void generateDisassembly ()
 
 LdaInst (const Brig::BrigInstBase *ib, const BrigObject *obj, const char *_opcode)
 
void execute (GPUDynInstPtr gpuDynInst)
 
- Public Member Functions inherited from HsailISA::LdaInstBase< DestDataType::OperandType, AddrOperandType >
 LdaInstBase (const Brig::BrigInstBase *ib, const BrigObject *obj, const char *_opcode)
 
int numSrcRegOperands () override
 
int numDstRegOperands () override
 
bool isVectorRegister (int operandIndex) override
 
bool isCondRegister (int operandIndex) override
 
bool isScalarRegister (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 getNumOperands () override
 
- Public Member Functions inherited from HsailISA::HsailGPUStaticInst
 HsailGPUStaticInst (const BrigObject *obj, const std::string &opcode)
 
int instSize () const override
 
bool isValid () const override
 
- Public Member Functions inherited from GPUStaticInst
 GPUStaticInst (const std::string &opcode)
 
void instAddr (int inst_addr)
 
int instAddr () const
 
int nextInstAddr () const
 
void instNum (int num)
 
int instNum ()
 
void ipdInstNum (int num)
 
int ipdInstNum () const
 
const std::string & disassemble ()
 
bool isALU () const
 
bool isBranch () const
 
bool isNop () const
 
bool isReturn () const
 
bool isUnconditionalJump () const
 
bool isSpecialOp () const
 
bool isWaitcnt () const
 
bool isBarrier () const
 
bool isMemFence () 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 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 isWorkitemScope () const
 
bool isWavefrontScope () const
 
bool isWorkgroupScope () const
 
bool isDeviceScope () const
 
bool isSystemScope () const
 
bool isNoScope () const
 
bool isRelaxedOrder () const
 
bool isAcquire () const
 
bool isRelease () const
 
bool isAcquireRelease () const
 
bool isNoOrder () const
 
bool isGloballyCoherent () const
 Coherence domain of a memory instruction. More...
 
bool isSystemCoherent () const
 
virtual void initiateAcc (GPUDynInstPtr gpuDynInst)
 
virtual void completeAcc (GPUDynInstPtr gpuDynInst)
 
virtual uint32_t getTargetPc ()
 
void setFlag (Flags flag)
 
virtual void execLdAcq (GPUDynInstPtr gpuDynInst)
 
virtual void execSt (GPUDynInstPtr gpuDynInst)
 
virtual void execAtomic (GPUDynInstPtr gpuDynInst)
 
virtual void execAtomicAcq (GPUDynInstPtr gpuDynInst)
 
- Public Member Functions inherited from HsailISA::MemInst
 MemInst ()
 
 MemInst (Enums::MemType m_type)
 
void init_addr (AddrOperandBase *_addr_operand)
 
int getMemOperandSize ()
 
AddrOperandBasegetAddressOperand ()
 

Additional Inherited Members

- Public Attributes inherited from HsailISA::LdaInstBase< DestDataType::OperandType, AddrOperandType >
DestDataType::OperandType::DestOperand dest
 
AddrOperandType addr
 
- 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 HsailISA::HsailGPUStaticInst
HsailCodehsailCode
 
- Protected Attributes inherited from GPUStaticInst
const std::string opcode
 
std::string disassembly
 
int _instNum
 
int _instAddr
 
int _ipdInstNum
 Identifier of the immediate post-dominator instruction. More...
 
std::bitset< Num_Flags > _flags
 

Detailed Description

template<typename DestDataType, typename AddrOperandType>
class HsailISA::LdaInst< DestDataType, AddrOperandType >

Definition at line 165 of file mem.hh.

Constructor & Destructor Documentation

template<typename DestDataType, typename AddrOperandType>
HsailISA::LdaInst< DestDataType, AddrOperandType >::LdaInst ( const Brig::BrigInstBase ib,
const BrigObject obj,
const char *  _opcode 
)
inline

Member Function Documentation

template<typename DestDataType , typename AddrRegOperandType >
void HsailISA::LdaInst< DestDataType, AddrRegOperandType >::execute ( GPUDynInstPtr  gpuDynInst)
virtual
template<typename DestDataType , typename AddrRegOperandType >
void HsailISA::LdaInst< DestDataType, AddrRegOperandType >::generateDisassembly ( )
virtual

Reimplemented from HsailISA::HsailGPUStaticInst.

Definition at line 46 of file mem_impl.hh.

References addr, csprintf(), and ArmISA::opcode.


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

Generated on Fri Jun 9 2017 13:04:32 for gem5 by doxygen 1.8.6