39 return (addr >> small);
44 return (partial >> small);
58 }
else if (small == 0) {
64 mask = (
Addr)~0 << (big + 1);
68 higher_bits = higher_bits >> (big - small + 1);
69 return (higher_bits | lower_bits);
81 mask = (
Addr)~0 << number;
94 mask = (
Addr)~0 >> number;
102 return (addr >> number);
128 std::stringstream out;
129 out <<
"[" << std::hex <<
"0x" << addr <<
"," <<
" line 0x"
Addr bitSelect(Addr addr, unsigned int small, unsigned int big)
const uint32_t ADDRESS_WIDTH
Addr maskHighOrderBits(Addr addr, unsigned int number)
Bitfield< 21, 20 > stride
Addr bitRemove(Addr addr, unsigned int small, unsigned int big)
Addr getOffset(Addr addr)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Addr makeLineAddress(Addr addr)
Addr shiftLowOrderBits(Addr addr, unsigned int number)
std::string printAddress(Addr addr)
Addr makeNextStrideAddress(Addr addr, int stride)
static uint32_t getBlockSizeBits()
static uint32_t getBlockSizeBytes()
Addr maskLowOrderBits(Addr addr, unsigned int number)