Reduces drcachesim offline tracing overhead by eliding rip-relative and same-unmodified-base addresses from the recorded trace, reconstructing their values during post-processing. In measurements this is pretty significant, removing 12%-17% of entries that need to be written out during tracing.
Adds identification of elidable memory operands to instru_offline_t, exported both to the runtime tracer and the raw2trace post-processor.
Changes raw2trace's instruction cache key to a pair <tag,pc> to handle tail-duplicated blocks. Adds elision identification through a constructed instrlist when first encountering a block tag. Adds a new struct memref_summary_t to store elision information with each cached memory operand.
Increases the offline file version and adds versioning support for backward compatibility with no-elision trace, as well as to make it easier to keep compatibility when more elision cases are added in the future.
Adds a file type to the offline file header to identify filtered traces as a sanity check and to avoid extra work when there are no elided addresses at all.
Adds a statistics interface to retrieve raw2trace metrics. The initial metric is the number of elided addresses.
Issue: #2001