inst_queue_impl.hh (13429:a1e199fd8122) inst_queue_impl.hh (13449:2f7efa89c58b)
1/*
2 * Copyright (c) 2011-2014 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

43 */
44
45#ifndef __CPU_O3_INST_QUEUE_IMPL_HH__
46#define __CPU_O3_INST_QUEUE_IMPL_HH__
47
48#include <limits>
49#include <vector>
50
1/*
2 * Copyright (c) 2011-2014 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

43 */
44
45#ifndef __CPU_O3_INST_QUEUE_IMPL_HH__
46#define __CPU_O3_INST_QUEUE_IMPL_HH__
47
48#include <limits>
49#include <vector>
50
51#include "base/logging.hh"
51#include "cpu/o3/fu_pool.hh"
52#include "cpu/o3/inst_queue.hh"
53#include "debug/IQ.hh"
54#include "enums/OpClass.hh"
55#include "params/DerivO3CPU.hh"
56#include "sim/core.hh"
57
58// clang complains about std::set being overloaded with Packet::set if

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

157 //Divide up by threshold amount
158 for (ThreadID tid = 0; tid < numThreads; tid++) {
159 maxEntries[tid] = thresholdIQ;
160 }
161
162 DPRINTF(IQ, "IQ sharing policy set to Threshold:"
163 "%i entries per thread.\n",thresholdIQ);
164 } else {
52#include "cpu/o3/fu_pool.hh"
53#include "cpu/o3/inst_queue.hh"
54#include "debug/IQ.hh"
55#include "enums/OpClass.hh"
56#include "params/DerivO3CPU.hh"
57#include "sim/core.hh"
58
59// clang complains about std::set being overloaded with Packet::set if

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

158 //Divide up by threshold amount
159 for (ThreadID tid = 0; tid < numThreads; tid++) {
160 maxEntries[tid] = thresholdIQ;
161 }
162
163 DPRINTF(IQ, "IQ sharing policy set to Threshold:"
164 "%i entries per thread.\n",thresholdIQ);
165 } else {
165 assert(0 && "Invalid IQ Sharing Policy.Options Are:{Dynamic,"
166 "Partitioned, Threshold}");
166 panic("Invalid IQ sharing policy. Options are: Dynamic, "
167 "Partitioned, Threshold");
167 }
168}
169
170template <class Impl>
171InstructionQueue<Impl>::~InstructionQueue()
172{
173 dependGraph.reset();
174#ifdef DEBUG

--- 1479 unchanged lines hidden ---
168 }
169}
170
171template <class Impl>
172InstructionQueue<Impl>::~InstructionQueue()
173{
174 dependGraph.reset();
175#ifdef DEBUG

--- 1479 unchanged lines hidden ---