1/* 2 * Copyright (c) 2011-2012, 2014, 2016, 2017, 2019 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 --- 76 unchanged lines hidden (view full) --- 85} 86 87void 88BaseO3CPU::regStats() 89{ 90 BaseCPU::regStats(); 91} 92 |
93template <class Impl> 94FullO3CPU<Impl>::FullO3CPU(DerivO3CPUParams *params) 95 : BaseO3CPU(params), 96 itb(params->itb), 97 dtb(params->dtb), 98 tickEvent([this]{ tick(); }, "FullO3CPU tick", 99 false, Event::CPU_Tick_Pri), 100 threadExitEvent([this]{ exitThreads(); }, "FullO3CPU exit threads", --- 22 unchanged lines hidden (view full) --- 123 124 rob(this, params), 125 126 scoreboard(name() + ".scoreboard", 127 regFile.totalNumPhysRegs()), 128 129 isa(numThreads, NULL), 130 |
131 timeBuffer(params->backComSize, params->forwardComSize), 132 fetchQueue(params->backComSize, params->forwardComSize), 133 decodeQueue(params->backComSize, params->forwardComSize), 134 renameQueue(params->backComSize, params->forwardComSize), 135 iewQueue(params->backComSize, params->forwardComSize), 136 activityRec(name(), NumStages, 137 params->backComSize + params->forwardComSize, 138 params->activity), --- 6 unchanged lines hidden (view full) --- 145 _status = Running; 146 } else { 147 _status = SwitchedOut; 148 } 149 150 if (params->checker) { 151 BaseCPU *temp_checker = params->checker; 152 checker = dynamic_cast<Checker<Impl> *>(temp_checker); |
153 checker->setIcachePort(&this->fetch.getInstPort()); |
154 checker->setSystem(params->system); 155 } else { 156 checker = NULL; 157 } 158 159 if (!FullSystem) { 160 thread.resize(numThreads); 161 tids.resize(numThreads); --- 1675 unchanged lines hidden --- |