summaryrefslogtreecommitdiff
path: root/frontend/decode.h
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-09-23 16:52:33 -0700
committerJulian Blake Kongslie2022-09-23 16:52:33 -0700
commit62ffea7a373d6347639f003492123b65006ceb98 (patch)
treeaef30f7dd512a70bf42204ba4ce3638aa75399b6 /frontend/decode.h
parentAdd some asserts. (diff)
downloadprocmodel-62ffea7a373d6347639f003492123b65006ceb98.tar.xz
Don't automatically restart fetch on decode restarts.
Diffstat (limited to 'frontend/decode.h')
-rw-r--r--frontend/decode.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/frontend/decode.h b/frontend/decode.h
index cb7bedd..51e8a62 100644
--- a/frontend/decode.h
+++ b/frontend/decode.h
@@ -40,11 +40,6 @@ namespace frontend {
40 indirect_jump_destination = r.new_pc; 40 indirect_jump_destination = r.new_pc;
41 for (auto &f : next_inst.field) 41 for (auto &f : next_inst.field)
42 f = 0; 42 f = 0;
43 fetch::restart fr;
44 fr.new_generation = ++generation_up;
45 fr.new_next_line_address = pc >> memory::LINE_BYTES_LOG2;
46 fr.previous_line_address = r.from_pc >> memory::LINE_BYTES_LOG2;
47 fetch_restartp->write(std::move(fr));
48 return; 43 return;
49 } 44 }
50 if (next_inst.size >= MAX_INST_SIZE) 45 if (next_inst.size >= MAX_INST_SIZE)