cpu.cc (10225:01df075d9f93) | cpu.cc (10239:592f0bb6bd6f) |
---|---|
1/* 2 * Copyright (c) 2011-2012 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 --- 995 unchanged lines hidden (view full) --- 1004 tid); 1005 ready = false; 1006 } else if (iew.instQueue.numFreeEntries() >= 1007 iew.instQueue.entryAmount(activeThreads.size() + 1)) { 1008 DPRINTF(O3CPU,"[tid:%i] Suspending thread due to not enough " 1009 "IQ entries.\n", 1010 tid); 1011 ready = false; | 1/* 2 * Copyright (c) 2011-2012 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 --- 995 unchanged lines hidden (view full) --- 1004 tid); 1005 ready = false; 1006 } else if (iew.instQueue.numFreeEntries() >= 1007 iew.instQueue.entryAmount(activeThreads.size() + 1)) { 1008 DPRINTF(O3CPU,"[tid:%i] Suspending thread due to not enough " 1009 "IQ entries.\n", 1010 tid); 1011 ready = false; |
1012 } else if (iew.ldstQueue.numFreeEntries() >= | 1012 } else if (iew.ldstQueue.numFreeLoadEntries() >= |
1013 iew.ldstQueue.entryAmount(activeThreads.size() + 1)) { 1014 DPRINTF(O3CPU,"[tid:%i] Suspending thread due to not enough " | 1013 iew.ldstQueue.entryAmount(activeThreads.size() + 1)) { 1014 DPRINTF(O3CPU,"[tid:%i] Suspending thread due to not enough " |
1015 "LSQ entries.\n", | 1015 "LQ entries.\n", |
1016 tid); 1017 ready = false; | 1016 tid); 1017 ready = false; |
1018 } else if (iew.ldstQueue.numFreeStoreEntries() >= 1019 iew.ldstQueue.entryAmount(activeThreads.size() + 1)) { 1020 DPRINTF(O3CPU,"[tid:%i] Suspending thread due to not enough " 1021 "SQ entries.\n", 1022 tid); 1023 ready = false; |
|
1018 } 1019 1020 if (ready) { 1021 insertThread(tid); 1022 1023 contextSwitch = false; 1024 1025 cpuWaitList.remove(tid); --- 835 unchanged lines hidden --- | 1024 } 1025 1026 if (ready) { 1027 insertThread(tid); 1028 1029 contextSwitch = false; 1030 1031 cpuWaitList.remove(tid); --- 835 unchanged lines hidden --- |