1/* 2 * Copyright (c) 2005-2006 The Regents of The University of Michigan 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 29 * Authors: Korey Sewell 30 * Kevin Lim 31 */ 32 |
33#include "cpu/o3/scoreboard.hh" |
34 35#include "config/the_isa.hh" |
36#include "debug/Scoreboard.hh" 37 38Scoreboard::Scoreboard(const std::string &_my_name, 39 unsigned _numPhysicalRegs, unsigned _numMiscRegs, 40 PhysRegIndex _zeroRegIdx, PhysRegIndex _fpZeroRegIdx) 41 : _name(_my_name), 42 regScoreBoard(_numPhysicalRegs, true), 43 numPhysRegs(_numPhysicalRegs), 44 numTotalRegs(_numPhysicalRegs + _numMiscRegs), 45 zeroRegIdx(_zeroRegIdx), fpZeroRegIdx(_fpZeroRegIdx) 46{ 47} |