BranchPredictor.py (11433:72b075cdc336) | BranchPredictor.py (11784:00fd5dce5e7e) |
---|---|
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; --- 72 unchanged lines hidden (view full) --- 81 cxx_class = 'BiModeBP' 82 cxx_header = "cpu/pred/bi_mode.hh" 83 84 globalPredictorSize = Param.Unsigned(8192, "Size of global predictor") 85 globalCtrBits = Param.Unsigned(2, "Bits per counter") 86 choicePredictorSize = Param.Unsigned(8192, "Size of choice predictor") 87 choiceCtrBits = Param.Unsigned(2, "Bits of choice counters") 88 | 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; --- 72 unchanged lines hidden (view full) --- 81 cxx_class = 'BiModeBP' 82 cxx_header = "cpu/pred/bi_mode.hh" 83 84 globalPredictorSize = Param.Unsigned(8192, "Size of global predictor") 85 globalCtrBits = Param.Unsigned(2, "Bits per counter") 86 choicePredictorSize = Param.Unsigned(8192, "Size of choice predictor") 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 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 |
|