gem5  v20.1.0.0
Public Member Functions | Public Attributes | Private Attributes | List of all members
FetchStage Class Reference

#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 ()
FetchUnitfetchUnit (int simdId)

Public Attributes

Stats::Distribution instFetchInstReturned

Private Attributes

int numVectorALUs
std::vector< FetchUnit_fetchUnit
const std::string _name

Detailed Description

Definition at line 51 of file fetch_stage.hh.

Constructor & Destructor Documentation

◆ FetchStage()

FetchStage::FetchStage ( const ComputeUnitParams *  p,
ComputeUnit cu 

Definition at line 39 of file

References _fetchUnit, ArmISA::j, numVectorALUs, and MipsISA::p.

◆ ~FetchStage()

FetchStage::~FetchStage ( )

Definition at line 49 of file

References _fetchUnit.

Member Function Documentation

◆ exec()

void FetchStage::exec ( )

Definition at line 64 of file

References _fetchUnit, ArmISA::j, and numVectorALUs.

Referenced by ComputeUnit::exec().

◆ fetch()

void FetchStage::fetch ( PacketPtr  pkt,
Wavefront wave 

Definition at line 88 of file

References _fetchUnit, and Wavefront::simdId.

◆ fetchUnit()

FetchUnit& FetchStage::fetchUnit ( int  simdId)

Definition at line 65 of file fetch_stage.hh.

References _fetchUnit.

Referenced by Wavefront::discardFetch(), and Gcn3ISA::Inst_SOPP__S_ENDPGM::execute().

◆ init()

void FetchStage::init ( )

Definition at line 55 of file

References _fetchUnit, computeUnit, ArmISA::j, numVectorALUs, and ComputeUnit::wfList.

Referenced by ComputeUnit::init().

◆ name()

const std::string& FetchStage::name ( ) const

Definition at line 62 of file fetch_stage.hh.

References _name.

Referenced by regStats().

◆ processFetchReturn()

void FetchStage::processFetchReturn ( PacketPtr  pkt)

◆ regStats()

void FetchStage::regStats ( )

Member Data Documentation

◆ _fetchUnit

std::vector<FetchUnit> FetchStage::_fetchUnit

Definition at line 73 of file fetch_stage.hh.

Referenced by exec(), fetch(), FetchStage(), fetchUnit(), init(), processFetchReturn(), and ~FetchStage().

◆ _name

const std::string FetchStage::_name

Definition at line 74 of file fetch_stage.hh.

Referenced by name().

◆ computeUnit

ComputeUnit& FetchStage::computeUnit

Definition at line 69 of file fetch_stage.hh.

Referenced by init().

◆ instFetchInstReturned

Stats::Distribution FetchStage::instFetchInstReturned

Definition at line 64 of file fetch_stage.hh.

Referenced by processFetchReturn(), and regStats().

◆ numVectorALUs

int FetchStage::numVectorALUs

Definition at line 68 of file fetch_stage.hh.

Referenced by exec(), FetchStage(), and init().

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

Generated on Wed Sep 30 2020 14:02:24 for gem5 by doxygen 1.8.17