Commit bce8ddd
authored
Runahead fixes (#50)
* skip runahead rewind load when limited saving reloads too
RewindRunahead only skipped the rewind load when a rollback was coming.
with limited saving HandleSavingConfirmedFrame also does a load+resim of
the current frame, so the rewind load got overwritten there too.
extract RollbackPending and ConfirmedSaveDue so the handlers and
RewindRunahead share one firing condition, then skip the rewind load
when either is due.1 parent f45c428 commit bce8ddd
2 files changed
Lines changed: 29 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
85 | 89 | | |
86 | 90 | | |
87 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
225 | | - | |
| 224 | + | |
226 | 225 | | |
227 | 226 | | |
228 | 227 | | |
229 | 228 | | |
230 | 229 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | 230 | | |
237 | 231 | | |
238 | 232 | | |
| |||
361 | 355 | | |
362 | 356 | | |
363 | 357 | | |
364 | | - | |
| 358 | + | |
365 | 359 | | |
366 | 360 | | |
367 | 361 | | |
368 | 362 | | |
369 | 363 | | |
370 | 364 | | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | 365 | | |
377 | 366 | | |
378 | 367 | | |
| |||
521 | 510 | | |
522 | 511 | | |
523 | 512 | | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
524 | 532 | | |
525 | 533 | | |
526 | 534 | | |
527 | 535 | | |
528 | 536 | | |
529 | 537 | | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
534 | 542 | | |
535 | 543 | | |
536 | 544 | | |
537 | 545 | | |
538 | | - | |
539 | 546 | | |
540 | 547 | | |
541 | 548 | | |
| |||
0 commit comments