summaryrefslogtreecommitdiff
path: root/uarch/core.cpp
diff options
context:
space:
mode:
authorJulian Blake Kongslie2023-01-15 15:03:07 -0800
committerJulian Blake Kongslie2023-01-15 15:04:07 -0800
commit2575edb2f5e0b34aab7e2cf1188efe77bfd65d75 (patch)
tree64279959200028f0fd4c2a90086138c8eed8cd03 /uarch/core.cpp
parentDon't stall non-load instructions after a store. (diff)
downloadbiggolf-2575edb2f5e0b34aab7e2cf1188efe77bfd65d75.tar.xz
Use "-" events to end fetch blocks instead of "~".
Diffstat (limited to '')
-rw-r--r--uarch/core.cpp6
1 files changed, 3 insertions, 3 deletions
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() {
81 auto b = c.fetch_bundlep.peek(); 81 auto b = c.fetch_bundlep.peek();
82 82
83 if (b.gen != c.gen) { 83 if (b.gen != c.gen) {
84 pte(b.tr, "~"); 84 pte(b.tr, "-");
85 c.fetch_bundlep.discard(); 85 c.fetch_bundlep.discard();
86 return; 86 return;
87 } 87 }
@@ -95,7 +95,7 @@ void decode_stage::clock() {
95 ++c.gen; 95 ++c.gen;
96 c.restarto = std::move(r); 96 c.restarto = std::move(r);
97 } 97 }
98 pte(b.tr, "~"); 98 pte(b.tr, "-");
99 c.fetch_bundlep.discard(); 99 c.fetch_bundlep.discard();
100 return; 100 return;
101 } 101 }
@@ -149,7 +149,7 @@ void decode_stage::clock() {
149 } 149 }
150 150
151 if ((b.pc >> memory::LINE_BYTES_LOG2) != (pc >> memory::LINE_BYTES_LOG2)) { 151 if ((b.pc >> memory::LINE_BYTES_LOG2) != (pc >> memory::LINE_BYTES_LOG2)) {
152 pte(b.tr, "~"); 152 pte(b.tr, "-");
153 c.fetch_bundlep.discard(); 153 c.fetch_bundlep.discard();
154 } 154 }
155 } 155 }