changeset c7982323e834 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=c7982323e834
description:
        O3: Fix uninitialized variable in the tournament branch predictor.

diffstat:

 src/cpu/pred/tournament.cc |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r c4e77a9563f5 -r c7982323e834 src/cpu/pred/tournament.cc
--- a/src/cpu/pred/tournament.cc        Sun Aug 07 09:21:48 2011 -0700
+++ b/src/cpu/pred/tournament.cc        Sun Aug 07 09:21:49 2011 -0700
@@ -221,6 +221,7 @@
     history->globalHistory = globalHistory;
     history->localPredTaken = true;
     history->globalPredTaken = true;
+    history->globalUsed = true;
     bp_history = static_cast<void *>(history);
 
     updateGlobalHistTaken();
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to