BranchPredictor.py (13442:5314c50529a5) BranchPredictor.py (13443:a111cb197897)
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;

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

95 logSizeBiMP = Param.Unsigned(14, "Log size of Bimodal predictor in bits")
96 logRatioBiModalHystEntries = Param.Unsigned(2,
97 "Log num of prediction entries for a shared hysteresis bit " \
98 "for the Bimodal")
99 logSizeTagTables = Param.Unsigned(11, "Log size of tag table in LTAGE")
100 logSizeLoopPred = Param.Unsigned(8, "Log size of the loop predictor")
101 nHistoryTables = Param.Unsigned(12, "Number of history tables")
102 tagTableCounterBits = Param.Unsigned(3, "Number of tag table counter 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;

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

95 logSizeBiMP = Param.Unsigned(14, "Log size of Bimodal predictor in bits")
96 logRatioBiModalHystEntries = Param.Unsigned(2,
97 "Log num of prediction entries for a shared hysteresis bit " \
98 "for the Bimodal")
99 logSizeTagTables = Param.Unsigned(11, "Log size of tag table in LTAGE")
100 logSizeLoopPred = Param.Unsigned(8, "Log size of the loop predictor")
101 nHistoryTables = Param.Unsigned(12, "Number of history tables")
102 tagTableCounterBits = Param.Unsigned(3, "Number of tag table counter bits")
103 tagTableUBits = Param.Unsigned(2, "Number of tag table u bits")
103 histBufferSize = Param.Unsigned(2097152,
104 "A large number to track all branch histories(2MEntries default)")
105 minHist = Param.Unsigned(4, "Minimum history size of LTAGE")
106 maxHist = Param.Unsigned(640, "Maximum history size of LTAGE")
107 minTagWidth = Param.Unsigned(7, "Minimum tag size in tag tables")
108
109 loopTableAgeBits = Param.Unsigned(8, "Number of age bits per loop entry")
110 loopTableConfidenceBits = Param.Unsigned(2,
111 "Number of confidence bits per loop entry")
112 loopTableTagBits = Param.Unsigned(14, "Number of tag bits per loop entry")
113 loopTableIterBits = Param.Unsigned(14, "Nuber of iteration bits per loop")
114
104 histBufferSize = Param.Unsigned(2097152,
105 "A large number to track all branch histories(2MEntries default)")
106 minHist = Param.Unsigned(4, "Minimum history size of LTAGE")
107 maxHist = Param.Unsigned(640, "Maximum history size of LTAGE")
108 minTagWidth = Param.Unsigned(7, "Minimum tag size in tag tables")
109
110 loopTableAgeBits = Param.Unsigned(8, "Number of age bits per loop entry")
111 loopTableConfidenceBits = Param.Unsigned(2,
112 "Number of confidence bits per loop entry")
113 loopTableTagBits = Param.Unsigned(14, "Number of tag bits per loop entry")
114 loopTableIterBits = Param.Unsigned(14, "Nuber of iteration bits per loop")
115