cpu: remove local/globalHistoryBits params from branch pred
authorAnthony Gutierrez <atgutier@umich.edu>
Tue, 14 May 2013 22:39:47 +0000 (18:39 -0400)
committerAnthony Gutierrez <atgutier@umich.edu>
Tue, 14 May 2013 22:39:47 +0000 (18:39 -0400)
commitd3c33d91b68e917478dba48c03a674b21ebd2747
tree3e86a50e40dd96f1d7c48081d5b7a787c3d277c7
parent4e52789c6db91cd292e2de933c7c797e24fa870f
cpu: remove local/globalHistoryBits params from branch pred

having separate params for the local/globalHistoryBits and the
local/globalPredictorSize can lead to inconsistencies if they
are not carefully set. this patch dervies the number of bits
necessary to index into the local/global predictors based on
their size.

the value of the localHistoryTableSize for the ARM O3 CPU has been
increased to 1024 from 64, which is more accurate for an A15 based
on some correlation against A15 hardware.
configs/common/O3_ARM_v7a.py
src/cpu/pred/BranchPredictor.py
src/cpu/pred/tournament.cc