gem5
|
#include <WriteMask.hh>
Public Member Functions | |
WriteMask () | |
WriteMask (int size) | |
WriteMask (int size, std::vector< bool > &mask) | |
WriteMask (int size, std::vector< bool > &mask, std::vector< std::pair< int, AtomicOpFunctor * > > atomicOp) | |
~WriteMask () | |
void | clear () |
bool | test (int offset) |
void | setMask (int offset, int len) |
void | fillMask () |
bool | getMask (int offset, int len) const |
bool | isOverlap (const WriteMask &readMask) const |
bool | cmpMask (const WriteMask &readMask) const |
bool | isEmpty () const |
bool | isFull () const |
void | orMask (const WriteMask &writeMask) |
void | print (std::ostream &out) const |
void | performAtomic (uint8_t *p) const |
void | performAtomic (DataBlock &blk) const |
Private Attributes | |
int | mSize |
std::vector< bool > | mMask |
bool | mAtomic |
std::vector< std::pair< int, AtomicOpFunctor * > > | mAtomicOp |
Definition at line 40 of file WriteMask.hh.
|
inline |
Definition at line 43 of file WriteMask.hh.
|
inline |
Definition at line 48 of file WriteMask.hh.
|
inline |
Definition at line 52 of file WriteMask.hh.
|
inline |
Definition at line 56 of file WriteMask.hh.
|
inline |
Definition at line 61 of file WriteMask.hh.
|
inline |
Definition at line 65 of file WriteMask.hh.
|
inline |
Definition at line 118 of file WriteMask.hh.
|
inline |
Definition at line 86 of file WriteMask.hh.
|
inline |
Definition at line 94 of file WriteMask.hh.
References ArmISA::i, ArmISA::len, mMask, and mSize.
Referenced by DataBlock::copyPartial().
|
inline |
Definition at line 130 of file WriteMask.hh.
|
inline |
Definition at line 141 of file WriteMask.hh.
|
inline |
Definition at line 105 of file WriteMask.hh.
|
inline |
|
inline |
Definition at line 168 of file WriteMask.hh.
References ArmISA::i, mAtomicOp, and ArmISA::offset.
Referenced by DataBlock::atomicPartial().
|
inline |
Definition at line 178 of file WriteMask.hh.
References DataBlock::getDataMod(), ArmISA::i, mAtomicOp, ArmISA::offset, and MipsISA::p.
void WriteMask::print | ( | std::ostream & | out | ) | const |
Definition at line 36 of file WriteMask.cc.
References ArmISA::i, mMask, and mSize.
Referenced by operator<<().
|
inline |
Definition at line 78 of file WriteMask.hh.
References ArmISA::i, ArmISA::len, mMask, and mSize.
|
inline |
Definition at line 71 of file WriteMask.hh.
References mMask, mSize, and ArmISA::offset.
Referenced by testAndReadMask().
|
private |
Definition at line 190 of file WriteMask.hh.
Referenced by orMask().
|
private |
Definition at line 191 of file WriteMask.hh.
Referenced by orMask(), and performAtomic().
|
private |
Definition at line 189 of file WriteMask.hh.
Referenced by clear(), cmpMask(), fillMask(), getMask(), isEmpty(), isFull(), isOverlap(), orMask(), print(), setMask(), and test().
|
private |
Definition at line 188 of file WriteMask.hh.
Referenced by clear(), cmpMask(), fillMask(), getMask(), isEmpty(), isFull(), isOverlap(), orMask(), print(), setMask(), and test().