gem5  v22.0.0.2
Public Member Functions | Protected Attributes | List of all members
gem5::VecElemRegClassOps< ValueType > Class Template Reference

#include <reg_class.hh>

Inheritance diagram for gem5::VecElemRegClassOps< ValueType >:
gem5::TypedRegClassOps< ValueType > gem5::RegClassOps

Public Member Functions

 VecElemRegClassOps (size_t elems_per_vec)
std::string regName (const RegId &id) const override
 Print the name of the register specified in id. More...
- Public Member Functions inherited from gem5::TypedRegClassOps< ValueType >
std::string valString (const void *val, size_t size) const override
 Print the value of a register pointed to by val of size size. More...

Protected Attributes

size_t elemsPerVec

Detailed Description

template<typename ValueType>
class gem5::VecElemRegClassOps< ValueType >

Definition at line 222 of file reg_class.hh.

Constructor & Destructor Documentation

◆ VecElemRegClassOps()

template<typename ValueType >
gem5::VecElemRegClassOps< ValueType >::VecElemRegClassOps ( size_t  elems_per_vec)

Definition at line 228 of file reg_class.hh.

Member Function Documentation

◆ regName()

template<typename ValueType >
std::string gem5::VecElemRegClassOps< ValueType >::regName ( const RegId id) const

Print the name of the register specified in id.

Reimplemented from gem5::RegClassOps.

Definition at line 233 of file reg_class.hh.

References gem5::csprintf(), and gem5::VecElemRegClassOps< ValueType >::elemsPerVec.

Member Data Documentation

◆ elemsPerVec

template<typename ValueType >
size_t gem5::VecElemRegClassOps< ValueType >::elemsPerVec

Definition at line 225 of file reg_class.hh.

Referenced by gem5::VecElemRegClassOps< ValueType >::regName().

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

Generated on Thu Jul 28 2022 13:33:17 for gem5 by doxygen 1.8.17