cpu: pred: Local Predictor Reset in Tournament Predictor
authorAndrew Lukefahr <lukefahr@umich.edu>
Tue, 15 Sep 2015 13:14:07 +0000 (08:14 -0500)
committerAndrew Lukefahr <lukefahr@umich.edu>
Tue, 15 Sep 2015 13:14:07 +0000 (08:14 -0500)
commit543efd5ca687782028fad8873099ad38eeb64085
treef5169ae58d9fda00e1ab708bd5ea4e5698f070aa
parentfb0f9884e27f33c434ef67a5cfd284331a2a89e0
cpu: pred: Local Predictor Reset in Tournament Predictor

When a branch gets squashed, it's speculative branch predictor state should get
rolled back in squash().  However, only the globalHistory state was being
rolled back.  This patch adds (at least some) support for rolling back the
local predictor state also.

Committed by: Nilay Vaish <nilay@cs.wisc.edu>
src/cpu/pred/tournament.cc
src/cpu/pred/tournament.hh