Review Board 2.0.15


misc: Add functions for doing popcount and power-of-two checking

Review Request #2393 - Created Sept. 10, 2014 and submitted

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 10386:2269c571956c
---------------------------
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.

   
Review request changed
Updated (Sept. 20, 2014, 2:38 p.m.)

Status: Closed (submitted)