scoreboard.cc (9916:9c3a4595cce9) | scoreboard.cc (11793:ef606668d247) |
---|---|
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 | 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 "config/the_isa.hh" | |
34#include "cpu/o3/scoreboard.hh" | 33#include "cpu/o3/scoreboard.hh" |
34 35#include "config/the_isa.hh" |
|
35#include "debug/Scoreboard.hh" 36 37Scoreboard::Scoreboard(const std::string &_my_name, 38 unsigned _numPhysicalRegs, unsigned _numMiscRegs, 39 PhysRegIndex _zeroRegIdx, PhysRegIndex _fpZeroRegIdx) 40 : _name(_my_name), 41 regScoreBoard(_numPhysicalRegs, true), 42 numPhysRegs(_numPhysicalRegs), 43 numTotalRegs(_numPhysicalRegs + _numMiscRegs), 44 zeroRegIdx(_zeroRegIdx), fpZeroRegIdx(_fpZeroRegIdx) 45{ 46} | 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} |