cpu.hh (12406:86bde4a026b5) | cpu.hh (12420:f5c80f4ed41f) |
---|---|
1/* 2 * Copyright (c) 2011, 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 --- 167 unchanged lines hidden (view full) --- 176 177 // number of simulated loads 178 Counter numLoad; 179 Counter startNumLoad; 180 181 void serialize(CheckpointOut &cp) const override; 182 void unserialize(CheckpointIn &cp) override; 183 | 1/* 2 * Copyright (c) 2011, 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 --- 167 unchanged lines hidden (view full) --- 176 177 // number of simulated loads 178 Counter numLoad; 179 Counter startNumLoad; 180 181 void serialize(CheckpointOut &cp) const override; 182 void unserialize(CheckpointIn &cp) override; 183 |
184 // These functions are only used in CPU models that split 185 // effective address computation from the actual memory access. 186 void setEA(Addr EA) override 187 { panic("CheckerCPU::setEA() not implemented\n"); } 188 Addr getEA() const override 189 { panic("CheckerCPU::getEA() not implemented\n"); } 190 | |
191 // The register accessor methods provide the index of the 192 // instruction's operand (e.g., 0 or 1), not the architectural 193 // register index, to simplify the implementation of register 194 // renaming. We find the architectural register index by indexing 195 // into the instruction's own operand index table. Note that a 196 // raw pointer to the StaticInst is provided instead of a 197 // ref-counted StaticInstPtr to redice overhead. This is fine as 198 // long as these methods don't copy the pointer into any long-term --- 418 unchanged lines hidden --- | 184 // The register accessor methods provide the index of the 185 // instruction's operand (e.g., 0 or 1), not the architectural 186 // register index, to simplify the implementation of register 187 // renaming. We find the architectural register index by indexing 188 // into the instruction's own operand index table. Note that a 189 // raw pointer to the StaticInst is provided instead of a 190 // ref-counted StaticInstPtr to redice overhead. This is fine as 191 // long as these methods don't copy the pointer into any long-term --- 418 unchanged lines hidden --- |