(Moving this discussion to the users mailing list, as it is better suited 
there)


Hello, Patrick,

DictionaryCompressor<T>::CompData contains the patterns (in general, any 
compressor's "CompData" structure contains the compressed data, not the 
original data - there are some exceptions). The patterns, due to the 
deterministic nature of cache compressors, must always be able to successfully 
recreate the original cache line through a call to the compressor's 
decompress(const CompressionData* comp_data, uint64_t* data).

We do not actively use the decompression step on regular simulation because it 
would be extremely costly, but it should be fairly straightforward to generate 
the original cache line from the compressed data. You can find out how you'd 
call the decompress function by doing an approach similar to what is done in 
Compressor::Base::compress(const uint64_t* data, Cycles& comp_lat, Cycles& 
decomp_lat), in src/mem/cache/compressors/base.cc.

Regards,
Daniel
 
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to