cpu: o3: Remove unused code in iew, add assert instead.

This commit is contained in:
Nilay Vaish 2015-03-09 09:39:08 -05:00
parent 4e1d10a3cf
commit 5003ed5f7a

View file

@ -1094,21 +1094,12 @@ DefaultIEW<Impl>::dispatchInsts(ThreadID tid)
iewExecutedNop[tid]++;
add_to_iq = false;
} else if (inst->isExecuted()) {
assert(0 && "Instruction shouldn't be executed.\n");
DPRINTF(IEW, "Issue: Executed branch encountered, "
"skipping.\n");
inst->setIssued();
inst->setCanCommit();
instQueue.recordProducer(inst);
add_to_iq = false;
} else {
assert(!inst->isExecuted());
add_to_iq = true;
}
if (inst->isNonSpeculative()) {
DPRINTF(IEW, "[tid:%i]: Issue: Nonspeculative instruction "
"encountered, skipping.\n", tid);