gem5
|
#include <operand.hh>
Public Member Functions | |
bool | init (unsigned opOffset, const BrigObject *obj) |
bool | init_from_vect (unsigned opOffset, const BrigObject *obj, int at) |
std::string | disassemble () |
template<typename OperandType > | |
OperandType | get (Wavefront *w) |
template<typename OperandType > | |
OperandType | get (Wavefront *w, int lane) |
Public Member Functions inherited from BaseOperand | |
BaseOperand () | |
bool | isVectorRegister () |
bool | isScalarRegister () |
bool | isCondRegister () |
unsigned int | regIndex () |
uint32_t | opSize () |
virtual | ~BaseOperand () |
Public Attributes | |
T | bits |
Public Attributes inherited from BaseOperand | |
Enums::RegisterType | registerType |
uint32_t | regOperandSize |
Private Attributes | |
uint16_t | kind |
Definition at line 348 of file operand.hh.
std::string ImmOperand< T >::disassemble | ( | ) |
Definition at line 450 of file operand.hh.
References bits(), and csprintf().
Referenced by HsailISA::SpecialInst1SrcBase< DestDataType::OperandType >::generateDisassembly().
|
inline |
Definition at line 361 of file operand.hh.
|
inline |
Definition at line 382 of file operand.hh.
bool ImmOperand< T >::init | ( | unsigned | opOffset, |
const BrigObject * | obj | ||
) |
Definition at line 390 of file operand.hh.
References bits(), Brig::BRIG_KIND_NONE, Brig::BRIG_KIND_OPERAND_CONSTANT_BYTES, Brig::BRIG_KIND_OPERAND_WAVESIZE, Brig::BrigBase::byteCount, DPRINTF, BrigObject::getData(), BrigObject::getOperand(), and Brig::BrigBase::kind.
Referenced by HsailISA::BrInstBase< SRegOperand >::BrInstBase(), and HsailISA::SpecialInst1SrcBase< DestDataType::OperandType >::SpecialInst1SrcBase().
bool ImmOperand< T >::init_from_vect | ( | unsigned | opOffset, |
const BrigObject * | obj, | ||
int | at | ||
) |
Definition at line 422 of file operand.hh.
References Brig::BRIG_KIND_NONE, Brig::BRIG_KIND_OPERAND_CONSTANT_BYTES, Brig::BRIG_KIND_OPERAND_OPERAND_LIST, Brig::BrigOperandOperandList::elements, BrigObject::getData(), BrigObject::getOperand(), Stats::init, Brig::BrigBase::kind, and MipsISA::p.
T ImmOperand< T >::bits |
Definition at line 353 of file operand.hh.
Referenced by ImmOperand< SrcCType >::get().
|
private |
Definition at line 351 of file operand.hh.
Referenced by ImmOperand< SrcCType >::get().