execute.cc (10259:ebb376f73dd2) | execute.cc (10366:128c1ed03f4e) |
---|---|
1/* 2 * Copyright (c) 2013-2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 245 unchanged lines hidden (view full) --- 254 DPRINTF(Branch, "Predicted a branch from 0x%x to 0x%x correctly" 255 " inst: %s\n", 256 inst->pc.instAddr(), inst->predictedTarget.instAddr(), *inst); 257 258 reason = BranchData::CorrectlyPredictedBranch; 259 } else { 260 /* Branch prediction got the wrong target */ 261 DPRINTF(Branch, "Predicted a branch from 0x%x to 0x%x" | 1/* 2 * Copyright (c) 2013-2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 245 unchanged lines hidden (view full) --- 254 DPRINTF(Branch, "Predicted a branch from 0x%x to 0x%x correctly" 255 " inst: %s\n", 256 inst->pc.instAddr(), inst->predictedTarget.instAddr(), *inst); 257 258 reason = BranchData::CorrectlyPredictedBranch; 259 } else { 260 /* Branch prediction got the wrong target */ 261 DPRINTF(Branch, "Predicted a branch from 0x%x to 0x%x" |
262 " but got the wrong target (actual: 0x%x) inst: %s\n", 263 inst->pc.instAddr(), inst->predictedTarget.instAddr(), 264 target.instAddr() *inst); | 262 " but got the wrong target (actual: 0x%x) inst: %s\n", 263 inst->pc.instAddr(), inst->predictedTarget.instAddr(), 264 target.instAddr(), *inst); |
265 266 reason = BranchData::BadlyPredictedBranchTarget; 267 } 268 } else if (must_branch) { 269 /* Unpredicted branch */ 270 DPRINTF(Branch, "Unpredicted branch from 0x%x to 0x%x inst: %s\n", 271 inst->pc.instAddr(), target.instAddr(), *inst); 272 --- 1464 unchanged lines hidden --- | 265 266 reason = BranchData::BadlyPredictedBranchTarget; 267 } 268 } else if (must_branch) { 269 /* Unpredicted branch */ 270 DPRINTF(Branch, "Unpredicted branch from 0x%x to 0x%x inst: %s\n", 271 inst->pc.instAddr(), target.instAddr(), *inst); 272 --- 1464 unchanged lines hidden --- |