O3: Set up the predicted npc and nnpc for a fault carrying noop so that it doesn...
authorGabe Black <gblack@eecs.umich.edu>
Mon, 13 Aug 2007 23:08:58 +0000 (16:08 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 13 Aug 2007 23:08:58 +0000 (16:08 -0700)
--HG--
extra : convert_revision : 2820597cc966cd7b128cef0dab48fe05089533d7

src/cpu/o3/fetch_impl.hh

index ab411c7fec44de69b1fa95c78908d8f80f34b0f7..725baa1d067f9d2b98c022b56db61b015f5ff9e2 100644 (file)
@@ -1238,7 +1238,7 @@ DefaultFetch<Impl>::fetch(bool &status_change)
                                              fetch_PC, fetch_NPC, fetch_MicroPC,
                                              next_PC, next_NPC, next_MicroPC,
                                              inst_seq, cpu);
-        instruction->setPredTarg(next_PC, next_NPC, 1);
+        instruction->setPredTarg(next_NPC, next_NPC + instSize, 0);
         instruction->setTid(tid);
 
         instruction->setASID(tid);