scoreboard.cc (11793:ef606668d247) scoreboard.cc (12105:742d80361989)
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

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

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,
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

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

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)
39 unsigned _numPhysicalRegs)
41 : _name(_my_name),
42 regScoreBoard(_numPhysicalRegs, true),
40 : _name(_my_name),
41 regScoreBoard(_numPhysicalRegs, true),
43 numPhysRegs(_numPhysicalRegs),
44 numTotalRegs(_numPhysicalRegs + _numMiscRegs),
45 zeroRegIdx(_zeroRegIdx), fpZeroRegIdx(_fpZeroRegIdx)
42 numPhysRegs(_numPhysicalRegs)
46{
47}
43{
44}