cpu.cc (4284:c8800319ed0c) cpu.cc (4329:52057dbec096)
1/*
2 * Copyright (c) 2004-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

143template <class Impl>
144const char *
145FullO3CPU<Impl>::DeallocateContextEvent::description()
146{
147 return "FullO3CPU \"Deallocate Context\" event";
148}
149
150template <class Impl>
1/*
2 * Copyright (c) 2004-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

143template <class Impl>
144const char *
145FullO3CPU<Impl>::DeallocateContextEvent::description()
146{
147 return "FullO3CPU \"Deallocate Context\" event";
148}
149
150template <class Impl>
151FullO3CPU::FullO3CPU(Params *params)
151FullO3CPU<Impl>::FullO3CPU(O3CPU *o3_cpu, Params *params)
152 : BaseO3CPU(params),
153#if FULL_SYSTEM
154 itb(params->itb),
155 dtb(params->dtb),
156#endif
157 tickEvent(this),
158 removeInstsThisCycle(false),
152 : BaseO3CPU(params),
153#if FULL_SYSTEM
154 itb(params->itb),
155 dtb(params->dtb),
156#endif
157 tickEvent(this),
158 removeInstsThisCycle(false),
159 fetch(params),
160 decode(params),
161 rename(params),
162 iew(params),
163 commit(params),
159 fetch(o3_cpu, params),
160 decode(o3_cpu, params),
161 rename(o3_cpu, params),
162 iew(o3_cpu, params),
163 commit(o3_cpu, params),
164
164
165 regFile(params->numPhysIntRegs, params->numPhysFloatRegs),
165 regFile(o3_cpu, params->numPhysIntRegs,
166 params->numPhysFloatRegs),
166
167 freeList(params->numberOfThreads,
168 TheISA::NumIntRegs, params->numPhysIntRegs,
169 TheISA::NumFloatRegs, params->numPhysFloatRegs),
170
167
168 freeList(params->numberOfThreads,
169 TheISA::NumIntRegs, params->numPhysIntRegs,
170 TheISA::NumFloatRegs, params->numPhysFloatRegs),
171
171 rob(params->numROBEntries, params->squashWidth,
172 rob(o3_cpu,
173 params->numROBEntries, params->squashWidth,
172 params->smtROBPolicy, params->smtROBThreshold,
173 params->numberOfThreads),
174
175 scoreboard(params->numberOfThreads,
176 TheISA::NumIntRegs, params->numPhysIntRegs,
177 TheISA::NumFloatRegs, params->numPhysFloatRegs,
178 TheISA::NumMiscRegs * number_of_threads,
179 TheISA::ZeroReg),

--- 1271 unchanged lines hidden ---
174 params->smtROBPolicy, params->smtROBThreshold,
175 params->numberOfThreads),
176
177 scoreboard(params->numberOfThreads,
178 TheISA::NumIntRegs, params->numPhysIntRegs,
179 TheISA::NumFloatRegs, params->numPhysFloatRegs,
180 TheISA::NumMiscRegs * number_of_threads,
181 TheISA::ZeroReg),

--- 1271 unchanged lines hidden ---