btb.cc (7720:65d338a8dba4) | btb.cc (8232:b28d06a175be) |
---|---|
1/* 2 * Copyright (c) 2004-2005 The Regents of The University of Michigan 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; --- 17 unchanged lines hidden (view full) --- 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Authors: Kevin Lim 29 */ 30 31#include "base/intmath.hh" 32#include "base/trace.hh" 33#include "cpu/pred/btb.hh" | 1/* 2 * Copyright (c) 2004-2005 The Regents of The University of Michigan 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; --- 17 unchanged lines hidden (view full) --- 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Authors: Kevin Lim 29 */ 30 31#include "base/intmath.hh" 32#include "base/trace.hh" 33#include "cpu/pred/btb.hh" |
34#include "debug/Fetch.hh" |
|
34 35DefaultBTB::DefaultBTB(unsigned _numEntries, 36 unsigned _tagBits, 37 unsigned _instShiftAmt) 38 : numEntries(_numEntries), 39 tagBits(_tagBits), 40 instShiftAmt(_instShiftAmt) 41{ --- 93 unchanged lines hidden --- | 35 36DefaultBTB::DefaultBTB(unsigned _numEntries, 37 unsigned _tagBits, 38 unsigned _instShiftAmt) 39 : numEntries(_numEntries), 40 tagBits(_tagBits), 41 instShiftAmt(_instShiftAmt) 42{ --- 93 unchanged lines hidden --- |