Searched hist:8351 (Results 1 - 1 of 1) sorted by relevance

/gem5/src/mem/ruby/common/
H A DSet.hh8351:f897d0483b06 Tue Jun 14 20:51:00 EDT 2011 Nilay Vaish<nilay@cs.wisc.edu> Ruby: Correct set LONG_BITS and INDEX_SHIFT in class Set.
The code for Set class was written under the assumption that
std::numeric_limits<long>::digits returns the number of bits used for
data type long, which was presumed to be either 32 or 64. But return value
is actually one less, that is, it is either 31 or 63. The value is now
being incremented by 1 so as to correctly set it.

Completed in 8 milliseconds