Searched hist:10289 (Results 1 - 1 of 1) sorted by relevance
/gem5/src/base/ | ||
H A D | bitunion.hh | diff 10289:4593282280e4 Tue Aug 26 10:13:00 EDT 2014 Andreas Sandberg <Andreas.Sandberg@ARM.com> base: Add a static assert to check bit union ranges If a bit field in a bit union specified as Bitfield<LSB, MSB> instead of Bitfield<MSB, LSB> the code silently fails and the field is read as zero. This changeset introduces a static assert that tests, at compile time, that the bit order is correct. |
Completed in 9 milliseconds