iew_impl.hh (9046:a1104cc13db2) iew_impl.hh (9427:ddf45c1d54d4)
1/*
2 * Copyright (c) 2010-2011 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

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

278 .name(name() + ".wb_rate")
279 .desc("insts written-back per cycle")
280 .flags(total);
281 wbRate = writebackCount / cpu->numCycles;
282}
283
284template<class Impl>
285void
1/*
2 * Copyright (c) 2010-2011 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

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

278 .name(name() + ".wb_rate")
279 .desc("insts written-back per cycle")
280 .flags(total);
281 wbRate = writebackCount / cpu->numCycles;
282}
283
284template<class Impl>
285void
286DefaultIEW<Impl>::initStage()
286DefaultIEW<Impl>::startupStage()
287{
288 for (ThreadID tid = 0; tid < numThreads; tid++) {
289 toRename->iewInfo[tid].usedIQ = true;
290 toRename->iewInfo[tid].freeIQEntries =
291 instQueue.numFreeEntries(tid);
292
293 toRename->iewInfo[tid].usedLSQ = true;
294 toRename->iewInfo[tid].freeLSQEntries =

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

403 exeStatus = Running;
404 wbStatus = Idle;
405 switchedOut = false;
406
407 instQueue.takeOverFrom();
408 ldstQueue.takeOverFrom();
409 fuPool->takeOver();
410
287{
288 for (ThreadID tid = 0; tid < numThreads; tid++) {
289 toRename->iewInfo[tid].usedIQ = true;
290 toRename->iewInfo[tid].freeIQEntries =
291 instQueue.numFreeEntries(tid);
292
293 toRename->iewInfo[tid].usedLSQ = true;
294 toRename->iewInfo[tid].freeLSQEntries =

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

403 exeStatus = Running;
404 wbStatus = Idle;
405 switchedOut = false;
406
407 instQueue.takeOverFrom();
408 ldstQueue.takeOverFrom();
409 fuPool->takeOver();
410
411 initStage();
411 startupStage();
412 cpu->activityThisCycle();
413
414 for (ThreadID tid = 0; tid < numThreads; tid++) {
415 dispatchStatus[tid] = Running;
416 stalls[tid].commit = false;
417 fetchRedirect[tid] = false;
418 }
419

--- 1251 unchanged lines hidden ---
412 cpu->activityThisCycle();
413
414 for (ThreadID tid = 0; tid < numThreads; tid++) {
415 dispatchStatus[tid] = Running;
416 stalls[tid].commit = false;
417 fetchRedirect[tid] = false;
418 }
419

--- 1251 unchanged lines hidden ---