inst_queue_impl.hh (2836:c8f549058964) | inst_queue_impl.hh (2935:d1223a6c9156) |
---|---|
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; --- 979 unchanged lines hidden (view full) --- 988void 989InstructionQueue<Impl>::squash(unsigned tid) 990{ 991 DPRINTF(IQ, "[tid:%i]: Starting to squash instructions in " 992 "the IQ.\n", tid); 993 994 // Read instruction sequence number of last instruction out of the 995 // time buffer. | 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; --- 979 unchanged lines hidden (view full) --- 988void 989InstructionQueue<Impl>::squash(unsigned tid) 990{ 991 DPRINTF(IQ, "[tid:%i]: Starting to squash instructions in " 992 "the IQ.\n", tid); 993 994 // Read instruction sequence number of last instruction out of the 995 // time buffer. |
996#if THE_ISA == ALPHA_ISA |
|
996 squashedSeqNum[tid] = fromCommit->commitInfo[tid].doneSeqNum; | 997 squashedSeqNum[tid] = fromCommit->commitInfo[tid].doneSeqNum; |
998#else 999 squashedSeqNum[tid] = fromCommit->commitInfo[tid].bdelayDoneSeqNum; 1000#endif |
|
997 998 // Call doSquash if there are insts in the IQ 999 if (count[tid] > 0) { 1000 doSquash(tid); 1001 } 1002 1003 // Also tell the memory dependence unit to squash. 1004 memDepUnit[tid].squash(squashedSeqNum[tid], tid); --- 387 unchanged lines hidden --- | 1001 1002 // Call doSquash if there are insts in the IQ 1003 if (count[tid] > 0) { 1004 doSquash(tid); 1005 } 1006 1007 // Also tell the memory dependence unit to squash. 1008 memDepUnit[tid].squash(squashedSeqNum[tid], tid); --- 387 unchanged lines hidden --- |