diff options
| author | Julian Blake Kongslie | 2022-09-23 16:52:33 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-09-23 16:52:33 -0700 |
| commit | 62ffea7a373d6347639f003492123b65006ceb98 (patch) | |
| tree | aef30f7dd512a70bf42204ba4ce3638aa75399b6 | |
| parent | Add some asserts. (diff) | |
| download | procmodel-62ffea7a373d6347639f003492123b65006ceb98.tar.xz | |
Don't automatically restart fetch on decode restarts.
Diffstat (limited to '')
| -rw-r--r-- | frontend/decode.h | 5 |
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) |
