12292SN/A/* 22689Sktlim@umich.edu * Copyright (c) 2005-2006 The Regents of The University of Michigan 39916Ssteve.reinhardt@amd.com * Copyright (c) 2013 Advanced Micro Devices, Inc. 42292SN/A * All rights reserved. 52292SN/A * 62292SN/A * Redistribution and use in source and binary forms, with or without 72292SN/A * modification, are permitted provided that the following conditions are 82292SN/A * met: redistributions of source code must retain the above copyright 92292SN/A * notice, this list of conditions and the following disclaimer; 102292SN/A * redistributions in binary form must reproduce the above copyright 112292SN/A * notice, this list of conditions and the following disclaimer in the 122292SN/A * documentation and/or other materials provided with the distribution; 132292SN/A * neither the name of the copyright holders nor the names of its 142292SN/A * contributors may be used to endorse or promote products derived from 152292SN/A * this software without specific prior written permission. 162292SN/A * 172292SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182292SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192292SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202292SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212292SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222292SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232292SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242292SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252292SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262292SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272292SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282689Sktlim@umich.edu * 292689Sktlim@umich.edu * Authors: Korey Sewell 302689Sktlim@umich.edu * Kevin Lim 312292SN/A */ 322292SN/A 3311793Sbrandon.potter@amd.com#include "cpu/o3/scoreboard.hh" 3411793Sbrandon.potter@amd.com 356658Snate@binkert.org#include "config/the_isa.hh" 368232Snate@binkert.org#include "debug/Scoreboard.hh" 372292SN/A 389916Ssteve.reinhardt@amd.comScoreboard::Scoreboard(const std::string &_my_name, 3912105Snathanael.premillieu@arm.com unsigned _numPhysicalRegs) 409916Ssteve.reinhardt@amd.com : _name(_my_name), 419916Ssteve.reinhardt@amd.com regScoreBoard(_numPhysicalRegs, true), 4212105Snathanael.premillieu@arm.com numPhysRegs(_numPhysicalRegs) 432292SN/A{ 442292SN/A} 45