From 92a57edff1e6d71c51af7e8e79bbe89f1e46b69a Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 13 Aug 2007 16:08:58 -0700 Subject: [PATCH] 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 --- src/cpu/o3/fetch_impl.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2