cpu.cc (12109:f29e9c5418aa) | cpu.cc (12127:4207df055b0d) |
---|---|
1/* 2 * Copyright (c) 2011-2012, 2014, 2016 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 --- 123 unchanged lines hidden (view full) --- 132template <class Impl> 133void 134FullO3CPU<Impl>::DcachePort::recvReqRetry() 135{ 136 lsq->recvReqRetry(); 137} 138 139template <class Impl> | 1/* 2 * Copyright (c) 2011-2012, 2014, 2016 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 --- 123 unchanged lines hidden (view full) --- 132template <class Impl> 133void 134FullO3CPU<Impl>::DcachePort::recvReqRetry() 135{ 136 lsq->recvReqRetry(); 137} 138 139template <class Impl> |
140FullO3CPU<Impl>::TickEvent::TickEvent(FullO3CPU<Impl> *c) 141 : Event(CPU_Tick_Pri), cpu(c) 142{ 143} 144 145template <class Impl> 146void 147FullO3CPU<Impl>::TickEvent::process() 148{ 149 cpu->tick(); 150} 151 152template <class Impl> 153const char * 154FullO3CPU<Impl>::TickEvent::description() const 155{ 156 return "FullO3CPU tick"; 157} 158 159template <class Impl> | |
160FullO3CPU<Impl>::FullO3CPU(DerivO3CPUParams *params) 161 : BaseO3CPU(params), 162 itb(params->itb), 163 dtb(params->dtb), | 140FullO3CPU<Impl>::FullO3CPU(DerivO3CPUParams *params) 141 : BaseO3CPU(params), 142 itb(params->itb), 143 dtb(params->dtb), |
164 tickEvent(this), | 144 tickEvent([this]{ tick(); }, "FullO3CPU tick", 145 false, Event::CPU_Tick_Pri), |
165#ifndef NDEBUG 166 instcount(0), 167#endif 168 removeInstsThisCycle(false), 169 fetch(this, params), 170 decode(this, params), 171 rename(this, params), 172 iew(this, params), --- 1655 unchanged lines hidden --- | 146#ifndef NDEBUG 147 instcount(0), 148#endif 149 removeInstsThisCycle(false), 150 fetch(this, params), 151 decode(this, params), 152 rename(this, params), 153 iew(this, params), --- 1655 unchanged lines hidden --- |