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

#include <operand.hh>

Inheritance diagram for CRegOperand:
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 289 of file operand.hh.

Member Function Documentation

std::string CRegOperand::disassemble ( )

Definition at line 207 of file operand.cc.

References csprintf().

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

Definition at line 325 of file operand.hh.

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

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

Member Data Documentation

unsigned CRegOperand::maxRegIdx
static

Definition at line 292 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:06 for gem5 by doxygen 1.8.6