Artem Kulikov
unread,Oct 8, 2025, 3:57:13 PM (8 days ago) Oct 8Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DynamoRIO Users
As I know, cache_size = line_size * associativity * num_sets. However, in the constructor for cache_replacement_policy_t, the number of sets is passed in as ache_size / cache_associativity. The tags and block IDs are calculated correctly, so access should be safe. The replacement_policy_test covers only the policy itself, not the inner structure.
Could this be a bug, or have I misunderstood something?