BranchPredictor.py (13493:91ae6168ef27) | BranchPredictor.py (13494:ed4ed5351b16) |
---|---|
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; --- 81 unchanged lines hidden (view full) --- 90# TAGE branch predictor as described in https://www.jilp.org/vol8/v8paper1.pdf 91# The default sizes below are for the 8C-TAGE configuration (63.5 Kbits) 92class TAGE(BranchPredictor): 93 type = 'TAGE' 94 cxx_class = 'TAGE' 95 cxx_header = "cpu/pred/tage.hh" 96 97 nHistoryTables = Param.Unsigned(7, "Number of history tables") | 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; --- 81 unchanged lines hidden (view full) --- 90# TAGE branch predictor as described in https://www.jilp.org/vol8/v8paper1.pdf 91# The default sizes below are for the 8C-TAGE configuration (63.5 Kbits) 92class TAGE(BranchPredictor): 93 type = 'TAGE' 94 cxx_class = 'TAGE' 95 cxx_header = "cpu/pred/tage.hh" 96 97 nHistoryTables = Param.Unsigned(7, "Number of history tables") |
98 minHist = Param.Unsigned(5, "Minimum history size of LTAGE") 99 maxHist = Param.Unsigned(130, "Maximum history size of LTAGE") | 98 minHist = Param.Unsigned(5, "Minimum history size of TAGE") 99 maxHist = Param.Unsigned(130, "Maximum history size of TAGE") |
100 101 tagTableTagWidths = VectorParam.Unsigned( 102 [0, 9, 9, 10, 10, 11, 11, 12], "Tag size in TAGE tag tables") 103 logTagTableSizes = VectorParam.Int( 104 [13, 9, 9, 9, 9, 9, 9, 9], "Log2 of TAGE table sizes") 105 logRatioBiModalHystEntries = Param.Unsigned(2, 106 "Log num of prediction entries for a shared hysteresis bit " \ 107 "for the Bimodal") --- 54 unchanged lines hidden --- | 100 101 tagTableTagWidths = VectorParam.Unsigned( 102 [0, 9, 9, 10, 10, 11, 11, 12], "Tag size in TAGE tag tables") 103 logTagTableSizes = VectorParam.Int( 104 [13, 9, 9, 9, 9, 9, 9, 9], "Log2 of TAGE table sizes") 105 logRatioBiModalHystEntries = Param.Unsigned(2, 106 "Log num of prediction entries for a shared hysteresis bit " \ 107 "for the Bimodal") --- 54 unchanged lines hidden --- |