-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/2298/
-----------------------------------------------------------

Review request for Default.


Repository: gem5


Description
-------

Changeset 10253:992be57d8ca3
---------------------------
cpu: Fix incorrect speculative branch predictor behavior

When a branch mispredicted gem5 would squash all history after and including
the mispredicted branch.  However, the mispredicted branch is still speculative
and its history is required to rollback state if another, older, branch
mispredicts.  This leads to things like RAS corruption.


Diffs
-----

  src/cpu/pred/2bit_local.hh a2bb75a474fd 
  src/cpu/pred/bpred_unit.hh a2bb75a474fd 
  src/cpu/pred/bpred_unit_impl.hh a2bb75a474fd 
  src/cpu/pred/tournament.hh a2bb75a474fd 
  src/cpu/pred/tournament.cc a2bb75a474fd 

Diff: http://reviews.gem5.org/r/2298/diff/


Testing
-------


Thanks,

Ali Saidi

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to