gem5 [DEVELOP-FOR-25.1]
Loading...
Searching...
No Matches
gem5::VegaISA::PackedReg< BITS, ELEM_SIZE > Class Template Reference

#include <operand.hh>

Public Member Functions

 PackedReg ()=default
void setDword (int dw, uint32_t value)
uint32_t getDword (int dw)
uint32_t getElem (int elem)
void setElem (int elem, uint32_t value)

Private Attributes

uint32_t dwords [NumDwords] = {}

Static Private Attributes

static constexpr int NumDwords = BITS / 32

Detailed Description

template<int BITS, int ELEM_SIZE>
class gem5::VegaISA::PackedReg< BITS, ELEM_SIZE >

Definition at line 859 of file operand.hh.

Constructor & Destructor Documentation

◆ PackedReg()

template<int BITS, int ELEM_SIZE>
gem5::VegaISA::PackedReg< BITS, ELEM_SIZE >::PackedReg ( )
default

Member Function Documentation

◆ getDword()

◆ getElem()

◆ setDword()

◆ setElem()

Member Data Documentation

◆ dwords

template<int BITS, int ELEM_SIZE>
uint32_t gem5::VegaISA::PackedReg< BITS, ELEM_SIZE >::dwords[NumDwords] = {}
private

Definition at line 872 of file operand.hh.

Referenced by getDword(), getElem(), setDword(), and setElem().

◆ NumDwords

template<int BITS, int ELEM_SIZE>
int gem5::VegaISA::PackedReg< BITS, ELEM_SIZE >::NumDwords = BITS / 32
staticconstexprprivate

Definition at line 871 of file operand.hh.

Referenced by getDword(), and setDword().


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

Generated on Mon Oct 27 2025 04:14:20 for gem5 by doxygen 1.14.0