Go to the documentation of this file.
32 #ifndef __GPU_COMPUTE_OPERAND_INFO_HH__
33 #define __GPU_COMPUTE_OPERAND_INFO_HH__
35 #include "arch/gpu_registers.hh"
37 #include "config/the_gpu_isa.hh"
47 bool vector_reg,
bool imm)
200 #endif // __GPU_COMPUTE_OPERAND_INFO_H__
bool isPosConstVal(int opIdx)
void set(Type mask)
Set all flag's bits matching the given mask.
gem5::Flags< FlagsType > Flags
const int _size
Size of the operand in bytes.
OperandInfo(int opSelectorVal, int size, bool src, bool scalar_reg, bool vector_reg, bool imm)
const std::vector< int > & virtIndices() const
bool isExecMask(int opIdx)
std::vector< int > _physIndices
bool isLiteral(int opIdx)
bool isSet(Type mask) const
Verifies whether any bit matching the given mask is set.
int opSelectorToRegIdx(int opIdx, int numScalarRegs)
void setVirtToPhysMapping(std::vector< int > v, std::vector< int > p)
bool isFlatScratch() const
const int RegSizeDWords
Size of a single-precision register in DWords.
int registerIndex(int numScalarRegs) const
const int _opSelectorVal
Value of the operand as used in registers.cc functions.
std::vector< int > _virtIndices
std::vector< int > _bankReadCounts
The number of reads this operand will make to each bank.
int rawRegisterIndex() const
const int _numDWords
Size of operand in DWords.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
int virtIdx(int reg_num=0) const
We typically only need the first virtual register for the operand regardless of its size.
const std::vector< int > & physIndices() const
std::vector< int > & bankReadCounts() const
int physIdx(int reg_num=0) const
bool isConstVal(int opIdx)
bool isFlatScratchReg(int opIdx)
Generated on Tue Feb 8 2022 11:47:09 for gem5 by doxygen 1.8.17