diff options
author | Anthony Gutierrez <atgutier@umich.edu> | 2013-05-14 18:39:47 -0400 |
---|---|---|
committer | Anthony Gutierrez <atgutier@umich.edu> | 2013-05-14 18:39:47 -0400 |
commit | d3c33d91b68e917478dba48c03a674b21ebd2747 (patch) | |
tree | 3e86a50e40dd96f1d7c48081d5b7a787c3d277c7 /configs/common | |
parent | 4e52789c6db91cd292e2de933c7c797e24fa870f (diff) | |
download | gem5-d3c33d91b68e917478dba48c03a674b21ebd2747.tar.xz |
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.
Diffstat (limited to 'configs/common')
-rw-r--r-- | configs/common/O3_ARM_v7a.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/configs/common/O3_ARM_v7a.py b/configs/common/O3_ARM_v7a.py index c85ba2c6c..f5cd3bbc8 100644 --- a/configs/common/O3_ARM_v7a.py +++ b/configs/common/O3_ARM_v7a.py @@ -90,12 +90,11 @@ class O3_ARM_v7a_FUP(FUPool): # Tournament Branch Predictor class O3_ARM_v7a_BP(BranchPredictor): predType = "tournament" + localPredictorSize = 2048 localCtrBits = 2 - localHistoryTableSize = 64 - localHistoryBits = 6 + localHistoryTableSize = 1024 globalPredictorSize = 8192 globalCtrBits = 2 - globalHistoryBits = 13 choicePredictorSize = 8192 choiceCtrBits = 2 BTBEntries = 2048 |