Skip to content

Commit

Permalink
cpu-o3: ideal tune tage param according to seznec
Browse files Browse the repository at this point in the history
  • Loading branch information
eastonman committed Jan 3, 2025
1 parent 75f1807 commit e92e9cd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions configs/example/xiangshan.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,12 +351,12 @@ def setKmhV3IdealParams(args, system):
cpu.branchPred.fsq_size = 256
cpu.branchPred.uftb.numEntries = 1024
cpu.branchPred.ftb.numEntries = 16384
cpu.branchPred.tage.numPredictors = 9
cpu.branchPred.tage.baseTableSize = 4096
cpu.branchPred.tage.tableSizes = [4096] * 9
cpu.branchPred.tage.TTagBitSizes = [8] * 9
cpu.branchPred.tage.TTagPcShifts = [1] * 9
cpu.branchPred.tage.histLengths = [8, 13, 21, 35, 57, 93, 151, 246, 401]
cpu.branchPred.tage.numPredictors = 14
cpu.branchPred.tage.baseTableSize = 16384
cpu.branchPred.tage.tableSizes = [2048] * 14
cpu.branchPred.tage.TTagBitSizes = [13] * 14
cpu.branchPred.tage.TTagPcShifts = [1] * 14
cpu.branchPred.tage.histLengths = [4, 7, 12, 16, 21, 29, 38, 51, 68, 90, 120, 160, 283, 499]

# ideal l1 caches
if args.caches:
Expand Down

0 comments on commit e92e9cd

Please sign in to comment.