82 std::stringstream out;
83 out <<
"[" << std::hex <<
"0x" <<
addr <<
"," <<
" line 0x"
static uint32_t getBlockSizeBytes()
static uint32_t getBlockSizeBits()
constexpr T bits(T val, unsigned first, unsigned last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it.
constexpr T mbits(T val, unsigned first, unsigned last)
Mask off the given bits in place like bits() but without shifting.
Bitfield< 21, 20 > stride
Addr makeNextStrideAddress(Addr addr, int stride)
Addr maskLowOrderBits(Addr addr, unsigned int number)
Addr makeLineAddress(Addr addr)
Addr getOffset(Addr addr)
Addr bitSelect(Addr addr, unsigned int small, unsigned int big)
std::string printAddress(Addr addr)
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.