BranchPredictor.py (13454:19a5b4fb1f1f) | BranchPredictor.py (13493:91ae6168ef27) |
---|---|
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; --- 129 unchanged lines hidden (view full) --- 138 withLoopBits = Param.Unsigned(7, "Size of the WITHLOOP counter") 139 loopTableAgeBits = Param.Unsigned(8, "Number of age bits per loop entry") 140 loopTableConfidenceBits = Param.Unsigned(2, 141 "Number of confidence bits per loop entry") 142 loopTableTagBits = Param.Unsigned(14, "Number of tag bits per loop entry") 143 loopTableIterBits = Param.Unsigned(14, "Nuber of iteration bits per loop") 144 logLoopTableAssoc = Param.Unsigned(2, "Log loop predictor associativity") 145 | 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; --- 129 unchanged lines hidden (view full) --- 138 withLoopBits = Param.Unsigned(7, "Size of the WITHLOOP counter") 139 loopTableAgeBits = Param.Unsigned(8, "Number of age bits per loop entry") 140 loopTableConfidenceBits = Param.Unsigned(2, 141 "Number of confidence bits per loop entry") 142 loopTableTagBits = Param.Unsigned(14, "Number of tag bits per loop entry") 143 loopTableIterBits = Param.Unsigned(14, "Nuber of iteration bits per loop") 144 logLoopTableAssoc = Param.Unsigned(2, "Log loop predictor associativity") 145 |
146 # Parameters for enabling modifications to the loop predictor 147 # They have been copied from ISL-TAGE 148 # (https://www.jilp.org/jwac-2/program/03_seznec.tgz) 149 # 150 # All of them should be disabled to match the original LTAGE implementation 151 # (http://hpca23.cse.tamu.edu/taco/camino/cbp2/cbp-src/realistic-seznec.h) 152 153 # Add speculation 154 useSpeculation = Param.Bool(False, "Use speculation") 155 156 # Add hashing for calculating the loop table index 157 useHashing = Param.Bool(False, "Use hashing") 158 159 # Add a direction bit to the loop table entries 160 useDirectionBit = Param.Bool(False, "Use direction info") 161 |
|