From 2575edb2f5e0b34aab7e2cf1188efe77bfd65d75 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sun, 15 Jan 2023 15:03:07 -0800 Subject: Use "-" events to end fetch blocks instead of "~". --- nanosim | 2 +- uarch/core.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nanosim b/nanosim index bab124c..5f3ea32 160000 --- a/nanosim +++ b/nanosim @@ -1 +1 @@ -Subproject commit bab124c8c00053eebd24329b95f0554440a5004e +Subproject commit 5f3ea3240c2039b3ded3a92f104f5c29b40e4500 diff --git a/uarch/core.cpp b/uarch/core.cpp index e6fffdd..29ac08e 100644 --- a/uarch/core.cpp +++ b/uarch/core.cpp @@ -81,7 +81,7 @@ void decode_stage::clock() { auto b = c.fetch_bundlep.peek(); if (b.gen != c.gen) { - pte(b.tr, "~"); + pte(b.tr, "-"); c.fetch_bundlep.discard(); return; } @@ -95,7 +95,7 @@ void decode_stage::clock() { ++c.gen; c.restarto = std::move(r); } - pte(b.tr, "~"); + pte(b.tr, "-"); c.fetch_bundlep.discard(); return; } @@ -149,7 +149,7 @@ void decode_stage::clock() { } if ((b.pc >> memory::LINE_BYTES_LOG2) != (pc >> memory::LINE_BYTES_LOG2)) { - pte(b.tr, "~"); + pte(b.tr, "-"); c.fetch_bundlep.discard(); } } -- cgit v1.2.3