Skip to content

Commit b89e3d1

Browse files
author
Cao Jiaming
committed
cpu-o3 :back to normal
Change-Id: I8bbae34359507a81ce43977afcbd17c37d0526a1
1 parent d6de129 commit b89e3d1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/cpu/pred/BranchPredictor.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,15 +1071,15 @@ class MicroTAGE(TimedBaseBTBPredictor):
10711071
updateOnRead = Param.Bool(True,"Enable update on read, no need to save tage meta in FTQ")
10721072
# Keep vector parameters consistent with numPredictors to avoid constructor asserts.
10731073
numPredictors = Param.Unsigned(4, "Number of TAGE predictors")
1074-
tableSizes = VectorParam.Unsigned([512] * 4,"the TAGE T0~Tn length")
1075-
TTagBitSizes = VectorParam.Unsigned([15,15,16,16],"the T0~Tn entry's tag bit size")
1076-
TTagPcShifts = VectorParam.Unsigned([1] * 4 ,"when the T0~Tn entry's tag generating, PC right shift")
1074+
tableSizes = VectorParam.Unsigned([512],"the TAGE T0~Tn length")
1075+
TTagBitSizes = VectorParam.Unsigned([16],"the T0~Tn entry's tag bit size")
1076+
TTagPcShifts = VectorParam.Unsigned([1] ,"when the T0~Tn entry's tag generating, PC right shift")
10771077
blockSize = Param.Unsigned(32,"tage index function uses 32B aligned block address")
10781078

1079-
histLengths = VectorParam.Unsigned([5,9,16,24] ,"the BTB TAGE T0~Tn history length")
1079+
histLengths = VectorParam.Unsigned([16] ,"the BTB TAGE T0~Tn history length")
10801080
maxHistLen = Param.Unsigned(970,"The length of history passed from DBP")
10811081
numTablesToAlloc = Param.Unsigned(1,"The number of table to allocated each time")
1082-
numWays = Param.Unsigned(1, "Number of ways per set")
1082+
numWays = Param.Unsigned(2, "Number of ways per set")
10831083
baseTableSize = Param.Unsigned(256,"Base table size")
10841084
maxBranchPositions = Param.Unsigned(32,"Maximum branch positions per 64-byte block")
10851085
useAltOnNaSize = Param.Unsigned(128,"Size of the useAltOnNa table")

0 commit comments

Comments
 (0)