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

#include <operand.hh>

Inheritance diagram for SRegOperand:
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)
 
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
 

Detailed Description

Definition at line 120 of file operand.hh.

Member Function Documentation

std::string SRegOperand::disassemble ( )

Definition at line 195 of file operand.cc.

References csprintf().

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

Definition at line 156 of file operand.hh.

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

uint32_t SRegOperand::getTarget ( Wavefront w,
int  lane 
)
inline

Definition at line 190 of file operand.hh.

References MipsISA::w.

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

Member Data Documentation

unsigned SRegOperand::maxRegIdx
static

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