iew_impl.hh (10510:7e54a9a9f6b2) | iew_impl.hh (10733:705aca3c1240) |
---|---|
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 --- 1081 unchanged lines hidden (view full) --- 1090 inst->setExecuted(); 1091 inst->setCanCommit(); 1092 1093 instQueue.recordProducer(inst); 1094 1095 iewExecutedNop[tid]++; 1096 1097 add_to_iq = false; | 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 --- 1081 unchanged lines hidden (view full) --- 1090 inst->setExecuted(); 1091 inst->setCanCommit(); 1092 1093 instQueue.recordProducer(inst); 1094 1095 iewExecutedNop[tid]++; 1096 1097 add_to_iq = false; |
1098 } else if (inst->isExecuted()) { 1099 assert(0 && "Instruction shouldn't be executed.\n"); 1100 DPRINTF(IEW, "Issue: Executed branch encountered, " 1101 "skipping.\n"); 1102 1103 inst->setIssued(); 1104 inst->setCanCommit(); 1105 1106 instQueue.recordProducer(inst); 1107 1108 add_to_iq = false; | |
1109 } else { | 1098 } else { |
1099 assert(!inst->isExecuted()); |
|
1110 add_to_iq = true; 1111 } | 1100 add_to_iq = true; 1101 } |
1102 |
|
1112 if (inst->isNonSpeculative()) { 1113 DPRINTF(IEW, "[tid:%i]: Issue: Nonspeculative instruction " 1114 "encountered, skipping.\n", tid); 1115 1116 // Same as non-speculative stores. 1117 inst->setCanCommit(); 1118 1119 // Specifically insert it as nonspeculative. --- 523 unchanged lines hidden --- | 1103 if (inst->isNonSpeculative()) { 1104 DPRINTF(IEW, "[tid:%i]: Issue: Nonspeculative instruction " 1105 "encountered, skipping.\n", tid); 1106 1107 // Same as non-speculative stores. 1108 inst->setCanCommit(); 1109 1110 // Specifically insert it as nonspeculative. --- 523 unchanged lines hidden --- |