fetch_impl.hh (10231:cb2e6950956d) fetch_impl.hh (10244:d2deb51a4abf)
1/*
2 * Copyright (c) 2010-2013 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

--- 1318 unchanged lines hidden (view full) ---

1327#if TRACING_ON
1328 if (DTRACE(O3PipeView)) {
1329 instruction->fetchTick = curTick();
1330 }
1331#endif
1332
1333 nextPC = thisPC;
1334
1/*
2 * Copyright (c) 2010-2013 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

--- 1318 unchanged lines hidden (view full) ---

1327#if TRACING_ON
1328 if (DTRACE(O3PipeView)) {
1329 instruction->fetchTick = curTick();
1330 }
1331#endif
1332
1333 nextPC = thisPC;
1334
1335 // If we're branching after this instruction, quite fetching
1336 // from the same block then.
1335 // If we're branching after this instruction, quit fetching
1336 // from the same block.
1337 predictedBranch |= thisPC.branching();
1338 predictedBranch |=
1339 lookupAndUpdateNextPC(instruction, nextPC);
1340 if (predictedBranch) {
1341 DPRINTF(Fetch, "Branch detected with PC = %s\n", thisPC);
1342 }
1343
1344 newMacro |= thisPC.instAddr() != nextPC.instAddr();

--- 315 unchanged lines hidden ---
1337 predictedBranch |= thisPC.branching();
1338 predictedBranch |=
1339 lookupAndUpdateNextPC(instruction, nextPC);
1340 if (predictedBranch) {
1341 DPRINTF(Fetch, "Branch detected with PC = %s\n", thisPC);
1342 }
1343
1344 newMacro |= thisPC.instAddr() != nextPC.instAddr();

--- 315 unchanged lines hidden ---