minor: Fix typo in DPRINTF for Minor branch prediction
authorAndreas Hansson <andreas.hansson@arm.com>
Fri, 12 Sep 2014 14:22:46 +0000 (10:22 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Fri, 12 Sep 2014 14:22:46 +0000 (10:22 -0400)
src/cpu/minor/execute.cc

index 2a009a154cbcff896b56b025d0063b98a223c499..5679f55a7f0f36596f1bdd66af912bb6e3edfd9c 100644 (file)
@@ -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;
         }