fetch_impl.hh (9480:d059f8a95a42) | fetch_impl.hh (9527:68154bc0e0ea) |
---|---|
1/* 2 * Copyright (c) 2010-2012 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 --- 46 unchanged lines hidden (view full) --- 55#include "config/the_isa.hh" 56#include "cpu/base.hh" 57//#include "cpu/checker/cpu.hh" 58#include "cpu/o3/fetch.hh" 59#include "cpu/exetrace.hh" 60#include "debug/Activity.hh" 61#include "debug/Drain.hh" 62#include "debug/Fetch.hh" | 1/* 2 * Copyright (c) 2010-2012 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 --- 46 unchanged lines hidden (view full) --- 55#include "config/the_isa.hh" 56#include "cpu/base.hh" 57//#include "cpu/checker/cpu.hh" 58#include "cpu/o3/fetch.hh" 59#include "cpu/exetrace.hh" 60#include "debug/Activity.hh" 61#include "debug/Drain.hh" 62#include "debug/Fetch.hh" |
63#include "debug/O3PipeView.hh" |
|
63#include "mem/packet.hh" 64#include "params/DerivO3CPU.hh" 65#include "sim/byteswap.hh" 66#include "sim/core.hh" 67#include "sim/eventq.hh" 68#include "sim/full_system.hh" 69#include "sim/system.hh" 70 --- 1237 unchanged lines hidden (view full) --- 1308 1309 DynInstPtr instruction = 1310 buildInst(tid, staticInst, curMacroop, 1311 thisPC, nextPC, true); 1312 1313 numInst++; 1314 1315#if TRACING_ON | 64#include "mem/packet.hh" 65#include "params/DerivO3CPU.hh" 66#include "sim/byteswap.hh" 67#include "sim/core.hh" 68#include "sim/eventq.hh" 69#include "sim/full_system.hh" 70#include "sim/system.hh" 71 --- 1237 unchanged lines hidden (view full) --- 1309 1310 DynInstPtr instruction = 1311 buildInst(tid, staticInst, curMacroop, 1312 thisPC, nextPC, true); 1313 1314 numInst++; 1315 1316#if TRACING_ON |
1316 instruction->fetchTick = curTick(); | 1317 if (DTRACE(O3PipeView)) { 1318 instruction->fetchTick = curTick(); 1319 } |
1317#endif 1318 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 |= --- 319 unchanged lines hidden --- | 1320#endif 1321 1322 nextPC = thisPC; 1323 1324 // If we're branching after this instruction, quite fetching 1325 // from the same block then. 1326 predictedBranch |= thisPC.branching(); 1327 predictedBranch |= --- 319 unchanged lines hidden --- |