lib/util: Add ctz64() and popcount64().
authorJarno Rajahalme <jrajahalme@nicira.com>
Mon, 18 Nov 2013 17:28:44 +0000 (09:28 -0800)
committerJarno Rajahalme <jrajahalme@nicira.com>
Mon, 18 Nov 2013 17:31:48 +0000 (09:31 -0800)
commitcc4c738e120a82dda70fe10c1619531a9f0b1249
treec05b914a95e6acc4b3303fbe96d2f33926bc7fb3
parent481da12c8da103ce6b36e06b6b95064c872446a7
lib/util: Add ctz64() and popcount64().

Add raw_ctz64(), ctz64(), and popcount64() using builtins when
available.

Signed-off By: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/util.h
tests/test-util.c