summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-08-13 16:08:58 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-08-13 16:08:58 -0700
commit92a57edff1e6d71c51af7e8e79bbe89f1e46b69a (patch)
tree9a8991686eb37766b292efd1f1ea37d7ff0690fe /src
parente99c56f971ba3927629b03e0e39ea343bcffb117 (diff)
downloadgem5-92a57edff1e6d71c51af7e8e79bbe89f1e46b69a.tar.xz
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
Diffstat (limited to 'src')
-rw-r--r--src/cpu/o3/fetch_impl.hh2
1 files changed, 1 insertions, 1 deletions
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<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);