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) |
void | initWithStrOffset (unsigned strOffset, const BrigObject *obj) |
template<typename OperandType > | |
OperandType | get (Wavefront *w, int lane) |
uint32_t | getTarget (Wavefront *w, int lane) |
template<typename OperandType > | |
void | set (Wavefront *w, int lane, OperandType &val) |
std::string | disassemble () |
template<> | |
void | set (Wavefront *w, int lane, uint64_t &val) |
Public Member Functions inherited from BaseRegOperand | |
bool | init (unsigned opOffset, const BrigObject *obj, unsigned &maxRegIdx, char _regFileChar) |
bool | init_from_vect (unsigned opOffset, const BrigObject *obj, int at, unsigned &maxRegIdx, char _regFileChar) |
void | initWithStrOffset (unsigned strOffset, const BrigObject *obj, unsigned &maxRegIdx, char _regFileChar) |
unsigned int | regIndex () |
Public Member Functions inherited from BaseOperand | |
BaseOperand () | |
bool | isVectorRegister () |
bool | isScalarRegister () |
bool | isCondRegister () |
unsigned int | regIndex () |
uint32_t | opSize () |
virtual | ~BaseOperand () |
Static Public Attributes | |
static unsigned | maxRegIdx |
Additional Inherited Members | |
Public Attributes inherited from BaseRegOperand | |
unsigned | regIdx |
char | regFileChar |
Public Attributes inherited from BaseOperand | |
Enums::RegisterType | registerType |
uint32_t | regOperandSize |
Definition at line 120 of file operand.hh.
std::string SRegOperand::disassemble | ( | ) |
Definition at line 195 of file operand.cc.
References csprintf().
|
inline |
Definition at line 156 of file operand.hh.
References panic, BaseRegOperand::regIdx, and MipsISA::w.
|
inline |
Definition at line 190 of file operand.hh.
References MipsISA::w.
|
inline |
Definition at line 126 of file operand.hh.
References BaseRegOperand::init(), maxRegIdx, BaseOperand::registerType, and BaseOperand::regOperandSize.
|
inline |
Definition at line 135 of file operand.hh.
References BaseRegOperand::init_from_vect(), maxRegIdx, BaseOperand::registerType, and BaseOperand::regOperandSize.
|
inline |
Definition at line 145 of file operand.hh.
References BaseRegOperand::initWithStrOffset(), maxRegIdx, BaseOperand::registerType, and BaseOperand::regOperandSize.
void SRegOperand::set | ( | Wavefront * | w, |
int | lane, | ||
OperandType & | val | ||
) |
Definition at line 202 of file operand.hh.
References Wavefront::computeUnit, ComputeUnit::cu_id, DPRINTF, BaseRegOperand::regIdx, Wavefront::remap(), Wavefront::simdId, X86ISA::val, ComputeUnit::vrf, and Wavefront::wfSlotId.
|
inline |
Definition at line 215 of file operand.hh.
References Wavefront::computeUnit, ComputeUnit::cu_id, DPRINTF, BaseRegOperand::regIdx, Wavefront::remap(), Wavefront::simdId, X86ISA::val, ComputeUnit::vrf, and Wavefront::wfSlotId.
|
static |
Definition at line 123 of file operand.hh.
Referenced by init(), HsailCode::init(), init_from_vect(), and initWithStrOffset().