diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-10-04 16:29:41 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-10-04 16:29:41 -0600 |
| commit | 5e1773191f8f2dc055c8b2b04afb74d2d3a4d7cf (patch) | |
| tree | ddfe7cc67c75a847f5b9d55a241a985cb6421e2b /tb/top/conspiracion.cpp | |
| parent | 64dbe25a5023b87acaa648c7cfcb3f183032589a (diff) | |
rtl/cache: increase to 64KiB per core
Diffstat (limited to 'tb/top/conspiracion.cpp')
| -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]; |
