gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | List of all members
DRegOperand Class Reference

#include <operand.hh>

Inheritance diagram for DRegOperand:
BaseRegOperand BaseOperand

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)
 
template<typename OperandType >
void set (Wavefront *w, int lane, OperandType &val)
 
std::string disassemble ()
 
- 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
 

Detailed Description

Definition at line 225 of file operand.hh.

Member Function Documentation

std::string DRegOperand::disassemble ( )

Definition at line 201 of file operand.cc.

References csprintf().

template<typename OperandType >
OperandType DRegOperand::get ( Wavefront w,
int  lane 
)
inline

Definition at line 261 of file operand.hh.

References BaseRegOperand::regIdx, and MipsISA::w.

bool DRegOperand::init ( unsigned  opOffset,
const BrigObject obj 
)
inline
bool DRegOperand::init_from_vect ( unsigned  opOffset,
const BrigObject obj,
int  at 
)
inline
void DRegOperand::initWithStrOffset ( unsigned  strOffset,
const BrigObject obj 
)
inline
template<typename OperandType >
void DRegOperand::set ( Wavefront w,
int  lane,
OperandType &  val 
)
inline

Member Data Documentation

unsigned DRegOperand::maxRegIdx
static

Definition at line 228 of file operand.hh.

Referenced by init(), HsailCode::init(), init_from_vect(), and initWithStrOffset().


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

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