rob_impl.hh (13429:a1e199fd8122) | rob_impl.hh (13449:2f7efa89c58b) |
---|---|
1/* 2 * Copyright (c) 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 --- 32 unchanged lines hidden (view full) --- 41 * Korey Sewell 42 */ 43 44#ifndef __CPU_O3_ROB_IMPL_HH__ 45#define __CPU_O3_ROB_IMPL_HH__ 46 47#include <list> 48 | 1/* 2 * Copyright (c) 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 --- 32 unchanged lines hidden (view full) --- 41 * Korey Sewell 42 */ 43 44#ifndef __CPU_O3_ROB_IMPL_HH__ 45#define __CPU_O3_ROB_IMPL_HH__ 46 47#include <list> 48 |
49#include "base/logging.hh" |
|
49#include "cpu/o3/rob.hh" 50#include "debug/Fetch.hh" 51#include "debug/ROB.hh" 52#include "params/DerivO3CPU.hh" 53 54using namespace std; 55 56template <class Impl> --- 37 unchanged lines hidden (view full) --- 94 95 int threshold = params->smtROBThreshold;; 96 97 //Divide up by threshold amount 98 for (ThreadID tid = 0; tid < numThreads; tid++) { 99 maxEntries[tid] = threshold; 100 } 101 } else { | 50#include "cpu/o3/rob.hh" 51#include "debug/Fetch.hh" 52#include "debug/ROB.hh" 53#include "params/DerivO3CPU.hh" 54 55using namespace std; 56 57template <class Impl> --- 37 unchanged lines hidden (view full) --- 95 96 int threshold = params->smtROBThreshold;; 97 98 //Divide up by threshold amount 99 for (ThreadID tid = 0; tid < numThreads; tid++) { 100 maxEntries[tid] = threshold; 101 } 102 } else { |
102 assert(0 && "Invalid ROB Sharing Policy.Options Are:{Dynamic," 103 "Partitioned, Threshold}"); | 103 panic("Invalid ROB sharing policy. Options are: Dynamic, " 104 "Partitioned, Threshold"); |
104 } 105 106 resetState(); 107} 108 109template <class Impl> 110void 111ROB<Impl>::resetState() --- 454 unchanged lines hidden --- | 105 } 106 107 resetState(); 108} 109 110template <class Impl> 111void 112ROB<Impl>::resetState() --- 454 unchanged lines hidden --- |