rename_impl.hh (11321:02e930db812d) | rename_impl.hh (11650:fe601d7bd955) |
---|---|
1/* 2 * Copyright (c) 2010-2012, 2014-2015 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 --- 290 unchanged lines hidden (view full) --- 299template <class Impl> 300bool 301DefaultRename<Impl>::isDrained() const 302{ 303 for (ThreadID tid = 0; tid < numThreads; tid++) { 304 if (instsInProgress[tid] != 0 || 305 !historyBuffer[tid].empty() || 306 !skidBuffer[tid].empty() || | 1/* 2 * Copyright (c) 2010-2012, 2014-2015 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 --- 290 unchanged lines hidden (view full) --- 299template <class Impl> 300bool 301DefaultRename<Impl>::isDrained() const 302{ 303 for (ThreadID tid = 0; tid < numThreads; tid++) { 304 if (instsInProgress[tid] != 0 || 305 !historyBuffer[tid].empty() || 306 !skidBuffer[tid].empty() || |
307 !insts[tid].empty()) | 307 !insts[tid].empty() || 308 (renameStatus[tid] != Idle && renameStatus[tid] != Running)) |
308 return false; 309 } 310 return true; 311} 312 313template <class Impl> 314void 315DefaultRename<Impl>::takeOverFrom() --- 1127 unchanged lines hidden --- | 309 return false; 310 } 311 return true; 312} 313 314template <class Impl> 315void 316DefaultRename<Impl>::takeOverFrom() --- 1127 unchanged lines hidden --- |