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; --- 173 unchanged lines hidden (view full) --- 182 void setRenameMap(RenameMap rm_ptr[Impl::MaxThreads]); 183 184 /** Sets pointer to the ROB. */ 185 void setROB(ROB *rob_ptr); 186 187 /** Initializes stage by sending back the number of free entries. */ 188 void initStage(); 189 |
190 /** Initializes the draining of commit. */ 191 void drain(); |
192 |
193 /** Resumes execution after draining. */ 194 void resume(); 195 |
196 /** Completes the switch out of commit. */ |
197 void switchOut(); |
198 199 /** Takes over from another CPU's thread. */ 200 void takeOverFrom(); 201 202 /** Ticks the commit stage, which tries to commit instructions. */ 203 void tick(); 204 205 /** Handles any squashes that are sent from IEW, and adds instructions --- 175 unchanged lines hidden (view full) --- 381 unsigned commitWidth; 382 383 /** Number of Reorder Buffers */ 384 unsigned numRobs; 385 386 /** Number of Active Threads */ 387 unsigned numThreads; 388 |
389 /** Is a drain pending. */ 390 bool drainPending; |
391 392 /** Is commit switched out. */ 393 bool switchedOut; 394 395 /** The latency to handle a trap. Used when scheduling trap 396 * squash event. 397 */ 398 Tick trapLatency; --- 68 unchanged lines hidden --- |