summaryrefslogtreecommitdiff
path: root/src/cpu/o3/fetch_impl.hh
diff options
context:
space:
mode:
authorAnthony Gutierrez <atgutier@umich.edu>2014-06-30 13:50:03 -0400
committerAnthony Gutierrez <atgutier@umich.edu>2014-06-30 13:50:03 -0400
commitf34a8f0d6163fe82849d494bf78c0f5ec175861c (patch)
treeb3133ce45f089479408e25b73347a14ead3c620f /src/cpu/o3/fetch_impl.hh
parentdb267da8221ce4905e08e84967096d7a9fa23ca6 (diff)
downloadgem5-f34a8f0d6163fe82849d494bf78c0f5ec175861c.tar.xz
cpu: implement a bi-mode branch predictor
Diffstat (limited to 'src/cpu/o3/fetch_impl.hh')
-rw-r--r--src/cpu/o3/fetch_impl.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh
index 93dc2e250..98c1b6998 100644
--- a/src/cpu/o3/fetch_impl.hh
+++ b/src/cpu/o3/fetch_impl.hh
@@ -1332,8 +1332,8 @@ DefaultFetch<Impl>::fetch(bool &status_change)
nextPC = thisPC;
- // If we're branching after this instruction, quite fetching
- // from the same block then.
+ // If we're branching after this instruction, quit fetching
+ // from the same block.
predictedBranch |= thisPC.branching();
predictedBranch |=
lookupAndUpdateNextPC(instruction, nextPC);