Deleted Added
sdiff udiff text old ( 2980:eab855f06b79 ) new ( 3093:b09c33e66bce )
full compact
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;

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

986void
987InstructionQueue<Impl>::squash(unsigned tid)
988{
989 DPRINTF(IQ, "[tid:%i]: Starting to squash instructions in "
990 "the IQ.\n", tid);
991
992 // Read instruction sequence number of last instruction out of the
993 // time buffer.
994#if THE_ISA == ALPHA_ISA
995 squashedSeqNum[tid] = fromCommit->commitInfo[tid].doneSeqNum;
996#else
997 squashedSeqNum[tid] = fromCommit->commitInfo[tid].bdelayDoneSeqNum;
998#endif
999
1000 // Call doSquash if there are insts in the IQ
1001 if (count[tid] > 0) {
1002 doSquash(tid);
1003 }
1004
1005 // Also tell the memory dependence unit to squash.

--- 388 unchanged lines hidden ---