ARM: Set ITSTATE correctly after FlushPipe
authorAli Saidi <Ali.Saidi@ARM.com>
Wed, 23 Feb 2011 21:10:50 +0000 (15:10 -0600)
committerAli Saidi <Ali.Saidi@ARM.com>
Wed, 23 Feb 2011 21:10:50 +0000 (15:10 -0600)
src/arch/arm/faults.cc

index e388c72a875efea91070ee7222f72b038d1b10be..9ce2e2da41b80c1e29714ca31bc84c4b48086dfe 100644 (file)
@@ -220,6 +220,7 @@ FlushPipe::invoke(ThreadContext *tc, StaticInstPtr inst) {
     // start refetching from the next instruction.
     PCState pc = tc->pcState();
     assert(inst);
+    pc.forcedItState(inst->machInst.newItstate);
     inst->advancePC(pc);
     tc->pcState(pc);
 }