+static unsigned int popcount8(unsigned int x)
+{
+ return (unsigned int) popCount[x & 0xff];
+}
+
+static unsigned int popcount(unsigned int x)
+{
+ return popcount8(x) +
+ popcount8((x >> 8)) +
+ popcount8((x >> 16)) +
+ popcount8((x >> 24));
+}
+
+
+#else