39 #ifndef __MEM_CACHE_COMPRESSORS_FPCD_HH__
40 #define __MEM_CACHE_COMPRESSORS_FPCD_HH__
106 Factory<PatternZZZZ, PatternFFFF, PatternMMMMPrevious,
107 PatternMMMMPenultimate, PatternZZZX, PatternXZZZ,
108 PatternRRRR, PatternMMMXPrevious, PatternMMMXPenultimate,
109 PatternZZXX, PatternZXZX, PatternFFXX, PatternXXZZ,
117 static std::map<PatternNumber, std::string> pattern_names = {
133 std::unique_ptr<Pattern>
135 const int match_location)
const override
137 return PatternFactory::getPattern(bytes, dict_bytes, match_location);
142 std::unique_ptr<Base::CompressionData>
compress(
157 match_location, bytes, true)
166 : MaskedValuePattern<0xFFFFFFFF, 0xFFFFFFFF>(
FFFF, 0x1,
173 :
public LocatedMaskedPattern<0xFFFFFFFF, previousIndex>
177 const int match_location)
185 :
public LocatedMaskedPattern<0xFFFFFFFF, penultimateIndex>
189 const int match_location)
201 match_location, bytes, true)
211 match_location, bytes, true)
221 match_location, bytes, true)
227 :
public LocatedMaskedPattern<0xFFFFFF00, previousIndex>
231 const int match_location)
239 :
public LocatedMaskedPattern<0xFFFFFF00, penultimateIndex>
243 const int match_location)
255 match_location, bytes, true)
265 match_location, bytes, true)
274 : MaskedValuePattern<0xFFFFFFFF, 0xFFFF0000>(
FFXX, 0xB,
285 match_location, bytes, true)
291 :
public LocatedMaskedPattern<0xFFFF0000, previousIndex>
295 const int match_location)
303 :
public LocatedMaskedPattern<0xFFFF0000, penultimateIndex>
307 const int match_location)
326 #endif //__MEM_CACHE_COMPRESSORS_FPCD_HH__