ISA: Back-out NoopMachInst as a StaticInstPtr change.

This commit is contained in:
Ali Saidi
2012-06-05 13:52:30 -04:00
parent c06970b673
commit 20d25b9da7
20 changed files with 21 additions and 273 deletions

View File

@@ -661,7 +661,8 @@ DefaultFetch<Impl>::finishTranslation(Fault fault, RequestPtr mem_req)
DPRINTF(Fetch, "[tid:%i]: Translation faulted, building noop.\n", tid);
// We will use a nop in ordier to carry the fault.
DynInstPtr instruction = buildInst(tid, TheISA::NoopStaticInst,
DynInstPtr instruction = buildInst(tid,
decoder[tid]->decode(TheISA::NoopMachInst, fetchPC.instAddr()),
NULL, fetchPC, fetchPC, false);
instruction->setPredTarg(fetchPC);