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

/gem5/src/base/
H A Dbitfield.hhdiff 10400:0655a3d869ad Thu Apr 24 12:41:00 EDT 2014 Stephan Diestelhorst <stephan.diestelhorst@arm.com> misc: Add functions for doing popcount and power-of-two checking

Adds two public domain algorithms for determining number of set bits and also
whether a value is a power of two, uses the builtin that is available in GCC
and clang for popcount.

Completed in 11 milliseconds