gem5
v20.1.0.0
|
#include <fetch_stage.hh>
Public Member Functions | |
FetchStage (const ComputeUnitParams *p, ComputeUnit &cu) | |
~FetchStage () | |
void | init () |
void | exec () |
void | processFetchReturn (PacketPtr pkt) |
void | fetch (PacketPtr pkt, Wavefront *wave) |
const std::string & | name () const |
void | regStats () |
FetchUnit & | fetchUnit (int simdId) |
Public Attributes | |
Stats::Distribution | instFetchInstReturned |
Private Attributes | |
int | numVectorALUs |
ComputeUnit & | computeUnit |
std::vector< FetchUnit > | _fetchUnit |
const std::string | _name |
Definition at line 51 of file fetch_stage.hh.
FetchStage::FetchStage | ( | const ComputeUnitParams * | p, |
ComputeUnit & | cu | ||
) |
Definition at line 39 of file fetch_stage.cc.
References _fetchUnit, ArmISA::j, numVectorALUs, and MipsISA::p.
FetchStage::~FetchStage | ( | ) |
Definition at line 49 of file fetch_stage.cc.
References _fetchUnit.
void FetchStage::exec | ( | ) |
Definition at line 64 of file fetch_stage.cc.
References _fetchUnit, ArmISA::j, and numVectorALUs.
Referenced by ComputeUnit::exec().
Definition at line 88 of file fetch_stage.cc.
References _fetchUnit, and Wavefront::simdId.
|
inline |
Definition at line 65 of file fetch_stage.hh.
References _fetchUnit.
Referenced by Wavefront::discardFetch(), and Gcn3ISA::Inst_SOPP__S_ENDPGM::execute().
void FetchStage::init | ( | ) |
Definition at line 55 of file fetch_stage.cc.
References _fetchUnit, computeUnit, ArmISA::j, numVectorALUs, and ComputeUnit::wfList.
Referenced by ComputeUnit::init().
|
inline |
void FetchStage::processFetchReturn | ( | PacketPtr | pkt | ) |
Definition at line 72 of file fetch_stage.cc.
References _fetchUnit, instFetchInstReturned, Packet::req, Stats::DistBase< Derived, Stor >::sample(), Packet::senderState, Wavefront::simdId, and ComputeUnit::SQCPort::SenderState::wavefront.
void FetchStage::regStats | ( | ) |
Definition at line 94 of file fetch_stage.cc.
References Stats::DataWrap< Derived, InfoProxyType >::desc(), Stats::Distribution::init(), instFetchInstReturned, name(), and Stats::DataWrap< Derived, InfoProxyType >::name().
Referenced by ComputeUnit::regStats().
|
private |
Definition at line 73 of file fetch_stage.hh.
Referenced by exec(), fetch(), FetchStage(), fetchUnit(), init(), processFetchReturn(), and ~FetchStage().
|
private |
Definition at line 74 of file fetch_stage.hh.
Referenced by name().
|
private |
Definition at line 69 of file fetch_stage.hh.
Referenced by init().
Stats::Distribution FetchStage::instFetchInstReturned |
Definition at line 64 of file fetch_stage.hh.
Referenced by processFetchReturn(), and regStats().
|
private |
Definition at line 68 of file fetch_stage.hh.
Referenced by exec(), FetchStage(), and init().