BranchPredictor.py (11784:00fd5dce5e7e) BranchPredictor.py (13420:5cb2b90e1cb5)
1# Copyright (c) 2012 Mark D. Hill and David A. Wood
2# Copyright (c) 2015 The University of Wisconsin
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 78 unchanged lines hidden (view full) ---

87 choiceCtrBits = Param.Unsigned(2, "Bits of choice counters")
88
89class LTAGE(BranchPredictor):
90 type = 'LTAGE'
91 cxx_class = 'LTAGE'
92 cxx_header = "cpu/pred/ltage.hh"
93
94 logSizeBiMP = Param.Unsigned(14, "Log size of Bimodal predictor in bits")
1# Copyright (c) 2012 Mark D. Hill and David A. Wood
2# Copyright (c) 2015 The University of Wisconsin
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 78 unchanged lines hidden (view full) ---

87 choiceCtrBits = Param.Unsigned(2, "Bits of choice counters")
88
89class LTAGE(BranchPredictor):
90 type = 'LTAGE'
91 cxx_class = 'LTAGE'
92 cxx_header = "cpu/pred/ltage.hh"
93
94 logSizeBiMP = Param.Unsigned(14, "Log size of Bimodal predictor in bits")
95 logRatioBiModalHystEntries = Param.Unsigned(2,
96 "Log num of prediction entries for a shared hysteresis bit " \
97 "for the Bimodal")
95 logSizeTagTables = Param.Unsigned(11, "Log size of tag table in LTAGE")
96 logSizeLoopPred = Param.Unsigned(8, "Log size of the loop predictor")
97 nHistoryTables = Param.Unsigned(12, "Number of history tables")
98 tagTableCounterBits = Param.Unsigned(3, "Number of tag table counter bits")
99 histBufferSize = Param.Unsigned(2097152,
100 "A large number to track all branch histories(2MEntries default)")
101 minHist = Param.Unsigned(4, "Minimum history size of LTAGE")
102 maxHist = Param.Unsigned(640, "Maximum history size of LTAGE")
103 minTagWidth = Param.Unsigned(7, "Minimum tag size in tag tables")
104
98 logSizeTagTables = Param.Unsigned(11, "Log size of tag table in LTAGE")
99 logSizeLoopPred = Param.Unsigned(8, "Log size of the loop predictor")
100 nHistoryTables = Param.Unsigned(12, "Number of history tables")
101 tagTableCounterBits = Param.Unsigned(3, "Number of tag table counter bits")
102 histBufferSize = Param.Unsigned(2097152,
103 "A large number to track all branch histories(2MEntries default)")
104 minHist = Param.Unsigned(4, "Minimum history size of LTAGE")
105 maxHist = Param.Unsigned(640, "Maximum history size of LTAGE")
106 minTagWidth = Param.Unsigned(7, "Minimum tag size in tag tables")
107