commit.hh (2831:0a42b294727c) | commit.hh (2843:19c4c6c2b5b1) |
---|---|
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 | 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 switching out of commit. */ 191 void switchOut(); | 190 /** Initializes the draining of commit. */ 191 void drain(); |
192 | 192 |
193 /** Resumes execution after draining. */ 194 void resume(); 195 |
|
193 /** Completes the switch out of commit. */ | 196 /** Completes the switch out of commit. */ |
194 void doSwitchOut(); | 197 void switchOut(); |
195 196 /** Takes over from another CPU's thread. */ 197 void takeOverFrom(); 198 199 /** Ticks the commit stage, which tries to commit instructions. */ 200 void tick(); 201 202 /** Handles any squashes that are sent from IEW, and adds instructions --- 175 unchanged lines hidden (view full) --- 378 unsigned commitWidth; 379 380 /** Number of Reorder Buffers */ 381 unsigned numRobs; 382 383 /** Number of Active Threads */ 384 unsigned numThreads; 385 | 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 |
386 /** Is a switch out pending. */ 387 bool switchPending; | 389 /** Is a drain pending. */ 390 bool drainPending; |
388 389 /** Is commit switched out. */ 390 bool switchedOut; 391 392 /** The latency to handle a trap. Used when scheduling trap 393 * squash event. 394 */ 395 Tick trapLatency; --- 68 unchanged lines hidden --- | 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 --- |