diff -r 1d085f66c4ca src/cpu/pred/tournament.hh --- a/src/cpu/pred/tournament.hh Thu Nov 17 04:54:18 2016 -0500 +++ b/src/cpu/pred/tournament.hh Fri Nov 18 13:56:40 2016 +0100 @@ -57,9 +57,8 @@ * used in the 21264. It has a local predictor, which uses a local history * table to index into a table of counters, and a global predictor, which * uses a global history to index into a table of counters. A choice - * predictor chooses between the two. Only the global history register - * is speculatively updated, the rest are updated upon branches committing - * or misspeculating. + * predictor chooses between the two. Both the global history register + * and the selected local history are speculatively updated. */ class TournamentBP : public BPredUnit { # HG changeset patch # Parent 1d085f66c4ca9bb4d4ca58a9f964a2b650f0cd91 diff -r 1d085f66c4ca src/cpu/pred/tournament.cc --- a/src/cpu/pred/tournament.cc Thu Nov 17 04:54:18 2016 -0500 +++ b/src/cpu/pred/tournament.cc Fri Nov 18 13:56:40 2016 +0100 @@ -222,8 +222,8 @@ assert(local_history_idx < localHistoryTableSize); - // Commented code is for doing speculative update of counters and - // all histories. + // Speculative update of the global history and the + // selected local history. if (choice_prediction) { if (global_prediction) { updateGlobalHistTaken(tid);