cpu: o3: Remove unused code in iew, add assert instead.
This commit is contained in:
parent
4e1d10a3cf
commit
5003ed5f7a
1 changed files with 2 additions and 11 deletions
|
@ -1094,21 +1094,12 @@ DefaultIEW<Impl>::dispatchInsts(ThreadID tid)
|
||||||
|
|
||||||
iewExecutedNop[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;
|
add_to_iq = false;
|
||||||
} else {
|
} else {
|
||||||
|
assert(!inst->isExecuted());
|
||||||
add_to_iq = true;
|
add_to_iq = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (inst->isNonSpeculative()) {
|
if (inst->isNonSpeculative()) {
|
||||||
DPRINTF(IEW, "[tid:%i]: Issue: Nonspeculative instruction "
|
DPRINTF(IEW, "[tid:%i]: Issue: Nonspeculative instruction "
|
||||||
"encountered, skipping.\n", tid);
|
"encountered, skipping.\n", tid);
|
||||||
|
|
Loading…
Reference in a new issue