diff options
| author | Julian Blake Kongslie | 2022-09-23 16:54:42 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-09-23 16:54:42 -0700 |
| commit | 377b933b626dd8b1ddf49e45d22a8e82df967647 (patch) | |
| tree | 73f5a11c044b797a5bf4cf9d665052c26e6a7734 /frontend/fetch.h | |
| parent | Don't automatically restart fetch on decode restarts. (diff) | |
| download | procmodel-377b933b626dd8b1ddf49e45d22a8e82df967647.tar.xz | |
Stop cycle after accepting restart in fetch.
Diffstat (limited to 'frontend/fetch.h')
| -rw-r--r-- | frontend/fetch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/fetch.h b/frontend/fetch.h index 0eaebd5..a5c2e32 100644 --- a/frontend/fetch.h +++ b/frontend/fetch.h | |||
| @@ -44,6 +44,7 @@ namespace frontend { | |||
| 44 | predictor.erase(r.previous_line_address); | 44 | predictor.erase(r.previous_line_address); |
| 45 | else | 45 | else |
| 46 | predictor[r.previous_line_address] = r.new_next_line_address; | 46 | predictor[r.previous_line_address] = r.new_next_line_address; |
| 47 | return; | ||
| 47 | } | 48 | } |
| 48 | if (fill_request_sent && responsep.can_read() && bundlep->can_write()) { | 49 | if (fill_request_sent && responsep.can_read() && bundlep->can_write()) { |
| 49 | auto r = responsep.read(); | 50 | auto r = responsep.read(); |
