iew_impl.hh (11246:93d2a1526103) | iew_impl.hh (11650:fe601d7bd955) |
---|---|
1/* 2 * Copyright (c) 2010-2013 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 --- 377 unchanged lines hidden (view full) --- 386 if (!insts[tid].empty()) { 387 DPRINTF(Drain, "%i: Insts not empty.\n", tid); 388 drained = false; 389 } 390 if (!skidBuffer[tid].empty()) { 391 DPRINTF(Drain, "%i: Skid buffer not empty.\n", tid); 392 drained = false; 393 } | 1/* 2 * Copyright (c) 2010-2013 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 --- 377 unchanged lines hidden (view full) --- 386 if (!insts[tid].empty()) { 387 DPRINTF(Drain, "%i: Insts not empty.\n", tid); 388 drained = false; 389 } 390 if (!skidBuffer[tid].empty()) { 391 DPRINTF(Drain, "%i: Skid buffer not empty.\n", tid); 392 drained = false; 393 } |
394 drained = drained && dispatchStatus[tid] == Running; |
|
394 } 395 396 // Also check the FU pool as instructions are "stored" in FU 397 // completion events until they are done and not accounted for 398 // above 399 if (drained && !fuPool->isDrained()) { 400 DPRINTF(Drain, "FU pool still busy.\n"); 401 drained = false; --- 1239 unchanged lines hidden --- | 395 } 396 397 // Also check the FU pool as instructions are "stored" in FU 398 // completion events until they are done and not accounted for 399 // above 400 if (drained && !fuPool->isDrained()) { 401 DPRINTF(Drain, "FU pool still busy.\n"); 402 drained = false; --- 1239 unchanged lines hidden --- |