fetch1.cc (11567:560d7fbbddd1) fetch1.cc (11568:91e95eb78191)
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

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

729 for (ThreadID tid = 0; tid < cpu.numThreads; tid++) {
730 Fetch1ThreadInfo &thread = fetchInfo[tid];
731 DPRINTF(Drain, "isDrained[tid:%d]: %s %s%s\n",
732 tid,
733 thread.state == FetchHalted,
734 (numInFlightFetches() == 0 ? "" : "inFlightFetches "),
735 ((*out.inputWire).isBubble() ? "" : "outputtingLine"));
736
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

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

729 for (ThreadID tid = 0; tid < cpu.numThreads; tid++) {
730 Fetch1ThreadInfo &thread = fetchInfo[tid];
731 DPRINTF(Drain, "isDrained[tid:%d]: %s %s%s\n",
732 tid,
733 thread.state == FetchHalted,
734 (numInFlightFetches() == 0 ? "" : "inFlightFetches "),
735 ((*out.inputWire).isBubble() ? "" : "outputtingLine"));
736
737 drained = drained && thread.state == FetchHalted;
737 drained = drained && (thread.state != FetchRunning);
738 }
739
740 return drained;
741}
742
743void
744Fetch1::FetchRequest::reportData(std::ostream &os) const
745{

--- 36 unchanged lines hidden ---
738 }
739
740 return drained;
741}
742
743void
744Fetch1::FetchRequest::reportData(std::ostream &os) const
745{

--- 36 unchanged lines hidden ---