32#ifndef __REGISTER_FILE_HH__
33#define __REGISTER_FILE_HH__
51struct RegisterFileParams;
68 virtual bool regBusy(
int idx)
const;
69 virtual void markReg(
int regIdx,
bool value);
141 virtual std::string
dump()
const;
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
static const FlagsType AutoDelete
void setFlags(Flags _flags)
MarkRegBusyScbEvent(RegisterFile *_rf, int _regIdx)
MarkRegFreeScbEvent(RegisterFile *_rf, int _regIdx)
RegisterEvent(RegisterFile *_rf, int _regIdx)
gem5::RegisterFile::RegisterFileStats stats
virtual bool regBusy(int idx) const
virtual void markReg(int regIdx, bool value)
virtual bool operandsReady(Wavefront *w, GPUDynInstPtr ii) const
virtual void scheduleWriteOperandsFromLoad(Wavefront *w, GPUDynInstPtr ii)
virtual bool canScheduleWriteOperands(Wavefront *w, GPUDynInstPtr ii)
virtual void dispatchInstruction(GPUDynInstPtr ii)
virtual bool canScheduleWriteOperandsFromLoad(Wavefront *w, GPUDynInstPtr ii)
virtual void waveExecuteInst(Wavefront *w, GPUDynInstPtr ii)
virtual void enqRegBusyEvent(uint32_t regIdx, uint64_t delay)
RegisterFile(const RegisterFileParams &p)
virtual std::string dump() const
virtual void scheduleReadOperands(Wavefront *w, GPUDynInstPtr ii)
virtual void scheduleWriteOperands(Wavefront *w, GPUDynInstPtr ii)
virtual bool operandReadComplete(Wavefront *w, GPUDynInstPtr ii)
virtual void enqRegFreeEvent(uint32_t regIdx, uint64_t delay)
virtual void setParent(ComputeUnit *_computeUnit)
ComputeUnit * computeUnit
virtual bool canScheduleReadOperands(Wavefront *w, GPUDynInstPtr ii)
Abstract superclass for simulation objects.
This is a simple scalar statistic, like a counter.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
std::shared_ptr< GPUDynInst > GPUDynInstPtr
Declaration of Statistics objects.
statistics::Scalar sramReads
RegisterFileStats(statistics::Group *parent)
statistics::Scalar rfc_cache_write_hits
statistics::Scalar sramWrites
statistics::Scalar rfc_cache_read_hits
statistics::Scalar registerReads
statistics::Scalar registerWrites