dyn_inst_impl.hh (11877:5ea85692a53e) | dyn_inst_impl.hh (12104:edd63f9c6184) |
---|---|
1/* 2 * Copyright (c) 2010-2011 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 --- 96 unchanged lines hidden (view full) --- 105template <class Impl> 106void 107BaseO3DynInst<Impl>::initVars() 108{ 109 // Make sure to have the renamed register entries set to the same 110 // as the normal register entries. It will allow the IQ to work 111 // without any modifications. 112 for (int i = 0; i < this->staticInst->numDestRegs(); i++) { | 1/* 2 * Copyright (c) 2010-2011 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 --- 96 unchanged lines hidden (view full) --- 105template <class Impl> 106void 107BaseO3DynInst<Impl>::initVars() 108{ 109 // Make sure to have the renamed register entries set to the same 110 // as the normal register entries. It will allow the IQ to work 111 // without any modifications. 112 for (int i = 0; i < this->staticInst->numDestRegs(); i++) { |
113 this->_destRegIdx[i] = this->staticInst->destRegIdx(i); | 113 this->_destRegIdx[i] = this->staticInst->destRegIdx(i).regIdx; |
114 } 115 116 for (int i = 0; i < this->staticInst->numSrcRegs(); i++) { | 114 } 115 116 for (int i = 0; i < this->staticInst->numSrcRegs(); i++) { |
117 this->_srcRegIdx[i] = this->staticInst->srcRegIdx(i); | 117 this->_srcRegIdx[i] = this->staticInst->srcRegIdx(i).regIdx; |
118 } 119 120 this->_readySrcRegIdx.reset(); 121 122 _numDestMiscRegs = 0; 123 124#if TRACING_ON 125 // Value -1 indicates that particular phase --- 136 unchanged lines hidden --- | 118 } 119 120 this->_readySrcRegIdx.reset(); 121 122 _numDestMiscRegs = 0; 123 124#if TRACING_ON 125 // Value -1 indicates that particular phase --- 136 unchanged lines hidden --- |