fetch_impl.hh (8462:80492ae5148e) | fetch_impl.hh (8471:18e560ba1539) |
---|---|
1/* 2 * Copyright (c) 2010 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 --- 1298 unchanged lines hidden (view full) --- 1307 } 1308 1309 DynInstPtr instruction = 1310 buildInst(tid, staticInst, curMacroop, 1311 thisPC, nextPC, true); 1312 1313 numInst++; 1314 | 1/* 2 * Copyright (c) 2010 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 --- 1298 unchanged lines hidden (view full) --- 1307 } 1308 1309 DynInstPtr instruction = 1310 buildInst(tid, staticInst, curMacroop, 1311 thisPC, nextPC, true); 1312 1313 numInst++; 1314 |
1315#if TRACING_ON 1316 instruction->fetchTick = curTick(); 1317#endif 1318 |
|
1315 nextPC = thisPC; 1316 1317 // If we're branching after this instruction, quite fetching 1318 // from the same block then. 1319 predictedBranch |= thisPC.branching(); 1320 predictedBranch |= 1321 lookupAndUpdateNextPC(instruction, nextPC); 1322 if (predictedBranch) { --- 307 unchanged lines hidden --- | 1319 nextPC = thisPC; 1320 1321 // If we're branching after this instruction, quite fetching 1322 // from the same block then. 1323 predictedBranch |= thisPC.branching(); 1324 predictedBranch |= 1325 lookupAndUpdateNextPC(instruction, nextPC); 1326 if (predictedBranch) { --- 307 unchanged lines hidden --- |