34 #ifndef __MEM_CACHE_COMPRESSORS_CPACK_HH__
35 #define __MEM_CACHE_COMPRESSORS_CPACK_HH__
81 using PatternFactory = Factory<PatternZZZZ, PatternMMMM, PatternZZZX,
89 static std::map<int, std::string> patternNames = {
94 return patternNames[number];
100 const int match_location)
const override
102 return PatternFactory::getPattern(bytes, dict_bytes, match_location);
126 : MaskedValuePattern<0, 0xFFFFFFFF>(
ZZZZ, 0x0, 2, match_location,
136 : UncompressedPattern(
XXXX, 0x1, 2, match_location, bytes)
145 : MaskedPattern<0xFFFFFFFF>(
MMMM, 0x2, 6, match_location, bytes, true)
154 : MaskedPattern<0xFFFF0000>(
MMXX, 0xC, 8, match_location, bytes, true)
163 : MaskedValuePattern<0, 0xFFFFFF00>(
ZZZX, 0xD, 4, match_location,
173 : MaskedPattern<0xFFFFFF00>(
MMMX, 0xE, 8, match_location, bytes, true)
181 #endif //__MEM_CACHE_COMPRESSORS_CPACK_HH__