summaryrefslogtreecommitdiff
path: root/src/cpu/minor/execute.cc
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2014-09-12 10:22:46 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2014-09-12 10:22:46 -0400
commit2b4906fc64984f9970186e6894f19f0f677a9fd4 (patch)
tree445463f579c54b3618007063882b84b27c8a96b7 /src/cpu/minor/execute.cc
parent53a24b01ab93a35ccd6acc0ac9776b1a036b1d0e (diff)
downloadgem5-2b4906fc64984f9970186e6894f19f0f677a9fd4.tar.xz
minor: Fix typo in DPRINTF for Minor branch prediction
Diffstat (limited to 'src/cpu/minor/execute.cc')
-rw-r--r--src/cpu/minor/execute.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/minor/execute.cc b/src/cpu/minor/execute.cc
index 2a009a154..5679f55a7 100644
--- a/src/cpu/minor/execute.cc
+++ b/src/cpu/minor/execute.cc
@@ -259,9 +259,9 @@ Execute::tryToBranch(MinorDynInstPtr inst, Fault fault, BranchData &branch)
} else {
/* Branch prediction got the wrong target */
DPRINTF(Branch, "Predicted a branch from 0x%x to 0x%x"
- " but got the wrong target (actual: 0x%x) inst: %s\n",
- inst->pc.instAddr(), inst->predictedTarget.instAddr(),
- target.instAddr() *inst);
+ " but got the wrong target (actual: 0x%x) inst: %s\n",
+ inst->pc.instAddr(), inst->predictedTarget.instAddr(),
+ target.instAddr(), *inst);
reason = BranchData::BadlyPredictedBranchTarget;
}