gem5 v24.0.0.0
|
#include <regfile.hh>
Public Member Functions | |
RegFile (const RegClass &info, const size_t new_size) | |
RegFile (const RegClass &info) | |
size_t | size () const |
size_t | regShift () const |
size_t | regBytes () const |
template<typename Reg = RegVal> | |
Reg & | reg (size_t idx) |
template<typename Reg = RegVal> | |
const Reg & | reg (size_t idx) const |
void * | ptr (size_t idx) |
const void * | ptr (size_t idx) const |
void | get (size_t idx, void *val) const |
void | set (size_t idx, const void *val) |
void | clear () |
Public Attributes | |
const RegClass & | regClass |
Private Attributes | |
std::vector< uint8_t > | data |
const size_t | _size |
const size_t | _regShift |
const size_t | _regBytes |
Definition at line 41 of file regfile.hh.
|
inline |
Definition at line 52 of file regfile.hh.
|
inline |
Definition at line 58 of file regfile.hh.
|
inline |
Definition at line 104 of file regfile.hh.
References data.
|
inline |
Definition at line 93 of file regfile.hh.
References _regBytes, ptr(), and gem5::X86ISA::val.
Referenced by gem5::o3::PhysRegFile::getReg().
|
inline |
Definition at line 81 of file regfile.hh.
References _regShift, and data.
Referenced by get(), gem5::o3::PhysRegFile::getWritableReg(), and set().
|
inline |
Definition at line 87 of file regfile.hh.
Definition at line 66 of file regfile.hh.
References _regBytes, _regShift, _size, and data.
Referenced by gem5::o3::PhysRegFile::getReg(), and gem5::o3::PhysRegFile::setReg().
|
inline |
Definition at line 62 of file regfile.hh.
References _regBytes.
|
inline |
Definition at line 61 of file regfile.hh.
References _regShift.
|
inline |
Definition at line 99 of file regfile.hh.
References _regBytes, ptr(), and gem5::X86ISA::val.
Referenced by gem5::o3::PhysRegFile::setReg().
|
inline |
Definition at line 60 of file regfile.hh.
References _size.
|
private |
Definition at line 47 of file regfile.hh.
Referenced by get(), reg(), reg(), regBytes(), and set().
|
private |
Definition at line 46 of file regfile.hh.
Referenced by ptr(), ptr(), reg(), reg(), and regShift().
|
private |
Definition at line 45 of file regfile.hh.
|
private |
const RegClass& gem5::RegFile::regClass |
Definition at line 50 of file regfile.hh.
Referenced by gem5::o3::PhysRegFile::getReg(), and gem5::o3::PhysRegFile::setReg().