Skip to content

Commit f2266fe

Browse files
author
Cao Jiaming
committed
cpu-o3: update BTBTAGE table sizes and number of ways
Change-Id: Ie34c43f5b3917b34ac578d3ca3d06bf7a71f9cb4
1 parent fe5af39 commit f2266fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cpu/pred/BranchPredictor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,15 +1044,15 @@ class BTBTAGE(TimedBaseBTBPredictor):
10441044
enableSC = Param.Bool(False, "Enable SC or not") # TODO: BTBTAGE doesn't support SC
10451045
updateOnRead = Param.Bool(True, "Enable update on read, no need to save tage meta in FTQ")
10461046
numPredictors = Param.Unsigned(8, "Number of TAGE predictors")
1047-
tableSizes = VectorParam.Unsigned([512, 512, 8192, 2048, 1024, 512, 512, 512], "the TAGE T0~Tn length")
1047+
tableSizes = VectorParam.Unsigned([2048, 2048, 4096, 4096, 4096, 2048, 2048, 2048], "the TAGE T0~Tn length")
10481048
TTagBitSizes = VectorParam.Unsigned([13] * 8, "the T0~Tn entry's tag bit size")
10491049
TTagPcShifts = VectorParam.Unsigned([1] * 8, "when the T0~Tn entry's tag generating, PC right shift")
10501050
blockSize = 32 # tage index function uses 32B aligned block address
10511051

10521052
histLengths = VectorParam.Unsigned([4, 9, 17, 29, 56, 109, 211,397],"the BTB TAGE T0~Tn history length")
10531053
maxHistLen = Param.Unsigned(970, "The length of history passed from DBP")
10541054
numTablesToAlloc = Param.Unsigned(1,"The number of table to allocated each time")
1055-
numWays = VectorParam.Unsigned([1, 1, 4, 4, 1, 1, 1, 1], "the T0~Tn number of ways per set")
1055+
numWays = VectorParam.Unsigned([2,2,2,2,2,2,2,2], "the T0~Tn number of ways per set")
10561056
maxBranchPositions = Param.Unsigned(32, "Maximum branch positions per 64-byte block")
10571057
useAltOnNaSize = Param.Unsigned(128, "Size of the useAltOnNa table")
10581058
useAltOnNaWidth = Param.Unsigned(7, "Width of the useAltOnNa table")

0 commit comments

Comments
 (0)