commit_impl.hh (9382:1c97b57d5169) | commit_impl.hh (9427:ddf45c1d54d4) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2010-2011 ARM Limited | 2 * Copyright (c) 2010-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 --- 332 unchanged lines hidden (view full) --- 343void 344DefaultCommit<Impl>::setROB(ROB *rob_ptr) 345{ 346 rob = rob_ptr; 347} 348 349template <class Impl> 350void | 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 --- 332 unchanged lines hidden (view full) --- 343void 344DefaultCommit<Impl>::setROB(ROB *rob_ptr) 345{ 346 rob = rob_ptr; 347} 348 349template <class Impl> 350void |
351DefaultCommit<Impl>::initStage() | 351DefaultCommit<Impl>::startupStage() |
352{ 353 rob->setActiveThreads(activeThreads); 354 rob->resetEntries(); 355 356 // Broadcast the number of free entries. 357 for (ThreadID tid = 0; tid < numThreads; tid++) { 358 toIEW->commitInfo[tid].usedROB = true; 359 toIEW->commitInfo[tid].freeROBEntries = rob->numFreeEntries(tid); --- 1129 unchanged lines hidden --- | 352{ 353 rob->setActiveThreads(activeThreads); 354 rob->resetEntries(); 355 356 // Broadcast the number of free entries. 357 for (ThreadID tid = 0; tid < numThreads; tid++) { 358 toIEW->commitInfo[tid].usedROB = true; 359 toIEW->commitInfo[tid].freeROBEntries = rob->numFreeEntries(tid); --- 1129 unchanged lines hidden --- |