base_dyn_inst_impl.hh (12749:223c83ed9979) | base_dyn_inst_impl.hh (13429:a1e199fd8122) |
---|---|
1/* 2 * Copyright (c) 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 --- 203 unchanged lines hidden (view full) --- 212{ 213 _readySrcRegIdx[src_idx] = true; 214 215 markSrcRegReady(); 216} 217 218template <class Impl> 219bool | 1/* 2 * Copyright (c) 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 --- 203 unchanged lines hidden (view full) --- 212{ 213 _readySrcRegIdx[src_idx] = true; 214 215 markSrcRegReady(); 216} 217 218template <class Impl> 219bool |
220BaseDynInst | 220BaseDynInst<Impl>::eaSrcsReady() const |
221{ 222 // For now I am assuming that src registers 1..n-1 are the ones that the 223 // EA calc depends on. (i.e. src reg 0 is the source of the data to be 224 // stored) 225 226 for (int i = 1; i < numSrcRegs(); ++i) { 227 if (!_readySrcRegIdx[i]) 228 return false; 229 } 230 231 return true; 232} 233 234#endif//__CPU_BASE_DYN_INST_IMPL_HH__ | 221{ 222 // For now I am assuming that src registers 1..n-1 are the ones that the 223 // EA calc depends on. (i.e. src reg 0 is the source of the data to be 224 // stored) 225 226 for (int i = 1; i < numSrcRegs(); ++i) { 227 if (!_readySrcRegIdx[i]) 228 return false; 229 } 230 231 return true; 232} 233 234#endif//__CPU_BASE_DYN_INST_IMPL_HH__ |