PERFORCE change 41509 for review

Peter Wemm peter at FreeBSD.org
Wed Nov 5 17:28:22 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=41509

Change 41509 by peter at peter_daintree on 2003/11/05 17:27:32

	IFC @41508

Affected files ...

.. //depot/projects/hammer/sys/i386/i386/mp_machdep.c#18 integrate

Differences ...

==== //depot/projects/hammer/sys/i386/i386/mp_machdep.c#18 (text+ko) ====

@@ -24,7 +24,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sys/i386/i386/mp_machdep.c,v 1.220 2003/11/03 22:32:03 jhb Exp $");
+__FBSDID("$FreeBSD: src/sys/i386/i386/mp_machdep.c,v 1.221 2003/11/06 01:24:25 peter Exp $");
 
 #include "opt_apic.h"
 #include "opt_cpu.h"
@@ -917,10 +917,10 @@
  * it appears slightly slower.
  *
  * Another variant (also from fortune):
- * #define BITCOUNT(x)	(((BX_(x)+(BX_(x)>>4)) & 0x0F0F0F0F) % 255)
- * #define  BX_(x)	((x) - (((x)>>1)&0x77777777)		\
- *			     - (((x)>>2)&0x33333333)		\
- *			     - (((x)>>3)&0x11111111))
+ * #define BITCOUNT(x) (((BX_(x)+(BX_(x)>>4)) & 0x0F0F0F0F) % 255)
+ * #define  BX_(x)     ((x) - (((x)>>1)&0x77777777)            \
+ *                          - (((x)>>2)&0x33333333)            \
+ *                          - (((x)>>3)&0x11111111))
  */
 static __inline u_int32_t
 popcnt(u_int32_t m)


More information about the p4-projects mailing list