Deleted Added
sdiff udiff text old ( 9444:ab47fe7f03f0 ) new ( 9920:028e4da64b42 )
full compact
1/*
2 * Copyright (c) 2011-2012 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

82template <class Impl>
83InstructionQueue<Impl>::InstructionQueue(O3CPU *cpu_ptr, IEW *iew_ptr,
84 DerivO3CPUParams *params)
85 : cpu(cpu_ptr),
86 iewStage(iew_ptr),
87 fuPool(params->fuPool),
88 numEntries(params->numIQEntries),
89 totalWidth(params->issueWidth),
90 numPhysIntRegs(params->numPhysIntRegs),
91 numPhysFloatRegs(params->numPhysFloatRegs),
92 commitToIEWDelay(params->commitToIEWDelay)
93{
94 assert(fuPool);
95
96 numThreads = params->numThreads;
97
98 // Set the number of physical registers as the number of int + float
99 numPhysRegs = numPhysIntRegs + numPhysFloatRegs;
100
101 //Create an entry for each physical register within the
102 //dependency graph.
103 dependGraph.resize(numPhysRegs);
104
105 // Resize the register scoreboard.
106 regScoreboard.resize(numPhysRegs);
107

--- 1403 unchanged lines hidden ---