Searched hist:9868 (Results 1 - 2 of 2) sorted by relevance
/gem5/src/cpu/o3/ | ||
H A D | lsq.hh | diff 9868:44a67004d6b4 Wed Sep 11 16:34:00 EDT 2013 Joel Hestness <jthestness@gmail.com> cpu: Dynamically instantiate O3 CPU LSQUnits Previously, the LSQ would instantiate MaxThreads LSQUnits in the body of it's object, but it would only initialize numThreads LSQUnits as specified by the user. This had the effect of leaving some LSQUnits uninitialized when the number of threads was less than MaxThreads, and when adding statistics to the LSQUnit that must be initialized, this caused the stats initialization check to fail. By dynamically instantiating LSQUnits, they are all initialized and this avoids uninitialized LSQUnits from floating around during runtime. |
H A D | lsq_impl.hh | diff 9868:44a67004d6b4 Wed Sep 11 16:34:00 EDT 2013 Joel Hestness <jthestness@gmail.com> cpu: Dynamically instantiate O3 CPU LSQUnits Previously, the LSQ would instantiate MaxThreads LSQUnits in the body of it's object, but it would only initialize numThreads LSQUnits as specified by the user. This had the effect of leaving some LSQUnits uninitialized when the number of threads was less than MaxThreads, and when adding statistics to the LSQUnit that must be initialized, this caused the stats initialization check to fail. By dynamically instantiating LSQUnits, they are all initialized and this avoids uninitialized LSQUnits from floating around during runtime. |
Completed in 20 milliseconds