Deleted Added
sdiff udiff text old ( 8232:b28d06a175be ) new ( 9916:9c3a4595cce9 )
full compact
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
9 * notice, this list of conditions and the following disclaimer;
10 * redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the

--- 17 unchanged lines hidden (view full) ---

29 * Authors: Korey Sewell
30 * Kevin Lim
31 */
32
33#include "config/the_isa.hh"
34#include "cpu/o3/scoreboard.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}