diff options
Diffstat (limited to 'tb')
| -rw-r--r-- | tb/top/conspiracion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tb/top/conspiracion.cpp b/tb/top/conspiracion.cpp index f074583..00a672e 100644 --- a/tb/top/conspiracion.cpp +++ b/tb/top/conspiracion.cpp @@ -514,8 +514,8 @@ int main(int argc, char **argv) if (!ok || (ok >> 29)) return ok; - unsigned tag = (addr >> 11) & ((1 << 16) - 1); - unsigned index = (addr >> 2) & ((1 << 9) - 1); + unsigned tag = (addr >> 14) & ((1 << 13) - 1); + unsigned index = (addr >> 2) & ((1 << 12) - 1); for (std::size_t i = 0; i < sizeof caches / sizeof caches[0]; ++i) { const auto *cache = caches[i]; |
