inst_queue_impl.hh (10511:e57f5bffc553) inst_queue_impl.hh (10797:855cafd64da1)
1/*
2 * Copyright (c) 2011-2014 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

1159{
1160 DPRINTF(IQ, "[tid:%i]: Starting to squash instructions in "
1161 "the IQ.\n", tid);
1162
1163 // Read instruction sequence number of last instruction out of the
1164 // time buffer.
1165 squashedSeqNum[tid] = fromCommit->commitInfo[tid].doneSeqNum;
1166
1/*
2 * Copyright (c) 2011-2014 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

1159{
1160 DPRINTF(IQ, "[tid:%i]: Starting to squash instructions in "
1161 "the IQ.\n", tid);
1162
1163 // Read instruction sequence number of last instruction out of the
1164 // time buffer.
1165 squashedSeqNum[tid] = fromCommit->commitInfo[tid].doneSeqNum;
1166
1167 // Call doSquash if there are insts in the IQ
1168 if (count[tid] > 0) {
1169 doSquash(tid);
1170 }
1167 doSquash(tid);
1171
1172 // Also tell the memory dependence unit to squash.
1173 memDepUnit[tid].squash(squashedSeqNum[tid], tid);
1174}
1175
1176template <class Impl>
1177void
1178InstructionQueue<Impl>::doSquash(ThreadID tid)

--- 400 unchanged lines hidden ---
1168
1169 // Also tell the memory dependence unit to squash.
1170 memDepUnit[tid].squash(squashedSeqNum[tid], tid);
1171}
1172
1173template <class Impl>
1174void
1175InstructionQueue<Impl>::doSquash(ThreadID tid)

--- 400 unchanged lines hidden ---