1/* 2 * Copyright (c) 2011-2012, 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#ifndef __CPU_O3_LSQ_IMPL_HH__ 45#define __CPU_O3_LSQ_IMPL_HH__ 46 47#include <algorithm> 48#include <list> 49#include <string> 50 |
51#include "base/logging.hh" |
52#include "cpu/o3/lsq.hh" 53#include "debug/Drain.hh" 54#include "debug/Fetch.hh" 55#include "debug/LSQ.hh" 56#include "debug/Writeback.hh" 57#include "params/DerivO3CPU.hh" 58 59using namespace std; --- 45 unchanged lines hidden (view full) --- 105 //amount of the LSQ 106 maxLQEntries = params->smtLSQThreshold; 107 maxSQEntries = params->smtLSQThreshold; 108 109 DPRINTF(LSQ, "LSQ sharing policy set to Threshold: " 110 "%i entries per LQ | %i entries per SQ\n", 111 maxLQEntries,maxSQEntries); 112 } else { |
113 panic("Invalid LSQ sharing policy. Options are: Dynamic, " 114 "Partitioned, Threshold"); |
115 } 116 117 //Initialize LSQs 118 thread = new LSQUnit[numThreads]; 119 for (ThreadID tid = 0; tid < numThreads; tid++) { 120 thread[tid].init(cpu, iew_ptr, params, this, 121 maxLQEntries, maxSQEntries, tid); 122 thread[tid].setDcachePort(&cpu_ptr->getDataPort()); --- 580 unchanged lines hidden --- |