|
| | LocatedMaskedPattern (const int number, const uint64_t code, const uint64_t metadata_length, const int match_location, const DictionaryEntry bytes, const bool allocate=true) |
| |
| | MaskedPattern (const int number, const uint64_t code, const uint64_t metadata_length, const int match_location, const DictionaryEntry bytes, const bool allocate=true) |
| |
| DictionaryEntry | decompress (const DictionaryEntry dict_bytes) const override |
| | Decompress the pattern.
|
| |
| | Pattern (const int number, const uint64_t code, const uint64_t metadata_length, const uint64_t num_unmatched_bits, const int match_location, const bool allocate=true) |
| | Default constructor.
|
| |
| virtual | ~Pattern ()=default |
| | Default destructor.
|
| |
| int | getPatternNumber () const |
| | Get enum number associated to this pattern.
|
| |
| uint8_t | getCode () const |
| | Get code of this pattern.
|
| |
| uint8_t | getMatchLocation () const |
| | Get the index of the dictionary match location.
|
| |
| virtual std::size_t | getSizeBits () const |
| | Get size, in bits, of the pattern (excluding prefix).
|
| |
| bool | shouldAllocate () const |
| | Determine if pattern allocates a dictionary entry.
|
| |
| std::string | print () const |
| | Extract pattern's information to a string.
|
| |
| virtual DictionaryEntry | decompress (const DictionaryEntry dict_bytes) const =0 |
| | Decompress the pattern.
|
| |
template<class T>
template<T mask, int location>
class gem5::compression::DictionaryCompressor< T >::LocatedMaskedPattern< mask, location >
A pattern that narrows the MaskedPattern by allowing a only single possible dictionary entry to be matched against.
- Template Parameters
-
| mask | A mask containing the bits that must match. |
| location | The index of the single entry allowed to match. |
Definition at line 572 of file dictionary_compressor.hh.