From: Gabe Black Date: Mon, 13 Aug 2007 23:08:58 +0000 (-0700) Subject: O3: Set up the predicted npc and nnpc for a fault carrying noop so that it doesn... X-Git-Tag: m5_2.0_beta4~184 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92a57edff1e6d71c51af7e8e79bbe89f1e46b69a;p=gem5.git O3: Set up the predicted npc and nnpc for a fault carrying noop so that it doesn't cause a false branch mispredict. --HG-- extra : convert_revision : 2820597cc966cd7b128cef0dab48fe05089533d7 --- diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh index ab411c7fe..725baa1d0 100644 --- a/src/cpu/o3/fetch_impl.hh +++ b/src/cpu/o3/fetch_impl.hh @@ -1238,7 +1238,7 @@ DefaultFetch::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);