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" |
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 { |
166 panic("Invalid IQ sharing policy. Options are: Dynamic, " 167 "Partitioned, Threshold"); |
168 } 169} 170 171template <class Impl> 172InstructionQueue<Impl>::~InstructionQueue() 173{ 174 dependGraph.reset(); 175#ifdef DEBUG --- 1479 unchanged lines hidden --- |