gem5  v21.0.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions
Address.cc File Reference
#include "mem/ruby/common/Address.hh"
#include "base/bitfield.hh"
#include "mem/ruby/system/RubySystem.hh"

Go to the source code of this file.

Functions

Addr bitSelect (Addr addr, unsigned int small, unsigned int big)
 
Addr maskLowOrderBits (Addr addr, unsigned int number)
 
Addr getOffset (Addr addr)
 
Addr makeLineAddress (Addr addr)
 
Addr makeLineAddress (Addr addr, int cacheLineBits)
 
Addr makeNextStrideAddress (Addr addr, int stride)
 
std::string printAddress (Addr addr)
 

Function Documentation

◆ bitSelect()

Addr bitSelect ( Addr  addr,
unsigned int  small,
unsigned int  big 
)

◆ getOffset()

Addr getOffset ( Addr  addr)

◆ makeLineAddress() [1/2]

Addr makeLineAddress ( Addr  addr)

Definition at line 54 of file Address.cc.

References X86ISA::addr, and RubySystem::getBlockSizeBits().

Referenced by CacheMemory::addressToCacheSet(), AddressProfiler::addTraceSample(), PerfectCacheMemory< ENTRY >::allocate(), CacheMemory::allocate(), GPUCoalescer::atomicCallback(), CacheMemory::cacheAvail(), CacheMemory::cacheProbe(), PerfectCacheMemory< ENTRY >::changePermission(), GPUCoalescer::coalescePacket(), PersistentTable::countReadStarvingForAddress(), PersistentTable::countStarvingForAddress(), PerfectCacheMemory< ENTRY >::deallocate(), PersistentTable::findSmallest(), CacheMemory::findTagInSet(), CacheMemory::findTagInSetIgnorePermissions(), RubySystem::functionalRead(), RubySystem::functionalWrite(), PerfectCacheMemory< ENTRY >::getPermission(), Sequencer::hitCallback(), GPUCoalescer::hitCallback(), HTMSequencer::htmCallback(), RubyPrefetcher::initializeStream(), FetchUnit::initiateFetch(), Sequencer::insertRequest(), PersistentTable::isLocked(), TBETable< ENTRY >::isPresent(), DMASequencer::issueNext(), VIPERCoalescer::issueRequest(), PerfectCacheMemory< ENTRY >::isTagPresent(), Sequencer::llscCheckMonitor(), PerfectCacheMemory< ENTRY >::lookup(), CacheMemory::lookup(), makeNextStrideAddress(), DMASequencer::makeRequest(), Sequencer::makeRequest(), PersistentTable::markEntries(), FetchUnit::FetchBufDesc::nextFetchAddr(), RubyPrefetcher::observeMiss(), PersistentTable::okToIssueStarving(), Check::performCallback(), PersistentTable::persistentRequestLock(), PersistentTable::persistentRequestUnlock(), printAddress(), Sequencer::readCallback(), GPUCoalescer::readCallback(), RubyPort::MemResponsePort::recvFunctional(), RubyRequest::RubyRequest(), TimerTable::set(), CacheMemory::setMRU(), testAndRead(), testAndReadMask(), testAndWrite(), PersistentTable::typeOfSmallest(), TimerTable::unset(), Sequencer::writeCallback(), GPUCoalescer::writeCallback(), and VIPERCoalescer::writeCompleteCallback().

◆ makeLineAddress() [2/2]

Addr makeLineAddress ( Addr  addr,
int  cacheLineBits 
)

Definition at line 60 of file Address.cc.

References X86ISA::addr, and maskLowOrderBits().

◆ makeNextStrideAddress()

Addr makeNextStrideAddress ( Addr  addr,
int  stride 
)

◆ maskLowOrderBits()

Addr maskLowOrderBits ( Addr  addr,
unsigned int  number 
)

Definition at line 42 of file Address.cc.

References X86ISA::addr.

Referenced by makeLineAddress().

◆ printAddress()

std::string printAddress ( Addr  addr)

Generated on Tue Jun 22 2021 15:28:34 for gem5 by doxygen 1.8.17