decode_impl.hh (11320:42ecb523c64a) decode_impl.hh (11650:fe601d7bd955)
1/*
2 * Copyright (c) 2012, 2014 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

204 }
205}
206
207template <class Impl>
208bool
209DefaultDecode<Impl>::isDrained() const
210{
211 for (ThreadID tid = 0; tid < numThreads; ++tid) {
1/*
2 * Copyright (c) 2012, 2014 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

204 }
205}
206
207template <class Impl>
208bool
209DefaultDecode<Impl>::isDrained() const
210{
211 for (ThreadID tid = 0; tid < numThreads; ++tid) {
212 if (!insts[tid].empty() || !skidBuffer[tid].empty())
212 if (!insts[tid].empty() || !skidBuffer[tid].empty() ||
213 (decodeStatus[tid] != Running && decodeStatus[tid] != Idle))
213 return false;
214 }
215 return true;
216}
217
218template<class Impl>
219bool
220DefaultDecode<Impl>::checkStall(ThreadID tid) const

--- 534 unchanged lines hidden ---
214 return false;
215 }
216 return true;
217}
218
219template<class Impl>
220bool
221DefaultDecode<Impl>::checkStall(ThreadID tid) const

--- 534 unchanged lines hidden ---