dyn_inst.hh (8557:f44572edfba3) | dyn_inst.hh (8779:2a590c51adb1) |
---|---|
1/* 2 * Copyright (c) 2010 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 --- 185 unchanged lines hidden (view full) --- 194 PhysRegIndex prev_phys_reg = this->prevDestRegIdx(idx); 195 TheISA::RegIndex original_dest_reg = this->staticInst->destRegIdx(idx); 196 if (original_dest_reg < TheISA::FP_Base_DepTag) 197 this->setIntRegOperand(this->staticInst.get(), idx, this->cpu->readIntReg(prev_phys_reg)); 198 else if (original_dest_reg < TheISA::Ctrl_Base_DepTag) 199 this->setFloatRegOperandBits(this->staticInst.get(), idx, this->cpu->readFloatRegBits(prev_phys_reg)); 200 } 201 } | 1/* 2 * Copyright (c) 2010 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 --- 185 unchanged lines hidden (view full) --- 194 PhysRegIndex prev_phys_reg = this->prevDestRegIdx(idx); 195 TheISA::RegIndex original_dest_reg = this->staticInst->destRegIdx(idx); 196 if (original_dest_reg < TheISA::FP_Base_DepTag) 197 this->setIntRegOperand(this->staticInst.get(), idx, this->cpu->readIntReg(prev_phys_reg)); 198 else if (original_dest_reg < TheISA::Ctrl_Base_DepTag) 199 this->setFloatRegOperandBits(this->staticInst.get(), idx, this->cpu->readFloatRegBits(prev_phys_reg)); 200 } 201 } |
202#if FULL_SYSTEM | |
203 /** Calls hardware return from error interrupt. */ 204 Fault hwrei(); 205 /** Traps to handle specified fault. */ 206 void trap(Fault fault); 207 bool simPalCheck(int palFunc); | 202 /** Calls hardware return from error interrupt. */ 203 Fault hwrei(); 204 /** Traps to handle specified fault. */ 205 void trap(Fault fault); 206 bool simPalCheck(int palFunc); |
208#endif | |
209 210 /** Emulates a syscall. */ 211 void syscall(int64_t callnum); 212 213 public: 214 215 // The register accessor methods provide the index of the 216 // instruction's operand (e.g., 0 or 1), not the architectural --- 81 unchanged lines hidden --- | 207 208 /** Emulates a syscall. */ 209 void syscall(int64_t callnum); 210 211 public: 212 213 // The register accessor methods provide the index of the 214 // instruction's operand (e.g., 0 or 1), not the architectural --- 81 unchanged lines hidden --- |