cpu.hh (11169:44b5c183c3cd) | cpu.hh (11347:faf5195f6ca7) |
---|---|
1/* 2 * Copyright (c) 2011 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 --- 314 unchanged lines hidden (view full) --- 323 void setMiscRegOperand(const StaticInst *si, int idx, 324 const MiscReg &val) override 325 { 326 int reg_idx = si->destRegIdx(idx) - TheISA::Misc_Reg_Base; 327 return this->setMiscReg(reg_idx, val); 328 } 329 330#if THE_ISA == MIPS_ISA | 1/* 2 * Copyright (c) 2011 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 --- 314 unchanged lines hidden (view full) --- 323 void setMiscRegOperand(const StaticInst *si, int idx, 324 const MiscReg &val) override 325 { 326 int reg_idx = si->destRegIdx(idx) - TheISA::Misc_Reg_Base; 327 return this->setMiscReg(reg_idx, val); 328 } 329 330#if THE_ISA == MIPS_ISA |
331 MiscReg readRegOtherThread(int misc_reg, ThreadID tid) | 331 MiscReg readRegOtherThread(int misc_reg, ThreadID tid) override |
332 { 333 panic("MIPS MT not defined for CheckerCPU.\n"); 334 return 0; 335 } 336 | 332 { 333 panic("MIPS MT not defined for CheckerCPU.\n"); 334 return 0; 335 } 336 |
337 void setRegOtherThread(int misc_reg, MiscReg val, ThreadID tid) | 337 void setRegOtherThread(int misc_reg, MiscReg val, ThreadID tid) override |
338 { 339 panic("MIPS MT not defined for CheckerCPU.\n"); 340 } 341#endif 342 343 ///////////////////////////////////////// 344 345 void recordPCChange(const TheISA::PCState &val) --- 132 unchanged lines hidden --- | 338 { 339 panic("MIPS MT not defined for CheckerCPU.\n"); 340 } 341#endif 342 343 ///////////////////////////////////////// 344 345 void recordPCChange(const TheISA::PCState &val) --- 132 unchanged lines hidden --- |