From d3c33d91b68e917478dba48c03a674b21ebd2747 Mon Sep 17 00:00:00 2001 From: Anthony Gutierrez Date: Tue, 14 May 2013 18:39:47 -0400 Subject: 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 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'configs/common') 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 -- cgit v1.2.3