gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.
 
- Public Member Functions inherited from gem5::TypedRegClassOps< ValueType >
std::string valString (const void *val, const size_t &size) const override
 Print the value of a register pointed to by val of size size.
 
- Public Member Functions inherited from gem5::RegClassOps
virtual RegId flatten (const BaseISA &isa, const RegId &id) const
 Flatten register id id using information in the ISA object isa.
 

Protected Attributes

size_t elemsPerVec
 

Detailed Description

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

Definition at line 391 of file reg_class.hh.

Constructor & Destructor Documentation

◆ VecElemRegClassOps()

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

Definition at line 397 of file reg_class.hh.

Member Function Documentation

◆ regName()

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

Print the name of the register specified in id.

Reimplemented from gem5::RegClassOps.

Definition at line 402 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
protected

Definition at line 394 of file reg_class.hh.

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


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

Generated on Tue Jun 18 2024 16:24:15 for gem5 by doxygen 1.11.0